/* Interface B. As regras são limitadas a esta cópia de comparação. */
body{display:flex;flex-direction:column;height:100dvh;overflow:hidden}
body>header{flex:0 0 auto;min-height:104px!important;padding:10px 22px!important;grid-template-columns:76px minmax(0,1fr) 210px!important;gap:14px;border-width:5px!important}
body>header .header-crest{width:68px;height:68px}
body>header h1{font-size:clamp(28px,2.5vw,43px)!important;margin:2px 0!important;line-height:1.12!important}
body>header .kicker{font-size:13px!important;letter-spacing:.8px!important}
body>header p{font-size:13px!important;line-height:1.35!important}
body>header .head-note{font-size:12px!important;padding:7px!important}
.version-badge{display:block;font:10px/1.4 Times New Roman,sans-serif;color:#f0cb7b;border-top:1px solid #b28a4c;padding-top:5px;margin-top:5px}
.layout{flex:1 1 auto;height:auto!important;min-height:0!important;overflow:hidden;grid-template-columns:clamp(260px,20vw,320px) minmax(0,1fr)!important}
.main{min-height:0;grid-template-columns:minmax(0,1fr) clamp(200px,17vw,280px)!important}
.mapwrap{height:clamp(380px,58vh,620px)!important;min-height:380px!important}
.layout>aside{padding:15px 13px!important;min-height:0}
.layout>aside h2{font-size:24px!important}
.layout>aside .toggles{gap:8px!important;margin:13px 0!important;font-size:14px!important}
.layout>aside .subhead{font-size:12px!important;margin:10px 0!important}
.catalog-help{font:13px/1.5 Georgia,serif;margin:10px 0;border-bottom:1px solid #c7ad7c;padding-bottom:10px}
.catalog-help summary{cursor:pointer;color:#6d4c2b;font-weight:bold}
.catalog-help .hint{margin-bottom:0;font-size:12px!important}
.catalog-tabs{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin:8px 0}
.catalog-tabs button{padding:10px 7px;background:#e5d2ab;border:1px solid #b29460;font:700 14px Times New Roman,sans-serif;color:#614a2c;cursor:pointer;border-radius:4px 4px 0 0}
.catalog-tabs button[aria-selected=true]{background:#123b52;color:#ffedc6;border-color:#123b52}
.catalog-tabs span{font-size:11px;opacity:.8}
.catalog-panel[hidden]{display:none!important}
.catalog-panel .groups{padding-bottom:0}
.place-navigation{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:5px;align-items:center;margin:8px 0 12px;padding:8px 0;border-bottom:1px solid #c6ab78}
.place-navigation button{font:12px Georgia,serif;border:1px solid #b49762;background:#fff3d8;color:#563e23;padding:7px 6px;cursor:pointer;border-radius:3px;white-space:nowrap}
.place-navigation button:disabled{opacity:.45;cursor:default}
.navigation-status{text-align:center;font:11px/1.4 Times New Roman,sans-serif;color:#6a5335}
.place small{font-size:12px!important}.group{font-size:15px!important}
.fullscreen-place small{display:block;font:10px Times New Roman,sans-serif;text-transform:uppercase;color:#856b47;margin-bottom:4px}
.main.art-collapsed{grid-template-columns:minmax(0,1fr) 0!important}
.main.art-collapsed .art-rail{display:none!important}
.mapwrap:fullscreen #toggle-art{display:none}
.art-placeholder img,.people-art img{max-height:390px!important;object-fit:contain!important}
.art-placeholder p,.art-text small{font-size:13px!important;line-height:1.5!important}
.art-placeholder h3,.art-text b{font-size:22px!important}
.ibn-button{font-size:16px!important}
.legend{max-width:min(430px,65%);font-size:12px!important;line-height:1.6!important;padding:8px 11px}
.legend[hidden]{display:none!important}
.people-legend{display:inline-block;width:14px;height:14px;border:2px dashed #8d6840;border-radius:50%;background:#c6a87555;vertical-align:middle}
.legend-heat b{font-size:12px}.legend-heat small{display:block;font-size:11px}
.legend-scale{display:flex;gap:2px;margin:5px 0}.legend-scale span{flex:1;min-width:35px;text-align:center;font:10px Times New Roman,sans-serif;color:white;text-shadow:0 1px 2px #000;padding:4px 1px}
.detail{padding:20px 24px!important}
.detail h2{font-size:30px!important}.detail p{font-size:16px!important;line-height:1.65!important}
.fiche-section{margin:17px 0;padding-top:13px;border-top:1px solid #c6ab78}
.fiche-section>h3{font:700 13px Times New Roman,sans-serif;text-transform:uppercase;letter-spacing:1px;color:#886331;margin:0 0 10px}
.fiche-section .historical-context{border:0;padding:0;margin:0}.fiche-section .historical-context h3{font-size:21px}
.fiche-sources{padding:12px 15px;border:1px solid #c5ad80;background:#ece0c6;margin-top:18px}
.fiche-sources summary{cursor:pointer;font:700 14px Georgia,serif;color:#654923}.fiche-sources p{font-size:13px!important}
.version-footer{font:11px/1.5 Times New Roman,sans-serif;margin:8px 0 0;color:#796247}
.volga-reference{display:grid;grid-template-columns:minmax(190px,45%) minmax(0,1fr);gap:18px;align-items:center;margin:0;padding:20px 24px;background:#eee0c0;border-top:4px double #b28c50}
.volga-reference img{display:block;width:100%;max-height:360px;object-fit:contain;border:4px double #b49359;background:#efe4cc}
.volga-reference figcaption{font:16px/1.6 Georgia,serif;color:#5c4329}.volga-reference figcaption b{font-size:23px;font-weight:normal}.volga-reference small{display:block;font-size:12px}.volga-reference a{color:#174d67}
button:focus-visible,summary:focus-visible,input:focus-visible{outline:3px solid #267492;outline-offset:3px}
@media(min-width:851px) and (max-width:1149px){.main{display:flex!important;flex-direction:column}.mapwrap{flex-shrink:0}.art-rail{width:100%}.layout{grid-template-columns:280px minmax(0,1fr)!important}}
@media(max-width:850px){body{height:auto;overflow:auto}body>header{min-height:90px!important;padding:10px 14px!important;grid-template-columns:54px minmax(0,1fr)!important;gap:12px}body>header .header-crest{width:48px;height:48px}body>header h1{font-size:30px!important}body>header .kicker{font-size:10px!important}body>header p{font-size:11px!important}.layout{display:block!important;overflow:visible}.layout>aside{max-height:none!important}.main{overflow:visible!important}.mapwrap{height:55vh!important;min-height:350px!important}.main.art-collapsed .art-rail{display:none!important}.volga-reference{grid-template-columns:1fr}.volga-reference img{max-height:330px}.catalog-panel{max-height:280px;overflow:auto}.mapbadge{font-size:12px!important;max-width:65%}.detail{padding:18px!important}.detail h2{font-size:27px!important}.legend{max-width:70%}}
@media(max-width:500px){.place-navigation{grid-template-columns:auto 1fr auto}.volga-reference{padding:16px}.map-actions .reset-map{font-size:11px!important;padding:6px!important}.detail .facts{grid-template-columns:1fr!important}}
@media(max-width:850px){.layout>aside{max-height:55vh!important;overflow-y:auto}}

.map-actions .volga-button{color:#135476;border-color:#5e91a5;background:#e5f0ee}.map-actions .volga-button[aria-pressed=true]{background:#185a79;color:#fff3d5;border-color:#185a79}.volga-legend{display:inline-block;width:24px;border-top:3px solid #247ca8;margin-right:5px;vertical-align:middle}.visual-panel .version-footer{color:#edcf91;font-size:10px}

#fullscreen-results{max-height:230px;overflow-y:auto;overscroll-behavior:contain;padding-right:3px}#fullscreen-results .fullscreen-place{width:100%;padding:9px 10px}#fullscreen-results strong{display:block;font:14px/1.35 Georgia,serif}#fullscreen-results .is-current{border:2px solid #a54830;background:#f4dcae}#fullscreen-catalog-tabs button{font-size:12px;padding:8px 5px}

.places-today{margin-top:24px;padding-top:20px;border-top:3px double #b4945e}.places-today>p{font:14px/1.6 Georgia,serif}.photos-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.photos-grid figure{margin:0;background:#f5e7c8;border:1px solid #c2a472;padding:8px}.photos-grid img{display:block;width:100%;height:220px;object-fit:cover}.photos-grid figcaption{font:13px/1.5 Georgia,serif;color:#5d4429;padding:10px 4px}.photos-grid b,.photos-grid span,.photos-grid small{display:block}.photos-grid b{font-size:18px}.photos-grid small{font-size:11px;margin:5px 0}.photos-grid a{color:#174d67;font-size:12px}@media(max-width:600px){.photos-grid{grid-template-columns:1fr}.photos-grid img{height:190px}}
