@font-face{font-family:AtlasSerif;src:url(reading-serif.woff2) format("woff2");font-display:swap}
:root{--ocean:#101b22;--black:#0b151c;--land:#263a3c;--shore:#58706a;--rule:#35454a;--paper:#f1eee7;--ink:#272a28;--text:#f6efe1;--dim:#c3cec6;--gold:#f3c17b;--wine:#483043;--serif:AtlasSerif,"Songti SC","Noto Serif CJK SC",serif;--fig:Georgia,"Iowan Old Style",serif;--sans:system-ui,"PingFang SC",sans-serif}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--black);color:var(--text);font:16px/1.58 var(--sans)}
[hidden]{display:none!important}
a{color:inherit;text-underline-offset:.23em}
a:hover{color:var(--gold)}
button,select,input{font:inherit}
button{cursor:pointer;transition:background-color .16s ease,color .16s ease,border-color .16s ease}
button:disabled{opacity:.55;cursor:default}
:focus-visible{outline:2px solid var(--gold);outline-offset:3px}
.wrap{width:min(1480px,100% - 5.6vw);margin-inline:auto}
.sr,.skip:not(:focus){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.skip:focus{position:fixed;left:1rem;top:1rem;z-index:10;background:var(--paper);color:var(--ink);padding:.5rem 1rem}
h1,h2,h3,p,figure,dl,dd{margin:0}
h1,h2,h3{font-family:var(--serif);font-weight:640;line-height:1.17}
.header{border-bottom:1px solid var(--rule)}
.top{display:flex;align-items:center;justify-content:space-between;min-height:60px;gap:.55rem 1rem}
.top>a,.top>span{font-weight:650;white-space:nowrap;text-decoration:none}
.top nav{display:flex;gap:clamp(.72rem,2vw,2rem)}
.top nav a{display:flex;align-items:center;min-height:44px;text-decoration:none;font-size:.9rem;white-space:nowrap;color:var(--dim)}
.top nav a:hover,.top nav a[aria-current]{color:var(--text);text-decoration:underline;text-decoration-color:var(--gold)}
.atlas{padding:1.36rem 0 2.26rem}
.heading{display:flex;justify-content:space-between;align-items:end;gap:.65rem;margin-bottom:1.12rem}
.year-label{color:var(--gold);font:1.12rem/1.1 var(--fig);font-variant-numeric:lining-nums tabular-nums}
.heading h1{font-size:clamp(2.12rem,5.25vw,5rem);margin:.25rem 0 .36rem;letter-spacing:.01em}
.subtitle{color:var(--dim);font-size:clamp(.95rem,1.45vw,1.25rem)}
.outline,.quiet,.switch button,.periods button{min-height:42px;border:1px solid #657470;background:transparent;color:var(--text);padding:.41rem .7rem;border-radius:3px;font-size:.88rem}
.quiet{border-color:transparent;color:var(--dim)}
.outline:hover,.quiet:hover,.switch button:hover,.periods button:hover{background:#233139;color:var(--text)}
.controlbar{display:flex;align-items:center;gap:.55rem 1.08rem;flex-wrap:wrap;margin-bottom:.6rem}
.controlbar label,.filterbar label,.time-controls label{display:flex;align-items:center;gap:.48rem;color:var(--dim);font-size:.88rem}
.controlbar #copy{margin-left:auto}
select,input[type=number]{background:#17262c;color:var(--text);border:1px solid #64736c;border-radius:3px;min-height:42px;padding:.33rem .47rem}
.switch{display:flex;gap:4px}
.switch button[aria-pressed=true],.periods button[aria-pressed=true]{color:var(--black);background:var(--gold);border-color:var(--gold);font-weight:700}
.visual{display:grid;grid-template-columns:minmax(0,1fr) minmax(227px,19.5%);background:var(--ocean);border:1px solid var(--rule)}
.map-frame{position:relative;min-width:0;align-self:center;display:flex;flex-direction:column;justify-content:center}
.map-frame svg{display:block;width:100%;height:auto;max-height:63vh}

.empty-chart{position:absolute;top:43%;left:50%;transform:translateX(-50%);padding:.52rem .78rem;background:var(--black);color:var(--text);border:1px solid var(--rule);max-width:90%;text-align:center}
.land{fill:var(--land);stroke:var(--shore);stroke-width:.9;stroke-linejoin:round}
.graticule{fill:none;stroke:#445957;opacity:.58;stroke-width:.62}
.ocean-label{font:italic 23px var(--fig);fill:#b0c6ba;opacity:.78;letter-spacing:.055em;pointer-events:none}
.map-pin{cursor:pointer;outline:none}
.map-pin text,.flow-node text{fill:var(--text);font:550 16px var(--sans);paint-order:stroke;stroke:var(--ocean);stroke-width:3px;stroke-linejoin:round;pointer-events:none}
.map-pin:hover circle,.map-pin:focus-visible circle{stroke:var(--text);stroke-width:3px}
.route,.route-highlight{fill:none;stroke-linecap:round;transition:stroke-opacity .15s ease}
.route{cursor:pointer;stroke-opacity:.57;outline:none;pointer-events:stroke}
.route-highlight{pointer-events:none;stroke-opacity:0}
#map.has-highlight .route{stroke-opacity:.21}
#map.has-highlight .route-highlight{stroke-opacity:1}
.flow-mark{cursor:pointer;outline:none;transition:stroke-opacity .15s ease}
.flow-mark.is-previewed{stroke-opacity:.96}
.flow-side{fill:var(--dim);font:550 14px var(--sans)}
.overview{border-left:1px solid var(--rule);padding:clamp(.8rem,1.55vw,1.5rem);display:flex;flex-direction:column}
.overlabel{font-size:.86rem;color:var(--dim)}
.counts{display:grid;gap:.53rem;margin:.55rem 0 .65rem}
.counts div{padding:.1rem 0 .55rem;border-bottom:1px solid var(--rule)}
.counts dt{font-size:.91rem;color:var(--dim)}
.counts dd{font:clamp(1.55rem,3vw,3.2rem)/1.14 var(--fig);font-variant-numeric:lining-nums tabular-nums;letter-spacing:-.035em;color:var(--text);white-space:nowrap}
.counts div:first-child dd{color:var(--gold)}
.highlight{height:6.55rem;padding:.32rem 0 .5rem;color:var(--dim);font-size:.85rem;line-height:1.36}
.highlight strong{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;color:var(--gold);overflow-wrap:anywhere}
.highlight span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin-top:.19rem;overflow-wrap:anywhere}
.coverage{margin-top:auto;padding-top:.7rem;border-top:1px solid var(--rule)}
.coverage h2{font-size:1.03rem;margin-bottom:.38rem}
.coverline{display:grid;grid-template-columns:1fr auto;gap:.12rem .32rem;font-size:.8rem;color:var(--dim);margin-bottom:.46rem}
.coverline meter{grid-column:1/-1;width:100%;height:.53rem;accent-color:var(--gold)}
meter::-webkit-meter-bar{background:#293b43;border:0}
meter::-webkit-meter-optimum-value{background:#d6a96f}
.times{padding:.75rem .83rem .65rem;border:1px solid var(--rule);border-top:0;background:var(--ocean)}
.time-head{display:flex;align-items:center;gap:.5rem .85rem;flex-wrap:wrap}
.time-head h2{font-size:1.12rem}
.time-head output{font:1.09rem var(--fig);color:var(--gold);font-variant-numeric:tabular-nums}
.periods{display:flex;gap:.38rem;flex-wrap:wrap;margin-left:auto}
.periods button{min-height:34px;font-size:.8rem}
#time{display:block;width:100%;height:auto;max-height:126px;overflow:visible}
#time .tick{fill:var(--dim);font:13px var(--sans)}
#time .year-bar{cursor:pointer;fill:#718982;outline:none}
#time .year-bar.selected{fill:var(--gold)}
#time .year-bar:hover,#time .year-bar:focus-visible{fill:white}
.time-controls{display:flex;gap:.42rem .7rem;justify-content:flex-end;align-items:center;flex-wrap:wrap}
.time-controls input{width:6.2rem}
.filterbar{display:flex;gap:.5rem .92rem;align-items:center;flex-wrap:wrap;margin-top:.78rem}
.filterbar select{max-width:min(58vw,207px)}
.paper{background:var(--paper);color:var(--ink);padding:1.85rem 0 2.4rem}
.paper a,dialog a{color:#5a3148}
.paper a:hover,dialog a:hover{color:#743e57}
.paper :focus-visible,dialog :focus-visible{outline-color:#703958}
.section-head{display:flex;align-items:end;justify-content:space-between;gap:.7rem;flex-wrap:wrap;margin-bottom:.76rem}
.section-head h2,.artifact h2{font-size:clamp(1.65rem,3vw,2.7rem)}
.section-head p{color:#584f4c;font-size:.89rem;margin-top:.3rem}
#search{display:flex;gap:.42rem;flex-wrap:wrap}
#search input[type=search]{width:min(80vw,17rem);min-height:44px;border:1px solid #9f9692;padding:.37rem .54rem;border-radius:3px;background:#fcfaf4;color:var(--ink)}
.primary,.secondary{min-height:44px;border:1px solid #9f9692;border-radius:3px;padding:.4rem .74rem;font-size:.9rem}
.primary{color:white;background:var(--wine);border-color:var(--wine)}
.primary:hover{background:#61415b}
.secondary{color:var(--ink);background:#f7f2eb}
.secondary:hover{background:#e8dfdb}
.table-wrap{overflow-x:auto;border-top:2px solid #746664}
table{width:100%;min-width:740px;border-collapse:collapse}
th,td{padding:.5rem .7rem;border-bottom:1px solid #c8bdb7;text-align:left;font-size:.88rem;vertical-align:middle}
th{color:#584f4c;font-weight:650}
td:first-child,td:last-child{font-variant-numeric:tabular-nums}
tr:hover td{background:#eae2de}
.record-link{display:inline-flex;align-items:baseline;gap:.45rem;background:none;border:0;color:#583249;text-align:left;text-decoration:underline;text-underline-offset:.2em;padding:.19rem 0;min-height:36px;font-weight:620}
.record-link:hover{transform:none;color:#8a4c63}
.region-compare{margin-bottom:2.05rem}
.region-table{min-width:620px}
.region-table td{font-variant-numeric:tabular-nums;white-space:nowrap}
.region-table td small{color:#605652;font-size:.84em}
.region-table .record-link{padding-inline:.45rem;border-radius:3px}
.region-table .record-link[aria-pressed=true]{background:#dfd1d9;color:#49283f}
.region-number{display:block}
.region-table meter{display:block;width:min(100%,13rem);height:.43rem}
.region-table meter::-webkit-meter-bar{background:#ded6d6}
.region-table meter::-webkit-meter-optimum-value{background:#815c77}
.record-link span{font-size:.77rem;color:#665858;font-variant-numeric:tabular-nums}
.pager{display:flex;justify-content:space-between;align-items:center;gap:.45rem;flex-wrap:wrap;padding:.61rem 0;color:#584f4c;font-size:.84rem}
.pager div{display:flex;gap:.5rem;align-items:center}
.artifact{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);align-items:center;gap:clamp(1.08rem,4vw,4rem);border-top:1px solid #b8aca9;padding:2rem 0 2.15rem;margin-top:1rem}
.artifact img{display:block;width:100%;max-height:385px;object-fit:contain;object-position:center;background:#e8e0d5;border:1px solid #c8bdb7}
.artifact figcaption{color:#584f4c;font-size:.85rem;margin-top:.35rem}
.artifact p{margin:.55rem 0;color:#56504b}
.artifact button+a{display:inline-block;margin:.4rem .61rem;font-size:.9rem}
.related-record{margin-top:1rem;padding-top:.45rem;border-top:1px solid #b8aca9}
.artifact-counts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.6rem;margin:.9rem 0}
.artifact-counts div{border-top:1px solid #b5a8a5;padding:.36rem 0}
.artifact-counts strong{display:block;font:2rem var(--fig);color:#5a3148;font-variant-numeric:tabular-nums}
.artifact-counts span{font-size:.84rem}
.methods{border-top:1px solid #b8aca9;padding-top:1.45rem}
.methods-grid{display:grid;grid-template-columns:1fr 1fr;gap:clamp(1.1rem,4vw,3.5rem)}
.methods h3{font-size:1.22rem;margin:.37rem 0}
.methods p{margin:.5rem 0;color:#554b4b;font-size:.925rem}
.references{display:flex;gap:.4rem .8rem;flex-wrap:wrap;font-size:.86rem;margin:.6rem 0}
#audit-result{font-size:.9rem}
#audit-result pre{background:#e8e1d8;white-space:pre-wrap;padding:.7rem;overflow-wrap:anywhere}
.footer{color:var(--dim);font-size:.88rem;padding:.87rem 0 1.1rem}
.footer .wrap{display:flex;justify-content:space-between;gap:.65rem;flex-wrap:wrap}
dialog{color:var(--ink);background:#f8f3ea;border:1px solid #bdb0a9;width:min(830px,calc(100% - 1.7rem));max-height:calc(100dvh - 2rem);padding:clamp(.85rem,2.6vw,1.65rem);overflow:auto}
dialog::backdrop{background:rgba(7,13,18,.74)}
.dialog-head{display:flex;justify-content:space-between;gap:.6rem;align-items:start;border-bottom:1px solid #c8bdb7;padding-bottom:.55rem}
.dialog-head h2{font-size:clamp(1.3rem,3vw,2rem)}
.dialog-head p{color:#6b555e;font-size:.89rem}
dialog dl{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:.4rem .82rem;margin:.8rem 0}
dialog dl div{border-bottom:1px solid #d4c9c4;padding:.25rem 0;min-width:0;overflow-wrap:anywhere}
dialog dt{font-size:.82rem;color:#65575a}
dialog dd{font-weight:550}
dialog h3{margin-top:.85rem;font-size:1.17rem}
dialog ul{padding-left:1.2rem;margin:.45rem 0 .85rem}
body.presentation .paper,body.presentation .footer,body.presentation .filterbar{display:none}
body.presentation .map-frame svg{max-height:67vh}
@media(max-width:920px){
.visual{grid-template-columns:1fr}.overview{display:grid;grid-template-columns:1fr 1fr;gap:.25rem 1rem;border-left:0;border-top:1px solid var(--rule)}.overview .overlabel{grid-column:1/-1}.coverage{margin-top:0;border-top:0;grid-column:2;grid-row:2/4}.highlight{grid-column:1}.counts{margin:0}.counts dd{font-size:clamp(1.6rem,4.65vw,2.7rem)}
}
@media(max-width:670px){
.wrap{width:calc(100% - 1.7rem)}.top{flex-wrap:wrap;padding:.28rem 0;gap:0}.top nav{width:100%;justify-content:space-between}.heading{align-items:start}.heading h1{font-size:clamp(1.82rem,7.15vw,2.5rem)}.heading>button{margin-top:1rem;white-space:nowrap}
.controlbar #copy{margin-left:0}.map-frame svg{max-height:none}.map-pin text{font-size:23px}.ocean-label{font-size:27px}
.periods{margin-left:0}.periods button{min-height:42px}.time-controls{justify-content:start}.time-controls input{width:5rem}.filterbar{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.filterbar label{display:grid;gap:.16rem}.filterbar select{max-width:100%;width:100%}
.artifact,.methods-grid{grid-template-columns:1fr}.paper{padding:1.35rem 0}.pager button,.quiet,.outline,.switch button{min-height:44px}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
body.presentation .header{display:none}
body.presentation .atlas{padding-top:.75rem}
body.presentation .heading h1{font-size:clamp(2rem,3.65vw,3.8rem)}
body.presentation .map-frame svg{max-height:59vh}
