/* Interface C: marfim, turquesa e vinho, a partir das fotografias de referência. */
:root{--ink:#303d40;--paper:#faf8f3;--blue:#19586a;--gold:#b29465;--wine:#7a254a}
body{background:#f5f3ee;color:var(--ink)}
header{min-height:0!important;height:auto!important;padding:10px 18px!important;border:0!important;border-bottom:2px solid #b29465!important;background-color:#143f50!important;background-size:auto 160px!important;box-shadow:none!important}
header h1{font-size:clamp(25px,2.5vw,38px)!important;line-height:1.1!important;margin:3px 0!important}header p{font-size:14px!important;margin:4px 0!important}header img{width:56px!important;height:56px!important;object-fit:contain}header .kicker{font-size:12px!important}.source-box{font-size:11px!important;padding:8px!important}
.layout{background:#f5f3ee}.layout>aside{background:#f5f1e7!important;padding:16px!important;border-right:1px solid #d9d9d0!important;flex-basis:285px!important;width:285px!important;min-width:250px!important}.layout>aside h2{font-size:25px!important}.main{background:var(--paper)!important}.mapwrap{border:1px solid #ccd7d3!important;padding:0!important;box-shadow:none!important;background:#c7dcde!important}.mapwrap:after{display:none!important}#map{background:#c7dcde!important}.map-title{font-size:14px!important;padding:10px!important;border:1px solid #ddd!important;background:#fffdf6ed!important;max-width:65%!important}.map-actions button{font-size:13px!important;padding:8px 12px!important;box-shadow:none!important}.legend{font-size:12px!important;background:#fffdf6ed!important;border:1px solid #d8d9cb!important;box-shadow:none!important}button,input,select{font:inherit}button{cursor:pointer}button:focus-visible,img:focus-visible,select:focus-visible{outline:3px solid #1686a1;outline-offset:3px}button{box-shadow:none!important}input[type=checkbox]{accent-color:#19586a}.place,.group,.fullscreen-place{background:#fffdf8!important;border:1px solid #deded4!important;border-radius:5px!important;padding:9px 11px!important;font-size:14px!important;box-shadow:none!important}.place.active,.group.active,.is-current{border-color:#1686a1!important;background:#e6f1f2!important}#detail{padding:24px!important;background:#faf8f3!important}#detail h2{font-size:30px!important}#detail p{font-size:18px;line-height:1.65}.facts>div{background:#f0eee7!important;border:1px solid #deded4!important}.people-art{background:#f1eee5!important;border:0!important}.people-art img{border:0!important}.catalog-tabs button[aria-selected=true]{background:#19586a!important;color:white!important}.fullscreen-options{background:#faf8f3ed!important;border:1px solid #bbc9c5!important;width:280px!important;padding:16px!important}.fullscreen-options label{font-size:14px!important}.research-controls{padding:14px;margin-bottom:16px;border:1px solid #dec6cf;border-top:3px solid var(--wine);border-radius:7px;background:#fff9fb}.research-controls h3{font-size:22px;margin:5px 0 12px;color:#702646}.eyebrow{display:block;font:600 11px/1.4 Times New Roman,sans-serif;letter-spacing:1.1px;text-transform:uppercase;color:var(--wine)}.research-controls label{display:block;margin:9px 0;font-size:13px}.research-controls select{width:100%;padding:8px;border:1px solid #cbbfc4;border-radius:4px;background:white;font-size:13px}.research-controls button,.research-open-primary{background:var(--wine);color:white;border:0;border-radius:4px;padding:10px 12px;font-size:14px}.research-controls small{display:block;font-size:11px;line-height:1.5;margin-top:10px;color:#68555e}.research-stats{font-size:12px;color:#702646}.slavery-box{background:#fff7fa!important;border:1px solid #dec6cf!important;border-left:4px solid var(--wine)!important;padding:20px!important}.research-record{border-top:1px solid #e1d4d8;padding:14px 0}.research-record p{margin:7px 0!important}.research-record small{display:block;font-size:13px;line-height:1.5;color:#62575d}.record-kind{display:inline-block;background:#eee1e8;color:#702646;border-radius:3px;font:600 12px/1.4 Times New Roman;padding:4px 7px}.record-source{font-size:12px!important;color:#74616b}.research-context{padding:20px 0;border-bottom:1px solid #deded4}.research-context>button{font-size:13px;padding:7px;border:1px solid #ccc;background:#fff}.locality-photo{margin:20px 0}.locality-photo img{width:100%;max-height:300px;object-fit:cover;border-radius:6px}.locality-photo figcaption{font-size:12px;line-height:1.6;padding:8px 0;color:#5c6869}img[role=button]{cursor:zoom-in}.research-timeline{padding:28px;background:#f3f4ef;border-top:1px solid #ddd}.research-timeline h2{font-size:27px}.research-timeline>p{font-size:15px;line-height:1.6}.timeline-events{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:18px 0}.timeline-events button{display:flex;flex-direction:column;text-align:left;gap:9px;padding:13px;border:1px solid #cdd8d4;border-top:3px solid #1686a1;background:#fffdf8;border-radius:5px;font-size:14px}.timeline-events b{color:#19586a}.timeline-events small{font-size:11px;color:#697674}.research-timeline>small{font-size:12px}.preferences-status{font-size:11px;color:#637275}.reset-preferences{background:transparent;border:1px solid #ccc;padding:6px;font-size:12px}.reference-gallery,.river-feature{background:#faf8f3!important}.atlas-presentation{background:#19586a!important;border:0!important}.photos-grid img{border-radius:5px}.fullscreen-summary{background:#fffdf7ed!important}.summary-evidence .research-record p{font-size:13px!important}.summary-evidence .research-record small{font-size:11px}#fullscreen-summary .locality-photo img{max-height:130px}#fullscreen-summary .locality-photo figcaption{font-size:10px}
#image-viewer{max-width:94vw;max-height:94vh;width:fit-content;padding:18px;border:1px solid #bbc9c5;border-radius:8px;background:#faf8f3;color:#303d40}#image-viewer::backdrop{background:#102b36d9}#image-viewer>img{display:block;max-width:85vw;max-height:73vh;object-fit:contain;margin:12px auto}.viewer-close{display:block;margin-left:auto;background:#19586a;color:white;border:0;border-radius:4px;padding:8px 15px}.viewer-caption{max-width:850px;font-size:13px;line-height:1.5;white-space:pre-line}
@media(max-width:900px){header .source-box{display:none!important}.timeline-events{grid-template-columns:repeat(2,minmax(0,1fr))}.layout>aside{width:auto!important;min-width:0!important}.research-timeline{padding:18px}#detail{padding:18px!important}.fullscreen-options{width:230px!important}.map-title{max-width:58%!important;font-size:11px!important}}
@media(max-width:600px){header{padding:8px!important}header img{width:38px!important;height:38px!important}header h1{font-size:25px!important}header p{font-size:11px!important}.timeline-events{grid-template-columns:1fr}.research-controls{padding:12px}.map-title{max-width:55%!important}.viewer-caption{font-size:11px}}
body>header{min-height:78px!important;padding:7px 18px!important;grid-template-columns:48px minmax(0,1fr) 190px!important;gap:10px!important}body>header .header-crest{width:44px!important;height:44px!important}body>header h1{font-size:30px!important}body>header .kicker{font-size:10px!important}body>header p{font-size:11px!important}body>header .head-note{font-size:10px!important;padding:5px!important}.layout{grid-template-columns:285px minmax(0,1fr)!important}.art-rail{background:#f1eee5!important;border-left:1px solid #d7dcd5!important}.art-rail .people-art,.art-text{background:#f1eee5!important}.mapbadge{font-size:12px!important;background:#fffdf5ed!important;border:1px solid #d0d4ca!important;box-shadow:none!important}.mapwrap{border:0!important}.volga-reference{background:#faf8f3!important;border-top:1px solid #d7dcd5!important}.research-controls{font-family:Times New Roman,sans-serif}.research-controls h3{font-family:Georgia,serif}.research-controls .eyebrow{font-size:10px}.research-controls small{font-size:11px}.research-controls label{font-size:13px!important}
@media(max-width:850px){body>header{grid-template-columns:40px minmax(0,1fr)!important;min-height:70px!important}body>header h1{font-size:26px!important}.layout>aside{width:100%!important}.layout{display:block!important}}
body>header .version-badge{display:none}body>header .head-note{font:10px/1.4 Georgia,serif!important;margin:0!important;padding:6px!important;border-color:#b6b8a5!important;background:#163e4d!important}body>header{background:#143f50!important;min-height:78px!important}body>header:before{opacity:.06!important}.header-title h1{text-shadow:none!important}.art-placeholder,.art-rail .art-text,.art-rail .people-art{background:#f1eee5!important}.art-placeholder img,.people-art img{border:1px solid #c4ccbf!important}.art-placeholder{border:0!important}.research-timeline .timeline-events button:hover{border-color:#1686a1;background:#eff7f5}.research-controls button:hover{background:#5e1938}.fullscreen-options .research-controls{padding:10px;margin-bottom:12px}.fullscreen-options .research-controls h3{font-size:20px}.fullscreen-options .research-controls small{font-size:10px}
