/* LACCD Programs dashboard – indigo/plum with raspberry accents, one colour per college, Excel-style tables.
   Same layout language as the LACCD dashboards, deliberately different colours. */
:root {
  --ink: #1B1A2E; --muted: #4A4868; --faint: #5E5C7A;
  --deep: #2A2F6F; --deep2: #3E44A0; --indigo: #4B51B8; --indigo-soft: #ECEBFA;
  --accent: #B8336A; --accent-soft: #F9E3EC; --amber: #B97A00; --amber-soft: #FFF3D6;
  --bg: #F4F4F9; --card: #FFFFFF; --line: #E2E2EE; --head: #E6E7F7; --head-line: #A9ACE3; --band: #F8F8FD; --hover: #EEF0FB;
  --yellow: #FFF6D6; --yellow-line: #9A7400; --radius: 14px;
  --good: #1D7A3A; --good-soft: #E2F4E7; --warn: #8A5B00; --warn-soft: #FFF1D1; --crit: #A63B0B; --crit-soft: #FDE6DC;
  --series-1: #4B51B8; --grid: #E6E6F0; --text: var(--ink); --text-2: var(--muted); --surface: #fff; --border: var(--line);
  --h1: #e3e4f7; --h2: #cfd1f1; --h3: #babdea; --h4: #a4a8e3; --h5: #8e93db; --h6: #767cd0; --h7: #5f66c4; --h8: #4b51b8; --h9: #393f98; --h10: #2a2f6f;
  --shadow: 0 1px 2px rgba(42,47,111,.06), 0 4px 16px rgba(42,47,111,.07);
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body { margin: 0; font: 15px/1.55 "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
       color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
a { color: var(--indigo); text-decoration: none; font-weight: 600; }
a:hover { text-decoration: underline; }
b, strong { font-weight: 700; }
.wrap { max-width: 1480px; margin: 0 auto; padding: 0 24px; }
h1 { font-size: 28px; line-height: 1.2; color: var(--deep); margin: 28px 0 6px; font-weight: 800; letter-spacing: -.01em; }
h2 { font-size: 19px; color: var(--deep); margin: 0 0 10px; font-weight: 800; }
h3 { font-size: 13px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin: 16px 0 6px; }
p { margin: .3rem 0 .6rem; }
.lede, .sub { color: var(--muted); margin: 0 0 18px; font-size: 14.5px; }
.muted { color: var(--faint); }
.small { font-size: 13px; }
.hint { color: var(--muted); font-size: 13px; font-weight: 600; }
.crumbs { color: var(--faint); font-size: 13px; margin: 18px 0 -18px; }
pre.wrap-text { white-space: pre-wrap; font-size: 13px; color: var(--muted); }
footer, .foot { color: var(--faint); font-size: 12.5px; padding: 34px 24px 44px; }

/* ---- top bar ---- */
.top { background: linear-gradient(90deg, #1F224A 0%, #2A2F6F 45%, #3E44A0 100%); color: #D9DAF5;
       position: sticky; top: 0; z-index: 10; box-shadow: 0 2px 14px rgba(0,0,0,.18); }
.top-in { display: flex; align-items: center; gap: 26px; height: 62px; }
.brand { color: #fff; font-weight: 800; font-size: 18px; display: flex; align-items: center; gap: 10px; }
.brand:hover { text-decoration: none; }
.logo { width: 30px; height: 30px; border-radius: 9px; background: var(--accent); color: #fff; display: grid;
        place-items: center; font-weight: 900; font-size: 16px; box-shadow: 0 2px 8px rgba(184,51,106,.45); }
nav { display: flex; gap: 4px; }
nav a { color: #D9DAF5; padding: 8px 14px; border-radius: 99px; font-weight: 700; font-size: 14.5px; }
nav a:hover { background: rgba(255,255,255,.1); text-decoration: none; }
nav a.on { background: #fff; color: var(--deep); }
.badge { display: inline-block; min-width: 1.5em; padding: 0 .5em; border-radius: 99px; background: #FFD24A; color: var(--deep);
         font-size: 11.5px; font-weight: 900; text-align: center; vertical-align: 1px; margin-left: 2px; }
nav a.on .badge { background: var(--accent); color: #fff; }
.top-right { margin-left: auto; display: flex; align-items: center; gap: 14px; font-size: 13px; }
.fresh { white-space: nowrap; display: flex; align-items: center; gap: 7px; }
.fresh b { color: #fff; }
.live { width: 8px; height: 8px; border-radius: 50%; background: #4ADE80; box-shadow: 0 0 0 3px rgba(74,222,128,.25); }
.flash { margin-top: 16px; padding: 10px 16px; border-radius: 12px; font-weight: 700; background: var(--good-soft); color: var(--good);
         border-left: 5px solid #3FA35B; }

/* ---- cards ---- */
main { padding-bottom: 24px; }
.panel, .card { background: var(--card); border: 1.5px solid #CDCFE6; border-radius: var(--radius); padding: 20px 22px;
                box-shadow: var(--shadow); margin: 0 0 16px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
@media (max-width: 900px) { .grid2 { grid-template-columns: 1fr; } }

/* ---- KPI cards (overview) ---- */
.kpis { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin: 4px 0 18px; }
.kpi { border-radius: var(--radius); padding: 14px 16px; color: #fff; display: flex; flex-direction: column; gap: 2px;
       border: 1.5px solid rgba(31,34,74,.35); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18), var(--shadow); }
a.kpi:hover { text-decoration: none; filter: brightness(1.08); }
.kpi b { font-size: 28px; line-height: 1.1; font-weight: 900; }
.kpi span { font-size: 13px; font-weight: 700; opacity: .92; }
.kpi::after { content: "View →"; font-size: 11.5px; font-weight: 800; opacity: .75; margin-top: 4px; }
.kpi.plain::after { content: none; }
.kpi.k1 { background: linear-gradient(135deg, #2A2F6F, #3E44A0); }
.kpi.k2 { background: linear-gradient(135deg, #4B51B8, #3E44A0); }
.kpi.k3 { background: linear-gradient(135deg, #B8336A, #8E2552); }
.kpi.k4 { background: linear-gradient(135deg, #0D9488, #0F6B63); }
.kpi.k5 { background: linear-gradient(135deg, #B97A00, #8A5B00); }
.kpi.k6 { background: linear-gradient(135deg, #7C3AED, #5B21B6); }
/* a tile split between two searches (A.A./A.S. degrees, then a small bachelor's link): no link inside a link */
.kpi.split { padding: 0; gap: 0; }
.kpi.split > a { color: #fff; display: flex; flex-direction: column; gap: 2px; padding: 14px 16px 4px; }
.kpi.split > a:first-child::after { content: "View →"; font-size: 11.5px; font-weight: 800; opacity: .75; margin-top: 4px; }
.kpi.split > a.kpi-more { padding: 0 16px 12px; font-size: 12.5px; font-weight: 800; text-decoration: underline; text-underline-offset: 2px; min-height: 24px; }
.kpi.split > a:hover { text-decoration: underline; }
@media (min-width: 901px) and (max-width: 1200px) { .kpis { grid-template-columns: repeat(3, 1fr); } }
.tiles.small { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 6px 0 4px; }
.tiles.small .tile { background: var(--band); border: 1px solid var(--line); border-radius: 11px; padding: 10px 12px; }
.tiles.small .k { font-size: 22px; font-weight: 800; color: var(--deep); line-height: 1.1; }
.tiles.small .l { font-size: 12px; font-weight: 700; color: var(--muted); margin-top: 3px; }
.count { display: inline-block; background: var(--indigo-soft); color: var(--deep); border-radius: 99px; padding: 0 .6em; font-size: 13px;
         font-weight: 800; vertical-align: middle; margin-left: 4px; }

/* ---- search card ---- */
.page-h { margin-top: 22px; margin-bottom: 12px; }
.search-card { padding: 18px 20px 12px; }
.sc-top { display: flex; align-items: center; gap: 12px; }
.kw-input { flex: 1; min-width: 0; font: inherit; font-size: 17px; padding: 12px 18px 12px 46px; border-radius: 99px;
            border: 2px solid var(--indigo); color: var(--ink); box-shadow: 0 2px 8px rgba(75,81,184,.14);
            background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%234B51B8' stroke-width='2.6' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") 17px center no-repeat; }
.kw-input::placeholder { color: #8A88A8; }
.kw-input:focus { outline: 4px solid rgba(75,81,184,.18); }
.sc-count { display: flex; align-items: baseline; gap: 6px; padding: 8px 16px; border-radius: 12px; background: var(--indigo-soft);
            white-space: nowrap; min-width: 160px; justify-content: center; }
.sc-count b { font-size: 24px; font-weight: 900; color: var(--accent); line-height: 1; }
.sc-count span { font-weight: 800; color: var(--deep); font-size: 14px; }
.sc-count.zero { background: var(--crit-soft); }
.sc-count.zero b { color: var(--crit); }
.filters { display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 14px; }
.sc-filters { margin-top: 16px; grid-template-columns: repeat(6, 1fr); }
.f label { display: block; font-size: 12.5px; font-weight: 800; color: var(--deep); margin-bottom: 4px; letter-spacing: .01em; }
.f input, .f select { width: 100%; padding: 10px 12px; border: 1.5px solid var(--yellow-line); border-radius: 10px;
                      background: var(--yellow); font: inherit; font-weight: 600; color: var(--ink); }
.f select.on { background: #fff; border-color: var(--indigo); color: var(--deep); }
.f select.empty { background: #E4EEFF; border-color: #3D79BE; color: #1F5A99; font-style: italic; }
.f select.stale { background: #F8CBAD; border-color: #C0504D; color: #7A1E06; }
.key.blue { background: #E4EEFF; border: 1px solid #6FA8E6; }
.key.red { background: #F8CBAD; border: 1px solid #C0504D; }
.sc-filters { grid-template-columns: repeat(4, 1fr); }
.role-tag { background: #FFD24A; color: var(--deep); border-radius: 99px; padding: 3px 10px; font-weight: 800; font-size: 12px; }
.out { color: #B9BBE6; font-weight: 600; }
.out:hover { color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 10px 0 4px; }
.btn-row form { display: contents; }
.btn-row input[type=text] { flex: 1; min-width: 180px; }
details.acc { display: inline-block; }
details.acc > summary { list-style: none; display: inline-block; margin: 0; color: var(--deep); }
details.acc > summary::-webkit-details-marker { display: none; }
details.acc[open] { display: block; width: 100%; }
details.acc[open] > summary { margin-bottom: 6px; }
.also { display: inline-flex; gap: 6px; align-items: center; flex-wrap: wrap; }
th.sorted { color: var(--accent); }
th[data-sort] { cursor: pointer; user-select: none; }
th[data-sort]:hover { background: #D9DBF3; }
th.sorted::after { content: " ▾"; }
.f input:focus, .f select:focus { outline: 3px solid rgba(75,81,184,.22); border-color: var(--indigo); }
.sc-foot { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 14px; padding-top: 10px; border-top: 1px solid var(--line);
           font-size: 12.5px; color: var(--muted); font-weight: 600; }
.sc-foot .sc-tip { margin-left: auto; }
.key { display: inline-block; width: 12px; height: 12px; border-radius: 3px; vertical-align: -1px; margin-right: 3px; }
.key.yellow { background: var(--yellow); border: 1px solid var(--yellow-line); }
.sc-more[hidden] { display: none; }
.res-bar { display: flex; align-items: center; margin: 18px 2px 10px; gap: 12px; flex-wrap: wrap; }
.res-bar .sort { margin-left: auto; font-weight: 800; color: var(--deep); font-size: 13.5px; display: flex; align-items: center; gap: 8px; }
.res-bar .sort select { font: inherit; font-weight: 700; padding: 6px 10px; border-radius: 9px; border: 1.5px solid var(--line); background: #fff; }
@media (max-width: 1100px) { .sc-filters { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .sc-top { flex-wrap: wrap; } .sc-filters { grid-template-columns: 1fr 1fr; } .sc-foot .sc-tip { margin-left: 0; } }

/* ---- buttons ---- */
.btn { display: inline-block; border: 1.5px solid var(--line); background: #fff; padding: 8px 16px; border-radius: 99px; font: inherit;
       font-weight: 700; font-size: 14px; color: var(--deep); cursor: pointer; line-height: 1.3; }
.btn:hover { background: var(--bg); text-decoration: none; }
.btn.primary { background: var(--deep); color: #fff; border-color: var(--deep); }
.btn.primary:hover { background: var(--deep2); }
.btn.sm, .btn.small { padding: 5px 12px; font-size: 13px; }
.btn.ghost { background: transparent; }
.btn.danger { border-color: var(--crit); color: var(--crit); }
.btn.reset { background: var(--accent); border-color: var(--accent); color: #fff; font-size: 13px; padding: 5px 13px;
             box-shadow: 0 2px 6px rgba(184,51,106,.25); }
.btn.reset:hover { background: #9E2A5A; }
.btn.ftoggle { white-space: nowrap; background: var(--indigo); border-color: var(--indigo); color: #fff; font-size: 13px; padding: 5px 13px;
               box-shadow: 0 2px 6px rgba(75,81,184,.3); }
.btn.ftoggle:hover { background: var(--deep2); border-color: var(--deep2); }
.btn.ftoggle .n { background: #FFD24A; color: var(--deep); border-radius: 99px; padding: 0 8px; font-size: 11.5px; margin-left: 4px; font-weight: 900; }
form.inline { display: inline-flex; gap: .4rem; align-items: center; margin: .2rem 0; flex-wrap: wrap; }
input[type=text], select { background: #fff; color: var(--ink); border: 1.5px solid var(--line); border-radius: 9px; padding: 7px 10px; font: inherit; }
.check { display: inline-flex; gap: .4rem; align-items: center; font-size: 14px; font-weight: 600; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 14px; margin: 8px 0; }
.sector-form input[type=text] { width: 100%; margin: 6px 0 8px; }
details summary { cursor: pointer; color: var(--indigo); font-weight: 700; font-size: 14px; margin: 8px 0 4px; }
.pager { display: flex; gap: 12px; align-items: center; margin: 10px 0; font-weight: 600; color: var(--muted); font-size: 13.5px; }
ul.plain, ol.plain { list-style: none; padding: 0; margin: 0; }
ul.plain li, ol.plain li { margin: 4px 0 8px; }
ul.cols { columns: 2; padding-left: 18px; margin: 4px 0; font-size: 14px; }
@media (max-width: 700px) { ul.cols { columns: 1; } .checks { grid-template-columns: 1fr; } }

/* ---- tables (Excel-style: light header, banded rows) ---- */
.tbl-wrap, .table-wrap { overflow-x: auto; background: var(--card); border: 1.5px solid #CDCFE6; border-radius: var(--radius);
                         box-shadow: var(--shadow); margin-bottom: 16px; }
table { border-collapse: separate; border-spacing: 0; width: 100%; }
th { text-align: left; font-size: 12.5px; color: var(--deep); font-weight: 800; padding: 11px 14px;
     background: var(--head); border-bottom: 2px solid var(--head-line); position: sticky; top: 0; white-space: nowrap; z-index: 3; }
td { padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 14.5px; }
tbody tr:nth-child(even) td { background: var(--band); }
tbody tr:hover td { background: var(--hover); }
td.num, th.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
td.num { color: var(--faint); font-weight: 700; }
td.units { font-weight: 800; text-align: center; }
td.title { min-width: 260px; }
td.title a { font-weight: 700; color: var(--ink); font-size: 15px; }
td.title .hint { font-weight: 600; font-size: 12.5px; margin-top: 2px; }
td.code { white-space: nowrap; font-family: Consolas, ui-monospace, monospace; font-size: 13px; }
tr.row { cursor: pointer; }
tr.row td:first-child { box-shadow: inset 5px 0 0 var(--c, transparent); }
tr.sel td { background: var(--accent-soft) !important; }
tr.excluded td { opacity: .55; }
table.compact th, table.compact td { padding: 6px 10px; font-size: 13.5px; }
.more { text-align: center; padding: 16px; }
.none { color: #8A97A1; }
.links a { margin-right: 8px; white-space: nowrap; font-size: 13px; }
.links.big { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 10px 0 16px; }
table.review td { min-width: 150px; }
table.review td.actions { min-width: 200px; }
table.review .why { max-width: 300px; }
td.actions form { display: flex; gap: 6px; margin: 0 0 6px; }
td.actions form.pick select { padding: 3px 6px; font-size: 13px; }

/* ---- college badges, chips, status ---- */
.college { display: inline-block; padding: 2px 10px 2px 8px; border-radius: 7px; background: var(--cb, var(--indigo-soft)); color: var(--ct, var(--deep));
           border-left: 4px solid var(--c, var(--indigo)); font-weight: 800; font-size: 12.5px; letter-spacing: .02em; white-space: nowrap; }
a.college:hover { text-decoration: none; filter: brightness(.96); }
.chip { display: inline-block; background: var(--indigo-soft); color: var(--deep); border-radius: 7px; padding: 2px 9px; font-size: 12.5px;
        font-weight: 700; margin: 0 4px 4px 0; white-space: nowrap; }
.tag { display: inline-block; background: #EEF0F2; color: #475866; border-radius: 99px; padding: 1px 9px; font-size: 12px; font-weight: 700; vertical-align: middle; }
.status { display: inline-block; padding: 2px 9px; border-radius: 99px; font-size: 12px; font-weight: 800; white-space: nowrap; }
.status.ok { background: var(--good-soft); color: var(--good); }
.status.warn { background: var(--warn-soft); color: var(--warn); }
.status.crit { background: var(--crit-soft); color: var(--crit); }

/* ---- heatmap ---- */
.heat-wrap { overflow-x: auto; }
table.heat { border-collapse: separate; border-spacing: 2px; font-size: 13px; width: auto; }
table.heat th { position: static; background: none; border: 0; color: var(--muted); font-weight: 700; padding: 4px 6px; }
table.heat thead th span { display: inline-block; max-width: 110px; white-space: normal; line-height: 1.15; vertical-align: bottom; font-size: 12px; }
table.heat td { min-width: 46px; height: 32px; text-align: center; border-radius: 6px; background: var(--band); color: var(--faint);
                border: 1px solid #E4E5F1; padding: 0; font-weight: 700; }
/* no zebra striping or row hover inside a heatmap: the colour IS the data */
table.heat tbody tr:nth-child(even) td, table.heat tbody tr:hover td { background: var(--band); }
table.heat tbody tr:nth-child(even) th, table.heat tbody tr:hover th { background: none; }
table.heat td.h0 { background: #fff !important; }
table.heat td.h1 { background: var(--h1) !important; color: var(--ink) !important; } table.heat td.h2 { background: var(--h2) !important; color: var(--ink) !important; }
table.heat td.h3 { background: var(--h3) !important; color: var(--ink) !important; } table.heat td.h4 { background: var(--h4) !important; color: var(--ink) !important; }
table.heat td.h5 { background: var(--h5) !important; color: var(--ink) !important; } table.heat td.h6 { background: var(--h6) !important; color: #fff !important; }
table.heat td.h7 { background: var(--h7) !important; color: #fff !important; } table.heat td.h8 { background: var(--h8) !important; color: #fff !important; }
table.heat td.h9 { background: var(--h9) !important; color: #fff !important; } table.heat td.h10 { background: var(--h10) !important; color: #fff !important; }
table.heat td[class*="h"]:hover { outline: 2px solid var(--accent); outline-offset: -1px; cursor: default; }
table.heat tbody th { position: sticky; left: 0; background: var(--card); z-index: 1; }
.chart-box { position: relative; width: 100%; }
.chart-box canvas { position: absolute; inset: 0; }

/* ---- side panel ---- */
.shade { position: fixed; inset: 0; background: rgba(31,34,74,.32); opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 20; }
.shade.open { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; height: 100vh; width: min(1180px, 94vw); background: var(--bg);
          box-shadow: -16px 0 50px rgba(31,34,74,.25); transform: translateX(105%); transition: transform .22s ease; z-index: 30;
          display: flex; flex-direction: column; }
.drawer.open { transform: none; }
.dr-head { display: flex; align-items: center; gap: 6px; padding: 10px 18px; background: linear-gradient(90deg, #1F224A, #3E44A0); color: #D9DAF5; }
.dr-nav { display: flex; align-items: center; gap: 6px; margin-right: auto; }
.dr-pos { font-size: 13px; min-width: 90px; text-align: center; font-weight: 700; }
.icon { background: rgba(255,255,255,.12); color: #fff; border: 0; border-radius: 9px; width: 34px; height: 32px; font-size: 17px; cursor: pointer;
        display: inline-grid; place-items: center; font-weight: 700; }
.icon:hover { background: rgba(255,255,255,.24); text-decoration: none; }
.icon:disabled { opacity: .3; cursor: default; }
.dr-body { flex: 1; overflow: auto; padding: 0 24px 44px; }
.dr-body .pp-title { margin: 0 -24px 16px; padding: 16px 24px 12px; background: #fff; border-bottom: 1px solid var(--line); border-top: 6px solid var(--c, var(--indigo)); }
.pp-title h2, .pp-title h1 { margin: 6px 0 8px; font-size: 25px; color: var(--deep); line-height: 1.2; }
.pp-meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; color: var(--muted); font-size: 13.5px; font-weight: 600; }
.pp-links { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.pp-page .pp-title { border-radius: var(--radius); border: 1px solid var(--line); border-top: 6px solid var(--c, var(--indigo)); margin: 20px 0 16px; padding: 16px 22px 14px; box-shadow: var(--shadow); }
.pp-page .pp-title h2, .pp-page .pp-title h1 { font-size: 28px; }
.pp-sec { background: #fff; border: 1.5px solid #CDCFE6; border-left: 5px solid var(--c, var(--indigo)); border-radius: 12px; padding: 14px 22px 14px;
          margin-bottom: 14px; box-shadow: var(--shadow); }
.pp-sec > h2 { font-size: 17px; margin: 0 0 12px; padding-bottom: 9px; border-bottom: 1px solid var(--line); display: flex; align-items: baseline; gap: 10px; }
.pp-sec > h2 .hint { font-weight: 600; }
.pp-sec table th { position: static; }
.pp-sec table td { padding: 5px 10px; font-size: 14px; }
/* at a glance: four tiles across the top of the panel */
.pp-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 0 0 14px; }
.pp-stats .stat { background: #fff; border: 1.5px solid #CDCFE6; border-top: 4px solid var(--c, var(--indigo)); border-radius: 11px; padding: 10px 14px; min-width: 0; }
.pp-stats .v { font-size: 20px; font-weight: 800; color: var(--deep); line-height: 1.2; overflow-wrap: anywhere; }
.pp-stats .v.chips { font-size: 14px; display: flex; flex-wrap: wrap; gap: 4px; }
.pp-stats .v.chips .chip { margin: 0; font-size: 13px; }
.pp-stats .l { font-size: 12px; font-weight: 700; color: var(--muted); margin-top: 4px; }
/* about: prose on the left, facts on the right */
.pp-about { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, 1fr); gap: 20px 28px; align-items: start; }
.pp-about .prose { font-size: 15px; line-height: 1.65; max-width: 72ch; }
.facts { display: grid; grid-template-columns: 130px 1fr; gap: 8px 12px; margin: 0; font-size: 14px; background: var(--band); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.facts dt { font-weight: 800; color: var(--deep); font-size: 12.5px; padding-top: 2px; }
.facts dd { margin: 0; min-width: 0; }
/* course map: term cards flow across the width */
.terms { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: 12px; }
.term { background: var(--band); border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px 4px; }
.term-h { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin: 0 4px 4px; }
.term-h b { color: var(--deep); font-size: 14.5px; }
.term table { background: #fff; border-radius: 6px; }
.term td { border-bottom: 1px solid #EEF0F5; }
.term tr:last-child td { border-bottom: 0; }
.term tbody tr:nth-child(even) td { background: #fff; }
ul.cols3 { columns: 3; column-gap: 28px; padding-left: 18px; margin: 4px 0 8px; font-size: 14px; }
ul.cols3 li { break-inside: avoid; margin-bottom: 3px; }
.pp-stats .v.small { font-size: 15px; line-height: 1.3; }
ol.outcomes { margin: 4px 0 0; padding-left: 22px; font-size: 14px; line-height: 1.5; }
ol.outcomes li { margin-bottom: 3px; }
/* the Program Mapper circles */
.rings { display: flex; flex-wrap: wrap; gap: 22px 36px; justify-content: flex-start; margin: 4px 0 14px; }
.ring { position: relative; width: 150px; text-align: center; }
.ring svg { width: 130px; height: 130px; display: block; margin: 0 auto; }
.ring-bg { fill: none; stroke: var(--indigo-soft); stroke-width: 10; }
.ring-fg { fill: none; stroke: var(--indigo); stroke-width: 10; stroke-linecap: round; }
.ring-growth .ring-fg { stroke: #0D9488; }
.ring-growth.neg .ring-fg { stroke: var(--accent); }
.ring-careers .ring-fg { stroke: #7C3AED; }
.ring-txt { position: absolute; top: 40px; left: 0; right: 0; line-height: 1.1; }
.ring-txt b { display: block; font-size: 22px; font-weight: 900; color: var(--deep); }
.ring-txt span { display: block; font-size: 11.5px; font-weight: 700; color: var(--muted); margin-top: 3px; }
.ring-sub { font-size: 12px; font-weight: 600; color: var(--muted); margin-top: 2px; }
.careers { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.career { background: var(--band); border: 1px solid var(--line); border-left: 3px solid var(--c, var(--indigo)); border-radius: 10px; padding: 9px 12px; }
.career-name { font-weight: 800; color: var(--deep); font-size: 14px; line-height: 1.3; }
.career-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 12.5px; color: var(--muted); margin: 4px 0; font-weight: 600; }
.career-meta .up { color: var(--good); } .career-meta .down { color: var(--crit); }
.career-sal { font-size: 13.5px; } .career-sal b { font-weight: 800; color: var(--deep); font-size: 15px; }
/* course map with descriptions */
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12.5px; color: var(--muted); font-weight: 600; margin: -4px 0 10px; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 4px; vertical-align: -1px; background: var(--indigo); }
.dot.ge { background: #0D9488; } .dot.elective { background: #D97706; } .dot.choice { background: var(--accent); }
.course-list { display: flex; flex-direction: column; gap: 3px; }
details.course { background: #fff; border: 1px solid #ECEDF5; border-radius: 8px; }
details.course > summary { list-style: none; display: grid; grid-template-columns: 16px minmax(90px, auto) 1fr auto 14px; align-items: center; gap: 8px; padding: 6px 10px; cursor: pointer; font-size: 13.5px; }
details.course > summary::-webkit-details-marker { display: none; }
details.course[data-static] > summary { cursor: default; }
details.course > summary .code { font-family: Consolas, ui-monospace, monospace; font-weight: 700; color: var(--deep); font-size: 13px; white-space: nowrap; }
details.course > summary .name { min-width: 0; }
details.course > summary .units { font-weight: 700; color: var(--faint); font-variant-numeric: tabular-nums; white-space: nowrap; }
details.course > summary .chev { color: var(--indigo); font-size: 12px; transition: transform .15s; }
details.course[open] > summary .chev { transform: rotate(180deg); }
details.course[open] > summary { background: var(--indigo-soft); border-radius: 8px 8px 0 0; }
.course-body { padding: 8px 12px 10px 34px; border-top: 1px solid #ECEDF5; }
.course-body .option { margin: 6px 0 8px; }
.prose.small { font-size: 13.5px; line-height: 1.55; color: var(--muted); margin-top: 2px; }
@media (max-width: 700px) { details.course > summary { grid-template-columns: 16px 1fr auto 14px; } details.course > summary .code { grid-column: 2; } details.course > summary .name { grid-column: 2 / span 3; } }
/* admin evidence */
.pp-admin { background: #FBFBFE; }
.evidence-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; }
.evidence-grid h3 { margin-top: 4px; }
.evidence-grid .why { color: var(--muted); font-size: 13px; margin: 2px 0 6px; }
.pp-house { border-top: 1px solid var(--line); margin-top: 12px; padding-top: 10px; }
@media (max-width: 900px) { .pp-stats { grid-template-columns: 1fr 1fr; } .pp-about, .evidence-grid { grid-template-columns: 1fr; } ul.cols3 { columns: 1; } }
@media (max-width: 1100px) { ul.cols3 { columns: 2; } }
@media (max-width: 900px) { .top-in { height: auto; flex-wrap: wrap; padding: 10px 20px; gap: 10px; } .top-right { margin-left: 0; }
  .kpis { grid-template-columns: repeat(2, 1fr); } .pp-grid { grid-template-columns: 1fr; } .drawer { width: 100vw; } }
/* the three action buttons Program Mapper shows under the map */
.pp-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.pp-actions .btn.ghost { border-style: dashed; color: var(--deep); }
.pp-actions .btn.ghost:hover { background: var(--indigo-soft); border-style: solid; }
.ring { width: 178px; }
.ring-sub { white-space: nowrap; }
/* course map, laid out like Program Mapper: full-width term rows, a units bar, and the award footer */
.map-info { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin: 2px 0 10px; }
.map-info .t { font-size: 17px; font-weight: 900; color: var(--deep); }
.map-info .a { font-size: 14px; font-weight: 700; color: var(--muted); }
.map-info .u { margin-left: auto; font-size: 20px; font-weight: 900; color: var(--deep); font-variant-numeric: tabular-nums; }
.map-info .u small { font-size: 12.5px; font-weight: 700; color: var(--muted); margin-left: 4px; }
.unitbar { display: flex; height: 14px; border-radius: 7px; overflow: hidden; background: var(--indigo-soft); gap: 2px; }
.unitbar span { display: block; height: 100%; min-width: 3px; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 12.5px; color: var(--muted); font-weight: 700; margin: 8px 0 14px; }
.legend .sw { display: inline-block; width: 14px; height: 6px; border-radius: 3px; margin-right: 6px; vertical-align: 2px; }
.legend b { color: var(--deep); font-weight: 800; margin-left: 3px; }
.k-major { background: var(--accent); } .k-ge { background: #0D9488; } .k-elective { background: #D97706; }
.terms { display: flex; flex-direction: column; gap: 10px; }
.term { display: grid; grid-template-columns: 128px 1fr; gap: 0; padding: 0; overflow: hidden; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--deep); border-radius: 10px; }
.term-side { background: var(--band); padding: 12px 10px; text-align: center; display: flex; flex-direction: column; justify-content: space-between; gap: 8px; border-right: 1px solid var(--line); }
.term-side b { display: block; color: var(--deep); font-size: 15px; line-height: 1.2; }
.term-side .ord { display: block; font-size: 12px; color: var(--muted); font-weight: 600; margin-top: 2px; }
.term-side .tu { font-size: 12px; font-weight: 800; color: var(--deep); letter-spacing: .03em; text-transform: uppercase; }
.course-list { display: flex; flex-direction: column; gap: 0; padding: 4px 0; }
details.course { border: 0; border-bottom: 1px solid #EEF0F5; border-radius: 0; margin: 0; }
details.course:last-child { border-bottom: 0; }
details.course > summary { grid-template-columns: 6px minmax(100px, auto) 1fr auto 14px; padding: 8px 12px 8px 10px; gap: 10px; }
details.course > summary .bar { display: block; width: 6px; height: 22px; border-radius: 3px; }
details.course > summary .kindtag { font-size: 11px; font-weight: 800; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; margin-left: 6px; }
details.course[open] > summary { background: var(--band); border-radius: 0; }
.course-body { padding: 8px 14px 12px 28px; border-top: 0; background: #FCFCFE; }
.map-foot { display: grid; grid-template-columns: 128px 1fr; align-items: center; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--deep); border-radius: 10px; margin-top: 10px; overflow: hidden; }
.map-foot .cap { background: var(--band); border-right: 1px solid var(--line); text-align: center; font-size: 26px; padding: 12px 0; align-self: stretch; display: flex; align-items: center; justify-content: center; }
.map-foot .body { padding: 10px 14px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.map-foot .body b { font-size: 15px; color: var(--deep); font-weight: 900; }
.map-foot .body .u { margin-left: auto; font-size: 18px; font-weight: 900; color: var(--deep); font-variant-numeric: tabular-nums; }
.map-foot .body .u small, .map-foot .body .hint { font-size: 12.5px; font-weight: 600; color: var(--muted); }
@media (max-width: 700px) {
  .term, .map-foot { grid-template-columns: 1fr; }
  .term-side { flex-direction: row; justify-content: space-between; align-items: center; border-right: 0; border-bottom: 1px solid var(--line); text-align: left; padding: 8px 12px; }
  details.course > summary { grid-template-columns: 6px 1fr auto 14px; }
  details.course > summary .code { grid-column: 2; } details.course > summary .name { grid-column: 2 / span 3; }
}
details.course > summary .code.long { font-family: inherit; font-weight: 700; color: var(--muted); white-space: normal; }
.course-body .prose.small + .prose.small { margin-top: 6px; }

/* Program Mapper style stat circles: a disc with the low / average / high line graph inside */
.statcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 14px; margin: 4px 0 16px; }
.statcard { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px 10px; background: #fff; min-width: 0; }
.statcard h3 { margin: 0 0 4px; font-size: 15px; color: var(--deep); }
.statcard p { margin: 0 0 8px; font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.statcard-careers .career-index { columns: 2; column-gap: 14px; font-size: 12.5px; color: var(--muted); line-height: 1.5; margin: 0; padding: 0; }
.statcard-careers .career-index li { break-inside: avoid; }
.circ { display: block; width: 232px; max-width: 100%; height: auto; margin: 4px auto 0; overflow: visible; }
.circ-sm { width: 184px; }
.circ-bg { fill: var(--indigo-soft); }
.circ-fill { fill: #7D83D0; opacity: .8; }
.circ-line { fill: none; stroke: var(--deep); stroke-width: 4; stroke-linejoin: round; }
.circ-drop { stroke: #fff; stroke-width: 2; }
.circ-dot { fill: var(--deep); stroke: #fff; stroke-width: 2.5; }
.circ text { font-family: inherit; fill: var(--deep); }
.circ-val { font-size: 22px; font-weight: 800; } .circ-val.sm { font-size: 19px; }
.circ-dollar { font-size: 13px; font-weight: 800; } .circ-sign { font-size: 16px; font-weight: 800; }
.circ-lab { font-size: 14px; font-weight: 600; fill: var(--muted); }
.circ-lab2 { font-size: 14.5px; font-weight: 700; fill: var(--muted); }
.circ-big { font-size: 46px; font-weight: 900; letter-spacing: -.01em; }
.circ-small { font-size: 15px; font-weight: 700; fill: var(--muted); }
.circ-small .up { fill: var(--good); } .circ-small .down { fill: var(--crit); }
.careers { grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); }
.career { text-align: center; padding: 12px 10px 10px; border-left: 1px solid var(--line); background: #fff; }
.career-edu { display: flex; gap: 8px; align-items: center; text-align: left; background: var(--band); border-radius: 8px; padding: 6px 9px; font-size: 12px; color: var(--muted); margin: 8px 0 4px; line-height: 1.3; }
.career-edu .cap { font-size: 18px; } .career-edu b { color: var(--deep); font-size: 11.5px; }

/* careers table with a small salary line graph per career */
.statcards.two { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); max-width: 820px; }
.pp-sec h3.sub { margin: 6px 0 8px; font-size: 15px; color: var(--deep); }
.pp-sec h3.sub .hint { font-weight: 600; font-size: 12.5px; }
.careers-t { width: 100%; border-collapse: collapse; font-size: 13.5px; background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.careers-t th { text-align: left; font-size: 11.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); padding: 8px 12px; background: var(--band); border-bottom: 1px solid var(--line); }
.careers-t td { padding: 7px 12px; border-bottom: 1px solid #EEF0F5; vertical-align: middle; }
.careers-t tbody tr:last-child td { border-bottom: 0; }
.careers-t tbody tr:hover td { background: #FAFAFE; }
.careers-t .cn { font-weight: 800; color: var(--deep); line-height: 1.25; }
.careers-t .edu { color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.careers-t td:nth-child(2) { white-space: nowrap; width: 96px; }
.careers-t td:nth-child(3) { width: 260px; }
.growth-badge { display: inline-block; font-weight: 800; font-size: 12.5px; padding: 2px 9px; border-radius: 99px; background: #E3F5EC; color: var(--good); font-variant-numeric: tabular-nums; }
.growth-badge.down { background: #FBE4E0; color: var(--crit); }
.sal { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.sal .lo, .sal .hi { font-size: 12px; color: var(--muted); font-weight: 700; min-width: 38px; font-variant-numeric: tabular-nums; }
.sal .lo { text-align: right; }
.spark { width: 150px; height: 41px; overflow: visible; flex: none; }
.spark-fill { fill: #7D83D0; opacity: .3; }
.spark-line { fill: none; stroke: var(--deep); stroke-width: 2; stroke-linejoin: round; }
.spark-dot { fill: var(--deep); stroke: #fff; stroke-width: 1.5; }
.spark-avg { font-size: 11.5px; font-weight: 800; fill: var(--deep); font-family: inherit; }
@media (max-width: 700px) { .careers-t td:nth-child(3) { width: auto; } .spark { width: 110px; } .careers-t th:nth-child(2), .careers-t td:nth-child(2) { display: none; } }

.statcards.two { grid-template-columns: repeat(auto-fit, minmax(300px, 400px)); max-width: none; }
.map-src { background: #FFF7E6; border: 1px solid #F3D9A4; color: #6B4A00; border-radius: 8px; padding: 8px 12px; font-size: 13px; margin: 0 0 12px; }
.map-src a { color: #6B4A00; font-weight: 700; }
.pp-stats .l { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
/* scoreboard tiles: bigger type, vertically centred, so short values fill the card */
.pp-stats { gap: 12px; }
.pp-stats .stat { padding: 16px 18px 14px; min-height: 104px; display: flex; flex-direction: column; justify-content: center; }
.pp-stats .v { font-size: 25px; line-height: 1.15; }
.pp-stats .v.big { font-size: 36px; line-height: 1; letter-spacing: -.01em; }
.pp-stats .v.small { font-size: 19px; line-height: 1.25; }
.pp-stats .v.chips { gap: 6px; }
.pp-stats .v.chips .chip { font-size: 16px; padding: 5px 13px; border-radius: 9px; }
.pp-stats .l { font-size: 13px; margin-top: 7px; }
@media (max-width: 900px) { .pp-stats .v { font-size: 21px; } .pp-stats .v.big { font-size: 30px; } }
.map-src.ok { background: #EAF7F0; border-color: #BFE3CE; color: #14532D; }
.map-src.ok a { color: #14532D; }
/* catalog check as a small pill at the end of the course-map header row */
.pp-sec h2.map-h { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; }
.map-check { margin-left: auto; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 99px; white-space: nowrap; text-decoration: none; line-height: 1.4; }
.map-check.ok { background: #EAF7F0; color: #14532D; border: 1px solid #BFE3CE; }
.map-check.warn { background: #FFF7E6; color: #6B4A00; border: 1px solid #F3D9A4; }
.map-check:hover { filter: brightness(.96); }
.map-check-note { font-size: 12.5px; color: #6B4A00; margin: -2px 0 10px; line-height: 1.45; }
@media (max-width: 700px) { .map-check { margin-left: 0; } }

/* overview additions */
.coverage { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.coverage div { background: var(--band); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.coverage b { display: block; font-size: 24px; font-weight: 900; color: var(--deep); line-height: 1.1; }
.coverage span { display: block; font-size: 12.5px; font-weight: 700; color: var(--muted); margin-top: 4px; }
.careers-t.top td:nth-child(2), .careers-t.top td:nth-child(3) { width: 80px; white-space: nowrap; }
.careers-t.top td.num { text-align: right; font-variant-numeric: tabular-nums; }
.careers-t.top th:nth-child(2), .careers-t.top th:nth-child(3), .careers-t.top th:nth-child(5) { text-align: right; }
.careers-t.top td:nth-child(5) { width: 110px; }

/* colour-coded heatmaps: each row's cells are tints of the row colour (--c), darker with more programs (--k) */
table.heat.coded td.hc { background: color-mix(in srgb, var(--c) var(--k), #fff) !important; color: var(--ti, var(--ink)) !important; font-weight: 700; }
/* text colour of coloured cells comes from the server (heat_style), checked for 4.5:1 */
table.heat tbody th .rsw { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--c); margin-right: 6px; vertical-align: 1px; }
table.heat thead th.swatched span { border-top: 4px solid var(--cc); padding-top: 4px; border-radius: 2px 2px 0 0; }
.sw { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 8px; vertical-align: -1px; }
.chip.coded { border-left: 4px solid var(--sc); }
/* ---- overview layout ---- */
.ov-row { display: grid; gap: 16px; margin-bottom: 16px; align-items: stretch; }
.ov-row.three { grid-template-columns: repeat(3, 1fr); }
.ov-row.wide-left { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.ov-row > .panel { margin: 0; min-width: 0; }
@media (max-width: 1100px) { .ov-row.three { grid-template-columns: 1fr 1fr; } }
@media (max-width: 800px) { .ov-row.three, .ov-row.wide-left { grid-template-columns: 1fr; } }
.panel.fill table.heat { width: 100%; }
.panel.fill table.heat td { min-width: 0; }
.panel.fill table.heat tbody th { width: 64px; }
table.sector-glance { width: 100%; border-collapse: collapse; font-size: 13.5px; }
table.sector-glance th { text-align: left; font-size: 11.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); padding: 6px 10px; border-bottom: 1px solid var(--line); }
table.sector-glance td { padding: 5px 10px; border-bottom: 1px solid #EEF0F5; vertical-align: middle; }
table.sector-glance tbody tr:hover td { background: #FAFAFE; }
table.sector-glance td a { color: var(--deep); font-weight: 700; text-decoration: none; }
table.sector-glance td a:hover { text-decoration: underline; }
table.sector-glance .sw { background: var(--sc); }
table.sector-glance td:nth-child(1) { width: 30%; }
table.sector-glance td.barcell { position: relative; width: 26%; }
table.sector-glance .gbar { display: inline-block; height: 12px; border-radius: 3px; background: var(--sc); vertical-align: middle; margin-right: 8px; max-width: calc(100% - 80px); }
table.sector-glance .gbar.soft { opacity: .55; }
table.sector-glance td.barcell b { font-variant-numeric: tabular-nums; font-weight: 800; color: var(--deep); }
table.sector-glance td.num { text-align: right; font-variant-numeric: tabular-nums; }
.coverage.stack { grid-template-columns: 1fr 1fr; }
.coverage div { position: relative; overflow: hidden; }
.coverage .cov-bar { position: absolute; left: 0; bottom: 0; height: 4px; background: var(--indigo); opacity: .6; }
.careers-t.top td { padding: 5px 10px; }
.coverage.strip { grid-template-columns: repeat(7, minmax(0, 1fr)); }
@media (max-width: 1100px) { .coverage.strip { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 700px) { .coverage.strip { grid-template-columns: 1fr 1fr; } }
.careers-t.top td.edu { white-space: nowrap; }
.careers-t.top td:last-child { white-space: nowrap; width: 90px; }
/* top bar on one row: Search, Overview and Sectors as links, the five data pages under "Pathways" and the three admin
   pages under "Staff" (native <details> menus, static/ui.js closes them on Escape or a click elsewhere). */
.top-in { gap: 18px; white-space: nowrap; }
nav a { white-space: nowrap; }
.top-right { white-space: nowrap; }
.brand-short { display: none; }
.navmenu { position: relative; }
.navmenu > summary { list-style: none; cursor: pointer; color: #D9DAF5; padding: 8px 14px; border-radius: 99px; font-weight: 700;
                     font-size: 14.5px; white-space: nowrap; display: flex; align-items: center; gap: 7px; }
.navmenu > summary::-webkit-details-marker { display: none; }
.navmenu > summary::after { content: ""; border-left: 4.5px solid transparent; border-right: 4.5px solid transparent;
                            border-top: 5.5px solid currentColor; transition: transform .15s; }
.navmenu[open] > summary::after { transform: rotate(180deg); }
.navmenu > summary:hover { background: rgba(255,255,255,.1); }
.navmenu > summary.on { background: #fff; color: var(--deep); }
.navmenu > summary.on .badge { background: var(--accent); color: #fff; }
.navpop { position: absolute; top: calc(100% + 10px); left: 0; z-index: 40; min-width: 280px; display: grid; gap: 2px; padding: 8px;
          background: #fff; border-radius: 14px; box-shadow: 0 14px 34px rgba(20,22,60,.30); white-space: normal; }
.navmenu.staff .navpop { min-width: 240px; }
.navpop a { display: block; color: var(--deep); padding: 9px 12px; border-radius: 10px; font-weight: 800; font-size: 14px; }
.navpop a:hover { background: var(--band); text-decoration: none; }
.navpop a[aria-current] { background: var(--indigo-soft); box-shadow: inset 4px 0 0 var(--indigo); }
.navpop .navdesc { display: block; font-weight: 600; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
@media (max-width: 1360px) { body[data-admin="1"] .brand-full { display: none; } body[data-admin="1"] .brand-short { display: inline; } }
@media (max-width: 1150px) { .brand-full { display: none; } .brand-short { display: inline; } .fresh-more { display: none; } }
@media (max-width: 900px) { .fresh { display: none; } nav a, .navmenu > summary { padding: 8px 11px; } }

/* ---- sectors page ---- */
.sector-mix { display: flex; height: 14px; border-radius: 7px; overflow: hidden; gap: 2px; margin: 4px 0 16px; }
.sector-mix a { display: block; min-width: 4px; }
.sector-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 16px; }
@media (max-width: 1250px) { .sector-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 950px) { .sector-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .sector-cards { grid-template-columns: 1fr; } }
.scard { display: flex; flex-direction: column; gap: 9px; background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--sc);
         border-radius: 12px; padding: 12px 14px 12px; color: var(--ink); text-decoration: none; transition: box-shadow .15s, transform .15s; }
.scard:hover { text-decoration: none; box-shadow: 0 6px 18px rgba(31,34,74,.12); transform: translateY(-1px); }
.scard-h { display: flex; align-items: flex-start; gap: 6px; justify-content: space-between; min-height: 38px; }
.scard-name { font-weight: 900; font-size: 15px; color: var(--deep); line-height: 1.25; }
.scard-nums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.scard-nums div { display: flex; flex-direction: column; }
.scard-nums b { font-size: 21px; font-weight: 900; color: var(--deep); line-height: 1.1; font-variant-numeric: tabular-nums; }
.scard-nums b small { font-size: 12px; color: var(--muted); font-weight: 700; }
.scard-nums b.up { color: var(--good); } .scard-nums b.down { color: var(--crit); }
.scard-nums span { font-size: 11px; font-weight: 700; color: var(--muted); }
.scard-colleges { display: flex; height: 8px; border-radius: 4px; overflow: hidden; gap: 1px; }
.scard-colleges span { display: block; min-width: 3px; }
.scard-legend { display: flex; flex-wrap: wrap; gap: 2px 9px; font-size: 11px; color: var(--muted); font-weight: 700; margin-top: -4px; }
.scard-legend i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 3px; }
.scard-awards { display: flex; flex-wrap: wrap; gap: 4px; }
.scard-awards span { font-size: 11.5px; background: var(--band); border-radius: 99px; padding: 2px 8px; color: var(--muted); font-weight: 600; }
.scard-awards b { color: var(--deep); }
.scard-careers { border-top: 1px solid #EEF0F5; padding-top: 7px; margin-top: auto; }
.scard-careers .lbl { font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); font-weight: 800; margin-bottom: 3px; }
.scard-careers .car { display: flex; justify-content: space-between; gap: 8px; font-size: 12.5px; line-height: 1.35; padding: 1px 0; }
.scard-careers .car span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.scard-careers .car b { font-weight: 800; color: var(--deep); font-variant-numeric: tabular-nums; }
.scard-review { font-size: 12px; font-weight: 700; color: var(--warn); background: var(--warn-soft); border-radius: 6px; padding: 3px 8px; }

/* ---- search page: compact filter card, cleaner result rows ---- */
.search-card { padding: 14px 18px 10px; }
.sc-filters { margin-top: 12px; gap: 8px 12px; }
.f label { font-size: 11.5px; margin-bottom: 3px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.f select, .f input { padding: 7px 10px; border-radius: 9px; font-size: 14px; }
.sc-foot { margin-top: 10px; padding-top: 8px; gap: 4px 14px; font-size: 12px; }
.key.white { background: #fff; border: 1px solid var(--indigo); }
.res-bar { margin: 12px 2px 8px; }
table.results td.title a { font-weight: 800; }
table.results .sub-line { display: flex; gap: 6px; align-items: center; margin-top: 2px; }
table.results .sub-line:empty { display: none; }
table.results .award-inline { display: none; font-size: 12.5px; color: var(--muted); }
table.results td.c-award { white-space: nowrap; }
table.results td.sectors .chip { margin: 1px 4px 1px 0; }
table.results td.links { white-space: nowrap; }
table.results td.links a { display: inline-block; margin-right: 8px; }
@media (max-width: 1100px) {
  table.results .c-n, table.results .c-links { display: none; }
}
@media (max-width: 900px) {
  table.results .c-award { display: none; }
  table.results .award-inline { display: inline; }
}
@media (max-width: 640px) {
  /* by name, not position: the PDF tick-box column shifted every column one place */
  table.results th[data-sort="sector"], table.results td.sectors, table.results th[data-sort="units"], table.results td.units { display: none; }
}
[hidden] { display: none !important; }
body[data-admin="1"] .sc-filters { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1100px) { body[data-admin="1"] .sc-filters { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { body[data-admin="1"] .sc-filters { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { .sc-top .kw-input { flex: 1 1 100%; } .sc-top .sc-count { margin-right: auto; } }

/* ---- program panel: three stat cards, careers at a glance, folded long career lists, phone layout ---- */
.statcards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none; }
@media (max-width: 1000px) { .statcards.three { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .statcards.three { grid-template-columns: 1fr; } }
.statcard.glance .gl-big { display: flex; align-items: baseline; gap: 8px; margin: 2px 0 10px; }
.statcard.glance .gl-big b { font-size: 34px; font-weight: 900; color: var(--deep); line-height: 1; }
.statcard.glance .gl-big span { font-size: 13px; font-weight: 700; color: var(--muted); }
.statcard.glance dl { margin: 0; display: grid; gap: 7px; }
.statcard.glance dt { font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); font-weight: 800; }
.statcard.glance dd { margin: 0; font-size: 13.5px; line-height: 1.35; color: var(--ink); display: flex; justify-content: space-between; gap: 8px; }
.statcard.glance dd b { font-weight: 900; color: var(--deep); white-space: nowrap; }
.statcard.glance dd b.up { color: var(--good); } .statcard.glance dd b.down { color: var(--crit); }
details.more-careers { margin-top: 6px; }
details.more-careers > summary { cursor: pointer; font-weight: 800; color: var(--indigo); font-size: 13.5px; padding: 6px 2px; list-style: none; }
details.more-careers > summary::-webkit-details-marker { display: none; }
details.more-careers[open] > summary { margin-bottom: 4px; }
details.more-careers .careers-t { border-top-left-radius: 0; border-top-right-radius: 0; }
@media (max-width: 700px) {
  .dr-body { padding: 0 12px 32px; }
  .dr-body .pp-title { margin: 0 -12px 12px; padding: 12px 12px 10px; }
  .pp-stats { grid-template-columns: 1fr 1fr; gap: 8px; }
  .pp-stats .stat { min-height: 0; padding: 10px 12px; }
  .pp-stats .v { font-size: 18px; } .pp-stats .v.big { font-size: 26px; }
  .pp-sec > h2 { flex-wrap: wrap; font-size: 16px; }
  .pp-sec > h2 .hint { font-size: 12px; flex-basis: 100%; }
  .pp-about { grid-template-columns: 1fr; }
  .term { grid-template-columns: 1fr; }
  .term-side { flex-direction: row; justify-content: space-between; align-items: center; border-right: 0; border-bottom: 1px solid var(--line); text-align: left; padding: 7px 12px; }
  details.course > summary { grid-template-columns: 6px 1fr auto 12px; grid-template-rows: auto auto; row-gap: 1px; padding: 8px 10px; }
  details.course > summary .bar { grid-row: 1 / span 2; height: 100%; min-height: 26px; }
  details.course > summary .code { grid-column: 2; grid-row: 1; font-size: 12px; }
  details.course > summary .name { grid-column: 2; grid-row: 2; }
  details.course > summary .units { grid-column: 3; grid-row: 1 / span 2; }
  details.course > summary .chev { grid-column: 4; grid-row: 1 / span 2; }
  .course-body { padding: 8px 12px 10px 16px; }
  .map-foot { grid-template-columns: 1fr; } .map-foot .cap { display: none; }
  .map-info .u { margin-left: 0; }
  .careers-t th:nth-child(2), .careers-t td:nth-child(2) { display: none; }
  .careers-t td { padding: 7px 8px; }
  .sal .lo, .sal .hi { min-width: 0; }
  .spark { width: 90px; }
  .pp-actions .hint { display: none; }
  .pp-links .btn, .pp-actions .btn { padding: 6px 12px; font-size: 13px; }
}

/* ---- review queue ---- */
.rv-head { display: flex; align-items: flex-end; gap: 20px; justify-content: space-between; flex-wrap: wrap; }
.rv-head .sub { max-width: 820px; margin-bottom: 0; }
.rv-college { display: flex; align-items: center; gap: 8px; }
.rv-college label { font-size: 11.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.rv-college select { font: inherit; font-weight: 700; padding: 6px 10px; border-radius: 9px; border: 1.5px solid var(--line); background: #fff; }
.rv-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 6px; align-items: stretch; }
.rv-sep { width: 1px; background: var(--line); margin: 4px 4px; }
.rv-tab { display: flex; flex-direction: column; min-width: 104px; padding: 8px 12px; border-radius: 11px; background: #fff; border: 1.5px solid var(--line);
          border-top: 4px solid var(--g, var(--indigo)); text-decoration: none; color: var(--ink); }
.rv-tab:hover { text-decoration: none; border-color: var(--g, var(--indigo)); }
.rv-tab b { font-size: 22px; font-weight: 900; line-height: 1.1; color: var(--deep); font-variant-numeric: tabular-nums; }
.rv-tab span { font-size: 12px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.rv-tab.open { --g: var(--accent); } .rv-tab.check { --g: var(--indigo); } .rv-tab.gone { --g: #B45309; }
.rv-tab.zero b { color: var(--faint); }
.rv-tab.on { background: var(--deep); border-color: var(--deep); }
.rv-tab.on b, .rv-tab.on span { color: #fff; }
.rv-help { font-size: 13px; color: var(--muted); margin: 4px 2px 14px; }
.rv-empty { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 36px 24px; text-align: center; }
.rv-empty .big { width: 56px; height: 56px; line-height: 56px; margin: 0 auto 8px; border-radius: 50%; background: var(--good-soft); color: var(--good); font-size: 28px; font-weight: 900; }
.rv-empty h2 { margin: 4px 0 6px; color: var(--deep); }
.rv-empty p { margin: 4px 0; }
.rv-list { display: flex; flex-direction: column; gap: 8px; }
.rv-row { display: grid; grid-template-columns: minmax(220px, 1.1fr) minmax(0, 1.6fr) minmax(200px, .9fr); gap: 16px; align-items: start;
          background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--c, var(--indigo)); border-radius: 11px; padding: 12px 14px; }
.rv-title { font-weight: 900; color: var(--deep); font-size: 15px; line-height: 1.3; }
.rv-meta { font-size: 12.5px; color: var(--muted); margin: 4px 0 2px; display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; }
.rv-links { font-size: 12.5px; } .rv-links a { margin-right: 8px; }
.rv-votes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px 12px; position: relative; }
.rv-votes .vote { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; min-width: 0; }
.rv-votes .who { font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); font-weight: 800; }
.rv-votes .status { font-size: 11.5px; }
.rv-agree { grid-column: 1 / -1; font-size: 12px; font-weight: 800; color: var(--good); }
.rv-why { grid-column: 1 / -1; font-size: 12.5px; color: var(--muted); }
.rv-why summary { cursor: pointer; font-weight: 800; color: var(--indigo); list-style: none; display: inline; }
.rv-why summary::-webkit-details-marker { display: none; }
.rv-why summary::after { content: " ▾"; }
.rv-why[open] summary::after { content: " ▴"; }
.rv-why p { margin: 4px 0; line-height: 1.45; }
.rv-actions { display: flex; flex-direction: column; gap: 6px; align-items: stretch; }
.rv-actions form { margin: 0; }
.rv-actions .btn { width: 100%; }
.rv-actions .pick { display: flex; gap: 6px; }
.rv-actions .pick select { flex: 1; min-width: 0; font: inherit; font-size: 13px; padding: 5px 8px; border-radius: 9px; border: 1.5px solid var(--line); background: #fff; }
.rv-actions .pick .btn { width: auto; }
@media (max-width: 1000px) { .rv-row { grid-template-columns: 1fr 1fr; } .rv-actions { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; } .rv-actions .btn { width: auto; } }
@media (max-width: 640px) { .rv-row { grid-template-columns: 1fr; } .rv-votes { grid-template-columns: 1fr 1fr; } }
.rv-votes .vote { flex-direction: row; flex-wrap: wrap; align-items: center; }
.rv-votes .vote .who { flex-basis: 100%; }
.rv-agree.part { color: var(--muted); }
.rv-row.sel { box-shadow: 0 0 0 2px var(--indigo); }
@media (max-width: 700px) {
  nav { overflow-x: auto; scrollbar-width: none; max-width: 100%; }
  nav::-webkit-scrollbar { display: none; }
  .top-in { min-width: 0; }
  .rv-tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
  .rv-tab { min-width: 92px; flex: none; }
  .rv-sep { display: none; }
}

/* ---- data quality ---- */
.dq-board { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin: 6px 0 18px; }
.dq-card { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 11px; background: #fff; border: 1.5px solid var(--line);
           border-top: 4px solid var(--dq); text-decoration: none; color: var(--ink); min-height: 92px; }
.dq-card:hover { text-decoration: none; border-color: var(--dq); }
.dq-card b { font-size: 24px; font-weight: 900; color: var(--deep); line-height: 1.1; font-variant-numeric: tabular-nums; }
.dq-card span { font-size: 12.5px; font-weight: 700; color: var(--ink); line-height: 1.25; }
.dq-card i { font-style: normal; font-size: 11px; font-weight: 800; color: var(--dq); margin-top: auto; text-transform: uppercase; letter-spacing: .04em; }
.dq-card.attention, .dq-sec.attention { --dq: #B45309; }
.dq-card.info, .dq-sec.info { --dq: #5F6680; }
.dq-card.ok { --dq: var(--good); }
.dq-card.ok b { color: var(--good); }
h2.dq-group { font-size: 17px; color: var(--deep); margin: 22px 0 10px; display: flex; gap: 10px; align-items: baseline; }
.dq-sec { border-left: 5px solid var(--dq); scroll-margin-top: 80px; }
.dq-sec-h { display: flex; align-items: baseline; gap: 10px; }
.dq-sec-h h2 { margin: 0; font-size: 16px; }
.dq-n { font-weight: 900; color: var(--dq); font-size: 18px; }
.dq-sec .hint { margin: 4px 0 10px; }
.dq-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.dq-table td { padding: 6px 8px; border-bottom: 1px solid #EEF0F5; vertical-align: top; }
.dq-table tr:last-child td { border-bottom: 0; }
.dq-table td.cl { width: 64px; } .dq-table td.aw { width: 210px; white-space: nowrap; }
.dq-table td.t a { font-weight: 800; color: var(--deep); }
.dq-table td.nt { font-size: 12.5px; line-height: 1.4; }
.dq-pair { display: inline-flex; align-items: center; gap: 4px; margin: 0 14px 4px 0; }
.dq-more > summary { cursor: pointer; font-weight: 800; color: var(--indigo); font-size: 13.5px; padding: 8px 8px 2px; list-style: none; }
.dq-more > summary::-webkit-details-marker { display: none; }
.dq-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); gap: 16px; align-items: start; }
.dq-two .panel { margin: 0; }
.dq-clear { display: flex; flex-wrap: wrap; gap: 8px; }
.dq-clear span { background: var(--good-soft); color: var(--good); font-weight: 800; font-size: 13px; padding: 6px 12px; border-radius: 99px; scroll-margin-top: 80px; }
.dq-foot { margin-top: 20px; }
@media (max-width: 700px) { .dq-table td.aw { display: none; } .dq-two { grid-template-columns: 1fr; } .dq-board { grid-template-columns: repeat(2, 1fr); } }
.dq-two .dq-table td.aw { display: none; }
.dq-two .dq-table td.t a { font-weight: 700; }
.dq-table td { overflow-wrap: anywhere; }
@media (max-width: 700px) {
  .dq-table, .dq-table tbody, .dq-table tr, .dq-table td { display: block; width: auto !important; }
  .dq-table tr { padding: 6px 0; border-bottom: 1px solid #EEF0F5; }
  .dq-table td { border: 0; padding: 2px 4px; }
  .dq-table td.cl { display: inline-block; }
  .dq-table td.t { display: inline; }
  .dq-pair { flex-wrap: wrap; }
}

/* ---- catalogs page ---- */
.cat-kpis { grid-template-columns: repeat(5, 1fr); }
.cat-kpis div.kpi { cursor: default; }
/* the latest catalog check on each card (status word, years, date, first new link) */
.cat-check { font-size: 12.5px; color: var(--ink); display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.cat-check a { text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; min-height: 24px; display: inline-flex; align-items: center; }
.cat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
@media (max-width: 1100px) { .cat-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { .cat-grid { grid-template-columns: 1fr; } .cat-kpis { grid-template-columns: 1fr 1fr; } }
.cat-card { background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--cc); border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; }
.cat-h { display: flex; align-items: center; gap: 8px; }
.cat-name { font-weight: 900; color: var(--deep); font-size: 15px; }
.cat-links { display: flex; gap: 6px; flex-wrap: wrap; }
.cat-nums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.cat-nums b { display: block; font-size: 19px; font-weight: 900; color: var(--deep); line-height: 1.1; font-variant-numeric: tabular-nums; }
.cat-nums span { font-size: 11px; font-weight: 700; color: var(--muted); }
.cat-bar { height: 8px; border-radius: 4px; background: var(--indigo-soft); overflow: hidden; }
.cat-bar span { display: block; height: 100%; background: var(--cc); }
.cat-bar-l { font-size: 12.5px; color: var(--ink); margin-top: -4px; }
.cat-extras { display: flex; flex-direction: column; gap: 6px; }
details.cat-x { border: 1px solid var(--line); border-left: 4px solid var(--cc); border-radius: 10px; background: #fff; }
details.cat-x > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 9px 12px; flex-wrap: wrap; }
details.cat-x > summary::-webkit-details-marker { display: none; }
details.cat-x > summary b { font-weight: 900; color: var(--deep); }
details.cat-x > summary .chev { margin-left: auto; color: var(--indigo); transition: transform .15s; }
details.cat-x[open] > summary .chev { transform: rotate(180deg); }
details.cat-x[open] > summary { border-bottom: 1px solid var(--line); }
details.cat-x .dq-table { margin: 4px 0; }
details.cat-x .dq-table td.pg { white-space: nowrap; width: 70px; }
details.cat-x .dq-table td.t { font-weight: 700; color: var(--deep); }
/* ---- error pages ---- */
.err-page { max-width: 560px; margin: 70px auto; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 36px 28px; }
.err-code { font-size: 54px; font-weight: 900; color: var(--accent); line-height: 1; }
.err-page h1 { margin: 10px 0 6px; color: var(--deep); }
.err-page p { color: var(--muted); }
.err-page .btn-row { justify-content: center; margin-top: 16px; }
div.kpi::after { content: none; }
@media (max-width: 600px) { .sector-cards { grid-template-columns: minmax(0, 1fr); } .scard { min-width: 0; } }
@media (max-width: 700px) {
  table.sector-glance { table-layout: fixed; font-size: 12.5px; }
  table.sector-glance th:nth-child(3), table.sector-glance td:nth-child(3) { display: none; }
  table.sector-glance td:nth-child(1) { width: 38%; }
  table.sector-glance td, table.sector-glance th { padding: 5px 4px; }
  table.sector-glance td.barcell .gbar { display: none; }
  table.sector-glance th:last-child, table.sector-glance td:last-child { width: 74px; }
  table.sector-glance .growth-badge { padding: 2px 5px; font-size: 11px; }
}
@media (max-width: 700px) {
  .careers-t.top th:nth-child(3), .careers-t.top td:nth-child(3), .careers-t.top th:nth-child(4), .careers-t.top td:nth-child(4) { display: none; }
  .careers-t.top { font-size: 12.5px; }
  .careers-t.top td, .careers-t.top th { padding: 5px 6px; }
  .careers-t.top td:nth-child(5) { width: auto; }
}
@media (max-width: 420px) { .careers-t .spark { display: none; } .careers-t .sal .lo::after { content: " –"; } .careers-t td:nth-child(3) { width: auto; } }
.prose, .pp-about li, .course-body, .rv-why p, .dq-table td { overflow-wrap: anywhere; }
.pp-about > * { min-width: 0; }
.facts dd { min-width: 0; overflow-wrap: anywhere; }
.facts dd .status { white-space: normal; }
@media (max-width: 700px) {
  .top-in { flex-wrap: wrap; height: auto; padding-top: 8px; padding-bottom: 8px; row-gap: 6px; }
  .top-in nav { order: 3; flex: 1 1 100%; min-width: 0; overflow-x: auto; }
  .top-right { margin-left: auto; }
}
h1, h2, h3, .pp-title h2, .rv-title, .scard-name, td.title a { overflow-wrap: anywhere; }

/* clickable figures: sector cards, heatmaps, coverage tiles, career rows */
.scard { position: relative; }
.scard:hover { transform: none; }
.scard a { color: inherit; text-decoration: none; }
.scard a.scard-main:hover { text-decoration: underline; }
.scard-main::after { content: ""; position: absolute; inset: 0; z-index: 0; }
.scard-nums a, .scard-colleges, .scard-legend a, .scard-awards a, .scard-careers, .scard-review, .scard .tag { position: relative; z-index: 1; }
.scard-careers .lbl { pointer-events: none; }
.scard-nums a { display: flex; flex-direction: column; border-radius: 8px; padding: 2px 4px; margin: -2px -4px; }
.scard-nums a:hover { background: var(--band); }
.scard-colleges a { display: block; min-width: 3px; }
.scard-colleges a:hover { filter: brightness(1.2); box-shadow: inset 0 0 0 2px var(--deep); }
.scard-legend a { border-radius: 4px; padding: 0 2px; }
.scard-legend a:hover { background: var(--band); color: var(--deep); }
.scard-awards a { font-size: 11.5px; background: var(--band); border-radius: 99px; padding: 2px 8px; color: var(--muted); font-weight: 600; }
.scard-awards a b { color: var(--deep); }
.scard-awards a:hover { box-shadow: inset 0 0 0 1px var(--sc); color: var(--deep); }
.scard-careers a.car { display: flex; justify-content: space-between; gap: 8px; font-size: 12.5px; line-height: 1.35; padding: 1px 4px; margin: 0 -4px; border-radius: 5px; }
.scard-careers a.car span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.scard-careers a.car b { font-weight: 800; color: var(--deep); font-variant-numeric: tabular-nums; }
.scard-careers a.car:hover { background: var(--band); }
.scard-careers a.car:hover span { text-decoration: underline; }
a.scard-review { display: block; }
a.scard-review:hover { text-decoration: underline; }
table.heat a { color: inherit; text-decoration: none; }
table.heat th a:hover { text-decoration: underline; color: var(--deep); }
table.heat td a.heat-a { display: block; }
table.heat td:has(a.heat-a):hover { cursor: pointer; }
.coverage > a { display: block; color: inherit; text-decoration: none; background: var(--band); border: 1px solid var(--line); border-radius: 10px;
               padding: 12px 14px; position: relative; overflow: hidden; }
.coverage > a:hover { background: #fff; border-color: var(--deep2); box-shadow: 0 4px 12px rgba(31,34,74,.10); }
.coverage a:hover span { text-decoration: underline; }
tr[data-href] { cursor: pointer; }
tr[data-href]:hover td { background: var(--band); }
table.careers-t td.cn a { color: inherit; text-decoration: none; }
table.careers-t tr:hover td.cn a { text-decoration: underline; color: var(--deep); }

/* accessibility (WCAG 2.2 AA) */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: #fff; color: var(--deep); font-weight: 800; padding: 10px 16px;
        border-radius: 0 0 10px 10px; box-shadow: 0 4px 14px rgba(0,0,0,.25); text-decoration: underline; }
.skip:focus { top: 0; }
main:focus { outline: none; }
html { scroll-padding-top: calc(var(--nav-height, 76px) + 8px); }
:focus-visible { outline: 3px solid #1F224A !important; outline-offset: 2px; box-shadow: 0 0 0 5px #fff; border-radius: 4px; }
.top :focus-visible, .login-foot a:focus-visible { outline-color: #FFD166 !important; box-shadow: none; }
table.heat td:focus-within { outline: 3px solid #1F224A; outline-offset: -2px; }
/* 1.4.1: links inside running text are underlined, not colour-only */
.hint a, .sub a, p a, .dq-foot a, .statement li a { text-decoration: underline; text-underline-offset: 2px; }
/* 2.5.8: targets at least 24 x 24 px */
.scard-legend a { display: inline-flex; align-items: center; min-height: 24px; padding: 0 4px; }
.scard-awards a { display: inline-flex; align-items: center; min-height: 26px; }
.scard-careers a.car { min-height: 24px; align-items: center; }
a.scard-review { min-height: 24px; }
table.heat th a { display: inline-block; min-height: 24px; line-height: 24px; min-width: 24px; }
table.heat td a.heat-a { min-height: 24px; line-height: 24px; }
.scard-colleges { height: 10px; } .scard-colleges span { display: block; min-width: 3px; cursor: pointer; }
.sector-mix span { display: block; min-width: 4px; cursor: pointer; }
.coverage > a { min-height: 44px; }
/* chart tables (1.1.1) */
details.chart-data { margin-top: 8px; font-size: 13px; }
details.chart-data summary { cursor: pointer; font-weight: 700; color: var(--deep2, #3E44A0); min-height: 24px; display: inline-flex; align-items: center; }
details.chart-data table { border-collapse: collapse; margin-top: 6px; width: 100%; max-width: 520px; }
details.chart-data th, details.chart-data td { text-align: left; padding: 3px 8px; border-bottom: 1px solid var(--line); font-weight: 600; }
details.chart-data td { text-align: right; font-variant-numeric: tabular-nums; }
/* statement page */
.statement { padding-top: 26px; padding-bottom: 40px; max-width: 900px; }
.statement .panel { margin-bottom: 16px; } .statement li { margin: 6px 0; line-height: 1.5; }
/* 2.3.3 / user preference: no motion when reduced motion is asked for */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .scard:hover, .kpi:hover { transform: none !important; }
}
/* Windows high contrast: keep focus and selection visible */
@media (forced-colors: active) { :focus-visible { outline: 3px solid CanvasText !important; } .gbar, .cov-bar { forced-color-adjust: none; } }

/* 1.4.10: wide data tables scroll inside their own box, never the page */
.table-scroll { overflow-x: auto; max-width: 100%; }
.table-scroll:focus-visible { outline-offset: 4px; }

/* Rows scroll with the page. The real header stays aligned when a wide table
   scrolls sideways because ui.js moves it vertically within the same table. */
.sticky-table { isolation: isolate; }
.sticky-table table { border-collapse: separate; border-spacing: 0; }
.sticky-table thead { position: relative; z-index: 3; transform: translateY(var(--table-head-offset, 0px)); }
.sticky-table thead th { position: static; }
.sticky-table tbody tr, .sticky-table tbody :is(a, input, button) { scroll-margin-top: var(--table-head-height, 0px); }
.sticky-table:focus-visible { outline: 3px solid var(--deep); outline-offset: 3px; }
@media print {
  .sticky-table { overflow: visible; }
  .sticky-table thead { transform: none; }
}

/* 1.4.12: headline cards shrink and wrap under user text spacing */
.kpis > * { min-width: 0; }
.kpi b, .kpi span { overflow-wrap: anywhere; }

/* analysis sections */
.ov-h { font-size: 22px; color: var(--deep); margin: 30px 0 2px; }
details.method { margin-top: 10px; font-size: 13px; color: var(--muted); }
details.method.wide { margin: -6px 0 18px; padding: 0 4px; }
details.method summary { cursor: pointer; font-weight: 700; color: var(--deep2, #3E44A0); min-height: 24px; display: inline-flex; align-items: center; }
details.method p { margin: 6px 0 0; line-height: 1.5; max-width: 980px; }
.gbar.warn { background: #B45309; opacity: .55; }
table.sector-glance.compact td, table.sector-glance.compact th { padding-top: 5px; padding-bottom: 5px; }
table.sector-glance th[scope="row"] { text-align: left; font-weight: 700; }
.ladders { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: 13.5px; }
.ladders li { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; padding: 6px 8px; border-radius: 8px; background: var(--band); }
.ladders a { font-weight: 700; color: var(--deep); min-height: 24px; display: inline-flex; align-items: center; }
table.spread-t, table.access-t { width: 100%; border-collapse: collapse; font-size: 13.5px; }
table.spread-t th, table.spread-t td, table.access-t th, table.access-t td { padding: 6px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
table.spread-t thead th, table.access-t thead th { color: var(--muted); font-size: 12px; }
td.rangecell { position: relative; min-width: 260px; height: 34px; }
td.rangecell .range { position: absolute; top: 8px; height: 8px; border-radius: 4px; background: var(--indigo); opacity: .55; min-width: 3px; }
td.rangecell .mid { position: absolute; top: 5px; width: 3px; height: 14px; background: var(--deep); border-radius: 2px; }
td.rangecell .rl { position: relative; top: 9px; font-size: 12px; color: var(--muted); font-weight: 700; }
table.access-t .college { display: inline-block; font-weight: 800; padding: 1px 7px; border-radius: 6px; background: var(--cb); color: var(--ct); border-left: 4px solid var(--c); }
table.access-t td.barcell { position: relative; min-width: 120px; }
.exact-chip { margin: 0 0 10px; padding: 8px 12px; border-radius: 10px; background: var(--indigo-soft, #ECEBFA); color: var(--deep); font-size: 14px; }

/* 2.5.8: number links in tables are at least 24 x 24 px */
td.num a, td.barcell a, .hint a[data-verify] { display: inline-block; min-width: 24px; min-height: 24px; line-height: 24px; text-align: center; }

/* 2.5.8: table rows tall enough for 24px number links, so neighbouring links never overlap */
table.sector-glance tbody td, table.sector-glance tbody th, table.careers-t tbody td, table.access-t tbody td, table.spread-t tbody td { height: 34px; }

/* other links sit above the row-wide sector link, so each one is its own full-size target (2.5.8) */
table.sector-glance td a { position: relative; z-index: 2; }

/* row headers read like the first column (not like column titles) and wrap inside their own cell */
table.sector-glance tbody th[scope="row"] { text-transform: none; letter-spacing: 0; font-size: inherit; color: inherit; font-weight: 700; padding: 5px 10px;
  border-bottom: 1px solid #EEF0F5; overflow-wrap: anywhere; overflow: hidden; }
table.sector-glance tbody th[scope="row"] a { color: var(--deep); text-decoration: none; }
table.sector-glance tbody th[scope="row"] a:hover { text-decoration: underline; }
@media (max-width: 700px) { table.sector-glance tbody th[scope="row"] { padding: 5px 4px; } }

/* the new tables keep normal layout on phones: they scroll in their own box instead of squeezing columns */
@media (max-width: 700px) {
  table.sector-glance.compact, table.sector-glance.reach-t { table-layout: auto; min-width: 300px; }
  table.sector-glance.compact th:nth-child(3), table.sector-glance.compact td:nth-child(3),
  table.sector-glance.reach-t th:nth-child(3), table.sector-glance.reach-t td:nth-child(3) { display: table-cell; }
  table.sector-glance.compact td:last-child, table.sector-glance.reach-t td:last-child { width: auto; }
}

/* reach-t columns: the name and three bar columns share the width, the count stays visible */
table.reach-t th[scope="row"] { width: 26%; } table.reach-t td.barcell { width: 22%; } table.reach-t td.num { width: 8%; }

/* 1.4.11: every text field and dropdown has a boundary of at least 3:1 against its background */
input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not(.kw-input), textarea, select:not(.on):not(.empty):not(.stale) { border-color: #767B96 !important; }
.f select:not(.on):not(.empty):not(.stale), .f input { border-color: var(--yellow-line) !important; }

/* 3.3.2 visible search label; 2.2.1 sign-in warning */
.kw-label { display: block; font-weight: 800; color: var(--deep); font-size: 14px; margin: 0 0 8px 4px; }
.session-warn { position: fixed; right: 20px; bottom: 20px; z-index: 300; max-width: 420px; background: #fff; color: var(--ink);
                border: 2px solid var(--deep); border-radius: 14px; padding: 18px 20px; box-shadow: 0 12px 40px rgba(0,0,0,.28); }
.session-warn h2 { margin: 0 0 6px; font-size: 17px; color: var(--deep); }
.session-warn p { margin: 0 0 14px; font-size: 14px; line-height: 1.45; }
.session-warn .sw-actions { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 480px) { .session-warn { left: 12px; right: 12px; bottom: 12px; } }

/* visible labels on the admin text fields (WCAG 3.3.2) */
.inline-label { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 13px; }

/* ---- tick programs on the search page, download them as one PDF ---- */
table.results .c-pick { width: 44px; padding: 9px 0 9px 14px; text-align: center; }
table.results .c-pick input { width: 20px; height: 20px; margin: 2px; accent-color: var(--deep); cursor: pointer; vertical-align: middle; }
table.results .c-pick input:disabled { cursor: not-allowed; }
.pickbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; background: var(--indigo-soft); border: 1.5px solid var(--head-line);
           border-radius: 99px; padding: 4px 6px 4px 16px; font-weight: 800; font-size: 13.5px; color: var(--deep); }
@media (max-width: 640px) { .pickbar { border-radius: 14px; padding: 8px 12px; } }

/* ---- estimated pay (laccd/estimates.py): always marked as an estimate, never shown as published ---- */
.est { color: var(--warn); font-weight: 700; border-bottom: 1px dotted var(--warn); cursor: help; }
.est-tag { background: var(--warn-soft); color: var(--warn); border: 1px solid #E8C77A; }
.flag-note { background: var(--warn-soft); border-left: 4px solid var(--amber); padding: 8px 12px; border-radius: 6px; margin: 8px 0 4px; font-size: 14px; }
.flag-note p { margin: 4px 0; line-height: 1.45; } .flag-note b { color: var(--warn); }
.est-note { background: var(--warn-soft); border-left: 4px solid var(--amber); padding: 8px 12px; border-radius: 6px;
            color: var(--ink); font-size: 13.5px; margin: 0 0 12px; }
.est-big { font-size: 26px; font-weight: 800; color: var(--warn); margin: 4px 0; font-variant-numeric: tabular-nums; }
.est-big.down { color: var(--crit); }
/* screen-reader-only text inside the results table (e.g. "estimated") is position: absolute; anchor it to the
   scrolling wrapper so it cannot widen the page at 320 px (WCAG 1.4.10) */
.tbl-wrap { position: relative; }
/* Review -> Pay matches */
.rp-table td { vertical-align: top; }
.rp-table td .college { margin-right: 6px; }
.rp-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.est-na { color: var(--muted); font-weight: 700; border-bottom: 1px dotted var(--muted); cursor: help; }

/* sector card "All regional jobs" link: 24 px target (WCAG 2.5.8) */
.scard-jobs > a.hint { display: inline-flex; align-items: center; min-height: 24px; margin-top: 2px; }

/* ---- data pages: one search and filter bar (Jobs, Transfer, Bachelor's, High schools, Apprenticeships), the same look as
   the main Search page; static/ui.js updates the results as filters change ---- */
.pf-form { margin: 0 0 14px; }
.pf-filters { margin-top: 14px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.pf-filters .f { min-width: 0; }
.pf-filters select { min-width: 0; max-width: 100%; text-overflow: ellipsis; }
.f-check .f-lab { display: block; font-size: 11.5px; margin-bottom: 3px; text-transform: uppercase; letter-spacing: .04em;
                  color: var(--muted); font-weight: 800; }
.f-check .chk { display: flex; align-items: center; gap: 8px; min-height: 36px; font-size: 13.5px; font-weight: 600; color: var(--ink);
                cursor: pointer; white-space: normal; }
.f-check input[type=checkbox] { width: 18px; height: 18px; padding: 0; flex: none; }
.pf-submit { margin-top: 12px; }
.is-live .pf-submit { display: none; }
.btn[hidden] { display: none !important; }
#results[aria-busy="true"] { opacity: .55; transition: opacity .15s; }
.statcard p.est-big { font-size: 28px; font-weight: 900; color: var(--deep); margin: 2px 0 6px; line-height: 1.1; }
.near-list .near { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; margin: 0 8px 4px 0; }
.nowrap { white-space: nowrap; }
.tag-list .tag, .tag-list .college { display: inline-block; margin: 0 4px 4px 0; }
/* sector cards: long numbers and career names shrink inside the card instead of spilling past it */
.scard > *, .scard-nums > *, .scard-careers a.car { min-width: 0; }
@media (max-width: 700px) {
  nav, .top-in nav { overflow: visible; flex-wrap: wrap; }
  .navpop { max-width: calc(100vw - 32px); }
  .navmenu.staff .navpop { left: auto; right: 0; }
  .pf-filters { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 460px) { .pf-filters { grid-template-columns: 1fr; } }
.scard[hidden], .pf-form[hidden] { display: none !important; }
/* menu items wrap their descriptions (the top bar itself never wraps); a compact top bar on phones */
.navpop { max-width: 360px; }
.navpop a { white-space: normal; }
@media (max-width: 460px) { nav a, .navmenu > summary { padding: 7px 9px; font-size: 14px; } .top-in { gap: 10px; } nav { gap: 2px; } }
/* one row height for the top-bar links and menu buttons */
nav { align-items: center; }
nav > a, .navmenu > summary { line-height: 22px; display: flex; align-items: center; }
/* program lists in columns: the college badge, then the title and award wrapping beside it (no text under the badge) */
.prog-list { list-style: none; padding-left: 0; }
.prog-list li { display: flex; gap: 7px; align-items: baseline; break-inside: avoid; margin-bottom: 6px; }
.prog-list li .college { flex: none; }
@media (max-width: 460px) {
  nav a, .navmenu > summary { padding: 6px 7px; font-size: 13px; }
  .navmenu > summary { gap: 4px; }
  .brand { font-size: 16px; }
}
.prog-list li > span:last-child { min-width: 0; overflow-wrap: anywhere; }
.est-unit { font-size: 15px; font-weight: 700; color: var(--muted); }
.apprenticeships-table th.wage-heading { text-align: left; padding-left: 8px; white-space: normal; }
.apprenticeships-table td.wage { width: 200px; min-width: 180px; max-width: 240px; white-space: normal; text-align: left; font-weight: 400; color: var(--ink); }
.appr-wage { display: grid; grid-template-rows: minmax(24px, auto) minmax(34px, auto) minmax(20px, auto) auto; gap: 4px; line-height: 1.45; }
.appr-wage-main { display: flex; align-items: baseline; flex-wrap: wrap; gap: 5px; }
.appr-wage-amount { font-size: 17px; font-weight: 800; color: var(--deep); font-variant-numeric: tabular-nums; white-space: nowrap; }
.appr-wage-unit { font-size: 12px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.appr-wage-status { display: inline-block; font-size: 12px; font-weight: 800; line-height: 20px; color: var(--deep); background: var(--band); border-radius: 5px; padding: 1px 6px; }
.appr-wage-warning { color: var(--warn); background: var(--warn-soft); }
.appr-wage-detail, .appr-wage-length { font-size: 12px; color: var(--muted); overflow-wrap: anywhere; }
.appr-wage-length > span { font-weight: 700; }
.appr-wage-date { font-size: 11px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 4px; }
.appr-location { min-width: 210px; max-width: 290px; white-space: normal; }
.appr-address { white-space: pre-line; overflow-wrap: anywhere; margin: 3px 0; }
.appr-map-links { font-size: 13px; margin: 5px 0; }
.appr-map-links a { display: inline-block; min-height: 24px; line-height: 24px; }
@media (max-width: 700px) {
  .apprenticeships-table thead { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .apprenticeships-table tbody tr { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin: 10px 0; padding: 10px; }
  .apprenticeships-table td { margin: 5px 0 9px; }
  .apprenticeships-table td::before { content: attr(data-label); display: block; color: var(--muted); font-size: 11px; font-weight: 800; margin-bottom: 2px; }
  .apprenticeships-table td.num { text-align: left; }
  .apprenticeships-table td.wage, .apprenticeships-table .appr-location { min-width: 0; max-width: none; }
}
.pp-alias { margin: 2px 0 6px; }

/* Program page layout fixes from the every-page check (tools/a11y/program_pages.py, 2026-11-13) */
.term-side b { overflow-wrap: anywhere; }                        /* "Division/Department Requirements" fits its band */
.pp-stats .v { overflow-wrap: break-word; hyphens: auto; }       /* break a long word with a hyphen, not mid-letter */
.pp-stats .v.chips .chip { white-space: normal; max-width: 100%; }
@media (max-width: 700px) {
  .careers-t th, .careers-t th.num { white-space: normal; padding: 8px 8px; }   /* "LA openings / yr" may wrap */
  .careers-t td { padding: 7px 8px; }
  .careers-t td:nth-child(5), .careers-t.top td:nth-child(5) { width: auto; }
  .top-in { position: relative; }
  .navmenu { position: static; }                                 /* the menu opens full width under the top bar */
  .navpop, .navmenu.staff .navpop { left: 0; right: 0; min-width: 0; max-width: none; }
}
@media (max-width: 480px) {
  .pp-stats .stat { padding: 12px 12px 10px; }
  .pp-stats .v { font-size: 18px; }
  .pp-stats .v.big { font-size: 28px; }
  .pp-stats .v.small { font-size: 16px; }
  .pp-stats .v.chips .chip { font-size: 14px; padding: 4px 10px; }
}
@media (max-width: 700px) {
  .careers-t th, .careers-t td { overflow-wrap: anywhere; }      /* long career names never push the table wider */
  .careers-t th { letter-spacing: .02em; }
}
@media (max-width: 480px) { .pp-stats .l { -webkit-line-clamp: 4; } }   /* "units for the degree, 18-20 in the major" in full */
.course-list .name, .course-list .title { overflow-wrap: anywhere; }   /* "Writing/Grammar/Reading/Vocabulary" wraps */
.course-list summary .name, .course-list summary > span { min-width: 0; }
.pp-about.solo { grid-template-columns: 1fr; }
/* a unit cell that holds a note ("or (alternative to STAT C1000)", "5 high school credits ...") wraps instead of
   squeezing the course code; long button labels wrap on phones */
details.course > summary .units { white-space: normal; max-width: 15em; text-align: right; overflow-wrap: anywhere; }
@media (max-width: 480px) {
  details.course > summary .units { max-width: 9em; }
  .pp-links .btn, .pp-actions .btn { white-space: normal; max-width: 100%; }
}
@media (max-width: 480px) {   /* "Also at CITC · Associate in Science for Transfer (AS-T)" wraps inside the row */
  .pp-links .also { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; max-width: 100%; }
  .pp-links .also a.college { white-space: normal; max-width: 100%; }
}

/* programs being phased out (laccd/phaseout.py): a tag in the results, a line offering hidden matches */
.tag.warn { background: var(--warn-soft); color: var(--warn); }
button.linkish { background: none; border: 0; padding: 0; font: inherit; font-weight: 600; color: var(--indigo); text-decoration: underline; cursor: pointer; }
button.linkish:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
#phasing-hint { display: block; margin-top: 2px; }
#phasing-hint[hidden] { display: none; }

/* the footer's list of every source (laccd/web/source_list.py, 2026-11-15) */
.foot-sources { border-top: 1px solid var(--line, #E3E6EA); padding-top: 18px; margin-bottom: 14px; }
.foot-sources h2 { font-size: 14px; margin: 0 0 4px; color: var(--ink, #1B1A2E); }
.foot-sources .foot-lead { margin: 0 0 10px; }
.foot-sources ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 6px 28px; }
.foot-sources li { line-height: 1.45; }
.foot-sources .foot-when { white-space: normal; overflow-wrap: anywhere; }
.foot-line { margin: 10px 0 0; }
@media print { .foot-sources ul { display: block; } }

/* "Sources for this program" at the bottom of each program page */
.pp-sources .src-list { list-style: none; margin: 6px 0 8px; padding: 0; }
.pp-sources .src-list li { display: grid; grid-template-columns: minmax(180px, 38%) 1fr; gap: 4px 16px; padding: 6px 0; border-top: 1px solid var(--line); font-size: 14px; }
.pp-sources .src-list li:first-child { border-top: 0; }
.pp-sources .src-what { color: var(--muted); }
@media (max-width: 640px) { .pp-sources .src-list li { grid-template-columns: 1fr; } }

/* "Report a problem with this page" (laccd/reports.py) */
.pp-report summary { cursor: pointer; font-weight: 600; color: var(--indigo); }
.pp-report .report-form { display: grid; gap: 6px; max-width: 640px; margin-top: 10px; }
.pp-report .report-form label { font-weight: 600; font-size: 14px; }
.pp-report .report-form select, .pp-report .report-form textarea { width: 100%; font: inherit; padding: 6px 8px; border: 1px solid var(--line); border-radius: 6px; }
.pp-report .report-form button { justify-self: start; }
