/* School search hubs, school breadcrumbs, council and trust school cards (H_hubs, 15 Oct 2026). All classes sh-. Hyphens only. */
body.ux.cec { --sh-primary: #1f6fb2; --sh-secondary: #6a3d9a; --sh-through: #0f8a6a; --sh-special: #b35c00; --sh-other: #6b6d72; }

/* breadcrumbs (hubs and school pages) */
body.ux.cec .sh-crumbs { padding-top: 1.4rem; font-size: 0.82rem; }
body.ux.cec .sh-crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0.15rem 0; }
body.ux.cec .sh-crumbs li { display: inline-flex; align-items: center; color: #5d5f63; margin: 0; }
body.ux.cec .sh-crumbs li + li::before { content: "\203A"; margin: 0 0.5rem; color: #9a9ca0; font-weight: 700; }
body.ux.cec .sh-crumbs a { color: #3a3c40; text-decoration: none; font-weight: 700; padding: 0.35rem 0; }
body.ux.cec .sh-crumbs a:hover { color: var(--c-accent); text-decoration: underline; }
body.ux.cec .sh-crumbs [aria-current] { color: #5d5f63; }
body.ux.cec .sh-crumbs + .page-head, body.ux.cec .sh-crumbs + .cec-ph { padding-top: 0.6rem; }

/* page head on hubs */
body.ux.cec .sh-ph .lede { max-width: 62ch; }
body.ux.cec .sh-page .kpi-row { margin-bottom: 1.25rem; }

/* filters */
body.ux.cec .sh-filters { margin-bottom: 1.25rem; }
body.ux.cec .sh-frow { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: 0.6rem; align-items: start; padding: 0.55rem 0; border-top: 1px solid var(--c-line); }
body.ux.cec .sh-frow:first-of-type { border-top: 0; }
body.ux.cec .sh-flab { font-size: 0.68rem; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-accent-ink); padding-top: 0.55rem; }
body.ux.cec .sh-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
body.ux.cec .sh-chip { display: inline-flex; align-items: center; gap: 0.35rem; min-height: 36px; padding: 0.35rem 0.85rem; border-radius: 999px; border: 1px solid var(--c-line-strong);
  background: #fff; color: var(--ux-ink) !important; font-size: 0.84rem; font-weight: 700; text-decoration: none; line-height: 1.2; cursor: pointer; font-family: inherit; }
body.ux.cec .sh-chip:hover { border-color: var(--c-deep); }
body.ux.cec .sh-chip.on { background: var(--c-deep); border-color: var(--c-deep); color: #fff !important; }
body.ux.cec .sh-chip.on .sh-cnt { color: rgba(255,255,255,.75); }
body.ux.cec .sh-chip:focus-visible, body.ux.cec .sh-linkchips a:focus-visible, body.ux.cec .sh-table a:focus-visible, body.ux.cec .sh-pager a:focus-visible, body.ux.cec .sh-crumbs a:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; }
body.ux.cec .sh-cnt { color: #6b6d72; font-weight: 400; font-size: 0.8em; font-variant-numeric: tabular-nums; }
body.ux.cec .sh-result { margin: 0.7rem 0 0; font-size: 0.88rem; color: #3a3c40; }

/* map */
body.ux.cec .sh-mapcard { margin-bottom: 1.25rem; }
body.ux.cec .sh-map { height: 420px; border-radius: 12px; overflow: hidden; background: #e8e8e5; position: relative; }
body.ux.cec .sh-map .leaflet-tile-pane { filter: grayscale(.85) contrast(.92) brightness(1.06); opacity: .85; }
body.ux.cec .sh-map-sm { height: 340px; margin: 0.6rem 0 0.4rem; }
body.ux.cec .sh-map-wait { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; margin: 0; color: #5d5f63; font-size: 0.86rem; }
body.ux.cec .sh-legend { list-style: none; display: flex; flex-wrap: wrap; gap: 0.3rem 1rem; margin: 0.7rem 0 1rem; padding: 0; font-size: 0.82rem; }
body.ux.cec .sh-legend li { display: inline-flex; align-items: center; gap: 0.4rem; margin: 0; color: #3a3c40; }
body.ux.cec .sh-dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(18,19,20,.25); background: var(--sh-other); }
body.ux.cec .sh-dot-primary { background: var(--sh-primary); } body.ux.cec .sh-dot-secondary { background: var(--sh-secondary); }
body.ux.cec .sh-dot-all-through { background: var(--sh-through); } body.ux.cec .sh-dot-special { background: var(--sh-special); }
body.ux.cec .sh-mapnote { margin: 0.3rem 0 0; }
body.ux.cec .sh-pop { font-family: var(--ux-font); font-size: 0.86rem; line-height: 1.4; min-width: 180px; }
body.ux.cec .sh-pop a { font-weight: 700; color: var(--c-accent-ink); }
body.ux.cec .sh-pop span { display: block; color: #5d5f63; }

/* list */
body.ux.cec .sh-h2n { font-weight: 400; color: #6b6d72; font-size: 0.85em; margin-left: 0.25rem; }
body.ux.cec .sh-tablewrap { width: 100%; }
body.ux.cec .sh-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
body.ux.cec .sh-table thead th { text-align: left; padding: 0 0.6rem 0.55rem; white-space: nowrap; font-size: 0.68rem; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-accent-ink); }
body.ux.cec .sh-table thead th a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 0.25rem; padding: 0.3rem 0; }
body.ux.cec .sh-table thead th a:hover { text-decoration: underline; }
body.ux.cec .sh-table thead th a.on { color: var(--c-deep); }
body.ux.cec .sh-sortmark::after { content: ""; display: inline-block; width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid currentColor; margin-left: 0.15rem; }
body.ux.cec .sh-table thead th[aria-sort="ascending"] .sh-sortmark::after { border-top: 0; border-bottom: 5px solid currentColor; }
body.ux.cec .sh-table td, body.ux.cec .sh-table tbody th { padding: 0.7rem 0.6rem; border-top: 1px solid var(--c-line); vertical-align: top; text-align: left; font-weight: 400; }
body.ux.cec .sh-table th:first-child, body.ux.cec .sh-table td:first-child { padding-left: 0; }
body.ux.cec .sh-table th:last-child, body.ux.cec .sh-table td:last-child { padding-right: 0; }
body.ux.cec .sh-table .sh-num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
body.ux.cec .sh-table thead th.sh-num a { justify-content: flex-end; }
body.ux.cec .sh-table tbody th { font-size: 0.9rem; text-transform: none; letter-spacing: normal; color: var(--ux-ink); white-space: normal; }
body.ux.cec .sh-table tbody th .sh-sub { text-transform: none; letter-spacing: normal; font-weight: 400; }
body.ux.cec .sh-mm { display: none; }
body.ux.cec .sh-n a { font-weight: 700; color: var(--ux-ink); text-decoration: none; }
body.ux.cec .sh-n a:hover { color: var(--c-accent); text-decoration: underline; }
body.ux.cec .sh-sub { display: block; color: #5d5f63; font-size: 0.8rem; margin-top: 0.15rem; }
body.ux.cec .sh-sub a { color: #5d5f63; font-weight: 400; }
body.ux.cec .sh-of { display: inline-block; font-weight: 700; font-size: 0.78rem; padding: 0.15rem 0.55rem; border-radius: 999px; background: var(--c-pale); color: #3a3c40; white-space: nowrap; }
body.ux.cec .sh-of1 { background: #e4f1e9; color: #0e5a38; } body.ux.cec .sh-of2 { background: #e5edf6; color: #1b4c77; }
body.ux.cec .sh-of3 { background: #faf0d3; color: #6f4e00; } body.ux.cec .sh-of4 { background: #fbe7e5; color: #9a1b12; }
body.ux.cec .sh-od { display: block; color: #5d5f63; font-size: 0.78rem; margin-top: 0.2rem; white-space: nowrap; }
body.ux.cec .sh-none { color: #6b6d72; }
body.ux.cec .sh-vh { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
body.ux.cec .sh-pager { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 1rem; }
body.ux.cec .sh-pager a, body.ux.cec .sh-pager span { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 40px; padding: 0 0.7rem; border-radius: 999px; border: 1px solid var(--c-line-strong); font-weight: 700; font-size: 0.86rem; text-decoration: none; color: var(--ux-ink); background: #fff; }
body.ux.cec .sh-pager span[aria-current] { background: var(--c-deep); border-color: var(--c-deep); color: #fff; }

/* side cards */
body.ux.cec .sh-bars { margin: 0 0 1rem; }
body.ux.cec .sh-bars h3 { font-size: 0.68rem; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-accent-ink); margin: 0 0 0.5rem; }
body.ux.cec .sh-bar { display: grid; grid-template-columns: minmax(0, 9.5rem) minmax(0, 1fr) 3rem; gap: 0.6rem; align-items: center; font-size: 0.84rem; margin: 0 0 0.35rem; }
body.ux.cec .sh-bar .l { color: #3a3c40; overflow-wrap: anywhere; }
body.ux.cec .sh-bar .t { height: 8px; border-radius: 999px; background: var(--c-pale); overflow: hidden; }
body.ux.cec .sh-bar .t i { display: block; height: 100%; border-radius: 999px; background: #9a9ca0; }
body.ux.cec .sh-bar .t i.hi { background: var(--c-accent); }
body.ux.cec .sh-bar .v { text-align: right; font-variant-numeric: tabular-nums; color: #3a3c40; }
body.ux.cec .sh-linkchips { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0; padding: 0; }
body.ux.cec .sh-linkchips li { margin: 0; }
body.ux.cec .sh-linkchips a { display: inline-flex; align-items: center; gap: 0.3rem; min-height: 34px; padding: 0.3rem 0.75rem; border-radius: 999px; background: var(--c-pale); color: #2b2d31 !important; font-size: 0.83rem; font-weight: 700; text-decoration: none; }
body.ux.cec .sh-linkchips a:hover { background: var(--c-accent-tint); color: var(--c-accent-ink) !important; }
body.ux.cec .sh-trusts { list-style: none; margin: 0 0 0.6rem; padding: 0; }
body.ux.cec .sh-trusts li { margin: 0; padding: 0.45rem 0; border-top: 1px solid var(--c-line); font-size: 0.88rem; }
body.ux.cec .sh-trusts li:first-child { border-top: 0; }
body.ux.cec .sh-trusts a { font-weight: 700; }
body.ux.cec .sh-trusts .sh-cnt { display: block; }
body.ux.cec .sh-trusts2 { columns: 2 18rem; column-gap: 2rem; }
body.ux.cec .sh-trusts2 li { break-inside: avoid; }
body.ux.cec .sh-src { margin: 0; padding-left: 1.1rem; font-size: 0.82rem; }
body.ux.cec .sh-src li { margin: 0 0 0.4rem; color: #4a4c50; }
body.ux.cec .sh-h3 { font-size: 0.68rem; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-accent-ink); margin: 1rem 0 0.5rem; }

/* index */
body.ux.cec .sh-findbar { margin: 0 0 1.25rem; }
body.ux.cec .sh-find { width: 100%; max-width: 34rem; min-height: 48px; padding: 0.7rem 1.1rem; border-radius: 999px; border: 1px solid var(--c-line-strong); background: #fff; font: inherit; font-size: 1rem; box-shadow: var(--c-sh-sm); box-sizing: border-box; }
body.ux.cec .sh-find:focus { outline: 2px solid var(--c-accent); outline-offset: 1px; }
body.ux.cec .sh-idx { margin-bottom: 1.25rem; }
body.ux.cec .sh-grp { margin: 1.1rem 0 0; }
body.ux.cec .sh-grp h3 { font-size: 0.95rem; margin: 0 0 0.55rem; }
body.ux.cec .sh-az { display: flex; flex-wrap: wrap; gap: 0.25rem; margin: 0.4rem 0 0; }
body.ux.cec .sh-az a { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; min-height: 34px; border-radius: 8px; background: var(--c-pale); font-weight: 700; text-decoration: none; color: #2b2d31; }
body.ux.cec .sh-az a:hover { background: var(--c-accent-tint); color: var(--c-accent-ink); }

/* council card and trust card */
body.ux.cec .sh-mini { list-style: none; margin: 0.4rem 0 0.6rem; padding: 0; }
body.ux.cec .sh-mini li { margin: 0; padding: 0.45rem 0; border-top: 1px solid var(--c-line); font-size: 0.88rem; }
body.ux.cec .sh-mini li:first-child { border-top: 0; }
body.ux.cec .sh-councilcard .sh-mini a, body.ux.cec .sh-trusts a { font-weight: 700; color: var(--c-accent-ink); }
body.ux.cec .sh-showall { margin-top: 0.8rem; }
body.ux.cec .sh-trustcard .sh-frow { border-top: 0; padding: 0.2rem 0 0.4rem; }
body.ux.cec .sh-trustcard tr[hidden] { display: none; }

@media (max-width: 760px) {
  body.ux.cec .sh-map { height: 320px; }
  body.ux.cec .sh-frow { grid-template-columns: minmax(0, 1fr); gap: 0.35rem; }
  body.ux.cec .sh-flab { padding-top: 0; }
  /* the list becomes one block per school: name, type and town, then Ofsted and a single line of facts */
  body.ux.cec .sh-table thead th:nth-child(2) { display: none; }
  body.ux.cec .sh-table thead tr { display: flex; flex-wrap: wrap; gap: 0 1rem; }
  body.ux.cec .sh-table thead th { padding: 0 0 0.4rem; }
  body.ux.cec .sh-table tbody tr { display: block; padding: 0.75rem 0; border-top: 1px solid var(--c-line); }
  body.ux.cec .sh-table tbody th { display: block; border: 0; padding: 0 !important; }
  body.ux.cec .sh-table tbody td { display: none; }
  body.ux.cec .sh-mm { display: flex; flex-wrap: wrap; align-items: center; gap: 0.2rem 0.5rem; margin-top: 0.4rem; font-size: 0.82rem; color: #3a3c40; }
  body.ux.cec .sh-mm .sh-od { display: inline; margin: 0; }
  body.ux.cec .sh-mmf { flex-basis: 100%; }
  body.ux.cec .sh-bar { grid-template-columns: minmax(0, 8.5rem) minmax(0, 1fr) 2.6rem; }
}

/* person preview popup (personpop.js) */
.ppop-bd{position:fixed;inset:0;z-index:9000;background:rgba(17,17,17,.5);display:flex;align-items:center;justify-content:center;padding:1rem;animation:ppop-fade .15s ease-out}
.ppop{position:relative;background:#fff;color:var(--c-deep,#111);border-radius:18px;width:min(32rem,100%);max-height:calc(100vh - 2rem);overflow:auto;padding:1.4rem 1.4rem 1.2rem;box-shadow:0 18px 60px rgba(0,0,0,.28);font-family:inherit;border-top:4px solid var(--c-red,#c8102e);animation:ppop-rise .18s ease-out}
.ppop-x{position:absolute;top:.5rem;right:.6rem;width:2.2rem;height:2.2rem;border:0;background:transparent;border-radius:50%;font-size:1.5rem;line-height:1;cursor:pointer;color:#555}
.ppop-x:hover{background:#f3f3f3}
.ppop-eye{display:block;font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;color:var(--c-red,#c8102e);font-weight:700;margin:0 0 .25rem}
.ppop-name{margin:0 2rem .2rem 0;font-size:1.35rem;line-height:1.2;font-weight:900}
.ppop-sub{margin:0 0 .9rem;font-size:.85rem;color:#666}
.ppop-aka{margin:0 0 .9rem;font-size:.82rem;color:#444}
.ppop-aka b{font-weight:700}
.ppop-tiles{display:grid;grid-template-columns:repeat(2,1fr);gap:.55rem;margin:0 0 1rem}
.ppop-tile{border:1px solid var(--c-red,#c8102e);border-radius:12px;padding:.55rem .7rem;background:#fff9f8}
.ppop-tile b{display:block;font-size:1.4rem;line-height:1.1;font-weight:900}
.ppop-tile span{display:block;font-size:.76rem;color:#555;margin-top:.15rem}
.ppop-h{margin:0 0 .4rem;font-size:.8rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:#555}
.ppop-roles{list-style:none;margin:0 0 1.1rem;padding:0}
.ppop-roles li{padding:.45rem 0;border-top:1px solid #eee;font-size:.9rem;line-height:1.3}
.ppop-roles li:first-child{border-top:0}
.ppop-roles a{font-weight:700;color:inherit;text-decoration:none}
.ppop-roles a:hover{color:var(--c-red,#c8102e);text-decoration:underline}
.ppop-roles small{display:block;color:#666;font-size:.78rem}
.ppop-btns{display:flex;flex-wrap:wrap;gap:.6rem}
.ppop-btns .ppop-primary{background:var(--c-red,#c8102e);color:#fff;border:1px solid var(--c-red,#c8102e);border-radius:999px;padding:.6rem 1.1rem;font-weight:700;font-size:.9rem;text-decoration:none;font-family:inherit;cursor:pointer}
.ppop-btns .ppop-primary:hover{filter:brightness(.92)}
.ppop-btns .ppop-sec{background:#fff;color:var(--c-red,#c8102e);border:1px solid var(--c-red,#c8102e);border-radius:999px;padding:.6rem 1.1rem;font-weight:700;font-size:.9rem;font-family:inherit;cursor:pointer;max-width:100%}
.ppop-btns .ppop-sec:hover{background:#fff6f5}
.ppop-load{color:#666;font-size:.88rem;margin:0 0 1rem}
.ppop-load:before{content:"";display:inline-block;width:.9rem;height:.9rem;margin-right:.5rem;vertical-align:-.15rem;border:2px solid #ddd;border-top-color:var(--c-red,#c8102e);border-radius:50%;animation:ppop-spin .8s linear infinite}
.ppop-note{color:#666;font-size:.85rem;margin:0 0 1rem}
body.ppop-lock{overflow:hidden}
@keyframes ppop-spin{to{transform:rotate(360deg)}}
@keyframes ppop-fade{from{opacity:0}to{opacity:1}}
@keyframes ppop-rise{from{transform:translateY(10px);opacity:0}to{transform:none;opacity:1}}
@media (max-width:620px){
 .ppop-bd{align-items:flex-end;padding:0}
 .ppop{width:100%;max-height:88vh;border-radius:18px 18px 0 0;padding:1.2rem 1rem calc(1rem + env(safe-area-inset-bottom,0px));animation:ppop-sheet .2s ease-out}
 .ppop-btns>*{flex:1 1 100%;text-align:center}
}
@keyframes ppop-sheet{from{transform:translateY(40px);opacity:0}to{transform:none;opacity:1}}
@media (prefers-reduced-motion:reduce){.ppop,.ppop-bd{animation:none}.ppop-load:before{animation:none}}
body .ppop .ppop-btns a.ppop-primary,body .ppop .ppop-btns a.ppop-primary:visited{color:#fff;font-weight:700}
body .ppop .ppop-btns a.ppop-primary:hover{color:#fff}
body .ppop .ppop-btns button.ppop-sec{color:var(--c-red,#c8102e);font-weight:700}
body .ppop .ppop-name{font-weight:900}
body .ppop .ppop-tile b{font-weight:900}

/* signinsell: tiles on the sign-in page and the sign-in pop-up (signinsell.js) */
body.ux.cec .ta-auth.ssell-two .ta-auth-grid{grid-template-columns:minmax(0,600px) minmax(0,420px)}
.ssell-panel{padding:1.3rem 1.3rem 1.1rem}
.ssell-eye{display:block;font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;color:var(--c-red,#c8102e);font-weight:700;margin:0 0 .25rem}
.ssell-h{margin:0 0 .9rem;font-size:1.2rem;line-height:1.2;font-weight:900}
.ssell-tiles{list-style:none;margin:0;padding:0;display:grid;gap:.55rem}
.ssell-tile{display:flex;gap:.7rem;align-items:flex-start;border:1px solid var(--c-red,#c8102e);border-radius:14px;padding:.6rem .75rem;background:#fff9f8;color:#111}
.ssell-ic{flex:0 0 2.1rem;height:2.1rem;border-radius:50%;background:var(--c-red,#c8102e);color:#fff;display:flex;align-items:center;justify-content:center}
.ssell-ic svg{width:1.15rem;height:1.15rem}
.ssell-tx b{display:block;font-size:.95rem;line-height:1.2;font-weight:800}
.ssell-tx span{display:block;font-size:.82rem;color:#555;margin-top:.1rem;line-height:1.3}
.ssell-fine{margin:.9rem 0 0;font-size:.82rem;color:#444;font-weight:600}
/* pop-up */
.ssell-bd{position:fixed;inset:0;z-index:9000;background:rgba(17,17,17,.5);display:flex;align-items:center;justify-content:center;padding:1rem;animation:ssell-fade .15s ease-out}
.ssell{position:relative;background:#fff;color:#111;border-radius:18px;width:min(34rem,100%);max-height:calc(100vh - 2rem);overflow:auto;padding:1.4rem 1.4rem 1.2rem;box-shadow:0 18px 60px rgba(0,0,0,.28);font-family:inherit;border-top:4px solid var(--c-red,#c8102e);animation:ssell-rise .18s ease-out}
.ssell .ssell-h{margin-right:2rem;font-size:1.35rem}
.ssell-sub{margin:-.5rem 0 .9rem;font-size:.88rem;color:#555}
.ssell-x{position:absolute;top:.5rem;right:.6rem;width:2.2rem;height:2.2rem;border:0;background:transparent;border-radius:50%;font-size:1.5rem;line-height:1;cursor:pointer;color:#555}
.ssell-x:hover{background:#f3f3f3}
.ssell-btns{display:flex;flex-wrap:wrap;gap:.6rem 1rem;align-items:center;margin-top:1rem}
.ssell-go{background:var(--c-red,#c8102e);color:#fff;border:1px solid var(--c-red,#c8102e);border-radius:999px;padding:.65rem 1.3rem;font-weight:700;font-size:.95rem;text-decoration:none;font-family:inherit}
.ssell-go:hover{filter:brightness(.92);color:#fff}
.ssell-have{font-size:.88rem;color:#444}
.ssell-have a{color:var(--c-red,#c8102e);font-weight:700}
@keyframes ssell-fade{from{opacity:0}to{opacity:1}}
@keyframes ssell-rise{from{transform:translateY(8px);opacity:0}to{transform:none;opacity:1}}
@media(max-width:860px){body.ux.cec .ta-auth.ssell-two .ta-auth-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:600px){
  .ssell-bd{align-items:flex-end;padding:0}
  .ssell{width:100%;border-radius:18px 18px 0 0;max-height:92vh;padding:1.2rem 1rem 1.1rem;animation:ssell-sheet .22s ease-out}
  .ssell-tx span{font-size:.8rem}
  @keyframes ssell-sheet{from{transform:translateY(40px);opacity:0}to{transform:none;opacity:1}}
}
@media(prefers-reduced-motion:reduce){.ssell-bd,.ssell{animation:none}}
body.ux.cec .ssell-h::before,.ssell-h::before{content:none!important;display:none!important}
.ssell .ssell-go,.ssell a.ssell-go:visited{color:#fff!important;text-decoration:none}
body.ux.cec .ssell-side .ssell-panel{position:sticky;top:1rem}

/* The record-level source and licence (i) in the profile header (govreg-cec demo, 19 Oct 2026). Markup is the shared cec-info one (tpl-info.css). */
body.ux.cec .cec-ph .eyebrow .cec-srcinfo { margin-left: 0.55rem; vertical-align: middle; position: relative; top: -1px; }
body.ux.cec .cec-ph .cec-hdr-title .cec-srcinfo { margin-left: 0.5rem; }
body.ux.cec .cec-srcinfo .cec-info-pop { overflow-wrap: anywhere; white-space: normal; }
body.ux.cec .cec-srcinfo .cec-info-pop .cec-src-h { display: block; margin-bottom: 0.1rem; color: #1b1c1e; font-weight: 700; }
body.ux.cec .cec-srcinfo .cec-info-pop a { color: var(--c-red, #c8102e); text-decoration: underline; }
@media (min-width: 641px) {
  body.ux.cec .cec-srcinfo .cec-info-pop { left: -8px; right: auto; width: 360px; max-width: min(360px, 86vw); max-height: 60vh; overflow-y: auto; }
}

/* cec-info: a small circled "i" at the top right of a card; the explanation opens on hover, focus or tap (govreg-cec demo, 18 Oct 2026) */
body.ux.cec .cec-card-h:has(.cec-info) { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; }
body.ux.cec .cec-info { position: relative; z-index: 5; display: inline-flex; align-items: center; justify-content: center; flex: none; width: 22px; height: 22px; border: 1.5px solid #8a8d91; border-radius: 50%; color: #55575b; font-size: 0.74rem; line-height: 1; cursor: help; background: #fff; }
body.ux.cec .cec-info:hover, body.ux.cec .cec-info:focus-visible, body.ux.cec .cec-info.open { border-color: var(--c-red, #c8102e); color: var(--c-red, #c8102e); outline: none; }
body.ux.cec .cec-info-pop { display: none; position: absolute; top: calc(100% + 8px); right: -6px; z-index: 1000; width: 280px; max-width: 78vw; padding: 0.7rem 0.85rem; background: #fff; border: 1px solid var(--c-line, #e3e3e3); border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,.12); color: #3d3f43; font-size: 0.8rem; line-height: 1.45; font-weight: 400; font-style: normal; letter-spacing: 0; text-transform: none; text-align: left; cursor: auto; }
body.ux.cec .cec-info:hover .cec-info-pop, body.ux.cec .cec-info:focus-visible .cec-info-pop, body.ux.cec .cec-info.open .cec-info-pop { display: block; }
body.ux.cec .cec-info-h { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; }
body.ux.cec .cec-info-pop .cec-info-more { display: block; margin-top: 0.45rem; }
body.ux.cec .cec-info-i { font: italic 700 0.78rem/1 Georgia, serif; }
body.ux.cec .cec-info:hover, body.ux.cec .cec-info:focus-within, body.ux.cec .cec-info.open { z-index: 1001; }
body.ux.cec .cec-card-h:has(.cec-info) > h2 { margin-right: auto; }
body.ux.cec .cec-info.cec-info-inline { vertical-align: -5px; margin-left: 0.3rem; width: 20px; height: 20px; }

/* 19 Oct 2026: touch + narrow screens. The popup opens only on tap, as a sheet pinned inside the viewport; tap it, tap outside or press Esc to close. */
@media (hover: none) { body.ux.cec .cec-info:hover:not(.open) .cec-info-pop, body.ux.cec .cec-info:focus-within:not(.open) .cec-info-pop { display: none; } }
@media (max-width: 640px) {
  body.ux.cec .cec-info:hover:not(.open) .cec-info-pop, body.ux.cec .cec-info:focus-within:not(.open) .cec-info-pop, body.ux.cec .cec-info:focus-visible:not(.open) .cec-info-pop { display: none; }
  body.ux.cec .cec-info.open .cec-info-pop { display: block; position: fixed; top: auto; right: 12px; bottom: 12px; left: 12px; width: auto; max-width: none; max-height: 65vh; overflow-y: auto; padding: 0.9rem 1rem 1rem; font-size: 0.88rem; box-shadow: 0 -4px 28px rgba(0,0,0,.22); z-index: 2147483000; overscroll-behavior: contain; }
  body.ux.cec .cec-info.open .cec-info-pop::after { content: "Tap to close"; display: block; margin-top: 0.6rem; font-size: 0.72rem; color: #8a8d91; text-align: right; }
  body.ux.cec .cec-info { width: 28px; height: 28px; }
}
/* 19 Oct 2026: on narrow screens a header (i) stays at the top right even when the header stacks (Board card) */
@media (max-width: 640px) { body.ux.cec .cec-card-h:has(> .cec-info) { position: relative; } body.ux.cec .cec-card-h:has(> .cec-info) > .cec-info { position: absolute; top: 0; right: 0; } body.ux.cec .cec-card-h:has(> .cec-info) > h2 { padding-right: 2.4rem; } }

/* New person layout (layoutv2, 17 Oct 2026): demo only, behind ?layout=new. Hyphens only. */
body.ux.cec .lv2-bar { margin: .6rem 0 0; font-size: .8rem; color: #5b5e63; }
body.ux.cec .lv2-bar a { color: var(--c-accent-ink); font-weight: 700; }
body.ux.cec .lv2-net { background: radial-gradient(120% 140% at 85% 0%, #1d1012 0%, #0a0a0b 62%); border: 1px solid #2a1517; color: #fff; padding: 0; overflow: hidden; }
body.ux.cec .lv2-net-h { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; padding: 1.3rem 1.5rem 1rem; }
body.ux.cec .lv2-eye { display: block; font-size: .72rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: #ff6a5c; }
body.ux.cec .lv2-h { margin: .3rem 0 0; color: #fff; font-size: clamp(1.15rem, 2.2vw, 1.5rem); line-height: 1.25; overflow-wrap: anywhere; }
body.ux.cec .lv2-net-btns { display: flex; gap: .6rem; flex: none; flex-wrap: wrap; justify-content: flex-end; }
body.ux.cec .lv2-net .lv2-3d { display: inline-flex; align-items: center; gap: .5rem; background: #da291c; border-color: #da291c; color: #fff; min-height: 44px; padding: 0 1.2rem; }
body.ux.cec .lv2-net .lv2-3d:hover { background: #fff; color: #da291c; border-color: #fff; }
body.ux.cec .lv2-net .lv2-fs { min-height: 44px; background: transparent !important; color: #fff !important; border: 1px solid #6a6a70 !important; }
body.ux.cec .lv2-net .lv2-fs:hover { background: #fff !important; color: #111 !important; }
body.ux.cec .lv2-net .wc-graph { background: #0e0e0e !important; }
body.ux.cec .lv2-net .wc-graph .g-fs { display: none !important; }
body.ux.cec .lv2-net .cec-graph { background: #070707; border-top: 1px solid #1f1f22; }
body.ux.cec .lv2-note { margin: 0; padding: .6rem 1.5rem; font-size: .82rem; color: #c9c9cc; border-top: 1px solid #1f1f22; }
body.ux.cec .lv2-note[hidden] { display: none; }
body.ux.cec .lv2-net .cec-graph-foot { border-top: 1px solid #1f1f22; color: #c9c9cc; justify-content: flex-start; flex-wrap: wrap; row-gap: .4rem; }
body.ux.cec .lv2-net .cec-graph-foot .cec-key { color: #e6e6e8; }
body.ux.cec .lv2-net .cec-graph-foot .muted { color: #9a9a9f; }
body.ux.cec .lv2-net .cec-key i.k-per { background: #fff; border-color: #fff; }
body.ux.cec .lv2-empty-line, body.ux.cec .lv2-net .sec-empty-line { margin: 0; padding: .2rem 1.5rem 1.4rem; font-size: .92rem; color: #c9c9cc; background: transparent; }
body.ux.cec .lv2-net .cec-graph.sec-collapsed { background: transparent; }
body.ux.cec .lv2-net.sec-collapsed-card .lv2-net-btns { display: none; }
@media (max-width: 640px) {
  body.ux.cec .lv2-net-h { flex-direction: column; padding: 1.1rem 1rem .9rem; }
  body.ux.cec .lv2-net-btns { width: 100%; justify-content: stretch; }
  body.ux.cec .lv2-net-btns .btn { flex: 1 1 0; justify-content: center; }
  body.ux.cec .lv2-note, body.ux.cec .lv2-empty-line { padding-left: 1rem; padding-right: 1rem; }
  body.ux.cec .lv2-net .cec-graph-foot { padding: .8rem 1rem; }
}
body.ux.cec .lv2-net .sec-empty-line a { color: #ff8a7e; font-weight: 700; }

/* New charity and company layout (layoutv2org, 17 Oct 2026): demo only, behind ?layout=new. Builds on tpl-layoutv2.css. Hyphens only. */
body.ux.cec .lv2-net .lv2-sub { margin: .55rem 0 0; font-size: .88rem; line-height: 1.4; color: #c9c9cc; }
body.ux.cec .lv2-linked { margin: 0; padding: .8rem 1.5rem; border-top: 1px solid #1f1f22; font-size: .9rem; color: #9a9a9f; }
body.ux.cec .lv2-linked a { color: #ff8a7e; font-weight: 700; }
body.ux.cec .lv2-linked .muted { color: #9a9a9f; }
@media (max-width: 640px) {
  body.ux.cec .lv2-linked { padding: .8rem 1rem; }
}
