/* Parliament follows the approved Diplomacy map-first layout. */
.workspace{display:block}
.worldmap{height:clamp(300px,50vh,570px)}
.map-column>.toolbar{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 0}
.map-column>.toolbar .search{flex:1 1 220px}
.map-column>.toolbar .picker{flex:1 1 220px;max-width:340px}
.map-column>.toolbar input,.map-column>.toolbar select{height:44px;font-size:16px}
#filter-summary{margin:7px 0 0;min-height:1.7em}
.legend{gap:13px;padding-top:9px}
.legend .available{background:#43ad75}
.legend .selected{background:#bda0ed;border:2px solid #fff}
.legend .border-key{background:transparent;border:2px solid #fff}
.countries path,.countries path.covered,.countries path.public,.countries path:hover,.countries path.active{stroke:#fff;stroke-opacity:1;vector-effect:non-scaling-stroke}
.countries path.covered:not(.active){fill:#43ad75}
.countries path.active{fill:#bda0ed;stroke-width:2.6}
/* Keep focus on the country border without a rectangular browser outline. */
.countries path:focus{outline:none}
.countries path:focus-visible{stroke:#fff;stroke-width:3;outline:none}
.clear-country{position:absolute;left:12px;top:42px;z-index:3;min-height:44px;padding:8px 12px;background:#172934;color:#fff;border:1px solid #79909e;border-radius:6px;font-size:14px}
.clear-country:hover:not(:disabled){background:#2d4356}
.clear-country:disabled{opacity:.5}
.edition-compact{flex-wrap:wrap;white-space:normal;margin-bottom:12px}
.country-dialog{width:min(1000px,94vw);max-height:90dvh;padding:0;border:1px solid #637a8d;border-radius:12px;background:#101b24;color:var(--text);overscroll-behavior:contain}
.country-dialog::backdrop{background:rgba(0,6,13,.78);backdrop-filter:blur(4px)}
.country-dialog .dialog-close{position:sticky;top:0;z-index:4;display:flex;justify-content:flex-end;background:#101b24f5;padding:8px 12px;border-bottom:1px solid var(--line)}
.dialog-close #close-country{width:44px;height:44px;min-width:44px;font-size:30px;line-height:1;padding:0;border:1px solid #596c80;border-radius:8px;background:#1c2b39;color:#fff}
.country-dialog .dossier{border:0;padding:20px 28px 28px;min-height:0}
.country-dialog .dossier h2{margin:8px 0 12px;font-size:32px}
.country-dialog .dossier p{font-size:16px}
.country-dialog .dossier .source-note,.country-dialog .dossier .review{font-size:13px!important}
.country-dialog .dossier h2,.country-dialog .badge,.country-dialog p{overflow-wrap:anywhere}
.country-institution{font-size:18px!important}
.profile-section{margin-top:22px;padding-top:14px;border-top:1px solid var(--line)}
.profile-section>h3{margin:0 0 12px!important;font-size:15px!important}
.institutional-status,.coverage-note{padding:12px;background:#172430;border:1px solid #3a4e61}
.country-dialog .source-link{font-size:16px}
.country-dialog .source-link small{font-size:13px}
body:has(dialog[open]){overflow:hidden}
@media(max-width:700px){
 .worldmap{height:300px;min-height:260px}
 .map-column>.toolbar .search{flex-basis:100%}
 .map-column>.toolbar .picker{flex:1 1 145px;max-width:none}
 .country-dialog .dossier{padding:14px 16px 24px}
 .country-dialog .dossier h2{font-size:27px}
 .clear-country{left:10px;font-size:13px}
 .map-meta{font-size:10px;letter-spacing:.4px}
 .map-note{font-size:11px}
}
@media(prefers-reduced-motion:reduce){.country-dialog{scroll-behavior:auto}}
@media print{
 .country-dialog:not([open]){display:none}
 .country-dialog[open]{position:static;max-height:none;width:auto;overflow:visible}
 .clear-country,.country-dialog .dialog-close{display:none}
 .profile-section{break-inside:avoid}
}

.compact-section{border:1px solid var(--line,#34424f);border-radius:12px;margin:12px 0;padding:14px 18px}.compact-section>summary{cursor:pointer;font-weight:700;display:list-item}.compact-section>summary .smallprint{margin-left:12px}.compact-section .registry{padding-top:12px}.compact-section .record-grid{max-height:350px;overflow:auto}.news-tools{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin:14px 0}.news-tools label{display:grid;gap:5px}.news-tools select{max-width:100%;min-width:190px}.news-list{max-height:350px;overflow:auto;margin:10px 0}.news-item{border-bottom:1px solid #34424f;padding:12px 6px}.news-item p{margin:6px 0}.news-item a{font-weight:600}.compact-section button,.compact-section select{padding:8px;border:1px solid #536474;border-radius:7px;background:#14222e;color:#f2f6fa}



/* Compact disclosure headings retain native details keyboard and expanded-state semantics. */
.compact-section>summary{display:flex;align-items:center;gap:10px;list-style:none;min-height:24px}
.compact-section>summary::-webkit-details-marker{display:none}
.compact-section>summary::marker{content:""}
.compact-section>summary .section-icon{flex:0 0 auto;font-size:20px}
.compact-section>summary .section-chevron{margin-left:auto;transition:transform .15s;line-height:1;font-size:22px}
.compact-section[open]>summary .section-chevron{transform:rotate(180deg)}
.compact-section>summary:focus-visible{outline:3px solid #c6a6f6;outline-offset:5px}
#coverage-baseline .metrics{margin-top:14px}
.world-masthead .publication-policy .advertising-policy{margin:2px 0 0;color:#ff6262;font:700 14px/1.3 Arial,Helvetica,sans-serif;letter-spacing:.15px;text-align:center}
@media(prefers-reduced-motion:reduce){.compact-section>summary .section-chevron{transition:none}}

.map-intro #subtitle{color:#ff6262}
.coverage-details{margin-top:14px;color:#a5b7c7;font-size:13px;line-height:1.6}
.coverage-details #limitation{margin:0 0 10px;color:inherit;border-color:var(--line);background:#101b24}
.coverage-details p{margin:10px 0}

/* Dated source review stays separate from constitutional/institutional records. */
.source-review-summary{padding:12px 14px;margin:4px 0 18px;background:#15232e;border:1px solid #3b5265;border-radius:8px}
.source-review-summary h3{margin:0 0 8px;color:#d9c6f5;font-size:16px}
.source-review-summary p{font-size:13px;line-height:1.6;margin:8px 0;overflow-wrap:anywhere}
.source-downloads{display:flex;gap:10px 20px;flex-wrap:wrap}
.source-downloads a{display:inline-block;min-height:32px;padding:5px 0}
.source-review{border-top-color:#695480}
.source-review>h3{color:#dfcafa}
.source-review-group{margin:18px 0}
.source-review-group h4{font-size:14px;margin:0 0 8px;letter-spacing:.15px}
.source-review-group h4 span{margin-left:6px;color:#9eacb8;font-weight:400}
.source-review-group ul{list-style:none;padding:0;margin:0;display:grid;gap:10px}
.source-review-group li{padding:12px;background:#172735;border:1px solid #354c60;border-radius:7px;overflow-wrap:anywhere}
.source-review-link{font-size:15px;font-weight:650;line-height:1.5;display:inline-block}
.source-review-meta,.source-review-note,.source-review-evidence,.source-review-empty{font-size:13px!important;line-height:1.55!important;margin:6px 0!important}
.source-review-meta{color:#b7a0d4}
.source-review-note{color:#c1ced8}
.source-review-notes summary{font-size:13px;cursor:pointer;color:#c7b4e0;padding:7px 0}
.source-review-empty,.source-held{color:#aab9c6}
.source-review-evidence a{font-size:12px}
.source-review-compact .source-review-link{font-size:14px}
.source-review-extras{border-top:1px solid #695480;padding-top:18px;margin-top:24px}
.source-review-extras>article{margin:22px 0}
.record .record-source-count{font-size:11px;color:#c5afdf;margin-top:3px;white-space:normal}
@media(min-width:900px){.country-dialog .source-review-group ul{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.source-review-summary{padding:10px}.source-review-group li{padding:10px}}

/* Source destinations stay visible independently of the institution name. */
.source-destination{display:block;font-size:12px!important;font-weight:400;line-height:1.5;color:#bdc9d3;overflow-wrap:anywhere;margin-top:3px}
.source-held>small{display:block;font-size:12px;line-height:1.5;margin-top:3px}

/* Four readable rows fit beside the title and subtitle, above the unchanged map. */
.map-intro{position:relative}
.map-intro .map-heading,.map-intro #subtitle{padding-right:270px}
.source-coverage{position:absolute;right:0;top:10px;width:250px;display:grid;gap:0}
.source-coverage>button{display:flex;align-items:center;justify-content:space-between;gap:8px;height:18px;min-height:0;width:100%;padding:0;border:0;background:transparent;color:var(--muted);text-align:left;font-size:13px;line-height:18px;white-space:nowrap}
.source-coverage>button:hover{color:#fff;text-decoration:underline}
.source-coverage>button:focus-visible{outline-offset:1px}
.source-coverage strong{font-size:13px;font-variant-numeric:tabular-nums;color:#bda0ed}
.source-coverage>button:first-child strong{color:#7cd6a3}
.source-coverage>button[data-dialog="source-missing-dialog"] strong{color:#e8b980}
.source-coverage .feed-count strong{color:#7cd6a3}
.source-list-dialog{width:min(540px,94vw);max-height:85dvh;padding:0 22px 24px;border:1px solid #637a8d;border-radius:12px;background:#101b24;color:var(--text);overscroll-behavior:contain}
.source-list-dialog::backdrop{background:rgba(0,6,13,.78)}
.source-list-dialog .dialog-close{position:sticky;top:0;background:#101b24;padding:12px 0;display:flex;justify-content:flex-end}
.source-list-dialog h2{font-size:21px;line-height:1.4;margin:6px 0 16px}
.source-list-dialog ol{margin:0;padding-left:32px}
.source-list-dialog li{padding:7px 0 7px 5px;overflow-wrap:anywhere;border-bottom:1px solid #263747}
.source-list-dialog li::marker{color:#bda0ed;font-variant-numeric:tabular-nums}
.feed-country-count{float:right;color:#7cd6a3;font-variant-numeric:tabular-nums}
#source-updates .updates-content{padding-top:14px}
#source-updates .feed-directory-summary{font-size:13px;line-height:1.6;margin-bottom:18px}
@media(min-width:701px) and (max-width:1000px){.map-intro #subtitle{font-size:13px}.map-intro .map-heading,.map-intro #subtitle{padding-right:242px}.source-coverage{width:228px}.source-coverage>button,.source-coverage strong{font-size:12px}}
@media(max-width:700px){.map-intro .map-heading{font-size:clamp(16px,4.6vw,25px);padding-right:178px}.map-intro #subtitle{padding-right:0}.source-coverage{top:0;width:164px}.source-coverage>button{height:12px;line-height:12px;font-size:10px;gap:5px}.source-coverage strong{font-size:10px}}
