/* Public Safety Radio.
   ---------------------------------------------------------------------------
   The same newspaper stock as Before the Vote -- paper, ink and the paper's
   red -- and the same masthead clearance (the header is position: fixed with
   no `top`; see agendas.css for why it is left that way).

   A log, read top to bottom: the time in its own column, then who, where and
   what. A thin rule in the call's colour says what kind of call it is at a
   glance; the words say it properly. */

.osc-psr-body { overflow-y: auto !important; }

.osc-psr-main { background: #FFFFF7; }
.osc-psr-wrap {
    max-width: 52rem;
    margin: 0 auto;
    padding: 160px 20px 70px;
    color: #1b1b1b;
}
@media (max-width: 640px) { .osc-psr-wrap { padding: 120px 16px 50px; } }

/* -------------------------------------------------------------- heading ---- */
.osc-psr-head { margin-bottom: 30px; }
.osc-psr-crumbs { margin: 0 0 14px; font: 0.8rem/1.4 Arial, Helvetica, sans-serif; }
.osc-psr-crumbs a { color: #164f8b; text-decoration: none; }
.osc-psr-crumbs a:hover { text-decoration: underline; }
.osc-psr-kicker {
    margin: 0 0 8px;
    font: 900 0.7rem/1 Arial, Helvetica, sans-serif;
    letter-spacing: 0.1em; text-transform: uppercase; color: #b21f2d;
}
.osc-psr-title {
    margin: 0;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(2rem, 5vw, 3rem); font-weight: 900; line-height: 1.05;
}
.osc-psr-dek {
    margin: 12px 0 0; max-width: 40rem;
    font: 1.08rem/1.55 Georgia, 'Times New Roman', serif; color: #333;
}
.osc-psr-updated {
    margin: 10px 0 0;
    font: 700 0.78rem/1.4 Arial, Helvetica, sans-serif; color: #6b6b6b;
}

/* The owner's note on how the summaries are made: plain, boxed, never hidden. */
.osc-psr-notice {
    margin: 16px 0 0; max-width: 44rem;
    padding: 10px 14px;
    border-left: 3px solid #b21f2d; background: #f6f1e4;
    font: 0.92rem/1.55 Georgia, 'Times New Roman', serif; color: #333;
}
.osc-psr-notice a { color: #164f8b; white-space: nowrap; }

/* ---------------------------------------------------------------- filter ---- */
.osc-psr-filter {
    display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 16px;
    margin: 0 0 18px; padding: 12px 0;
    border-top: 1px solid #e3ddd0; border-bottom: 1px solid #e3ddd0;
}
.osc-psr-field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.osc-psr-field span {
    font: 900 0.68rem/1 Arial, Helvetica, sans-serif;
    letter-spacing: 0.1em; text-transform: uppercase; color: #6b6b6b;
}
.osc-psr-field input, .osc-psr-field select {
    font: 0.95rem/1.3 Arial, Helvetica, sans-serif; color: #1b1b1b;
    padding: 6px 8px; border: 1px solid #b9b2a3; border-radius: 3px; background: #fff;
    max-width: 100%;
}
.osc-psr-field select { max-width: min(24rem, 100%); }
.osc-psr-go {
    font: 700 0.85rem/1 Arial, Helvetica, sans-serif;
    padding: 9px 16px; border: 1px solid #1b1b1b; border-radius: 3px; background: #1b1b1b; color: #fff; cursor: pointer;
}
.osc-psr-clear { font: 700 0.85rem/1 Arial, Helvetica, sans-serif; color: #164f8b; padding-bottom: 9px; }
.osc-psr-tally { margin: 0 0 6px; font: 700 0.78rem/1.4 Arial, Helvetica, sans-serif; color: #6b6b6b; }

/* ------------------------------------------------ The Morning Capital ---- */
/* The sign-up, pressed hard: the band's navy and amber, the words on the left
   and the address box on the right, stacking on a phone. */
.osc-psr-mc {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(16rem, 1fr);
    gap: 18px 28px;
    align-items: center;
    margin: 0 0 26px;
    padding: 22px 24px;
    border-radius: 6px;
    color: #f7f3ea;
    background:
        radial-gradient(circle at 100% 0%, rgba(255, 182, 39, 0.18), rgba(255, 182, 39, 0) 55%),
        linear-gradient(110deg, #0a1428 0%, #102446 60%, #1b1f4a 100%);
    box-shadow: 0 6px 20px rgba(10, 20, 40, 0.18);
}
.osc-psr-mc--foot { margin: 40px 0 0; }
.osc-psr-mc-kicker {
    margin: 0 0 6px;
    font: 800 0.68rem/1.2 Arial, Helvetica, sans-serif;
    letter-spacing: 0.12em; text-transform: uppercase; color: #ffb627;
}
.osc-psr-mc-title { margin: 0; font: 800 clamp(1.35rem, 3vw, 1.75rem)/1.15 Georgia, 'Times New Roman', serif; color: #fff; }
.osc-psr-mc-copy { margin: 8px 0 0; font: 0.98rem/1.55 Georgia, 'Times New Roman', serif; color: #d3dbea; }
.osc-psr-mc-copy strong { color: #fff; }
.osc-psr-mc-form { display: flex; flex-wrap: wrap; gap: 8px; align-content: center; }
.osc-psr-mc-label {
    flex-basis: 100%;
    font: 700 0.72rem/1 Arial, Helvetica, sans-serif; letter-spacing: 0.06em; text-transform: uppercase; color: #9fb0cf;
}
.osc-psr-mc-input {
    flex: 1 1 12rem; min-width: 0;
    padding: 11px 12px;
    border: 2px solid transparent; border-radius: 4px;
    font: 1rem/1.2 Arial, Helvetica, sans-serif; color: #111; background: #fff;
}
.osc-psr-mc-input:focus { outline: none; border-color: #ffb627; }
.osc-psr-mc-go {
    flex: 0 0 auto;
    padding: 11px 18px;
    border: 0; border-radius: 4px;
    background: #ffb627; color: #0a1428;
    font: 800 0.95rem/1 Arial, Helvetica, sans-serif;
    cursor: pointer;
}
.osc-psr-mc-go:hover { background: #ffc85a; }
.osc-psr-mc-fine { flex-basis: 100%; margin: 2px 0 0; font: 0.78rem/1.4 Arial, Helvetica, sans-serif; color: #9fb0cf; }
@media (max-width: 720px) {
    .osc-psr-mc { grid-template-columns: 1fr; padding: 18px 16px; }
}

/* ------------------------------------------------------------------ day ---- */
.osc-psr-day + .osc-psr-day { margin-top: 44px; }
.osc-psr-day-name {
    display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
    margin: 0 0 4px; padding-bottom: 8px;
    border-bottom: 3px double #1b1b1b;
    font: 900 1.35rem/1.2 Georgia, 'Times New Roman', serif;
}
.osc-psr-count {
    font: 700 0.72rem/1 Arial, Helvetica, sans-serif;
    letter-spacing: 0.06em; text-transform: uppercase; color: #6b6b6b;
    white-space: nowrap;
}
.osc-psr-day-name a { color: inherit; text-decoration: none; }
.osc-psr-day-name a:hover { text-decoration: underline; }
.osc-psr-cont { font: italic 400 0.9rem/1 Georgia, 'Times New Roman', serif; color: #6b6b6b; }
.osc-psr-pageno { font-weight: 400; color: #6b6b6b; }
.osc-psr-empty { margin: 16px 0; font: italic 1rem/1.5 Georgia, 'Times New Roman', serif; color: #555; }

/* ----------------------------------------------------------------- call ---- */
.osc-psr-list { list-style: none; margin: 0; padding: 0; }
.osc-psr-call {
    display: grid;
    grid-template-columns: 5.6rem 1fr;
    gap: 0 16px;
    padding: 18px 0 18px 14px;
    border-bottom: 1px solid #e3ddd0;
    border-left: 3px solid #9aa1ab;
    scroll-margin-top: 150px;
}
.osc-psr-when {
    padding-top: 2px;
    font: 700 0.85rem/1.3 Arial, Helvetica, sans-serif; color: #444;
    white-space: nowrap;
}
.osc-psr-body-text { min-width: 0; }
.osc-psr-meta {
    margin: 0 0 4px;
    font: 700 0.72rem/1.4 Arial, Helvetica, sans-serif;
    letter-spacing: 0.05em; text-transform: uppercase; color: #6b6b6b;
}
.osc-psr-sep { margin: 0 4px; }
.osc-psr-place { text-transform: none; letter-spacing: 0; font-weight: 700; color: #555; }
.osc-psr-headline {
    margin: 0;
    font: 700 1.18rem/1.3 Georgia, 'Times New Roman', serif;
}
.osc-psr-headline a { color: inherit; text-decoration: none; }
.osc-psr-headline a:hover { text-decoration: underline; }
.osc-psr-summary {
    margin: 6px 0 0;
    font: 1rem/1.6 Georgia, 'Times New Roman', serif; color: #2b2b2b;
    overflow-wrap: anywhere;
}

/* The call a reader arrived for, from The Morning Capital or a shared link. */
.osc-psr-call:target { background: #fff4d6; }

/* What kind of call, in the rule down its left side. */
.osc-psr-cat-fire { border-left-color: #c2410c; }
.osc-psr-cat-crash { border-left-color: #b7791f; }
.osc-psr-cat-medical { border-left-color: #164f8b; }
.osc-psr-cat-police { border-left-color: #1b1b1b; }
.osc-psr-cat-animal { border-left-color: #1a7f4b; }
.osc-psr-cat-rescue { border-left-color: #6b46c1; }

/* A phone: the time goes over the words rather than beside them. */
@media (max-width: 520px) {
    .osc-psr-call { grid-template-columns: 1fr; padding-left: 12px; }
    .osc-psr-when { padding: 0 0 4px; }
}

/* ------------------------------------------------------- other days ---- */
.osc-psr-pager {
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
    margin-top: 30px;
    font: 700 0.9rem/1.4 Arial, Helvetica, sans-serif;
}
.osc-psr-pager a { color: #164f8b; text-decoration: none; }
.osc-psr-pager a:hover { text-decoration: underline; }
.osc-psr-next { margin-left: auto; }

.osc-psr-earlier { margin-top: 48px; }
.osc-psr-earlier-title {
    margin: 0 0 10px; padding-bottom: 6px;
    border-bottom: 1px solid #1b1b1b;
    font: 900 0.75rem/1 Arial, Helvetica, sans-serif;
    letter-spacing: 0.1em; text-transform: uppercase;
}
.osc-psr-days {
    list-style: none; margin: 0; padding: 0;
    display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 6px 24px;
}
.osc-psr-days li { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px solid #ece6d8; }
.osc-psr-days a { font: 1rem/1.4 Georgia, 'Times New Roman', serif; color: #164f8b; text-decoration: none; }
.osc-psr-days a:hover { text-decoration: underline; }
