/* One page format for every entity (round 3/4 template Daniel approved, 20/10/2026): place or project, official, organisation,
   instrument or ballot measure. Same sections, same order; a section with nothing in it is left out. Uses the site tokens (site.css, ds.css). */
.ent { max-width: 940px; }
.ent .kindl { font-size: 13px; color: var(--ink2); margin-top: 22px; }
.ent .who { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; margin-top: 6px; }
.ent .who.noimg { grid-template-columns: minmax(0, 1fr); }
.ent .who h1 { font-size: 34px; line-height: 1.15; margin: 0; } .ent .who .line { font-size: 17px; line-height: 1.5; margin-top: 10px; text-wrap: pretty; }
.ent .who figure { margin: 0; } .ent .who figure img { width: 100%; border-radius: var(--r-l); display: block; max-height: 240px; object-fit: cover; }
.ent .who figcaption { font-size: 11.5px; color: var(--ink3); margin-top: 5px; line-height: 1.4; }
.ent .src { font-size: 12.5px; color: var(--ink3); white-space: nowrap; } .ent .src a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.ent .weak { font-size: 12px; color: var(--ink3); }
.ent .facts { display: flex; flex-wrap: wrap; margin-top: 18px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.ent .facts > div { padding: 10px 22px 10px 0; margin-right: 22px; border-right: 1px solid var(--rule2); }
.ent .facts > div:last-child { border-right: 0; }
.ent .facts b { display: block; font-size: 21px; font-weight: 650; letter-spacing: -.01em; } .ent .facts span { font-size: 12.5px; color: var(--ink2); }
.ent h2.sec { font-size: 19px; margin: 40px 0 10px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; border: 0; padding: 0; }
.ent h2.sec .n { font-size: 13px; color: var(--ink3); font-weight: 400; } .ent h2.sec .sp { flex: 1; } .ent h2.sec a.all { font-size: 13.5px; font-weight: 500; }
.ent ul { list-style: none; padding: 0; margin: 0; }
.ent ul.short li { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 4px 14px; padding: 9px 0; border-bottom: 1px solid var(--rule2); font-size: 15px; line-height: 1.5; }
.ent ul.short .sdt { font-weight: 600; font-size: 13.5px; padding-top: 2px; } .ent ul.short .meta { font-size: 12.5px; color: var(--ink2); margin-top: 2px; }
.ent .askbox { margin-top: 30px; border: 1px solid var(--accent-line); background: var(--accent-wash); border-radius: var(--r-l); padding: 14px 16px; }
.ent .askbox label { display: block; font-weight: 650; font-size: 15px; margin-bottom: 8px; }
.ent .askbox .row { display: flex; border: 1px solid var(--ink3); border-radius: var(--r-l); background: var(--bg); overflow: hidden; }
.ent .askbox input { flex: 1; min-width: 0; border: 0; font: 15px var(--ui); padding: 11px 12px; outline: 0; background: var(--bg); color: var(--ink); }
.ent .askbox button { border: 0; background: var(--ink); color: var(--bg); font: 600 14px var(--ui); padding: 0 18px; cursor: pointer; }
.ent .askbox .ex { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; } .ent .askbox .ex a { font-size: 13px; padding: 4px 10px; border: 1px solid var(--accent-line); border-radius: 999px; background: var(--bg); }
.ent .askbox .how { font-size: 12.5px; color: var(--ink2); margin-top: 8px; }
.ent .tl { margin-top: 34px; padding: 12px 14px 8px; background: var(--bg2); border-radius: var(--r-l); user-select: none; -webkit-user-select: none; }
.ent .tl .top { display: flex; justify-content: space-between; font-size: 13px; flex-wrap: wrap; gap: 4px; } .ent .tl .top b { font-weight: 650; } .ent .tl .top span { color: var(--ink2); }
.ent .tl .top button { font: inherit; font-size: 12.5px; border: 0; background: none; color: var(--link); cursor: pointer; padding: 0 0 0 8px; }
.ent .bars { display: flex; align-items: flex-end; gap: 3px; height: 46px; margin-top: 8px; cursor: crosshair; touch-action: none; }
.ent .bars span { flex: 1; background: var(--accent); opacity: .8; border-radius: 1px 1px 0 0; min-height: 2px; }
.ent .bars.sel span { opacity: .25; } .ent .bars.sel span.on { opacity: .9; }
.ent .ax { display: flex; justify-content: space-between; font-size: 11px; color: var(--ink3); margin-top: 3px; } .ent .ax span { flex: 1; text-align: center; white-space: nowrap; overflow: hidden; }
.ent ul.rows li { padding: 9px 0; border-bottom: 1px solid var(--rule2); font-size: 14.5px; }
.ent ul.rows .meta { font-size: 12.5px; color: var(--ink2); } .ent ul.rows .meta > * + * { margin-left: 10px; }
.ent .st-d { color: var(--ok); } .ent .st-u { color: var(--ink3); }
.ent .bd { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 32px; }
.ent .bd h3 { font-size: 13.5px; margin: 0 0 6px; } .ent .note { margin-top: 6px; font-size: 12.5px; color: var(--ink2); }
.ent table.mini { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.ent table.mini td { padding: 5px 8px 5px 0; border-bottom: 1px solid var(--rule2); vertical-align: middle; }
.ent table.mini td.n { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ent ul.big li { padding: 8px 0; border-bottom: 1px solid var(--rule2); font-size: 14px; } .ent ul.big .now { font-size: 12.5px; color: var(--ink3); } .ent ul.big .meta { font-size: 12.5px; color: var(--ink2); } .ent .bd .wide { grid-column: 1 / -1; }
.ent .vbar { display: flex; height: 12px; border-radius: 3px; overflow: hidden; margin: 4px 0 6px; background: var(--bg3); } .ent .vbar .y { background: var(--ok); } .ent .vbar .no { background: var(--no); } .ent .vbar .ab { background: var(--rule); }
.ent .vkey { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12.5px; color: var(--ink2); }
.ent .months { display: grid; gap: 3px; height: 60px; margin-top: 8px; }
.ent .months div { display: flex; flex-direction: column-reverse; height: 100%; } .ent .months i { display: block; } .ent .months .y { background: var(--ok); } .ent .months .no { background: var(--no); } .ent .months .ab { background: var(--rule); }
.ent .graph { border: 1px solid var(--rule); border-radius: var(--r-l); padding: 6px 8px 8px; } .ent .graph .cap { font-size: 12.5px; color: var(--ink2); padding: 2px 4px 0; margin: 0; }
.ent .graph svg { display: block; } .ent .graph svg text { font-family: var(--ui); }
.ent .graph .lab { fill: var(--ink); paint-order: stroke; stroke: var(--bg); stroke-width: 4px; }
.ent .graph .sub { fill: var(--ink2); paint-order: stroke; stroke: var(--bg); stroke-width: 4px; }
.ent .graph .tie { fill: #8a4a1f; paint-order: stroke; stroke: var(--bg); stroke-width: 4px; }
.ent .graph .ctr { fill: #fff; } .ent .graph a:hover .lab { fill: var(--link-h); }
.ent .ph-only { display: none; }
.ent .graph ul.ties { font-size: 12.5px; color: #8a4a1f; padding: 4px 4px 0; } .ent .graph ul.ties li { padding: 1px 0; }
.ent .conn { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 16px; }
.ent .conn h3 { font-size: 12.5px; color: var(--ink2); margin: 0 0 4px; } .ent .conn li { padding: 7px 0; border-bottom: 1px solid var(--rule2); font-size: 14px; }
.ent .conn li .r { display: block; font-size: 12.5px; color: var(--ink2); } .ent .conn details summary { margin-top: 6px; font-size: 12.5px; color: var(--link); cursor: pointer; }
.ent .arch { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ent .arch li { font-size: 13.5px; } .ent .arch .th { position: relative; height: 120px; border: 1px solid var(--rule); background: var(--bg2); overflow: hidden; display: flex; align-items: center; justify-content: center; border-radius: 4px; }
.ent .arch .th img { width: 100%; height: 100%; object-fit: cover; } .ent .arch .th iframe { width: 100%; height: 100%; border: 0; }
.ent .arch .play { position: absolute; left: 6px; bottom: 6px; background: rgba(0,0,0,.72); color: #fff; font-size: 11px; padding: 1px 6px; border-radius: 3px; border: 0; cursor: pointer; }
.ent .arch .k { font-size: 12px; color: var(--ink2); margin-top: 6px; } .ent .arch .c { font-size: 12px; color: var(--ink3); }
.ent .pages { display: flex; gap: 10px; align-items: flex-start; flex-wrap: wrap; } .ent .pages a { width: 84px; font-size: 11.5px; color: var(--ink2); } .ent .pages img { width: 84px; height: 110px; object-fit: cover; object-position: top; border: 1px solid var(--rule); display: block; margin-bottom: 3px; background: var(--bg2); }
.ent .hidden { display: none !important; }
.ent .filt { font-size: 12.5px; color: var(--ink2); margin: -4px 0 8px; }
@media (max-width: 760px) {
  .ent .who { grid-template-columns: 1fr; gap: 14px; } .ent .who figure { order: -1; } .ent .who h1 { font-size: 28px; } .ent .who .line { font-size: 16px; }
  .ent .facts { display: grid; grid-template-columns: 1fr 1fr; } .ent .facts > div { padding: 8px 10px 8px 0; margin-right: 0; border-right: 0; } .ent .facts b { font-size: 18px; }
  .ent ul.short li { grid-template-columns: 1fr; gap: 0; } .ent .conn { grid-template-columns: 1fr; gap: 14px; } .ent .bd { grid-template-columns: 1fr; }
  .ent .arch { grid-template-columns: 1fr 1fr; } .ent .arch li:nth-child(3) { display: none; } .ent .desk-only { display: none; } .ent .ph-only { display: block; }
}
.ent .bd > div, .ent .conn > div { min-width: 0; } .ent ul.big li, .ent ul.rows li, .ent ul.short li { overflow-wrap: anywhere; }

/* 20/10 evening: simpler page (Daniel): small ask box after In short, everything else folded */
.ent .askbox.small { margin-top: 22px; padding: 10px 12px; max-width: 620px; } .ent .askbox.small label { font-size: 13.5px; margin-bottom: 6px; }
.ent .askbox.small input { padding: 8px 10px; font-size: 14px; } .ent .askbox.small .ex a { font-size: 12px; padding: 2px 8px; } .ent .askbox.small .how { font-size: 11.5px; }
.ent details.more { margin-top: 44px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.ent details.more > summary { cursor: pointer; font-size: 17px; font-weight: 600; padding: 14px 0; list-style-position: outside; }
.ent details.more .more-in { padding-bottom: 22px; } .ent h3.msec { font-size: 15px; margin: 18px 0 6px; } .ent h3.msec .n { font-size: 12.5px; color: var(--ink3); font-weight: 400; }

/* graph, 20/10 night: grouped, two ties, chips, no truncation; lists name left, role right on one line */
.ent .graph .grp { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; fill: var(--ink3); font-weight: 600; }
.ent .graph .lab { font-size: 13px; font-weight: 500; } .ent .graph .sub { font-size: 11.5px; } .ent .graph .ctr { font-size: 13px; font-weight: 600; }
.ent .graph .chip { fill: var(--bg); stroke: #e3b79a; stroke-width: 1; } .ent .graph .tie { font-size: 11px; fill: #8a4a1f; stroke: none; }
.ent .graph { padding: 14px 10px 10px; } .ent .graph .cap { padding: 6px 6px 0; }
.ent .conn li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.ent .conn li .nm { min-width: 0; } .ent .conn li .r { display: inline; white-space: nowrap; text-align: right; flex: none; }
@media (max-width: 760px) { .ent .graph.desk-only { display: none; } }

.ent .acc { border-top: 1px solid var(--rule); } .ent .acc details { border-bottom: 1px solid var(--rule); }
.ent .acc summary { list-style: none; cursor: pointer; display: flex; align-items: baseline; gap: 0; padding: 13px 2px; font-size: 15px; }
.ent .acc summary::-webkit-details-marker { display: none; } .ent .acc summary .t { font-weight: 600; } .ent .acc summary .s { color: var(--ink2); }
.ent .acc summary .chev { margin-left: auto; color: var(--ink3); font-size: 18px; line-height: 1; transition: transform .15s; }
.ent .acc details[open] summary .chev { transform: rotate(90deg); } .ent .acc .in { padding: 0 2px 18px; } .ent .acc summary:hover .t { color: var(--link-h); }
.ent .acc summary .s { margin-left: 5px; }
