:root{--ink:#17343b;--paper:#f4edde;--muted:#625b4e;--line:#ccbea8;--gold:#ffe9ad;--white:#fffaf2;--accent:#8c4435;--accent-dark:#713629;--forest:#20372e;--olive:#74835b;--control:#8c7b65;--tint:#efdfcd;--selected:#f1ddc4}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--paper);font:15px/1.6 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}a{color:inherit;text-underline-offset:3px}button,input,select,textarea{font:inherit;color:inherit}button,a,input,select,textarea{touch-action:manipulation}button{min-height:44px;background:var(--white);border:1px solid var(--control);border-radius:4px;padding:8px 13px;cursor:pointer}button:hover{background:var(--tint)}button:disabled{opacity:.5;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{outline:3px solid var(--accent-dark);outline-offset:3px}[hidden]{display:none!important}.skip{position:absolute;left:15px;top:-100px;z-index:99;padding:12px;background:var(--white)}.skip:focus{top:8px}.hp-header{display:flex;gap:24px;align-items:center;padding:16px 32px;border-bottom:1px solid var(--accent);background:var(--tint)}.hp-header img{display:block;max-width:245px;width:100%;height:auto}.hp-header nav{display:flex;flex-wrap:wrap;gap:8px 22px;margin-left:auto;font-size:13px}.hp-header nav a{display:flex;align-items:center;min-height:44px}.hp-header [aria-current]{font-weight:700;text-decoration-thickness:2px;color:var(--accent-dark)}.eyebrow{font-size:11px;letter-spacing:1.7px;font-weight:600}main{max-width:1480px;margin:auto;padding:0 28px}.hp-hero{padding:32px 0 24px;max-width:850px}.hp-hero h1{color:var(--accent);font:clamp(38px,5vw,64px)/1.03 Georgia,serif;font-weight:400;margin:12px 0 15px;letter-spacing:-1px}.hp-hero>p{max-width:670px;color:var(--muted);font-size:18px;line-height:1.5}.hp-badges{display:flex;flex-wrap:wrap;gap:8px}.hp-badges span,.hp-tag{display:inline-block;padding:4px 9px;border:1px solid var(--line);border-radius:20px;font-size:11px}.hp-toolbar{display:grid;grid-template-columns:2fr 1fr 1fr 1.2fr auto;gap:12px;padding:18px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}label{display:flex;flex-direction:column;gap:5px;font-size:12px;font-weight:600}input,select,textarea{min-width:0;width:100%;border:1px solid var(--control);background:var(--white);border-radius:4px;padding:10px;min-height:44px;font-weight:400}textarea{resize:vertical;min-height:100px}label small{font-weight:400;color:var(--muted);font-size:12px}.hp-toolbar button{align-self:end}.hp-account{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:12px 0;font-size:12px}.hp-account>div{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.hp-account a{padding:10px}.hp-layout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(340px,1fr);gap:24px;align-items:start}.hp-map-section{position:sticky;top:12px;min-width:0}.hp-map-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:17px 20px 0;background:var(--forest);color:var(--paper);border-radius:7px 7px 0 0}.hp-map-heading h2{font:25px/1.2 Georgia,serif;font-weight:400;margin:6px 0 12px}.hp-map-controls{display:flex;gap:5px}.hp-map-controls button{min-width:44px;font-size:14px;color:var(--ink)}#hp-map{display:block;width:100%;height:auto;min-height:270px;background:var(--forest);touch-action:none;border-radius:0 0 7px 7px;cursor:grab}#hp-map.dragging{cursor:grabbing}#hp-map path.hp-land{fill:var(--olive);stroke:#e0e3c4;stroke-width:1;vector-effect:non-scaling-stroke}#hp-map .hp-inset-label{fill:#f4edda;font-size:16px}#hp-map .hp-connection{fill:none;stroke:var(--gold);stroke-width:2.5;vector-effect:non-scaling-stroke}#hp-map [role=button]{cursor:pointer}#hp-map .hp-marker-dot{fill:var(--gold);stroke:#17343b;stroke-width:2;vector-effect:non-scaling-stroke}#hp-map .hp-marker-ring{fill:#ffe9ad28;stroke:#fff4d1;stroke-width:1;vector-effect:non-scaling-stroke}#hp-map .hp-selected .hp-marker-ring{fill:#ffe9ad60;stroke-width:2}#hp-map .hp-cluster-count{fill:#17343b;text-anchor:middle;dominant-baseline:central;font-weight:700;pointer-events:none}.hp-map-note{font-size:12px;color:var(--muted);margin:9px 0}.hp-place-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.hp-place-list button{padding:11px 13px;text-align:left;background:var(--white);line-height:1.4}.hp-place-list b,.hp-place-list small{display:block}.hp-place-list b{font:19px/1.25 Georgia,serif}.hp-place-list small{color:var(--muted);font-size:11px;margin-top:5px}.hp-place-list [aria-pressed=true]{border:2px solid var(--accent);background:var(--selected)}.hp-cluster{padding:12px;background:var(--selected);border:1px solid var(--accent)}.hp-cluster button{display:block;width:100%;text-align:left;margin:5px 0}.hp-detail{padding:26px;background:var(--white);border:1px solid var(--line);border-radius:6px;min-width:0;overflow-wrap:anywhere}.hp-detail h2{font:36px/1.15 Georgia,serif;font-weight:400;margin:8px 0 15px}.hp-detail h3{font:23px/1.2 Georgia,serif;font-weight:400;margin:24px 0 10px}.hp-detail p{font-size:14px;line-height:1.8}.hp-period{color:var(--muted)}.hp-detail-tabs{display:flex;flex-wrap:wrap;gap:5px;border-bottom:1px solid var(--line);padding:12px 0;margin-bottom:16px}.hp-detail-tabs button{font-size:12px}.hp-detail-tabs [aria-selected=true]{background:var(--accent);color:var(--white)}.hp-source-list{padding:0;list-style:none}.hp-source-list li{padding:16px 0;border-bottom:1px solid var(--line)}.hp-citation{padding-left:22px;text-indent:-22px;font-size:14px;line-height:1.8}.hp-citation-link{font-size:12px}.hp-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:14px 0}.hp-primary{background:var(--accent);color:var(--white)}.hp-primary:hover{background:var(--accent-dark);color:var(--white)}.hp-gallery{display:grid;gap:18px}.hp-gallery figure{margin:0}.hp-gallery img{display:block;width:100%;max-height:350px;object-fit:contain;background:#e9e3d4}.hp-gallery figcaption{font-size:12px;padding:12px;background:var(--tint);line-height:1.7}.hp-gallery figcaption strong{display:block;font-size:15px}.hp-note{padding:12px 15px;border-left:3px solid var(--accent);background:var(--tint);font-size:13px!important}.hp-method{margin:30px 0;padding:18px 22px;border:1px solid var(--line);border-radius:5px;max-width:960px}.hp-method summary{cursor:pointer;font-weight:600;min-height:32px}.hp-method p{font-size:13px;color:var(--muted)}.hp-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.hp-full{grid-column:1/-1}.hp-form-grid .hp-check{display:flex;flex-direction:row;gap:9px;align-items:flex-start;font-weight:400}.hp-check input{width:20px;min-height:20px;flex-shrink:0;margin:3px 0}.hp-section-card{padding:13px 0;border-bottom:1px solid var(--line);font-size:13px}.hp-section-card button{font-size:12px;margin:5px 4px 0 0}.hp-draft-list{margin-top:20px;border-top:1px solid var(--line);padding-top:12px}.hp-draft-list button{display:block;width:100%;text-align:left;margin:7px 0}.hp-status{font-size:13px;min-height:24px}.hp-status.error{color:#942b24}.hp-editor-title{display:flex;justify-content:space-between;gap:10px;align-items:center}.hp-editor-title h2{font-size:29px}dialog{color:var(--ink);background:var(--paper);border:1px solid var(--line);border-radius:7px;max-width:750px;width:calc(100% - 32px);max-height:90dvh;padding:24px;overflow:auto}dialog::backdrop{background:#20372eae}.hp-dialog-top{display:flex;align-items:center;justify-content:space-between;gap:18px}.hp-dialog-top h2{font:30px Georgia,serif}.hp-dialog-top button{font-size:24px}.hp-entry-form input:invalid{border-color:#942b24}footer{padding:24px 28px;border-top:1px solid var(--line);display:flex;gap:12px 28px;flex-wrap:wrap;font-size:12px;color:var(--muted)}
.hp-hero>.eyebrow{color:var(--accent)}.hp-badges span{background:var(--tint)}.hp-detail h3{color:var(--accent-dark)}.hp-tag{background:#f1eddf;color:#46533b}.hp-header a:hover,.hp-citation-link a:hover{color:var(--accent-dark)}#hp-map:focus-visible,#hp-map [role=button]:focus-visible,.hp-map-controls button:focus-visible{outline-color:var(--gold)}
@media(max-width:1000px){.hp-layout{grid-template-columns:minmax(0,1fr) minmax(300px,.9fr)}.hp-toolbar{grid-template-columns:2fr 1fr 1fr}.hp-toolbar>label:last-of-type{grid-column:1/3}.hp-map-heading{display:block;padding-bottom:12px}.hp-map-heading h2{font-size:22px}.hp-header{flex-wrap:wrap}.hp-header nav{margin-left:0}.hp-detail{padding:20px}}
@media(max-width:760px){main{padding:0 16px}.hp-header{padding:15px 18px;gap:10px}.hp-header nav{gap:5px 15px;font-size:12px}.hp-hero{padding:24px 0 18px}.hp-hero h1{font-size:43px}.hp-hero>p{font-size:16px}.hp-toolbar{grid-template-columns:1fr 1fr;gap:10px}.hp-toolbar>label:first-child{grid-column:1/-1}.hp-toolbar>label:last-of-type{grid-column:auto}.hp-toolbar>button{grid-column:1/-1}.hp-layout{display:flex;flex-direction:column}.hp-map-section{position:static;width:100%}.hp-detail{width:100%;padding:22px 18px}.hp-map-heading{display:flex;padding:15px}.hp-map-heading h2{font-size:21px}.hp-map-heading .eyebrow{font-size:9px}.hp-map-controls button{padding:6px;min-width:44px}.hp-map-controls button:last-child{min-width:55px}.hp-place-list b{font-size:18px}.hp-form-grid{grid-template-columns:1fr}.hp-full{grid-column:auto}#hp-map{min-height:245px}.hp-detail h2{font-size:32px}.hp-account{align-items:flex-start}.hp-account button{font-size:12px}.hp-account>div{gap:5px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
@media(forced-colors:active){#hp-map path.hp-land{fill:Canvas;stroke:CanvasText}#hp-map .hp-connection{stroke:Highlight}#hp-map .hp-marker-dot{fill:Highlight}#hp-map .hp-marker-ring{stroke:CanvasText}.hp-badges span,.hp-tag{border-color:CanvasText;background:Canvas;color:CanvasText}.hp-hero h1,.hp-hero>.eyebrow,.hp-detail h3,.hp-header [aria-current]{color:CanvasText}.hp-header{border-color:CanvasText}.hp-primary,.hp-detail-tabs [aria-selected=true]{background:Highlight;color:HighlightText}#hp-map:focus-visible,#hp-map [role=button]:focus-visible,.hp-map-controls button:focus-visible{outline-color:Highlight}}
