/* Operations UI: late-data notices, the 311 request number box, the reviewer guide, the Site health card,
   City incident links on police calls. Loaded after the other stylesheets. */
.late-note{padding:12px 14px;border-radius:12px;border:1px solid rgba(214,178,110,.55);background:var(--acc-dim);color:var(--fg);font-size:15px;line-height:1.45}
.late-note b{color:var(--acc-hi)}
.sr311{display:grid;gap:6px;margin-top:14px;padding:14px;border-radius:12px;border:1px solid var(--line2);background:var(--panel)}
.sr311 label{font-weight:600;font-size:15px}
.sr311-row{display:flex;gap:8px;flex-wrap:wrap}
.sr311-row .input{flex:1 1 160px;min-width:0}
.sr311.compact{margin-top:6px;padding:10px;gap:4px}
.sr311.compact label{font-size:13.5px}
.sr311.compact .sr311-row .btn{min-height:40px;padding:8px 14px}
.mod-guide summary{cursor:pointer;font-size:17px;list-style:revert}
.mod-guide p,.mod-guide li{font-size:16.5px;line-height:1.55}
.mod-list{margin:0;padding-left:22px;display:grid;gap:4px}
.q-acts{gap:10px}
.q-acts .btn{white-space:normal;text-align:center}
.health-card{margin-bottom:16px;display:grid;gap:10px}
.health-card.late{border-color:rgba(214,178,110,.55)}
.health-list .chk .d{white-space:normal}
.city-inc{margin-top:4px;color:var(--dim);font-family:inherit}
.city-inc a,.city-inc .link{color:var(--acc);text-decoration:underline;text-underline-offset:2px;font-size:inherit}
.cr-list{display:grid;border:1px solid var(--line);border-radius:14px;background:var(--panel);overflow:hidden}
.cr-row{display:grid;grid-template-columns:150px minmax(0,1fr);gap:12px;padding:11px 14px;border-bottom:1px solid var(--line);font-size:15px}
.cr-row:last-child{border-bottom:0}
.cr-row > span{color:var(--muted);font-size:14px}
.cr-row b{font-weight:600}
.cr-x{display:block;margin-top:3px;font-weight:400;font-size:13.5px;color:var(--muted)}
@media (max-width:480px){.cr-row{grid-template-columns:1fr;gap:2px}}
@media (max-width:520px){.q-acts .btn{flex:1 1 100%}}
.health-list .chk{grid-template-columns:22px minmax(0,1fr)}
.health-list .chk .d{grid-column:2;color:var(--dim);font-size:13.5px}

/* long condition pills wrap instead of pushing the page sideways */
.pill{max-width:100%}
.row .pill{white-space:normal;text-align:left;line-height:1.3}

/* ---------- aggregator list (feedlist.js) ---------- */
.fl-ctl{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:10px}
.fl-ctl .ex-select{min-width:160px}
.fl .chips{margin-bottom:8px}
.fl-count{margin:4px 0 8px}
.fl-item button.t,.item button.fl-open{all:unset;cursor:pointer;display:block;font-weight:600;font-size:15.5px;line-height:1.35;color:var(--fg)}
.fl-item button.t:hover,.item button.fl-open:hover{color:var(--acc)}
.fl-item button.t:focus-visible,.item button.fl-open:focus-visible{outline:2px solid var(--acc);outline-offset:3px;border-radius:4px}
.fl-r{display:flex;flex-direction:column;align-items:flex-end;gap:8px}
.fl-ext{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;border:1px solid var(--line2);color:var(--dim)}
.fl-ext:hover{color:var(--acc);border-color:var(--acc)}
.fl-ext .ic{width:16px;height:16px}
@media (max-width:640px){.fl-ctl .ex-select{flex:1 1 calc(50% - 4px);min-width:0;width:auto}.fl-ctl .fl-search{flex:1 1 100%}}
.rd-t{margin:6px 0 4px;font-size:clamp(24px,4vw,34px);line-height:1.12}
.rd-meta{margin-bottom:12px}
.rd-s{font-size:16px;line-height:1.55;margin-bottom:14px}
.rd-acts{gap:8px}

