/*! ©111101.net — all rights reserved */
/* Municipal Elections 2016: the two stories and their cover in the squares (owner chose mock-up A "the ballot boxes",
   30 Oct 2026; v3.js "Municipal Elections 2016"; B "the tally" is kept in _maintenance/mockups/v3/muni-ab/) */

/* the plain head and V2's two-line index give way to the project's own */
#stage.has-mu-head .w-head, #stage.mu-on .index { display: none !important; }
#stage.mu-on[data-state="icons2"] { --tr: #fff !important; --br: #fff !important; --bl: #F4F4F1 !important; }

.mu-head[hidden], .mu-side[hidden], .mu-cover[hidden] { display: none !important; }
.mu-head { position: absolute; inset: 0; z-index: 2; overflow: hidden; color: #141414; font: 11px/1.45 var(--font); animation: fade-in .4s ease-out both; }
.mu-kind { font-size: 10px; letter-spacing: .12em; color: var(--sec); }
.mu-title { margin: 6px 0 0; font: bold 26px/1.15 var(--font); letter-spacing: -.01em; color: #141414; }
.mu-head.is-cover .mu-title { font-size: 34px; }
.mu-title.is-clamped { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mu-sub { margin-top: 5px; font-size: 12px; line-height: 1.4; color: #444; }
.mu-credit { margin-top: 8px; font-size: 10px; color: #888; }

/* the words beside the boxes: the point's title at the top, the key and what the pointer rests on standing on the axis */
.mu-text { position: absolute; display: flex; flex-direction: column; min-width: 0; overflow: hidden; }
.mu-notes { flex: 1 1 auto; min-height: 0; max-width: 820px; margin-top: 10px; overflow: hidden; color: #333; font-size: 12.5px; line-height: 1.6; }
.mu-notes p { margin: 0 0 4px; }
.mu-keyline { flex: none; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 14px; margin-top: auto; padding-top: 8px; }
.mu-tell { font-size: 10px; letter-spacing: .06em; color: #888; }
.mu-key { display: flex; flex-wrap: wrap; gap: 2px 12px; font-size: 10px; }
.mu-chip { display: inline-flex; align-items: center; gap: 5px; cursor: default; white-space: nowrap; }
.mu-chip i { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.mu-chip-n { color: #999; font-size: 9px; }
.mu-chip:hover { color: var(--orange); }
.mu-line { flex: none; display: flex; flex-direction: column; min-height: 46px; margin-top: 8px; padding-top: 6px; border-top: 1px solid #e2e2e2; font-size: 10px; line-height: 1.45; color: #666; }
.mu-line b { color: #141414; }
.mu-line span, .mu-line b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mu-line .mu-hint { color: #aaa; }

/* low, once the page is read down: the title on fewer lines, what the pointer rests on in one or two lines */
.mu-head.is-compact .mu-title { font-size: 20px; }
.mu-head.is-compact .mu-sub { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mu-head.is-compact .mu-line { flex-direction: row; flex-wrap: wrap; column-gap: 12px; min-height: 0; max-height: 36px; overflow: hidden; }
.mu-head.is-compact .mu-disc { cursor: pointer; }
.mu-text.is-tight :is(.mu-sub, .mu-tell) { display: none; }

/* the boxes and the words travel with the cross (0.8s), to the size they will have when it arrives */
.mu-disc { position: absolute; transition: top .8s var(--ease-cross), width .8s var(--ease-cross), height .8s var(--ease-cross); }
.mu-head .mu-text { transition: left .8s var(--ease-cross), height .8s var(--ease-cross); }
.mu-side { transition: top .8s var(--ease-cross), max-height .8s var(--ease-cross); }
#stage.no-anim :is(.mu-disc, .mu-text, .mu-side) { transition: none !important; }
.mu-svg { display: block; width: 100%; height: 100%; overflow: visible; }
.mu-svg circle { transform-box: view-box; transform-origin: 0 0; transition: transform .9s var(--ease-cross), fill var(--tint, .4s) linear, opacity .2s linear; cursor: default; }
.mu-head.is-compact .mu-svg circle { cursor: pointer; }
.mu-svg.is-pick circle:not(.on) { opacity: .1; }
.mu-svg circle.is-over { stroke: #141414; stroke-width: 1.5px; vector-effect: non-scaling-stroke; }

/* the cover: the boxes large in the body, the areas beside them */
.mu-cover { position: absolute; z-index: 9; overflow: hidden; background: #fff; animation: fade-in .4s ease-out both; }
.mu-cover .mu-disc { transition: none; }
.mu-cover-side { position: absolute; display: flex; flex-direction: column; font: 11px/1.45 var(--font); color: #333; }
.mu-cover-side .mu-key { flex-direction: column; gap: 3px; margin: 10px 0 14px; font-size: 11px; }
.mu-cover-side .mu-chip { justify-content: flex-start; }
.mu-cover-side .mu-chip i { width: 11px; height: 11px; }
.mu-cover-side .mu-chip-t { min-width: 120px; }
.mu-cover-side .mu-line { min-height: 64px; white-space: normal; }
.mu-cover-side .mu-line span, .mu-cover-side .mu-line b { white-space: normal; }

/* the bottom-left square (owner chose A "the block" of two mock-ups, 30 Oct 2026; B is in _maintenance/mockups/v3/
   muni-ab/): the reports and their points, the filters, then the notes and sources; it scrolls without a bar, its foot fading while there is more below */
.mu-side { position: absolute; z-index: 26; overflow: auto; scrollbar-width: none; color: #333; font: 11px/1.45 var(--font); animation: fade-in .4s ease-out both; }
.mu-side::-webkit-scrollbar { display: none; }
.mu-side.is-more { -webkit-mask-image: linear-gradient(#000 calc(100% - 28px), transparent); mask-image: linear-gradient(#000 calc(100% - 28px), transparent); }
.mu-t { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mu-bl-kind { margin: 0 0 6px; color: var(--sec); font-size: 10px; letter-spacing: .12em; }
.mu-bl-notes p { margin: 0 0 8px; color: #222; font-size: 12px; line-height: 1.55; }
.mu-src { margin-top: 14px; color: #8a8a8a; font-size: 10px; line-height: 1.5; }
.mu-src div + div { margin-top: 3px; }
.mu-select { width: 100%; height: 26px; font: 11px var(--font); color: #222; }

/* the block: Visual Politics' menu C (v3.css .vpm[data-design="c"]): a black band, square buttons two to a row with
   lines between them, the open one dark, a 24px black strip along the axis; 24px high here, words 11px */
.mu-bl-foot { padding: 16px 38px 8px 14px; }
.mub { padding-right: 24px; background: #000; }
.mub-title { height: 24px; padding: 0 8px; color: #fff; font: bold 12px/24px var(--font); letter-spacing: .06em; }
.mub-grid { display: grid; grid-template-columns: 1fr 1fr; }
.mub-i { display: flex; align-items: center; gap: 6px; min-width: 0; height: 24px; padding: 0 8px; border: 0; box-shadow: inset -1px -1px 0 #333; background: #fff; color: #333;
  font: 11px/1 var(--font); text-align: left; cursor: pointer; }
.mub-i.wide { grid-column: span 2; }
.mub-n { flex: none; color: #999; font-size: 9px; }
.mub-i:hover { color: var(--orange); }
.mub-i:hover .mub-n { color: var(--orange); }
.mub-i.on { background: #333; color: #fff; }
.mub-i.on .mub-n { color: #bbb; }
/* the two reports (owner, 30 Oct 2026): the other one dark grey, the open one in the project's own red, the ground of
   its V2 banner (Projects/images/municipal-elections.gif), as Visual Politics' open volume takes its red; words white */
.mub-v { justify-content: center; background: #4A4A4A; color: #fff; box-shadow: inset -1px -1px 0 #222; }
.mub-v:hover { color: #FFD9A0; }
.mub-v.on { background: #AB292A; font-weight: bold; cursor: default; }
.mub-v.on:hover { color: #fff; }
.mub-band { height: 22px; padding: 0 8px; background: #e6e6e6; box-shadow: inset 0 -1px 0 #333; color: #333; font: bold 10px/22px var(--font); letter-spacing: .06em; }
.mub-sw i, .mub-key i { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.mub-sw.off { background: #f3f3f3; color: #a8a8a8; }
.mub-sw.off i { background: transparent; box-shadow: inset 0 0 0 1px #bbb; }
.mub-sw.mu-all { font-weight: bold; }
.mub-sw.mu-all.some { color: #777; }
.mub-key { cursor: default; }
.mub-key:hover { color: #333; }
.mub-cell { padding: 4px 8px; background: #fff; box-shadow: inset 0 -1px 0 #333; }
.mub-cell svg { display: block; overflow: visible; font: 10px var(--font); }


