.hq-records-panel{padding:16px;border-bottom:1px solid var(--line);background:linear-gradient(120deg,#28251b,#111310 78%)}
.hq-records-panel[hidden],.hq-records-dialog [hidden]{display:none!important}
.hq-records-panel h3{font-size:clamp(20px,3vw,26px);margin:5px 0;letter-spacing:-.03em}.hq-records-panel p{font-size:15px;color:#bdbdb0;margin:0;line-height:1.5}
.hq-records-dialog{width:1020px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);margin:auto;padding:0;border:1px solid #887247;background:#171915;color:#f4f0e7;box-shadow:0 16px 80px #000c;overflow:auto}
.hq-records-dialog::backdrop{background:#070807df;backdrop-filter:blur(4px)}
.hq-records-tools{padding:16px 20px;border-bottom:1px solid #8c77494d;display:grid;gap:12px}
.hq-records-tools label{display:grid;gap:5px;color:#dcc79a;font:700 12px/1.4 monospace;letter-spacing:.05em}
.hq-records-tools input{width:100%;font:inherit;font-size:16px;background:#10120e;border:1px solid #77643c;color:#f4f0e7;padding:12px;box-sizing:border-box}
.hq-records-filters{display:flex;gap:6px;flex-wrap:wrap}
.hq-records-filters button,.hq-records-list button{font:inherit;color:#ede8d9;border:1px solid #6f603d;background:#24251e;min-height:44px;padding:9px 12px;cursor:pointer;text-align:left}
.hq-records-filters button[aria-pressed=true]{background:#eac052;color:#1c180c;border-color:#eac052}
.hq-records-grid{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:16px;padding:18px 20px 24px;align-items:start}
.hq-records-list{display:grid;gap:7px}.hq-records-list button{display:grid;gap:5px;border-left:4px solid #6d5c37}.hq-records-list button[aria-pressed=true]{border-color:#eac052;background:#302a18}.hq-records-list button small{font:700 10px/1.3 monospace;color:#d3b873;letter-spacing:.03em}.hq-records-list button strong{font-size:15px;line-height:1.3}
.hq-records-sheet{min-width:0;background:#e7dfc8;color:#262217;border:1px solid #bca981;border-top:6px solid #a98846;padding:18px;box-shadow:3px 4px 0 #8f7a4c60;animation:records-in .18s ease-out}
.hq-records-sheet .hq-desk-kicker{color:#5e4a24}.hq-records-sheet h3{font-size:clamp(24px,4vw,35px);margin:8px 0;line-height:1.08;letter-spacing:-.035em}.hq-records-sheet p{font-size:16px;line-height:1.55}
.hq-records-sheet img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;margin:14px 0;border:1px solid #a38d66}.hq-records-folder{margin:14px 0;padding:24px 18px;border:1px dashed #8c7851;background:#d4c5a5;color:#6b542e;text-align:center;font:900 18px/1.5 monospace;letter-spacing:.08em}.hq-records-classification{display:block;color:#72542c;font-weight:700;font-size:13px;border-bottom:1px solid #ac9974;padding-bottom:10px}
.hq-records-links,.hq-records-exhibits{display:grid;gap:8px}.hq-records-sheet a{color:#292310;font-weight:700;text-decoration:none;padding:11px 12px;border:1px solid #9b8455;background:#f5ecd7}.hq-records-links a:first-child{background:#edc454;border-color:#ad8835}
.hq-records-related{margin-top:18px;padding-top:12px;border-top:1px dashed #9b8455}.hq-records-related .hq-desk-kicker{display:block;margin-bottom:8px}.hq-records-foot{padding:0 20px 20px;color:#bfb9a8;font-size:13px}.hq-records-foot a{color:#ebc76e}
.hq-records-dialog :is(input,button,a):focus-visible{outline:2px solid #d29714;outline-offset:3px}
@keyframes records-in{from{opacity:.7;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:700px){.hq-records-grid{grid-template-columns:1fr;padding:12px}.hq-records-tools{padding:12px}.hq-records-list{max-height:220px;overflow:auto}.hq-records-filters button{flex:1 1 auto}.hq-records-sheet{padding:14px}.hq-records-foot{padding:0 12px 16px}}
@media(prefers-reduced-motion:reduce){.hq-records-sheet{animation:none}}