/* ---------- official accounts hub (xhub.js) ---------- */
.xh-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:10px}
.xh-tab{all:unset;cursor:pointer;display:grid;gap:2px;padding:12px 14px;border-radius:14px;border:1px solid var(--line2);background:rgba(13,24,43,.6);min-width:0}
.xh-tab b{font-size:14.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.xh-tab span{font-family:var(--mono);font-size:12px;color:var(--dim);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.xh-tab[aria-selected="true"]{border-color:var(--acc);background:var(--acc-dim)}
.xh-tab[aria-selected="true"] span{color:var(--acc)}
.xh-tab:focus-visible{outline:2px solid var(--acc);outline-offset:2px}
@media (max-width:760px){.xh-tabs{display:flex;overflow-x:auto;scrollbar-width:none}.xh-tabs::-webkit-scrollbar{display:none}.xh-tab{flex:none;min-width:160px}}
.xh-panel{padding:16px}
.xh-head{display:flex;flex-wrap:wrap;gap:10px;justify-content:space-between;align-items:flex-start;margin-bottom:12px}
.xh-box{max-height:680px;overflow:auto;border-radius:12px}
.xh-box iframe{max-width:100%!important}
.xh-why{display:flex;gap:10px;align-items:flex-start;padding:12px 14px;border-radius:12px;border:1px solid var(--line2);background:var(--panel2);font-size:14px;color:var(--muted)}
.xh-why .ic{flex:none;width:18px;height:18px;color:var(--acc);margin-top:2px}
.up-alerts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.up-al{display:grid;gap:6px;text-decoration:none;color:var(--fg)}
.up-al .ic{width:12px;height:12px;vertical-align:-1px}
@media (max-width:760px){.up-alerts{grid-template-columns:minmax(0,1fr)}}
.wire-off{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:14px;align-items:center;text-decoration:none;color:var(--fg)}
.wire-off>span:nth-child(2){display:grid;gap:2px}
.wire-off-ic{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;background:var(--acc-dim);color:var(--acc)}
.wire-off-go .ic{color:var(--acc)}
.pb-heads .pb-hl{all:unset;cursor:pointer;color:var(--fg);font-size:14px;line-height:1.4;font-weight:500}
.pb-heads .pb-hl:hover{color:var(--acc)}
.pb-heads .pb-hl:focus-visible{outline:2px solid var(--acc);outline-offset:2px}
.pb-card [data-pub-read]{margin-top:8px}

/* ---------- live polls (assets/js/polls.js, pages/vote.js) ---------- */
.poll{display:grid;gap:12px;align-content:start;min-width:0;background:linear-gradient(180deg,rgba(214,178,110,.06),transparent 60%),var(--panel);border:1px solid rgba(214,178,110,.35);border-radius:var(--r);padding:20px;scroll-margin-top:120px;transition:border-color .3s,box-shadow .3s}
.poll.closed{border-color:var(--line);background:var(--panel)}
.poll.poll-hl{border-color:var(--acc);box-shadow:0 0 0 3px var(--acc-dim)}
.poll[aria-busy="true"] .poll-opts{opacity:.7}
.poll-top{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:center;justify-content:space-between}
.poll-q{font-size:clamp(21px,2.6vw,26px);line-height:1.25;overflow-wrap:anywhere}
.poll-how{margin-top:-4px}
.poll-opts{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.poll-row{display:grid;gap:4px;min-width:0}
.poll-opt{position:relative;display:grid;grid-template-columns:24px minmax(0,1fr) auto;gap:4px 12px;align-items:center;width:100%;min-height:56px;padding:12px 16px;border:1px solid var(--line2);border-radius:var(--r-sm);background:var(--panel2);color:var(--fg);font:inherit;font-size:16px;text-align:left;line-height:1.35;overflow:hidden;isolation:isolate}
button.poll-opt{cursor:pointer;transition:border-color .2s,background .2s,box-shadow .2s}
button.poll-opt:hover{border-color:var(--acc-line)}
button.poll-opt:focus-visible{outline:2px solid var(--acc);outline-offset:2px}
.poll-opt.mine{border-color:var(--acc);box-shadow:0 0 0 1px var(--acc) inset}
.poll-bar{position:absolute;inset:0 auto 0 0;width:0;background:linear-gradient(90deg,rgba(214,178,110,.26),rgba(214,178,110,.14));z-index:-1;transition:width .6s cubic-bezier(.2,.7,.2,1)}
.poll-opt.show .poll-bar{width:var(--w,0%)}
.poll-opt.mine .poll-bar{background:linear-gradient(90deg,rgba(214,178,110,.42),rgba(214,178,110,.24))}
.poll-mark{width:24px;height:24px;border-radius:50%;border:1.5px solid var(--line2);display:grid;place-items:center;color:var(--acc-ink);background:transparent}
.poll-opt.mine .poll-mark{background:var(--acc);border-color:var(--acc)}
.poll-mark .ic{width:15px;height:15px;stroke-width:2.6}
.poll-opt.ro .poll-mark{border-style:dashed}
.poll-ol{display:grid;gap:3px;min-width:0}
.poll-ol b{font-weight:600;overflow-wrap:anywhere}
.poll-od{font-size:14.5px;color:var(--muted);line-height:1.45}
.poll-you{font-size:12px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--acc-hi)}
.poll-res{display:grid;justify-items:end;gap:1px;white-space:nowrap}
.poll-res b{font-size:20px;font-weight:700;color:var(--fg);font-variant-numeric:tabular-nums}
.poll-res span{font-size:12.5px;color:var(--muted)}
.poll-more{justify-self:start;padding:4px 2px;min-height:40px;display:inline-flex;align-items:center}
.poll-sum{display:flex;flex-wrap:wrap;gap:4px 16px;font-size:15px;color:var(--muted)}
.poll-sum:empty{display:none}
.poll-sum b{color:var(--fg)}
.poll-hoods summary{display:flex;align-items:center;gap:8px;min-height:44px;cursor:pointer;list-style:none;color:var(--muted);font-size:14.5px}
.poll-hoods summary::-webkit-details-marker{display:none}
.poll-hoods summary .ic{width:16px;height:16px;transition:transform .2s}
.poll-hoods[open] summary .ic{transform:rotate(90deg)}
.poll-hoods ul{margin:0 0 8px;padding-left:18px;display:grid;gap:4px;font-size:14.5px;color:var(--muted)}
.poll-hoods b{color:var(--fg);font-weight:600}
.poll-rules{font-size:13.5px;color:var(--muted);border-top:1px solid var(--line);padding-top:10px}
.poll-note{padding:10px 12px;border-radius:var(--r-sm);border:1px dashed var(--line2);color:var(--muted);font-size:14px}
.poll-acts{display:flex;flex-wrap:wrap;gap:8px}
.poll-acts .btn{white-space:normal}
.poll-c .poll-q{font-size:clamp(20px,2.4vw,24px)}
.poll-c .poll-opt{min-height:50px;padding:10px 14px}
.poll-sec .poll{max-width:860px}
.vote-wrap{display:grid;gap:20px;grid-template-columns:minmax(0,1fr) minmax(260px,320px);align-items:start}
.vote-list{display:grid;gap:18px;min-width:0}
.vote-h{font-size:22px;margin-top:10px}
.vote-how{position:sticky;top:96px;display:grid;gap:10px}
.vote-how h3{font-size:19px}
.vote-rules{margin:0;padding-left:18px;display:grid;gap:8px;font-size:14.5px;line-height:1.5;color:var(--muted)}
@media (max-width:900px){.vote-wrap{grid-template-columns:minmax(0,1fr)}.vote-how{position:static}}
@media (max-width:480px){.poll{padding:16px}.poll-opt{grid-template-columns:22px minmax(0,1fr) auto;gap:4px 10px;padding:12px}.poll-res b{font-size:18px}}
@media (prefers-reduced-motion:reduce){.poll-bar{transition:none}}
