/* Compact query controls on a broad teal field; poster artwork stays independent. */
.qr-page.ws-page{--qr-muted:#d0ddd2;--qr-rule:#b8c9b73d;background:#25433d;color:#faf6e9;padding:28px 0 36px}
.qr-page>.ws-wrap{width:min(1120px,calc(100% - 80px))}
.qr-page .qr-page-top{align-items:center;gap:20px;margin-bottom:18px}
.qr-page .qr-page-top .ws-eyebrow{display:flex;align-items:center;gap:7px;font-size:10px;letter-spacing:.12em;color:#dfcda4}
.qr-page-top .ws-eyebrow img{object-fit:contain}
.qr-page .qr-page-top .ws-heading{font-family:inherit;font-size:30px;line-height:1.3;margin:5px 0 6px;letter-spacing:.01em}
.qr-page .qr-page-top .ws-lead{font-size:13px;line-height:1.5;margin:0;color:var(--qr-muted)}
.qr-page .qr-source-label{font-size:11px;line-height:1.5;gap:8px;padding:6px 0 6px 16px;border-color:var(--qr-rule);color:var(--qr-muted);margin:0;flex:none}
.qr-page .qr-source-label strong{font-size:14px;font-weight:500;color:#f0d9ac}
.qr-page .qr-layout{grid-template-columns:300px minmax(0,1fr);gap:18px}
.qr-page .qr-controls{display:grid;grid-template-columns:1fr;gap:0;position:sticky;top:106px;min-width:0;background:#1b342f;border-top:2px solid #bda87e}
.qr-page .qr-search,.qr-page .qr-style-panel{padding:16px 18px;margin:0;border:0;border-radius:0;box-shadow:none;background:transparent;color:#fbf5e7;min-width:0}
.qr-page .qr-style-panel{border-top:1px solid var(--qr-rule)}
.qr-page .qr-step-label{font-size:10px;line-height:1.5;letter-spacing:.08em;color:#dac79f}
.qr-page .qr-search h2,.qr-page .qr-style-panel h2{font-family:inherit;font-size:18px;font-weight:600;line-height:1.4;margin:5px 0 12px;color:#fbf5e7}
.qr-search-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:end}
.qr-page .qr-search .ws-field{display:grid;gap:5px;font-size:12px;line-height:1.5;margin:0;min-width:0}
.qr-page .qr-search input{font-size:16px;line-height:1.5;min-height:44px;padding:9px 10px;border-radius:2px;border-color:#b8c4ad;background:#fcfaf0;color:#25382c}
.qr-page .qr-controls .ws-button{font-size:12px;line-height:1.5;min-height:44px;padding:8px 10px;gap:6px;border-radius:2px;white-space:nowrap}
.qr-page .qr-search-row .ws-button{background:#dfc798;color:#2d3c30;border-color:#dfc798;width:auto}
.qr-page .qr-helper{font-size:12px;line-height:1.6;color:var(--qr-muted);margin:10px 0 0}
.qr-page .qr-source-link{font-size:12px;line-height:1.5;min-height:44px;gap:8px;margin-top:10px;padding-top:8px;border-top:1px solid var(--qr-rule);color:#eed9ad}
.qr-page .qr-style-options{gap:8px;margin-bottom:12px}
.qr-page .qr-style-options button{padding:8px;gap:4px;background:#eff0e5;color:#2a4031;border:1px solid #a7b69b;border-radius:2px;box-shadow:none}
.qr-page .qr-style-options button:hover{background:#fffbed;border-color:#ddc591}
.qr-page .qr-style-options button[aria-pressed=true]{border-color:#dfc798;box-shadow:inset 0 0 0 1px #7e7349;background:#e7dfc7}
.qr-page .qr-style-options strong{font-size:12px;font-weight:600;line-height:1.5}
.qr-page .qr-style-options small{display:block;font-size:10px;line-height:1.5;color:#5e6b55}
.qr-page .qr-style-options button[aria-pressed=true] small{color:#536049}
.qr-page .qr-style-swatch{height:36px;flex:none}
.qr-page .qr-style-swatch:before{inset:7px 10px}
.qr-page .qr-style-swatch:after{width:13px;height:13px;right:17px;top:11px}
.qr-page .qr-style-panel>.ws-button{background:transparent;color:#f1dfb8;border-color:#adba9f}
.qr-page .qr-preview-stage{padding:14px 16px 18px;border:0;border-top:2px solid #a7b69b;border-radius:0;background:#dce2d6;min-width:0}
.qr-page .qr-preview-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 10px;font-size:12px;line-height:1.5;color:#354d3b;margin:0 0 12px}
.qr-page .qr-preview-head>span:first-child{font-weight:600}
.qr-page .qr-preview-example{font-size:11px;line-height:1.5;color:#52624c}
.qr-page .qr-original-poster{display:block;width:100%;max-width:540px;height:auto;margin-inline:auto}
@media(max-width:1000px){.qr-page .qr-layout{grid-template-columns:280px minmax(0,1fr);gap:16px}.qr-page .qr-search,.qr-page .qr-style-panel{padding-inline:14px}}
@media(max-width:900px){
 .qr-page>.ws-wrap{width:calc(100% - 48px)}
 .qr-page .qr-layout{grid-template-columns:1fr;gap:16px}
 .qr-page .qr-controls{position:static;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
 .qr-page .qr-style-panel{border-top:0;border-left:1px solid var(--qr-rule)}
 .qr-page .qr-preview-stage{padding:14px 18px 18px}
}
@media(max-width:650px){
 .qr-page.ws-page{padding:22px 0 30px}
 .qr-page>.ws-wrap{width:calc(100% - 32px)}
 .qr-page .qr-page-top{align-items:flex-start;flex-direction:column;gap:10px;margin-bottom:16px}
 .qr-page .qr-page-top .ws-heading{font-size:26px}
 .qr-page .qr-source-label{padding:0;border:0;font-size:11px}
 .qr-page .qr-source-label strong{font-size:13px}
 .qr-page .qr-layout{gap:14px}
 .qr-page .qr-controls{grid-template-columns:1fr}
 .qr-page .qr-search,.qr-page .qr-style-panel{padding:14px}
 .qr-page .qr-style-panel{border-left:0;border-top:1px solid var(--qr-rule)}
 .qr-page .qr-search h2,.qr-page .qr-style-panel h2{font-size:17px;margin:5px 0 10px}
 .qr-page .qr-style-options{gap:8px;margin-bottom:10px}
 .qr-page .qr-style-options button{padding:8px;gap:4px}
 .qr-page .qr-style-options strong{font-size:12px}
 .qr-page .qr-style-options small{font-size:10px}
 .qr-page .qr-style-swatch{height:32px}
 .qr-page .qr-style-swatch:after{top:9px}
 .qr-page .qr-preview-stage{padding:12px 10px 14px}
 .qr-page .qr-preview-head{font-size:12px;gap:4px 8px;margin-bottom:10px}
 .qr-page .qr-preview-example{font-size:11px}
}
@media(prefers-reduced-motion:reduce){.qr-page .qr-style-options button{transition:none}}
/* Live record query states within the existing query page. */
.qr-empty{display:grid;place-items:center;min-height:340px;padding:28px;text-align:center;color:#496355;background:#e4eadf}
.qr-empty p{font-size:16px;line-height:1.8}
.qr-empty small{font-size:12px}
.qr-original-poster[hidden],.qr-empty[hidden],[data-query-error][hidden]{display:none}
[data-query-error]{margin-top:10px;color:#f3c1b5;font-size:13px;line-height:1.7;overflow-wrap:anywhere}
[data-poster-download][aria-disabled=true]{opacity:.5;cursor:not-allowed}
[data-query-form][aria-busy=true] button{cursor:progress}
