.hp-home [hidden] { display:none !important; }
.hp-home .hp-content { display:grid; gap:24px; }
.hp-home .hp-intro { padding:20px 0 12px; }
.hp-home .hp-intro h1 { font-size:clamp(1.8rem,4vw,2.5rem);margin:0 0 10px;line-height:1.2; }
.hp-home .hp-intro > p { margin:0 0 24px;color:#465263;max-width:65ch; }
.hp-home .hp-search { width:100%; max-width:760px; margin-inline:auto; }
.hp-home .hp-search label { display:block;font-weight:650;margin-bottom:8px; }
.hp-home .hp-search-field { display:flex;align-items:center;border:1px solid #8791a1;border-radius:12px;background:white;box-shadow:0 0 24px 5px #0007bb30, 0 3px 12px #11182708; }
.hp-home #hp-query { width:100%;min-width:0;border:0;background:transparent;padding:16px;font:inherit;font-size:16px;color:#172033;outline:none; }
.hp-home #hp-query::-webkit-search-cancel-button { display:none; }
.hp-home .hp-search-field button { flex-shrink:0;display:grid;place-items:center;min-width:48px;min-height:48px;border:0;background:transparent;color:var(--public-brand-blue);border-radius:8px;cursor:pointer; }
.hp-home .hp-search-field .hp-clear { font-size:28px;color:#465263; }
.hp-home .hp-search-field .hp-search-go { background:var(--public-brand-blue);color:white;margin:4px; }
.hp-home #hp-search-status { color:#a11e29;font-weight:600;margin:8px 0; }
.hp-home #hp-search-status:empty { display:none; }
.hp-home #hp-search-notice { margin:10px 0 0; }
.hp-home .hp-panel { padding:26px;min-width:0; }
.hp-home .hp-panel h2 { font-size:1.35rem;line-height:1.35;margin:0; }
.hp-home .hp-panel h3 { font-size:1rem;line-height:1.45;margin:0 0 8px; }
.hp-home .hp-panel p { line-height:1.5; }
.hp-home .hp-panel-heading { display:flex;flex-wrap:wrap;gap:10px 20px;align-items:center; }
.hp-home .hp-count { background:#f0f2f7;color:#3c475b;border-radius:30px;padding:4px 12px;font-size:14px;font-weight:650; }
.hp-home .hp-small, .hp-help { font-size:14px;color:#485365; }
.hp-home .hp-help { margin:8px 0 0; }
.hp-home .hp-help a, .hp-browse a { display:inline-flex;align-items:center;min-height:44px;gap:4px; }
.hp-home .hp-unit-list { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 24px;list-style:none;margin:8px 0 12px;padding:0; }
.hp-home .hp-unit-list li { min-width:0;padding:10px 0;border-bottom:1px solid #edf0f5; }
.hp-home .hp-unit-list li > div { display:flex;align-items:center;gap:9px; }
.hp-home .hp-unit-list a { min-height:44px;display:inline;line-height:1.5;padding:10px 0;overflow-wrap:anywhere; }
.hp-home .hp-reported { display:block;font-size:13px;color:#566173; }
.hp-home .hp-toggle { background:#fff;color:var(--public-brand-blue);border:1px solid #c5c9dc;border-radius:8px;min-height:44px;padding:8px 16px;font:inherit;font-size:14px;font-weight:650;cursor:pointer; }
.hp-home .hp-compact { padding-top:20px;padding-bottom:16px; }
.hp-home .hp-compact > p { margin:10px 0 0; }
.hp-home .hp-roster-grid { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:start; }
.hp-home .hp-period { font-size:14px;color:#566173;margin:8px 0 12px; }
.hp-home .hp-total { font-size:clamp(2.6rem,6vw,3.25rem);font-weight:750;font-variant-numeric:tabular-nums;letter-spacing:-.035em;line-height:1.1 !important;margin:0 0 12px; }
.hp-home .hp-change { font-size:14px;margin:0 0 20px;max-width:42ch; }
.hp-home .hp-down { color:#ae2532; }
.hp-home .hp-up { color:#176b3b; }
.hp-home .hp-blue { color:var(--public-brand-blue); }
.hp-home .hp-neutral { color:#566173; }
.hp-home .hp-values { font-size:14px;color:#465263; }
.hp-home .hp-values summary { cursor:pointer;min-height:44px;align-content:center;width:fit-content; }
.hp-home .hp-values table { border-collapse:collapse;width:100%;font-size:14px; }
.hp-home .hp-values caption { text-align:left;font-weight:650; }
.hp-home .hp-values th,.hp-home .hp-values td { padding:8px 0;border-bottom:1px solid #e0e5ed;text-align:left; }
.hp-home .hp-values td { text-align:right;font-variant-numeric:tabular-nums; }
.hp-home :is(.hp-officers,.hp-supervisors) { border-top:1px solid #e0e5ed;margin-top:18px;padding-top:20px; }
.hp-home .hp-subtotal { font-size:1.8rem;font-weight:700;font-variant-numeric:tabular-nums;margin:0 0 8px; }
.hp-home :is(.hp-officers,.hp-supervisors) .hp-small { margin-bottom:0;font-size:13px; }
.hp-home .hp-browse { font-size:15px;font-weight:650;margin:18px 0 0; }
.hp-home .hp-death-grid { display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:40px;margin:12px 0 24px; }
.hp-home .hp-coverage { font-size:13px;color:#485365;padding-left:12px;border-left:3px solid #d4d9e8;margin:18px 0; }
.hp-home .hp-manners { padding-top:6px;min-width:0; }
.hp-home .hp-manners > .hp-small { margin:0 0 18px; }
.hp-home .hp-manner { margin-bottom:18px; }
.hp-home .hp-manner > div { display:flex;justify-content:space-between;gap:14px;margin-bottom:7px;font-size:14px;color:#344156; }
.hp-home .hp-manner span { overflow-wrap:anywhere; }
.hp-home .hp-manner strong { font-variant-numeric:tabular-nums; }
.hp-home .hp-manner svg { display:block;width:100%;height:8px; }
.hp-home .hp-bar-track { fill:#edf0f7; }
.hp-home .hp-bar { fill:var(--public-brand-blue); }
.hp-home .hp-uncertain .hp-bar { fill:#7b879b; }
.hp-home .hp-content a { color:var(--public-brand-blue);text-underline-offset:3px; }
.hp-home .hp-content :is(a,button,select,summary):focus-visible { outline:3px solid #0007bb;outline-offset:4px; }
@media(max-width:1000px) { .hp-home .hp-unit-list { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:800px) { .hp-home .hp-roster-grid,.hp-home .hp-death-grid { grid-template-columns:1fr; } .hp-home .hp-death-grid { gap:22px; } }
@media(max-width:600px) { .hp-home .hp-panel { padding:20px; } .hp-home .hp-unit-list { grid-template-columns:1fr; } .hp-home .hp-content { gap:18px; } }
@media(prefers-reduced-motion:reduce) { .hp-home * { scroll-behavior:auto !important;animation:none !important;transition:none !important; } }

.hp-home .hp-nojs-search { text-align:center; }
.hp-home .hp-lockdown-group { margin-top:18px; }
.hp-home .hp-lockdown-group h3 { display:flex; flex-wrap:wrap; align-items:center; gap:8px 12px; margin-bottom:4px; }
.hp-home .hp-group-count { color:#566173; font-size:13px; font-weight:400; }
.hp-home .hp-lockdown-group .hp-unit-list { margin-top:0; }
.hp-home .hp-snapshot { margin-bottom:0; }

/* The full suggestion fits empty fields; entered text remains 16px on phones. */
.hp-home #hp-query::placeholder { color:#566173; opacity:1; font-size:16px; }
@media(max-width:480px) {
    .hp-home #hp-query { padding-inline:12px; font-size:16px; }
    .hp-home #hp-query::placeholder { font-size:13px; }
}
@media(max-width:380px) {
    .hp-home .hp-search { width:calc(100% + 24px); max-width:none; margin-inline:-12px; }
    .hp-home #hp-query { padding-inline:9px; }
    .hp-home .hp-search-field button { min-width:44px; min-height:44px; }
    .hp-home .hp-search-field .hp-search-go { margin:2px; }
    .hp-home #hp-query::placeholder { font-size:12px; letter-spacing:-.3px; }
}
@media(min-width:349px) and (max-width:380px) {
    .hp-home #hp-query::placeholder { font-size:13px; letter-spacing:normal; }
}
@media(min-width:381px) and (max-width:400px) {
    .hp-home .hp-search { width:calc(100% + 12px); margin-inline:-6px; }
}

/* Intrinsic columns keep labels and full values intact. Only this region scrolls
   when their readable minimum exceeds the card, including near the grid break. */
.hp-home .hp-table-scroll { max-width:100%; overflow-x:auto; overscroll-behavior-x:contain;
    background:linear-gradient(to right,white 30%,#fff0),linear-gradient(to left,white 30%,#fff0),linear-gradient(to right,#09243f26,#09243f00),linear-gradient(to left,#09243f26,#09243f00);
    background-position:left center,right center,left center,right center;
    background-size:32px 100%,32px 100%,10px 100%,10px 100%;
    background-repeat:no-repeat; background-attachment:local,local,scroll,scroll; }
.hp-home .hp-table-scroll { scrollbar-width:thin; scrollbar-color:#8791a1 #edf0f5; }
.hp-home .hp-table-scroll::-webkit-scrollbar { height:8px; }
.hp-home .hp-table-scroll::-webkit-scrollbar-track { background:#edf0f5; }
.hp-home .hp-table-scroll::-webkit-scrollbar-thumb { background:#8791a1; border-radius:4px; }
.hp-home .hp-table-scroll:focus-visible { outline:3px solid #0007bb; outline-offset:3px; }
.hp-home .hp-employee-values table { table-layout:auto; }
.hp-home .hp-employee-values thead th,.hp-home .hp-employee-values td { white-space:nowrap; }
.hp-home .hp-employee-values tbody th { overflow-wrap:normal; }
.hp-home .hp-employee-values th:not(:first-child) { text-align:right; }
.hp-home .hp-employee-values th:not(:last-child),
.hp-home .hp-employee-values td:not(:last-child) { padding-right:4px; }

.hp-home .hp-lockdowns .hp-count { font-size:12px; line-height:1.5; padding:2px 6px; font-weight:600; }
.hp-home .hp-lockdowns .hp-panel-heading { gap:8px 6px; margin-bottom:14px; }
.hp-home .hp-lockdowns .hp-panel-heading + p { margin-top:0; }

.hp-home .hp-offenses { border-top:1px solid #e0e5ed; margin-top:18px; padding-top:20px; }
.hp-home .hp-offense-list { margin:8px 0 14px; }
.hp-home .hp-offense-list > div { display:flex; align-items:flex-start; justify-content:space-between; gap:14px; padding:9px 0; border-bottom:1px solid #edf0f5; font-size:14px; }
.hp-home .hp-offense-list dt { min-width:0; overflow-wrap:anywhere; }
.hp-home .hp-offense-list dd { margin:0; flex-shrink:0; font-weight:650; font-variant-numeric:tabular-nums; text-align:right; }
.hp-home .hp-offense-traffic { display:block; color:#485365; font-size:13px; line-height:1.5; margin-top:4px; }
.hp-home .hp-offense-note { margin-bottom:0; }
/* The shared header already opens the one page container. */
.hp-home .hp-content { width:100%; }
@media(max-width:480px) { .hp-home #hp-query { padding-block:12px; } }

/* One keyboard input cue changes the existing border, without stacking rings. */
.hp-home #hp-query:focus, .hp-home #hp-query:focus-visible { outline:none; box-shadow:none; }
.hp-home .hp-search-field:has(#hp-query:focus-visible) { border-color:#172033; }
.hp-home .hp-search-field button:focus-visible { outline:2px solid #526273; outline-offset:-4px; }
.hp-home .hp-search-field .hp-search-go:focus-visible { outline-color:#fff; outline-offset:-5px; }

/* The retained successful snapshot time stays below the panel content. */
.hp-home .hp-lockdown-updated { margin:16px 0 0; max-width:100%; text-align:center; font-size:13px; color:#566173; line-height:1.5; }
.hp-home .hp-lockdown-updated :is(span,time) { white-space:nowrap; }
