/* Shared stone-and-sage record components; page layout stays with its host. */
#cc-river-app{--rv-active:#50605b;--rv-ink:#191c1a;--rv-muted:#686d6a;--rv-wash:#f3f1e9;--ce-stick:0px}
#cc-river-app .preview-label{display:inline-block;vertical-align:middle;margin:0 0 5px 9px;padding:4px 9px;border:1px solid #d5d2c6;border-radius:6px;color:#686d6a;font:500 11px/1.3 var(--sans)}
:is(#cc-river-app,#cc-spotlight-app,.home) .cc-breadcrumb{font-size:.82rem;color:#686d6a}
:is(#cc-river-app,#cc-spotlight-app,.home) .cc-breadcrumb a{color:#686d6a;text-decoration:none;font-weight:500}
:is(#cc-river-app,#cc-spotlight-app,.home) .cc-breadcrumb a:hover{color:#191c1a;text-decoration:underline;text-underline-offset:3px}
:is(#cc-river-app,#cc-spotlight-app,.home) .cc-breadcrumb [aria-current]{color:#191c1a;font-weight:600}
:is(#cc-river-app,#cc-spotlight-app,.home) .cc-breadcrumb li+li:before{color:#aba79d;margin:0 4px}
:is(#cc-river-app,#cc-spotlight-app,.home) .cc-menu{position:relative;top:auto;height:auto;min-height:56px;flex-wrap:wrap;gap:6px;margin-bottom:16px;padding:8px 10px;background:#faf9f5;border:1px solid #dfddd4;border-radius:12px;box-shadow:0 1px 2px #191c1a08}
:is(#cc-river-app,#cc-spotlight-app,.home) .cc-menu>button{min-height:36px!important;height:36px!important;padding:0 13px!important;border:1.5px solid #d5d2c6!important;outline:none;box-shadow:none;font-size:13px!important;overflow:visible;max-width:none;gap:7px}
:is(#cc-river-app,#cc-spotlight-app,.home) .cc-menu>button:after{content:'⌄';color:inherit;opacity:.55;font-size:12px}
:is(#cc-river-app,#cc-spotlight-app,.home) .cc-menu>button:has(.cc-menu-n){background:#eef1f0!important;border-color:#50605b!important;font-weight:600}
:is(#cc-river-app,#cc-spotlight-app,.home) .cc-menu>button[aria-expanded=true]{background:#50605b!important;border-color:#50605b!important;color:#fff!important}
:is(#cc-river-app,#cc-spotlight-app,.home) .cc-menu>button:focus-visible{outline:2px solid #50605b;outline-offset:3px}
:is(#cc-river-app,#cc-spotlight-app,.home) .cc-menu-n{background:#50605b;color:#fff;min-width:19px;height:19px;line-height:19px;font-size:11px;font-variant-numeric:tabular-nums}
:is(#cc-river-app,#cc-spotlight-app,.home) .cc-menu-panel{position:static;order:1;flex:0 0 100%;min-width:0;max-width:100%;max-height:none;overflow:visible;background:#faf9f5;border:1px solid #dfddd4;border-radius:8px;padding:10px;box-shadow:none}
:is(#cc-river-app,#cc-spotlight-app,.home) .cc-menu-panel>button{height:28px!important;min-height:28px!important;padding:0 10px!important;font-size:.78rem!important;font-weight:500;border-radius:999px!important;display:inline-flex;align-items:center;gap:5px}
:is(#cc-river-app,#cc-spotlight-app,.home) .cc-menu-panel>button[data-menu-all],:is(#cc-river-app,#cc-spotlight-app,.home) .cc-menu-panel>button[data-menu-none]{height:26px!important;min-height:26px!important;padding:0 9px!important;font-size:.74rem!important;background:#f5f4ee!important;border-color:#d5d2c6!important;color:#52504a!important}
:is(#cc-river-app,#cc-spotlight-app,.home) .cc-menu-panel>button[aria-pressed=true]{background:#cdd8d0!important;border:1px solid #343f39!important;box-shadow:inset 0 0 0 .5px #343f39;color:#191c1a!important}
#cc-river-app .river-card{border-radius:14px}
#cc-river-app .evidence-dock{border-radius:14px}
#cc-river-app .motion>summary{display:grid;grid-template-columns:minmax(0,1fr) auto 8px;align-items:center;gap:3px 12px;padding-right:8px}
#cc-river-app .motion>summary:after{position:static;grid-column:3;grid-row:2;margin:0;justify-self:center}
#cc-river-app .motion-date{grid-column:1;grid-row:1;padding-right:0;font-size:12px}
#cc-river-app .motion[open] .motion-result{display:block}
#cc-river-app .motion-result{position:static;grid-column:2;grid-row:1;flex-shrink:0;white-space:nowrap}
#cc-river-app .motion-result[data-vote=agenda]{display:inline-block;justify-self:end;white-space:normal;margin-top:0}
#cc-river-app .motion-title{grid-column:1/3;grid-row:2;min-width:0;overflow:visible;text-overflow:clip;white-space:normal;font-size:14px;line-height:1.4;letter-spacing:-.01em}
@container scroll-state(stuck: top){#cc-river-app .motion-title{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}
#cc-river-app .motion-text{grid-column:1/3;grid-row:3;min-width:0}
#cc-river-app .motion-detail{padding:9px 0 20px;gap:14px}
#cc-river-app .recorded-motion{border-left:2px solid #d5d2c6;padding-left:10px;color:#4a4d4b;font-size:13px;line-height:1.5}
#cc-river-app .preview-recorded[data-preview-expanded=false] .recorded-motion{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
#cc-river-app .preview-recorded>button{padding:5px 0 2px 12px;font-size:11px;color:#686d6a;min-height:28px}
#cc-river-app .motion-links{display:flex;flex-wrap:wrap;align-items:center;column-gap:12px;row-gap:2px;margin-top:9px;font-size:11px;line-height:1.4}
#cc-river-app .motion-links a{color:#686d6a;text-decoration:none;min-height:28px;display:inline-flex;align-items:center}
#cc-river-app .motion-links a:hover{text-decoration:underline;text-underline-offset:3px}
:is(#cc-river-app,#cc-spotlight-app,.home) :is(.preview-well,.cc-quote-well,.ce-debate:not(.preview-well .ce-debate)){display:block;background:#f3f1e9;padding:12px;border-radius:10px;margin-top:12px}
#cc-river-app .motion-votes{margin:0}
:is(#cc-river-app,#cc-spotlight-app,.home) .ce-voter-groups{gap:7px}
:is(#cc-river-app,#cc-spotlight-app,.home) .ce-voter-group{grid-template-columns:50px minmax(0,1fr);gap:5px}
:is(#cc-river-app,#cc-spotlight-app,.home) .ce-voter-group h4{font-size:11px;margin-top:6px;gap:4px}
:is(#cc-river-app,#cc-spotlight-app,.home) .ce-voter-group h4 span{background:transparent;min-width:0}
:is(#cc-river-app,#cc-spotlight-app,.home) .ce-voter-group[data-vote=yes]{--vote-ink:#50605b}
:is(#cc-river-app,#cc-spotlight-app,.home) .ce-voter-group ul{gap:4px}
:is(#cc-river-app,#cc-spotlight-app,.home) .ce-chip{display:inline-flex;align-items:center;height:26px;min-height:26px;padding:0 8px;background:rgba(25,28,26,.05);border:1px solid transparent;border-radius:6px;color:#52504a;font-size:.78rem;font-weight:400;line-height:1;white-space:nowrap}
:is(#cc-river-app,#cc-spotlight-app,.home) .ce-chip strong{font-weight:inherit}
:is(#cc-river-app,#cc-spotlight-app,.home) .ce-chip.preview-spoken{height:28px;min-height:28px;padding:0 10px;background:#fff;border:1px solid #c8c4b8;border-radius:999px;color:#191c1a;font-size:.8rem;font-weight:500;gap:5px;cursor:pointer;box-shadow:0 1px 1px rgba(25,28,26,.03)}
:is(#cc-river-app,#cc-spotlight-app,.home) .ce-chip>button{display:inline-flex;align-items:center;gap:5px;text-decoration:none;min-height:0!important;height:100%;margin:0}
:is(#cc-river-app,#cc-spotlight-app,.home) .ce-chip:has(>button[aria-pressed=true]){background:#50605b;color:#fff;border-color:#50605b}
:is(#cc-river-app,#cc-spotlight-app,.home) .preview-speech-icon{display:inline-flex;width:12px;height:12px;flex:none}
:is(#cc-river-app,#cc-spotlight-app,.home) .preview-speech-icon svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:1.2;stroke-linejoin:round}
:is(#cc-river-app,#cc-spotlight-app,.home) .ce-debate{border-top:0;margin-top:12px;max-width:none}
:is(#cc-river-app,#cc-spotlight-app,.home) :is(.ce-group,.sp-record-quote){position:relative;display:block;background:#fff;border:1px solid #dfddd4;border-radius:8px;padding:12px 14px;margin:0 0 9px;scroll-margin-top:120px}
:is(#cc-river-app,#cc-spotlight-app,.home) :is(.ce-group,.sp-record-quote):last-of-type{margin-bottom:0}
:is(#cc-river-app,#cc-spotlight-app,.home) .ce-speaker{position:static;background:transparent;color:#191c1a;padding:0 0 9px;font-size:12px;line-height:1.4;flex-wrap:wrap}
:is(#cc-river-app,#cc-spotlight-app,.home) .ce-group:has(>.ce-quote [data-ce-watch])>.ce-speaker{padding-right:124px;min-height:35px}
:is(#cc-river-app,#cc-spotlight-app,.home) .ce-group>.ce-quote:first-of-type .ce-foot{position:static}
:is(#cc-river-app,#cc-spotlight-app,.home) .ce-group>.ce-quote:first-of-type .ce-foot [data-ce-watch]{position:absolute;right:10px;top:9px}
:is(#cc-river-app,#cc-spotlight-app,.home) .ce-speaker .cc-chip{font-size:10px;padding:2px 5px;border-radius:4px;line-height:1.4}
:is(#cc-river-app,#cc-spotlight-app,.home) .ce-debate .ce-quote{margin:0;padding:0;border-left:0}
:is(#cc-river-app,#cc-spotlight-app,.home) :is(.ce-debate .ce-quote blockquote,.sp-record-quote-text){font:400 13px/1.55 var(--sans);color:#191c1a}
:is(#cc-river-app,#cc-spotlight-app,.home) .ce-foot{margin-top:7px;gap:6px;font-size:11px}
:is(#cc-river-app,#cc-spotlight-app,.home) .ce-foot a[data-ce-watch]{display:inline-flex;align-items:center;gap:4px;height:24px;min-height:24px!important;padding:0 9px;border:1px solid #dfddd4;border-radius:999px;background:#f5f4ee;color:#52504a;font-size:.74rem;font-weight:500;line-height:1;text-decoration:none;font-variant-numeric:tabular-nums}
:is(#cc-river-app,#cc-spotlight-app,.home) .ce-foot a[data-ce-watch]:hover{border-color:#50605b;color:#191c1a;background:#eceae2}
:is(#cc-river-app,#cc-spotlight-app,.home) .preview-play-icon{font-size:.62rem;opacity:.75}
:is(#cc-river-app,#cc-spotlight-app,.home) .ce-foot .ce-expand{border:1px solid transparent!important;border-radius:999px!important;padding:3px 7px!important;min-height:28px!important;font-size:11px!important;text-decoration:none;color:#686d6a}
:is(#cc-river-app,#cc-spotlight-app,.home) .ce-foot .ce-expand:hover{background:#f5f4ee!important;border-color:#dfddd4!important}
:is(#cc-river-app,#cc-spotlight-app,.home) .ce-foot .report{margin-left:auto;color:#686d6a}
:is(#cc-river-app,#cc-spotlight-app,.home) .preview-followups{border-top:1px solid #eeece5;margin-top:9px;padding-top:7px}
:is(#cc-river-app,#cc-spotlight-app,.home) .preview-followups>summary{font-size:11px;color:#50605b;cursor:pointer;line-height:1.5;padding:3px 0}
:is(#cc-river-app,#cc-spotlight-app,.home) .preview-followups[open]>summary{margin-bottom:9px}
:is(#cc-river-app,#cc-spotlight-app,.home) .preview-followups .ce-quote+.ce-quote{margin-top:12px}
:is(#cc-river-app,#cc-spotlight-app,.home) .preview-show-all{display:block;margin:10px auto 0;font-size:11px;line-height:1.4;border:1px solid #d5d2c6;border-radius:999px;background:#faf9f5;padding:5px 8px;min-height:30px;color:#50605b}
@media(min-width:1101px){#cc-river-app[data-view=focus] .river-workspace{grid-template-columns:minmax(0,1.1fr) minmax(360px,1fr);gap:18px}}
@media(max-width:760px){
 :is(#cc-river-app,#cc-spotlight-app,.home) .cc-menu{height:auto;min-height:56px;flex-wrap:wrap;padding:6px;gap:5px}
 :is(#cc-river-app,#cc-spotlight-app,.home) .cc-menu>button{padding:0 9px!important;font-size:12px!important;flex:none}
 :is(#cc-river-app,#cc-spotlight-app,.home) .cc-menu>button.cc-menu-area{flex:0 1 auto;max-width:50%}
 #cc-river-app .focus-pane{padding:10px}
 #cc-river-app .evidence-body{padding:0 12px 12px}
 :is(#cc-river-app,#cc-spotlight-app,.home) .preview-well{padding:9px}
 :is(#cc-river-app,#cc-spotlight-app,.home) .ce-voter-group{grid-template-columns:40px minmax(0,1fr)}
 :is(#cc-river-app,#cc-spotlight-app,.home) .ce-foot .ce-expand{min-height:36px!important}
 :is(#cc-river-app,#cc-spotlight-app,.home) .preview-show-all{min-height:36px}
 #cc-river-app .motion-links{display:flex;gap:0 12px}
 #cc-river-app .motion-links a{min-height:32px}
}
@media(prefers-reduced-motion:reduce){:is(#cc-river-app,#cc-spotlight-app,.home) *{scroll-behavior:auto!important;transition:none!important}}

/* Shared map hooks accompany the existing page hooks and their visibility rules. */
:is(#cc-river-app,#cc-spotlight-app,.home){--ce-link:#50605b}
:is(#cc-river-app,#cc-spotlight-app,.home) .cc-focus-map{position:relative;width:100%;isolation:isolate;overflow:hidden;background:#eceae2;padding:0;border:6px solid #eceae2;border-radius:14px;box-shadow:0 0 0 1px #dfddd4}
.home .cc-focus-map.live #stage{visibility:hidden}
:is(#cc-river-app,#cc-spotlight-app,.home) .cc-focus-tile{position:absolute;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-end;min-height:0;padding:12px;border:1px solid #191c1a14;border-radius:8px;background:var(--tile-background);color:var(--tile-foreground,#191c1a);box-shadow:0 1px 2px #191c1a09;text-align:left;text-shadow:none;font:650 15px/1.2 var(--sans);letter-spacing:-.01em;overflow:hidden;overflow-wrap:normal;transition:box-shadow 140ms,filter 140ms}
:is(#cc-river-app,#cc-spotlight-app,.home) .cc-focus-tile .sp-tile-copy{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-end;gap:3px;width:100%;min-width:0}
:is(#cc-river-app,#cc-spotlight-app,.home) .cc-focus-tile .cc-tile-label{display:block;width:100%;font-weight:650;overflow-wrap:anywhere}
:is(#cc-river-app,#cc-spotlight-app,.home) .cc-focus-tile .cc-tile-count{display:block;width:100%;margin-top:3px;font-size:clamp(10px,.8em,12px);font-weight:500;line-height:1.25;letter-spacing:0;font-variant-numeric:tabular-nums;opacity:1}
:is(#cc-river-app,#cc-spotlight-app,.home) .cc-focus-tile .cc-tile-count[hidden]{display:none}
:is(#cc-river-app,#cc-spotlight-app,.home) .cc-focus-tile[data-tone=dark]{color:#faf9f5}
:is(#cc-river-app,#cc-spotlight-app,.home) .cc-focus-tile[data-tone=dark] .cc-tile-count{color:rgba(250,249,245,.82)}
:is(#cc-river-app,#cc-spotlight-app,.home) .cc-focus-tile:hover{background:var(--tile-background);box-shadow:inset 0 0 0 1px currentColor;filter:brightness(1.025)}
:is(#cc-river-app,#cc-spotlight-app,.home) .cc-focus-tile[aria-pressed=true],:is(#cc-river-app,#cc-spotlight-app,.home) .cc-focus-tile[aria-pressed=true]:hover{box-shadow:inset 0 0 0 2px currentColor}
:is(#cc-river-app,#cc-spotlight-app,.home) .cc-focus-tile:focus-visible{outline:none;box-shadow:inset 0 0 0 3px currentColor;z-index:2}
:is(#cc-river-app,#cc-spotlight-app,.home) .ce-quote[data-preview-complete=true] blockquote{display:block;-webkit-line-clamp:unset;line-clamp:unset;overflow:visible}

:is(#cc-river-app,#cc-spotlight-app,.home) :is(.cc-action-card,.cc-compare-card){background:#fff;border:1px solid #dfddd4;border-radius:12px}
:is(#cc-river-app,#cc-spotlight-app,.home) .cc-action-card{margin-bottom:10px;overflow:hidden}
:is(#cc-river-app,#cc-spotlight-app,.home) .cc-card-eyebrow{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;width:100%;font-size:12px;color:#686d6a;font-variant-numeric:tabular-nums}
:is(#cc-river-app,#cc-spotlight-app,.home) :is(.cc-outcome,.motion-result){display:inline-flex;align-items:center;gap:5px;min-height:22px;padding:3px 9px;border-radius:999px;background:#eef1ed;color:#50605b;font-size:.75rem;font-weight:600;line-height:1.2;white-space:nowrap;font-variant-numeric:tabular-nums}
:is(#cc-river-app,#cc-spotlight-app,.home) .cc-outcome[data-result=agenda]{background:#f1f0eb;color:#525650;font-weight:600}
#cc-river-app .motion[open]>summary .motion-discussion-preview{display:none}
#cc-river-app .search-topic{margin:-6px 0 12px;font-size:12px}
#cc-river-app .search-topic button{padding:5px 0;text-decoration:underline;text-underline-offset:3px;color:var(--rv-active)}
:is(#cc-river-app,#cc-spotlight-app,.home) :is(.cc-outcome[data-result=no],.motion-result[data-vote=no]){background:#f4eee9;color:#785f50}
:is(#cc-river-app,#cc-spotlight-app,.home) .cc-outcome[data-result=none]{background:#f5f4ee;color:#686d6a}
:is(#cc-river-app,#cc-spotlight-app,.home) .cc-meta-pill{display:inline-flex;align-items:center;gap:4px;height:22px;padding:0 9px;border:1px solid #dfddd4;border-radius:999px;background:#f5f4ee;color:#52504a;font-size:.75rem;font-weight:500;line-height:1;white-space:nowrap}
:is(#cc-river-app,#cc-spotlight-app,.home) .cc-meta-pill[data-vote=yes]{background:#eef1ed;border-color:#d5ddd7;color:#50605b}
:is(#cc-river-app,#cc-spotlight-app,.home) .cc-meta-pill[data-vote=no]{background:#f4eee9;border-color:#e5d9d1;color:#785f50}
:is(#cc-river-app,#cc-spotlight-app,.home) .cc-meta-pill b{font-weight:inherit}
#cc-spotlight-app .sp-avatar{background:#eceae2;border:1px solid #d5d2c6;color:#50605b;font-weight:700;letter-spacing:-.04em}
#cc-spotlight-app .sp-hero{margin-bottom:4px;padding:4px 0}
#cc-spotlight-app .sp-actions-list{background:transparent;border:0;border-radius:0;overflow:visible}
#cc-spotlight-app .sp-detail-pane .cc-action-card .sp-action-open{display:block}
#cc-spotlight-app .sp-action-open:hover h3{color:#50605b}
#cc-spotlight-app .sp-record-attributions{display:flex;flex-wrap:wrap;gap:5px;margin:7px 0}
#cc-spotlight-app .sp-detail-pane .cc-action-card .sp-vote-person{display:flex;flex-wrap:wrap;gap:5px}
#cc-spotlight-app .sp-record-quote-speaker{color:#191c1a}
#cc-spotlight-app .sp-motion-detail>.cc-card-eyebrow{margin-bottom:9px}
:is(#cc-river-app,#cc-spotlight-app,.home) :is(.cc-compare-track,.cc-compare-ink){border-radius:6px}
:is(#cc-river-app,#cc-spotlight-app,.home) .cc-compare-track{background:#eceae2}
:is(#cc-river-app,#cc-spotlight-app,.home) .cc-compare-ink{background:#637d73;transition:filter 140ms,transform 140ms}
:is(#cc-river-app,#cc-spotlight-app,.home) .cc-compare-count{color:#686d6a;font-variant-numeric:tabular-nums}
:is(#cc-river-app,#cc-spotlight-app,.home) .cc-compare-row:hover .cc-compare-ink{filter:brightness(1.08);transform:translateY(-1px)}
:is(#cc-river-app,#cc-spotlight-app,.home) .cc-compare-row:focus-visible{outline:2px solid #50605b;outline-offset:3px;border-radius:6px}
@media(max-width:760px){:is(#cc-river-app,#cc-spotlight-app,.home) .cc-focus-tile{padding:8px;font-size:13px}}

:is(#cc-river-app,#cc-spotlight-app,.home) .cc-source-links{display:flex;flex-wrap:wrap;gap:2px 12px;font-size:12px;line-height:1.4}
:is(#cc-river-app,#cc-spotlight-app,.home) .cc-source-links a{display:inline-flex;align-items:center;min-height:28px;color:#686d6a;text-decoration:none}
:is(#cc-river-app,#cc-spotlight-app,.home) .cc-source-links a:hover{color:#191c1a;text-decoration:underline;text-underline-offset:3px}

#cc-spotlight-app .sp-record-summary{max-width:68ch;margin:8px 0 0;font-size:13px;line-height:1.5;color:#686D6A}

/* The shared Meetings control keeps date and source type inside one compact dropdown. */
:is(#cc-river-app,#cc-spotlight-app,.home) .cc-menu-panel.cc-menu-meetings{position:static;display:block;width:100%;max-width:100%;padding:4px 12px;background:#faf9f5;box-shadow:none}
.cc-menu-submenu+ .cc-menu-submenu{border-top:1px solid #dfddd4}
.cc-menu-submenu>summary{display:flex;align-items:center;gap:12px;min-height:44px;cursor:pointer;font-size:13px;font-weight:600;list-style:none}
.cc-menu-submenu>summary::-webkit-details-marker{display:none}
.cc-menu-submenu>summary span{margin-left:auto;max-width:60%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:400;color:#65716b}
.cc-menu-submenu>summary:after{content:'⌄';color:#65716b}
.cc-menu-submenu[open]>summary:after{content:'⌃'}
.cc-menu-submenu>div{display:flex;flex-wrap:wrap;gap:6px;padding:0 0 12px}
:is(#cc-river-app,#cc-spotlight-app,.home) .cc-menu-submenu button{min-height:36px;padding:6px 10px;border:1px solid #d5d2c6;border-radius:999px;background:#fff;color:#191c1a;font:inherit;font-size:12px;cursor:pointer}
:is(#cc-river-app,#cc-spotlight-app,.home) .cc-menu-submenu button[aria-pressed=true]{background:#cdd8d0;border-color:#343f39;box-shadow:inset 0 0 0 .5px #343f39;color:#191c1a}
.cc-menu-submenu summary:focus-visible,.cc-menu-submenu button:focus-visible{outline:2px solid #50605b;outline-offset:2px}

/* Common filters stay on one row; secondary filters expand only on request. */
:is(#cc-river-app,#cc-spotlight-app,.home,#bb-wrap) .cc-menu-compact{position:relative;top:auto;display:flex;flex-wrap:wrap;align-items:center;gap:6px;min-height:52px;height:auto;margin:0 0 16px;padding:7px 8px;background:#faf9f5;border:1px solid #dfddd4;border-radius:10px;box-shadow:none}
:is(#cc-river-app,#cc-spotlight-app,.home,#bb-wrap) .cc-menu-compact>button{display:inline-flex;align-items:center;gap:6px;flex:none;min-height:36px!important;height:36px!important;padding:0 12px!important;border:1px solid #d5d2c6!important;border-radius:7px!important;background:#fff;color:#191c1a;font:inherit;font-size:13px!important;max-width:none}
:is(#cc-river-app,#cc-spotlight-app,.home,#bb-wrap) .cc-menu-compact>button[aria-expanded=true]{background:#eef1f0!important;border-color:#50605b!important;color:#191c1a!important}
:is(#cc-river-app,#cc-spotlight-app,.home,#bb-wrap) .cc-menu-compact>button:after{content:'⌄';opacity:.6}
.cc-record-search{display:flex;align-items:center;flex:1 1 220px;min-width:170px;max-width:400px;height:36px;margin:0 8px 0 0;border:1px solid #d5d2c6;border-radius:7px;background:#fff;overflow:hidden}
.cc-record-search label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.cc-record-search input{flex:1;min-width:0;width:100%;height:100%;padding:0 10px;border:0;background:transparent;font:inherit;font-size:13px}
.cc-record-search:focus-within{outline:2px solid var(--cc-accent-primary,#50605b);outline-offset:2px}
:is(#cc-river-app,#cc-spotlight-app,.home,#bb-wrap) .cc-record-search input:focus{outline:none}
.cc-record-search button{align-self:stretch;border:0;border-left:1px solid #dfddd4;border-radius:0;background:#f5f4ef;padding:0 10px;color:#343f39;font:inherit;font-size:12px;cursor:pointer}
:is(#cc-river-app,#cc-spotlight-app,.home,#bb-wrap) .cc-menu-compact .cc-menu-panel{position:static;inset:auto;order:1;flex:0 0 100%;display:flex;flex-wrap:wrap;align-items:center;gap:6px;width:100%;min-width:0;max-width:none;max-height:none;overflow:visible;padding:10px;background:#fff;border:1px solid #dfddd4;border-radius:7px;box-shadow:none}
:is(#cc-river-app,#cc-spotlight-app,.home,#bb-wrap) .cc-menu-compact .cc-menu-panel button{display:inline-flex;align-items:center;justify-content:flex-start;gap:6px;min-height:32px!important;height:auto!important;padding:5px 9px!important;border:1px solid #dfddd4;border-radius:6px!important;background:#fff;color:#343f39;font:inherit;font-size:13px!important;font-weight:400;cursor:pointer}
:is(#cc-river-app,#cc-spotlight-app,.home,#bb-wrap) .cc-menu-compact .cc-menu-panel button[aria-pressed=true]{background:#cdd8d0!important;border:1px solid #343f39!important;box-shadow:inset 0 0 0 .5px #343f39;color:#191c1a!important}
.cc-menu-compact button[data-menu-key]:before{content:'';display:inline-block;flex:none;width:12px;height:12px;border:1px solid #a3aba6;border-radius:3px}
.cc-menu-compact button[data-menu-key][aria-pressed=true]:before{content:'✓';display:inline-flex;align-items:center;justify-content:center;background:#50605b;color:#fff;border-color:#50605b;font-size:11px}
.cc-menu-compact .cc-area-parents{display:flex;gap:2px;padding:3px;background:#f5f4ef;border-radius:7px;margin-right:10px}
.cc-menu-compact .cc-area-children{display:flex;flex:1 1 360px;flex-wrap:wrap;gap:6px}
:is(#cc-river-app,#cc-spotlight-app,.home,#bb-wrap) .cc-menu-compact .cc-menu-advanced{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:0;padding:4px 12px}
.cc-advanced-section{min-width:0;padding:0 10px;border-right:1px solid #eceae2}.cc-advanced-section:last-child{border:0}
.cc-advanced-section>summary{min-height:40px;display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:13px;font-weight:600;cursor:pointer;list-style:none}
.cc-advanced-section>summary::-webkit-details-marker{display:none}.cc-advanced-section>summary:after{content:'⌄';opacity:.6}.cc-advanced-section[open]>summary:after{content:'⌃'}
.cc-advanced-options{display:flex;flex-wrap:wrap;gap:6px;padding:2px 0 10px}.cc-menu-all-none{display:flex;gap:4px;flex-basis:100%}
.cc-meeting-select{display:grid;gap:5px;width:100%;font-size:12px;color:#686d6a}.cc-meeting-select select{width:100%;min-width:0;min-height:36px;padding:5px 7px;border:1px solid #d5d2c6;border-radius:6px;background:#fff;color:#191c1a;font:inherit;font-size:13px}
.cc-menu-compact :is(button,summary,select):focus-visible{outline:2px solid #50605b;outline-offset:2px}
.cc-menu-compact .cc-menu-panel button:disabled{cursor:default;opacity:.65}
.cc-record-footer{border-top:1px solid #dfddd4;margin-top:12px;padding:10px 0 0;grid-column:1/-1}.cc-record-footer:empty{display:none}
.cc-record-footer .cc-record-context{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:5px}.cc-meeting-badge,.cc-record-section{display:inline-flex;align-items:center;padding:2px 6px;border-radius:4px;background:#f0f1ec;color:#53615a;font-size:11px;line-height:1.5}.cc-source-page{color:#7b807b}
@media(max-width:640px){
 :is(#cc-river-app,#cc-spotlight-app,.home,#bb-wrap) .cc-menu-compact{gap:5px;padding:6px}
 .cc-record-search{max-width:none;flex-basis:100%;margin:0 0 1px;height:40px}
 :is(#cc-river-app,#cc-spotlight-app,.home,#bb-wrap) .cc-menu-compact>button{padding:0 8px!important;font-size:12px!important;min-height:38px!important;height:38px!important}
 :is(#cc-river-app,#cc-spotlight-app,.home,#bb-wrap) .cc-menu-compact .cc-menu-advanced{grid-template-columns:1fr;padding:0 10px}
 .cc-advanced-section{padding:0;border-right:0;border-bottom:1px solid #eceae2}.cc-advanced-section>summary{min-height:44px}
 :is(#cc-river-app,#cc-spotlight-app,.home,#bb-wrap) .cc-menu-compact .cc-menu-panel button{min-height:40px!important}
 .cc-area-parents{flex-basis:100%;margin:0 0 4px!important}.cc-area-children{flex-basis:100%!important}
}
.cc-record-search button{display:inline-flex;align-items:center;justify-content:center;flex:0 0 36px;min-width:36px!important;width:36px!important;padding:0!important;overflow:visible}
.cc-record-search button svg{width:16px;height:16px;flex:none}
.cc-record-search button:focus-visible{outline-offset:-4px}
.cc-search-loading{display:grid;place-items:center;min-height:220px}
.cc-search-loading .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.cc-search-squares{display:grid;grid-template-columns:repeat(2,10px);gap:4px}
.cc-search-squares i{width:10px;height:10px;border-radius:2px;background:var(--cc-accent-primary,#50605b);animation:cc-search-assemble 1.4s ease-in-out infinite}
.cc-search-squares i:nth-child(1){--cc-search-x:-10px;--cc-search-y:-10px}
.cc-search-squares i:nth-child(2){--cc-search-x:10px;--cc-search-y:-10px;animation-delay:-.1s}
.cc-search-squares i:nth-child(3){--cc-search-x:-10px;--cc-search-y:10px;animation-delay:-.2s}
.cc-search-squares i:nth-child(4){--cc-search-x:10px;--cc-search-y:10px;animation-delay:-.3s}
@keyframes cc-search-assemble{0%,100%{opacity:.25;transform:translate(var(--cc-search-x),var(--cc-search-y)) scale(.7)}40%,65%{opacity:1;transform:translate(0,0) scale(1)}}
@media(prefers-reduced-motion:reduce){.cc-search-squares i{animation:none;opacity:1;transform:none}}
.cc-record-footer>.cc-meeting-badge{margin-right:5px}
@media(max-width:640px){
 :is(#cc-river-app,#cc-spotlight-app,.home,#bb-wrap) .cc-menu-compact>button{padding:0 6px!important;gap:4px}
 :is(#cc-river-app,#cc-spotlight-app,.home,#bb-wrap) .cc-menu-compact .cc-menu-n{min-width:16px;height:16px;line-height:16px;font-size:10px}
}

/* The record filters use the existing command menu and its viewport positioning. */
.cc-command-shell{margin-bottom:16px;min-width:0}
:is(#cc-river-app,#cc-spotlight-app,.home,#bb-wrap) .cc-menu-compact.cc-menu-command{display:flex;flex-wrap:wrap;align-items:center;gap:6px;min-height:46px;margin:0;padding:8px;background:var(--cc-bg-surface,#fff);border:1px solid var(--cc-border-subtle,#e2e2dc);border-radius:10px;box-shadow:none;isolation:isolate}
:is(#cc-river-app,#cc-spotlight-app,.home,#bb-wrap) .cc-menu-compact.cc-menu-command>button{display:inline-flex;align-items:center;gap:6px;flex:none;min-height:36px!important;height:auto!important;max-width:100%;padding:7px 11px!important;margin:0;border:1px solid var(--cc-border-subtle,#e2e2dc)!important;border-radius:6px!important;background:#fff!important;color:var(--cc-ink-primary,#141413)!important;font-size:13px!important;font-weight:500;box-shadow:none}
:is(#cc-river-app,#cc-spotlight-app,.home,#bb-wrap) .cc-menu-compact.cc-menu-command>button:after{content:none}
:is(#cc-river-app,#cc-spotlight-app,.home,#bb-wrap) .cc-menu-compact.cc-menu-command>button:hover{background:var(--cc-bg-subtle,#f4f4ef)!important;border-color:var(--cc-border-strong,#c8c8bf)!important}
:is(#cc-river-app,#cc-spotlight-app,.home,#bb-wrap) .cc-menu-compact.cc-menu-command>button.is-filtered{background:var(--cc-bg-active-tint,#eef2f0)!important;border-color:var(--cc-accent-primary,#1f3a32)!important;color:var(--cc-accent-primary,#1f3a32)!important;font-weight:600}
:is(#cc-river-app,#cc-spotlight-app,.home,#bb-wrap) .cc-menu-compact.cc-menu-command>button[aria-expanded=true]{background:var(--cc-accent-primary,#1f3a32)!important;border-color:var(--cc-accent-primary,#1f3a32)!important;color:#fff!important}
.cc-menu-chevron{flex:none;transition:transform .15s ease;font-size:11px;opacity:.7}
[aria-expanded=true]>.cc-menu-chevron{transform:rotate(180deg)}
.cc-menu-command .cc-command-short{display:none}
.cc-menu-command .cc-record-search{flex:1 1 220px;max-width:none;min-width:170px;height:36px;margin:0 4px 0 0;border:1px solid var(--cc-border-subtle,#e2e2dc);border-radius:6px;background:var(--cc-bg-subtle,#f4f4ef)}
.cc-menu-command .cc-record-search input{padding:0 6px;font-size:13px}
.cc-menu-command .cc-record-search input::-webkit-search-cancel-button{display:none}
.cc-menu-command .cc-record-search button{border:0;background:transparent;color:var(--cc-ink-muted,#71716b)}
.cc-menu-command .cc-record-search button[hidden]{display:none}
:is(#cc-river-app,#cc-spotlight-app,.home,#bb-wrap) .cc-menu-compact.cc-menu-command .cc-command-panel{position:fixed;top:auto;left:16px;z-index:90;display:flex;flex-wrap:wrap;align-items:flex-start;gap:6px;flex:none;box-sizing:border-box;width:360px;min-width:0;max-width:calc(100vw - 32px);max-height:calc(100dvh - 120px);overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;padding:12px;background:var(--cc-bg-surface,#fff);border:1px solid var(--cc-border-strong,#c8c8bf);border-radius:10px;box-shadow:var(--cc-shadow-popover,0 12px 32px -4px #1414131a)}
.cc-menu-command .cc-command-panel *{box-sizing:border-box;min-width:0}
:is(#cc-river-app,#cc-spotlight-app,.home,#bb-wrap) .cc-menu-compact.cc-menu-command .cc-command-panel button{min-height:34px!important;white-space:normal;border-radius:6px!important;overflow-wrap:anywhere}
:is(#cc-river-app,#cc-spotlight-app,.home,#bb-wrap) .cc-menu-compact.cc-menu-command .cc-command-panel button[aria-pressed=true]{background:var(--cc-accent-primary,#1f3a32)!important;border-color:var(--cc-accent-primary,#1f3a32)!important;color:#fff!important;box-shadow:none}
:is(#cc-river-app,#cc-spotlight-app,.home,#bb-wrap) .cc-menu-compact.cc-menu-command .cc-command-more{display:grid;grid-template-columns:1fr;align-items:start;gap:12px;padding:14px}
.cc-menu-command .cc-advanced-section{padding:0;border:0;min-width:0}
.cc-command-more details.cc-advanced-section{border-top:1px solid var(--cc-border-subtle,#e2e2dc);border-bottom:1px solid var(--cc-border-subtle,#e2e2dc)}
.cc-command-more details[open]>.cc-advanced-options{padding-bottom:8px}
.cc-advanced-section h3,.cc-person-group h3{margin:0 0 8px;font:600 11px/1.4 var(--sans);text-transform:uppercase;letter-spacing:.06em;color:var(--cc-ink-muted,#71716b)}
.cc-advanced-group+.cc-advanced-group{margin-top:10px}
.cc-advanced-group h4{margin:0 0 6px;font:600 12px/1.4 var(--sans);color:var(--cc-ink-secondary,#4a4a46)}
.cc-menu-command .cc-advanced-options{display:flex;flex-wrap:wrap;align-items:start;gap:5px;padding:0}
.cc-menu-command .cc-area-parents{display:flex;flex-wrap:wrap;flex-basis:100%;gap:3px;padding:3px;margin:0 0 4px;border-radius:8px;background:var(--cc-bg-subtle,#f4f4ef)}
:is(#cc-river-app,#cc-spotlight-app,.home,#bb-wrap) .cc-menu-compact.cc-menu-command .cc-area-parents button{flex:1;justify-content:center;border:0;min-height:30px!important;padding:4px 6px!important}
:is(#cc-river-app,#cc-spotlight-app,.home,#bb-wrap) .cc-menu-compact.cc-menu-command :is(.cc-person-roles,.cc-area-parents) button[aria-pressed=true]{background:#fff!important;color:var(--cc-accent-primary,#1f3a32)!important;box-shadow:0 1px 3px #1414131a}
.cc-person-header{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;width:100%;padding-bottom:10px;border-bottom:1px solid var(--cc-border-subtle,#e2e2dc)}
.cc-person-roles{display:flex;flex:1 1 270px;gap:3px;padding:3px;background:var(--cc-bg-subtle,#f4f4ef);border-radius:8px}
:is(#cc-river-app,#cc-spotlight-app,.home,#bb-wrap) .cc-menu-compact.cc-menu-command .cc-person-roles button{flex:1;justify-content:center;padding:5px!important;border:0;font-size:12px!important}
.cc-person-header .cc-menu-all-none{display:flex;flex:none;gap:4px}
:is(#cc-river-app,#cc-spotlight-app,.home,#bb-wrap) .cc-menu-compact.cc-menu-command .cc-menu-all-none button{border:0;padding:4px!important;min-height:28px!important;color:var(--cc-ink-secondary,#4a4a46)!important;background:transparent!important;font-size:12px!important;text-decoration:underline;text-underline-offset:3px}
.cc-person-group{width:100%;padding-top:6px}
.cc-person-former{margin-top:8px;padding-top:12px;border-top:1px solid var(--cc-border-subtle,#e2e2dc)}
.cc-person-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 10px;width:100%}
.cc-person-row{display:flex;align-items:center;gap:2px;min-width:0;border:1px solid transparent;border-radius:6px}
.cc-person-row:hover,.cc-person-row:focus-within{background:var(--cc-bg-subtle,#f4f4ef)}
.cc-person-row:has(input:checked){background:var(--cc-bg-active-tint,#eef2f0);border-color:#c5d0c9}
.cc-person-check{display:flex;align-items:center;gap:7px;flex:1;min-height:38px;padding:6px;cursor:pointer;color:var(--cc-ink-primary,#141413);font-size:13px;line-height:1.35}
.cc-person-check input{flex:none;width:14px;height:14px;margin:0;accent-color:var(--cc-accent-primary,#1f3a32)}
.cc-person-check>span:not(.cc-person-count){flex:1;overflow-wrap:anywhere}
.cc-person-check input:focus-visible{outline:2px solid var(--cc-accent-border,#0f766e);outline-offset:3px}
:is(#cc-river-app,#cc-spotlight-app,.home,#bb-wrap) .cc-menu-compact.cc-menu-command .cc-person-row>.cc-person-only{flex:none;min-height:28px!important;padding:2px 4px!important;border:0;background:transparent;color:var(--cc-ink-muted,#71716b);font-size:10px!important}
.cc-person-count{flex:none;min-width:20px;color:var(--cc-ink-muted,#71716b);font-size:11px;text-align:right;font-variant-numeric:tabular-nums}
.cc-filter-slot{min-height:0;height:auto;padding:0 0 7px;box-sizing:border-box}
.cc-filter-slot:empty,.cc-filter-slot:not(:has(.cc-active-filters)){display:none}
.cc-active-filters{display:flex;flex-wrap:wrap;align-items:center;gap:5px;margin:0}
.cc-active-filters button{font:inherit;font-size:12px;cursor:pointer}
:is(#cc-river-app,#cc-spotlight-app,.home,#bb-wrap) .cc-active-filters .cc-filter-chip{display:inline-flex;align-items:center;gap:5px;min-height:26px!important;max-width:100%;padding:3px 8px;border:1px solid #c5d0c9;border-radius:9999px;background:var(--cc-bg-active-tint,#eef2f0);color:var(--cc-accent-primary,#1f3a32);font-size:12px;line-height:1.4;text-align:left;white-space:normal}
:is(#cc-river-app,#cc-spotlight-app,.home,#bb-wrap) .cc-active-filters .cc-filter-reset{padding:3px 5px;border:0;background:transparent;color:var(--cc-ink-muted,#71716b);font-size:12px;text-decoration:underline}
.cc-active-filters button:focus-visible{outline:2px solid var(--cc-accent-border,#0f766e);outline-offset:2px}
:is(#cc-river-app,#cc-spotlight-app) .cc-focus-map{border:0;background:transparent;box-shadow:none}
@media(max-width:640px){
 .cc-menu-command .cc-record-search{flex-basis:100%;height:40px;margin:0 0 2px}
 :is(#cc-river-app,#cc-spotlight-app,.home,#bb-wrap) .cc-menu-compact.cc-menu-command{padding:6px;gap:5px}
 :is(#cc-river-app,#cc-spotlight-app,.home,#bb-wrap) .cc-menu-compact.cc-menu-command>button{flex:1 1 auto;min-width:0;max-width:100%;min-height:38px!important;padding:6px 8px!important;font-size:12px!important;justify-content:center}
 :is(#cc-river-app,#cc-spotlight-app,.home,#bb-wrap) .cc-menu-compact.cc-menu-command .cc-command-more{grid-template-columns:1fr;gap:16px;padding:14px}
 .cc-person-list{grid-template-columns:1fr}
 .cc-person-roles{flex-basis:100%}
 .cc-person-check{min-height:40px}
}
/* Shared multi-select lists: the same rows in every filter pop-up. */
.cc-check-options{display:grid;gap:3px;width:100%}
.cc-filter-check{display:flex;align-items:center;gap:9px;min-height:40px;padding:7px 9px;border:1px solid transparent;border-radius:6px;cursor:pointer;color:var(--cc-ink-primary,#141413);font:400 13px/1.4 var(--sans)}
.cc-filter-check:hover{background:var(--cc-bg-subtle,#f4f4ef)}
.cc-filter-check:has(input:checked){background:var(--cc-bg-active-tint,#eef2f0);border-color:#b0c0b7}
.cc-filter-check input{flex:none;width:16px;height:16px;margin:0;accent-color:var(--cc-accent-primary,#1f3a32)}
.cc-filter-check input:focus-visible{outline:2px solid var(--cc-accent-border,#0f766e);outline-offset:3px}
.cc-filter-check:has(input:disabled){cursor:default;opacity:.55}
.cc-command-panel>.cc-check-options{width:100%}
.cc-choice-options{display:grid;gap:3px;width:100%}
:is(#cc-river-app,#cc-spotlight-app,.home,#bb-wrap) .cc-menu-compact.cc-menu-command .cc-choice-options>button{display:flex;width:100%;justify-content:flex-start;min-height:40px!important;padding:7px 9px!important;border-color:transparent;text-align:left}
.cc-menu-command .cc-menu-all-none{width:100%}

@media(max-width:640px){
 .cc-menu-command .cc-command-full{display:none}
 .cc-menu-command .cc-command-short{display:inline}
}
.cc-search-status{order:99;flex:1 0 100%;padding:2px 5px;color:var(--cc-ink-secondary,#4a4a46);font:400 12px/1.4 var(--sans)}

/* Keep Council's first paint in place while its record data arrives. */
#cc-river-app:not(:has(#council-breadcrumb)):before{content:"";display:block;height:18px}
#cc-river-app #council-menu:empty{display:block;height:52px;margin:12px 0 14px;border:1px solid var(--line,#e7e4dd);border-radius:9px;background:var(--card,#fff)}
#cc-river-app:not(:has(.cc-menu-command)) .river-workbench{visibility:hidden;min-height:60vh}
@media(max-width:640px){
 #cc-river-app .council-meta:empty{flex-basis:100%;height:19.5px}
 #cc-river-app #council-menu:empty{height:142px}
}

/* The topic filter gives space back to the record reader without changing filters. */
#cc-river-app[data-view=focus] .river-workbench>.river-workspace{grid-template-columns:minmax(0,var(--map-width,36%)) 20px minmax(0,1fr);gap:0}
#cc-river-app #topic-panel{grid-column:1}
#cc-river-app .map-toggle,#cc-river-app .mobile-topic-nav{display:none}
#cc-river-app .map-resizer{grid-column:2;align-self:stretch;min-height:160px;display:flex;align-items:center;justify-content:center;cursor:col-resize;touch-action:none;user-select:none;border-radius:6px;outline:none}
#cc-river-app .map-resizer>span{display:block;width:4px;height:36px;border-radius:8px;background:#b9c5c0;transition:background .15s,height .15s}
#cc-river-app .map-resizer:hover>span,#cc-river-app .map-resizer:focus-visible>span,#cc-river-app.resizing-map .map-resizer>span{background:#50605b}
#cc-river-app .map-resizer:focus-visible>span{height:72px;width:5px}
#cc-river-app.resizing-map .map-resizer>span{height:200px;max-height:70%;width:4px}
@media(prefers-reduced-motion:reduce){#cc-river-app .map-resizer>span{transition:none}}
#cc-river-app .evidence-dock{grid-column:3}
#cc-river-app.resizing-map{user-select:none}
#cc-river-app[data-map-mode=hidden] #topic-panel{display:none}
#cc-river-app[data-map-mode=pills] #focus-map{display:grid;gap:6px;height:auto!important;aspect-ratio:auto!important;max-height:calc(100dvh - 240px);overflow:auto;padding:0;background:none;border:0;box-shadow:none;border-radius:0}
#cc-river-app[data-map-mode=pills] .focus-pane{padding:10px}
#cc-river-app[data-map-mode=pills] .cc-focus-tile{position:relative!important;inset:auto!important;width:100%!important;height:auto!important;min-height:54px;justify-content:center;gap:3px;padding:9px 12px!important;border-radius:10px;font-size:13px!important}
#cc-river-app[data-map-mode=pills] .cc-tile-label{hyphens:none!important;overflow-wrap:normal!important}
#cc-river-app[data-map-mode=pills] .cc-tile-count{white-space:normal;font-size:11px}
#cc-river-app .motion[open] .preview-well{padding:0;background:none}
#cc-river-app .motion[open]>.motion-detail{padding-top:0}
#cc-river-app .evidence-body{padding:2px 12px 16px}
#cc-river-app .motion{margin:10px 0;border:1px solid #dedfd8;border-radius:10px;padding:0 12px;background:#fff}
#cc-river-app .motion>summary{border-radius:10px;background:transparent}
#cc-river-app .motion[open]{margin:10px 0;border-color:#71887d;border-left:3px solid #50685c;background:#fff;box-shadow:0 2px 7px #24372b0b}
#cc-river-app .motion[open]>summary{position:relative;top:auto;container-type:normal}
#cc-river-app .motion[open] .motion-text{display:block;-webkit-line-clamp:unset;overflow:visible}
#cc-river-app .motion-date .motion-stand{margin-left:6px;font-size:11px}
#cc-river-app .motion-votes{padding:12px 0;border-top:1px solid #e2e5de}
#cc-river-app .motion-source-row{display:flex;flex-wrap:wrap;align-items:center;gap:2px 12px;margin-top:6px}
#cc-river-app .motion-source-context{font-size:11px;color:#686d6a}
#cc-river-app .motion-source-row .motion-links{margin-top:0}
#cc-river-app .motion-links a{gap:4px}
:is(#cc-river-app,#cc-spotlight-app) .cc-category-tags{display:flex;flex-wrap:wrap;gap:5px;margin-top:8px}
:is(#cc-river-app,#cc-spotlight-app) .cc-category-tag{display:inline-block;padding:2px 6px;border-radius:4px;background:#f1f0eb;color:#525650;font-size:11px;line-height:1.5}
:is(#cc-river-app,#cc-spotlight-app) .cc-stand-tag{display:inline-block;padding:2px 6px;border-radius:4px;font-size:11px;line-height:1.4;font-weight:600}
/* A single title keeps its size and position as the rest of the record scrolls. */
#cc-river-app .motion>summary,#cc-river-app .motion[open]>summary{display:contents;position:static;container-type:normal}
#cc-river-app .motion>summary:after{display:none}
#cc-river-app .motion-date{display:flex;align-items:center;justify-content:space-between;flex-wrap:nowrap;gap:10px;margin:12px 0 3px}
#cc-river-app .motion-heading{display:flex;align-items:center;flex-wrap:nowrap;gap:5px 10px;padding:8px 0;background:#fff;border-top:1px solid #e2e5df}
#cc-river-app .motion-title{flex:1;min-width:0;display:block;overflow:hidden!important;text-overflow:ellipsis;white-space:nowrap!important;font-size:14px!important;line-height:1.4;border:0;background:none;padding:0;color:inherit;text-align:left;min-height:28px}
#cc-river-app .motion[open] .motion-title{white-space:normal!important;overflow:visible!important}
#cc-river-app .motion[open] .motion-heading{position:sticky;top:calc(var(--ev-top) + var(--ev-bar));z-index:3;background:#fff;border-bottom:1px solid #dce1da}
#cc-river-app .motion-heading [data-close-motion]{display:none}
#cc-river-app .motion-disclosure{width:60px;min-height:40px;display:flex;align-items:center;justify-content:flex-end;flex-shrink:0}
#cc-river-app .motion[open] .motion-disclosure{display:none}
#cc-river-app .motion[open] [data-close-motion]{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;min-height:40px;width:60px;padding:4px 8px;border:1px solid #d5ddd7;border-radius:6px;background:#fff;color:#354b41;font-size:12px}
#cc-river-app .motion-nav{position:sticky;top:calc(var(--ev-top) + var(--ev-bar) + var(--motion-heading-height,56px));z-index:2;display:flex;gap:14px;padding:5px 0;background:#fff;border-bottom:1px solid #dce1da}
:is(#cc-river-app .motion-nav,#cc-spotlight-app .sp-discussion-nav) button{border:0;padding:3px 0;background:none;color:#50605b;text-decoration:underline;text-underline-offset:3px;min-height:28px;font-size:12px}
#cc-river-app .motion-title:focus-visible{outline:2px solid #50605b;outline-offset:3px}
#cc-river-app .motion-text{margin:4px 0 12px;padding-top:9px;border-top:1px solid #e2e5df}
#cc-river-app .motion>.motion-detail{padding-top:10px}
:is(#cc-river-app,#cc-spotlight-app) .cc-stand-tag{background:#f0efea;color:#53564e;border:1px solid #e0e0d8;font-weight:500;margin-left:4px}
:is(#cc-river-app,#cc-spotlight-app) .ce-who .cc-stand-tag{vertical-align:middle}
:is(#cc-river-app,#cc-spotlight-app) .cc-category-tag{color:#4d5d53;background:none;padding:0;border-radius:0}
:is(#cc-river-app,#cc-spotlight-app) .cc-category-tags{display:flex;flex-wrap:nowrap;gap:8px;margin:0;align-items:center;min-width:0;max-width:100%;height:28px;font-weight:400}
:is(#cc-river-app,#cc-spotlight-app) .cc-category-list{display:flex;flex:0 1 auto;align-items:center;gap:8px;min-width:0;max-width:calc(100% - 36px);overflow-x:auto;white-space:nowrap;scrollbar-width:none;overscroll-behavior-x:contain}
:is(#cc-river-app,#cc-spotlight-app) .cc-category-tags:has([aria-expanded=true]) .cc-category-list{flex:1 1 auto}
:is(#cc-river-app,#cc-spotlight-app) .cc-category-tag{flex:none;white-space:nowrap}
:is(#cc-river-app,#cc-spotlight-app) .cc-category-list>.cc-category-tag{max-width:100%;overflow:hidden;text-overflow:ellipsis}
:is(#cc-river-app,#cc-spotlight-app) .cc-category-tags:has([aria-expanded=true]) .cc-category-list>.cc-category-tag{max-width:none;overflow:visible}
#cc-river-app .motion-date time{flex:none;white-space:nowrap;font-size:12px;color:#747973;font-variant-numeric:tabular-nums}
#cc-river-app .motion-date>.motion-result{flex:none;margin-left:auto;white-space:nowrap}
#cc-spotlight-app .sp-action-card>.cc-category-tags{margin:3px 16px 0;max-width:calc(100% - 32px)}
#cc-spotlight-app .sp-record-meta time{font-size:12px;color:#747973;white-space:nowrap;font-variant-numeric:tabular-nums}
:is(#cc-river-app,#cc-spotlight-app) :is(.cc-category-tag+.cc-category-tag,[data-extra-categories]>.cc-category-tag):before{content:"·";margin-right:8px;color:#87948c}
#cc-river-app .motion-date>.motion-result{margin-left:auto}
#cc-spotlight-app .sp-record-meta{display:flex;align-items:center;justify-content:space-between;flex-wrap:nowrap;gap:5px 10px;padding:12px 16px 0;font-size:11px;color:#686d6a}
#cc-spotlight-app .sp-record-meta>.sp-vote-result{flex:none;margin-left:auto;white-space:nowrap}
#cc-spotlight-app .sp-action-card,#cc-spotlight-app .sp-motion-view,#cc-spotlight-app .sp-motion-view .sp-motion-detail,#cc-spotlight-app .sp-motion-view .sp-dialog-head{background:#fff;border-color:#dedfd8}
#cc-spotlight-app .sp-action-open{background:transparent;border-top:1px solid #e2e5df;margin-top:8px}
#cc-spotlight-app .sp-action-open h3{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#cc-spotlight-app .sp-action-card>.cc-category-tags{border-bottom:1px solid #e2e5df;margin-bottom:9px}
#cc-spotlight-app .sp-motion-detail>.sp-record-meta{padding:0 0 12px}
:is(#cc-river-app,#cc-spotlight-app) [data-extra-categories]:not([hidden]){display:contents}
:is(#cc-river-app,#cc-spotlight-app) [data-categories-more]{flex:none;min-height:28px;min-width:28px;padding:2px 4px;border:0;background:none;color:#637067;font:inherit;font-size:11px;text-decoration:underline;text-underline-offset:3px}
#cc-spotlight-app .sp-card-content{padding:0 16px 12px}
#cc-spotlight-app .sp-open-label{border:0;padding:3px 0;background:none;font-size:12px}
#cc-spotlight-app .sp-dialog-head .sp-head-title{display:block!important;white-space:normal;font-size:14px;line-height:1.4;margin:0;flex:1}
#cc-spotlight-app .sp-detail-pane .sp-dialog-head{flex-wrap:wrap;container-type:normal;padding:8px 0;top:var(--sp-top)}
#cc-spotlight-app .sp-discussion-nav{display:flex;flex-basis:100%;gap:14px}
#cc-spotlight-app .sp-motion-detail>.cc-category-tags{margin-bottom:12px}
:is(#cc-river-app,#cc-spotlight-app){--yes:#506b5d;--yes-ink:#355442;--yes-tint:#eaf0eb;--no:#98635f;--no-ink:#794b47;--no-tint:#f6eeed;--absent-ink:#686d6a;--absent-tint:#f1f0eb;--sp-purple:#50605b;--sp-no-bar:#98635f}
:is(#cc-river-app,#cc-spotlight-app) .cc-chip.is-yes{background:var(--yes-tint);color:var(--yes-ink)}
:is(#cc-river-app,#cc-spotlight-app) .cc-chip.is-no{background:var(--no-tint);color:var(--no-ink)}
:is(#cc-river-app,#cc-spotlight-app) .ce-debate .ce-quote{border-left-color:#d8ded6}
:is(#cc-river-app,#cc-spotlight-app) .cc-discussion-heading{font-size:14px;margin:18px 0 10px;padding-top:12px;border-top:1px solid #d5ddd7}
#cc-river-app [data-record-section]{scroll-margin-top:calc(var(--ev-top) + var(--ev-bar) + 120px)}
#cc-spotlight-app [data-record-section]{scroll-margin-top:calc(var(--sp-top) + 120px)}
@media(max-width:1100px), (pointer:coarse){
 #cc-river-app .evidence-toggle{position:relative;top:auto;min-height:44px}
 #cc-river-app .motion[open] .motion-heading{top:var(--ev-top)}
 #cc-river-app .motion-nav{top:calc(var(--ev-top) + var(--motion-heading-height,56px))}
 #cc-river-app .motion-title{scroll-margin-top:calc(var(--ev-top) + 8px)}
}
@media(max-width:1100px), (pointer:coarse){
 #cc-river-app[data-view=focus] .river-workbench>.river-workspace{grid-template-columns:minmax(0,1fr)}
 #cc-river-app #topic-panel,#cc-river-app .map-resizer,#cc-river-app .evidence-dock{grid-column:1}
 #cc-river-app .map-resizer{display:none}
 #cc-river-app[data-view=focus] .evidence-dock{height:auto;min-height:0;max-height:none;overflow:visible}
 #cc-river-app[data-view=focus] .evidence-dock::after{display:none}
 #cc-river-app .focus-map{max-width:640px;margin-inline:auto}
 #cc-river-app{--ev-top:calc(var(--top-h,48px) + 45px)}
 #cc-river-app .mobile-topic-nav{display:flex;position:sticky;top:var(--top-h,48px);z-index:8;align-items:center;min-width:0;height:45px;margin-bottom:16px;background:#fff;border:1px solid var(--rv-line);border-radius:0 0 10px 10px;box-shadow:0 2px 3px #24372b08}
 #cc-river-app .mobile-topic-list{display:flex;flex:1;min-width:0;gap:5px;overflow-x:auto;scrollbar-width:none;padding:5px 8px;overscroll-behavior-x:contain}
 #cc-river-app .mobile-topic-list button{flex:none;max-width:112px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-height:33px;padding:5px 9px;border:1px solid transparent;border-radius:6px;background:#f2f4f0;color:#46574c;font-size:12px}
 #cc-river-app .mobile-topic-list button[aria-pressed=true]{background:#dde7df;border-color:#7f9788;color:#263e30}
 #cc-river-app .map-toggle{display:flex;align-items:center;justify-content:center;flex:none;width:44px;height:43px;padding:0;border:0;border-left:1px solid var(--rv-line);border-radius:0 0 10px 0;background:#fff;color:#354b41}
 #cc-river-app .map-toggle svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.5}
 #cc-river-app .map-toggle[aria-expanded=true] svg{transform:rotate(180deg)}
 #cc-river-app #topic-panel{margin-bottom:0;border-bottom:0;border-radius:10px 10px 0 0;scroll-margin-top:var(--top-h,48px)}
 #cc-river-app[data-map-mode=hidden] #topic-panel{display:none}
 #cc-river-app[data-map-mode=hidden] .mobile-topic-nav{border-radius:10px}
 #cc-river-app[data-map-mode=hidden] #topic-content{display:none}
}

#cc-river-app .cc-focus-tile .cc-tile-label,#cc-river-app .cc-focus-tile .cc-tile-count{flex-shrink:0}

#cc-spotlight-app .sp-detail-pane .sp-action-card{background:#fff}

/* Personal action strength uses text, borders and a restrained Yes/No tint. */
:is(#cc-river-app,#cc-spotlight-app,.home) .ce-chip[data-vote=yes]{--signal-rgb:53 91 70;--signal-ink:#355b46;--signal-heavy-ink:#244632}
:is(#cc-river-app,#cc-spotlight-app,.home) .ce-chip[data-vote=no]{--signal-rgb:139 73 67;--signal-ink:#8b4943;--signal-heavy-ink:#703d38}
:is(#cc-river-app,#cc-spotlight-app,.home) .ce-chip:is([data-vote=yes],[data-vote=no]){--signal-alpha:0;--signal-border:.1;background:rgb(var(--signal-rgb)/var(--signal-alpha));color:#68706b;border-color:rgb(var(--signal-rgb)/var(--signal-border));border-radius:999px;font-weight:400;box-shadow:none}
:is(#cc-river-app,#cc-spotlight-app,.home) .ce-chip:is([data-vote=yes],[data-vote=no])[data-signal="1"]{--signal-alpha:.015;--signal-border:.14;color:var(--signal-ink)}
:is(#cc-river-app,#cc-spotlight-app,.home) .ce-chip:is([data-vote=yes],[data-vote=no])[data-signal="2"]{--signal-alpha:.12;--signal-border:.42;color:var(--signal-ink);font-weight:600}
:is(#cc-river-app,#cc-spotlight-app,.home) .ce-chip:is([data-vote=yes],[data-vote=no])[data-signal="8"]{--signal-alpha:.28;--signal-border:.72;color:var(--signal-heavy-ink);font-weight:700}
:is(#cc-river-app,#cc-spotlight-app,.home) .ce-chip:has(>button[aria-pressed=true]){outline:1.5px solid var(--signal-ink,#50605b);outline-offset:2px}

/* Keep the councillor directory's first paint in the completed chart layout. */
#cc-spotlight-app .sp-directory-menu{box-sizing:border-box;display:flex;align-items:center;gap:8px;height:54px;padding:8px;border:1px solid #e2e2dc;border-radius:10px;background:#fff}
#cc-spotlight-app .sp-directory-menu>span{flex:1;height:36px;border-radius:6px;background:#f4f4ef}
#cc-spotlight-app .sp-directory-menu>i{width:82px;height:36px;border-radius:6px;background:#f4f4ef}
#cc-spotlight-app .sp-directory-row{display:flex;align-items:center;height:44px}
#cc-spotlight-app .sp-directory-row:before{content:"";width:36%;height:7px;border-radius:4px;background:#f1f1ec}
#cc-spotlight-app .sp-directory-row:after{content:"";width:42%;height:6px;margin-left:auto;border-radius:4px;background:#f1f1ec}
@media(max-width:760px){#cc-spotlight-app .sp-directory-menu{height:99px;flex-wrap:wrap}#cc-spotlight-app .sp-directory-menu>span{flex-basis:100%}#cc-spotlight-app .sp-directory-menu>i{flex:1}}
