#page-heritage-browse .heritage-subpage-shell{max-width:920px;margin-inline:auto;min-width:0}
.heritage-browse-search{display:block;margin:18px 0 14px}
.heritage-browse-search input{width:100%;border-radius:26px;padding:14px 18px;min-height:48px}
.heritage-browse-chips{display:flex;gap:8px;flex-wrap:wrap;margin-block:12px}
.heritage-browse-chips .button{min-height:44px;white-space:normal}
#heritage-browse-filters [aria-pressed=true]{background:var(--forest,#194c43);color:var(--cream,#fffdf7)}
.heritage-browse-list{display:grid;gap:12px;margin-block:12px 20px}
.heritage-browse-card{display:flex;align-items:center;gap:14px;text-align:left;width:100%;min-width:0;border:1px solid var(--line,#deded5);border-radius:18px;padding:14px;background:var(--cream,#fffdf7);color:var(--ink,#173d37);cursor:pointer}
.heritage-browse-card img,.heritage-browse-symbol{width:82px;height:90px;object-fit:cover;border-radius:12px;flex:0 0 82px}
.heritage-browse-symbol{display:grid;place-items:center;font-size:30px;background:#e6eee5;color:#25544a}
.heritage-browse-card-copy{display:grid;gap:7px;flex:1;min-width:0;overflow-wrap:anywhere}
.heritage-browse-card-copy strong{font-family:var(--font-display,Georgia,serif);font-size:22px;line-height:1.2}
.heritage-browse-card-copy small{font-size:13px;color:#536b64}
.heritage-browse-excerpt{font-size:15px;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.heritage-browse-card .heritage-visibility-badge{justify-self:start}
.heritage-browse-actions{display:flex;gap:10px;margin-top:18px;flex-wrap:wrap}
.heritage-browse-actions>.button-primary{flex:1;min-width:180px}
.heritage-browse-empty,.heritage-browse-place{padding:18px;border:1px solid var(--line,#deded5);border-radius:16px}
#heritage-view-body>p{white-space:pre-wrap;overflow-wrap:anywhere}
#heritage-view-body audio,#heritage-view-body video,#heritage-view-body img{display:block;width:100%;max-height:60vh;object-fit:contain;margin-block:12px}
#heritage-organize-return{margin-bottom:12px}
@media(max-width:430px){.heritage-browse-card{gap:10px;padding:12px}.heritage-browse-card img,.heritage-browse-symbol{width:64px;height:80px;flex-basis:64px}.heritage-browse-card-copy strong{font-size:20px}.heritage-browse-actions>.button{min-height:48px}}
#application #page-heritage-browse{padding:22px 20px 110px;background:#0c2930;color:#fffaf0;min-height:calc(100svh - 80px)}
#page-heritage-browse .heritage-browse-shell{max-width:920px;margin:auto}
#page-heritage-browse .heritage-browse-head{padding:18px 0;background:linear-gradient(90deg,#0c2930,transparent),url('/heritage-layout-22-river.webp') center/cover;border-radius:18px}
#page-heritage-browse h1{color:#fffaf0;font:700 clamp(32px,8vw,48px)/1.1 Georgia,serif;margin:18px 0 0;overflow-wrap:anywhere}
#page-heritage-browse .text-button{color:#ffdf9d;min-height:44px}
#page-heritage-browse .button-outline{background:#fffaf0;color:#173f35;border-color:#a2b6a8;border-radius:24px}
#page-heritage-browse .button-primary{background:#245747;color:#fffaf0;border-color:#829c89}
#page-heritage-browse .heritage-browse-empty,#page-heritage-browse .heritage-browse-place{color:#fffaf0;border-color:#688980}
#page-heritage-browse .heritage-browse-place summary{padding:8px 0;min-height:44px}
#page-heritage-browse .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:430px){#application #page-heritage-browse{padding:18px 16px 110px}}
#application #page-heritage-browse .heritage-browse-chips .button{font-size:14px!important;font-weight:600!important;padding:10px 12px!important}
#application #page-heritage-browse .heritage-browse-actions .button{font-size:15px!important;min-height:48px!important}
#application #page-heritage-browse .heritage-browse-actions .button-primary{background:#245747!important;border:1px solid #829c89!important;color:#fffaf0!important}
#application #page-heritage-browse .heritage-browse-head .text-button{color:#ffdf9d!important;font-size:14px!important}
#heritage-view-dialog .heritage-view-contributions{margin-block:14px;border-top:1px solid var(--line);padding-top:12px}
#heritage-view-dialog .heritage-view-contributions>summary{cursor:pointer;min-height:44px;display:flex;align-items:center;color:var(--forest);font-weight:700}
