.hqre{--bg:#111315;--panel:#181b1f;--panel2:#20242a;--line:#786332;--text:#f1f3f5;--muted:#aab1ba;--accent:#e6e9ed;--danger:#b84b4b;box-sizing:border-box;background:var(--bg);color:var(--text);border:1px solid var(--line);border-radius:10px;padding:18px;font-family:inherit}.hqre *{box-sizing:border-box}.hqre__header{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;border-bottom:1px solid var(--line);padding-bottom:14px}.hqre__header h3{margin:0 0 4px;font-size:1.35rem}.hqre__header p{margin:0;color:var(--muted)}.hqre__badge{font-size:.75rem;border:1px solid var(--line);border-radius:999px;padding:5px 9px;white-space:nowrap;color:var(--muted)}.hqre__notice{margin:14px 0;padding:10px 12px;border-left:3px solid #858d98;background:var(--panel);font-size:.9rem}.hqre__tabs{display:flex;gap:6px;flex-wrap:wrap;margin:14px 0}.hqre button,.hqre input{font:inherit}.hqre button{background:#252a30;color:var(--text);border:1px solid #414852;border-radius:5px;padding:7px 11px;cursor:pointer}.hqre button:hover:not(:disabled),.hqre button.is-active{background:#343a42}.hqre button:disabled{opacity:.42;cursor:not-allowed}.hqre__tabs button.is-active{border-color:#89919b}.hqre__panel{display:none}.hqre__panel.is-active{display:block}.hqre__grid{display:grid;gap:12px}.hqre__grid--2{grid-template-columns:repeat(2,minmax(0,1fr))}.hqre fieldset{margin:0;border:1px solid var(--line);border-radius:7px;background:var(--panel);padding:12px}.hqre legend{padding:0 6px;font-weight:700}.hqre small,.hqre__hint{color:var(--muted)}.hqre__checks{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:8px}.hqre__check{display:flex;align-items:center;gap:5px;background:var(--panel2);border:1px solid var(--line);border-radius:5px;padding:6px 8px;font-size:.88rem}.hqre__check input{accent-color:#ddd}.hqre__stepper{display:flex;align-items:center;gap:6px;margin-bottom:8px}.hqre__stepper input{width:65px;text-align:center;background:#0d0f11;color:var(--text);border:1px solid var(--line);border-radius:5px;padding:7px}.hqre__candidates{margin-top:12px}.hqre__toolbar{display:flex;gap:6px;margin-bottom:8px}.hqre__toolbar input{margin-left:auto;min-width:150px;background:#0d0f11;color:var(--text);border:1px solid var(--line);border-radius:5px;padding:6px 8px}.hqre__candidate-list{height:210px;overflow:auto;border-top:1px solid var(--line);padding-top:6px}.hqre__candidate-list--short{height:160px}.hqre__candidate{display:grid;grid-template-columns:auto 1fr auto;gap:8px;align-items:center;padding:5px 3px;border-bottom:1px solid #282d33;font-size:.88rem}.hqre__candidate em{font-style:normal;color:var(--muted);font-size:.78rem}.hqre__forecast,.hqre__statuscards,.hqre__measurement,.hqre__jobhead{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin-top:14px}.hqre__forecast>div,.hqre__statuscards>div,.hqre__measurement>div,.hqre__jobhead>div{background:var(--panel);border:1px solid var(--line);border-radius:7px;padding:10px}.hqre__forecast span,.hqre__statuscards span,.hqre__measurement span,.hqre__jobhead span{display:block;color:var(--muted);font-size:.76rem;margin-bottom:3px}.hqre__forecast strong,.hqre__statuscards strong{font-size:1.05rem}.hqre__forecast .is-primary{border-color:#747d88}.hqre__actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.hqre button.hqre__primary{background:#e5e7ea;color:#111;border-color:#e5e7ea;font-weight:700}.hqre button.hqre__danger{border-color:#8f3d3d;color:#f0b7b7}.hqre__empty{border:1px dashed #454c55;border-radius:7px;padding:22px;margin-top:12px;text-align:center;color:var(--muted)}.hqre__empty strong{color:var(--text)}.hqre__progress{height:10px;background:#292e34;border-radius:999px;overflow:hidden;margin:14px 0}.hqre__progress i{display:block;height:100%;background:#b9bec5}.hqre__measurement{grid-template-columns:2fr repeat(3,1fr)}.hqre__tablewrap{overflow:auto;margin-top:12px}.hqre table{width:100%;border-collapse:collapse;font-size:.86rem}.hqre th,.hqre td{padding:9px;border-bottom:1px solid var(--line);text-align:left;white-space:nowrap}.hqre th{color:var(--muted)}.hqre__sethead{display:flex;justify-content:space-between;align-items:center}.hqre__sethead>div:first-child{display:flex;gap:10px;align-items:center}.hqre__compat{margin-top:14px;padding:12px;background:var(--panel);border:1px solid var(--line);border-radius:7px}.hqre__compat span{display:inline-block;margin-right:8px;padding:3px 7px;border-radius:4px;font-size:.72rem;border:1px solid}.hqre__compat .ok{border-color:#66816c}.hqre__compat .warn{border-color:#9a7b4d}.hqre__compat .unknown{border-color:#666}.hqre__compat p{margin:8px 0 0;color:var(--muted)}
@media(max-width:800px){.hqre__grid--2{grid-template-columns:1fr}.hqre__forecast,.hqre__statuscards{grid-template-columns:repeat(2,1fr)}.hqre__measurement,.hqre__jobhead{grid-template-columns:1fr 1fr}.hqre__header{flex-direction:column}.hqre__toolbar{flex-wrap:wrap}.hqre__toolbar input{width:100%;margin-left:0}}

/* v0.1.1 – Bridge ochre visual language */
.hqre h1,.hqre h2,.hqre h3,.hqre h4,.hqre h5,.hqre h6,.hqre legend,.hqre strong{color:var(--text)!important}
.hqre fieldset,.hqre__forecast>div,.hqre__statuscards>div,.hqre__measurement>div,.hqre__jobhead>div,.hqre__compat,.hqre__empty{border-color:#786332}
.hqre__header{border-bottom-color:#786332}
.hqre__tabs button,.hqre button{border-color:#786332;color:#f0d58e}
.hqre__tabs button.is-active,.hqre button.is-active{background:#dca331;color:#fff;border-color:#dca331}
.hqre button.hqre__primary{background:#dca331;color:#fff;border-color:#dca331}
.hqre__forecast .is-primary{border-color:#dca331}
.hqre__notice{border-left-color:#dca331}
.hqre__candidate-list{border-top-color:#786332}
.hqre__bridge-matrix-row{display:flex;justify-content:flex-end;border-top:1px solid #4d4022;padding-top:10px;margin-top:10px}
.hqre__bridge-matrix-row .hqpsb__matrix-nav{margin-left:0}
@media(max-width:900px){.hqre__bridge-matrix-row{justify-content:flex-start}}

/* v0.1.2 – matrix selection */
.hqre input[type="checkbox"]{accent-color:#dca331}
.hqre__matrix-toolbar{display:flex;gap:6px;margin:0 0 8px}
.hqre__matrix-toolbar button{padding:5px 9px}
/* v0.2.0 – Bridge Server connection */
.hqre__header-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.hqre__server{color:var(--muted);font-size:.78rem}.hqre__footer-meta{margin-top:18px;padding-top:12px;border-top:1px solid var(--line);color:var(--muted);font-size:.86rem}.hqre__footer-meta button{background:none;border:0;padding:0;color:#d8b45e;text-decoration:underline}.hqre__version-dialog{max-width:720px;width:min(92vw,720px);background:#111315;color:#f1f3f5;border:1px solid #786332;border-radius:10px}.hqre__version-dialog::backdrop{background:rgba(0,0,0,.72)}.hqre__version-dialog>div{position:relative;padding:10px}.hqre__version-close{position:absolute;right:4px;top:0}.hqre__version-dialog dt{font-weight:700;color:#f1f3f5;margin-top:10px}.hqre__version-dialog dd{margin:3px 0 10px;color:#aab1ba}

.hqre__count{font-size:.72em;font-weight:500;color:#d5ad58;margin-left:.45rem;white-space:nowrap}

.hqre__jobhead{grid-template-columns:repeat(5,minmax(0,1fr))}.hqre__timeout-card label{display:inline-flex;align-items:center;gap:5px;margin-right:8px;font-size:.86rem}.hqre__timeout-card input[type="number"]{width:68px;background:#0d0f11;color:var(--text);border:1px solid var(--line);border-radius:5px;padding:4px 5px}.hqre__help{display:inline-flex!important;align-items:center;justify-content:center;width:18px;height:18px;padding:0!important;border-radius:50%!important;font-size:.72rem}.hqre__timeout-help{margin-top:10px;padding:10px 12px;border:1px solid var(--line);border-radius:7px;background:var(--panel);color:var(--muted);font-size:.84rem}.hqre__timeout-help p{margin:5px 0 0}.hqre__timeout-help strong{color:var(--text)}

/* v0.6.0 – Results */
.hqre__results-head{display:grid;grid-template-columns:2fr repeat(3,1fr);gap:8px;margin-top:12px}.hqre__results-head>div{background:var(--panel);border:1px solid #786332;border-radius:7px;padding:10px}.hqre__results-head span{display:block;color:var(--muted);font-size:.76rem;margin-bottom:3px}.hqre__results-toolbar{display:flex;gap:8px;align-items:end;flex-wrap:wrap;margin-top:12px}.hqre__results-toolbar label{display:grid;gap:4px;color:var(--muted);font-size:.76rem}.hqre__results-toolbar select{min-width:130px;background:#0d0f11;color:var(--text);border:1px solid #786332;border-radius:5px;padding:7px}.hqre__result-row{cursor:pointer}.hqre__result-row:hover{background:rgba(220,163,49,.08)}.hqre__result-detail{margin-top:12px;padding:12px;border:1px solid #786332;border-radius:7px;background:var(--panel)}.hqre__detail-head{display:flex;justify-content:space-between;gap:12px;align-items:center}.hqre__detail-head span{color:var(--muted);font-size:.8rem}.hqre__results-table td:nth-child(3),.hqre__results-table td:nth-child(4){max-width:240px;overflow:hidden;text-overflow:ellipsis}@media(max-width:800px){.hqre__results-head{grid-template-columns:1fr 1fr}.hqre__detail-head{align-items:flex-start;flex-direction:column}}
/* v0.7.0 – Matrix presets and job archive */
.hqre__presetbox{margin-top:12px;padding:12px;border:1px solid #786332;border-radius:7px;background:var(--panel)}
.hqre__presetrow{display:flex;gap:8px;align-items:end;flex-wrap:wrap}.hqre__presetrow label{display:grid;gap:4px;min-width:min(520px,100%);color:var(--muted);font-size:.76rem}
.hqre__presetrow select,.hqre__notes textarea{width:100%;background:#0d0f11;color:var(--text);border:1px solid #786332;border-radius:5px;padding:7px}.hqre__notes{display:grid;gap:4px;margin-top:10px;color:var(--muted);font-size:.76rem}.hqre__notes textarea{resize:vertical}
/* 0.8.0 – datasets */
.hqre__dataset-jobs{display:grid;gap:7px;margin:12px 0}.hqre__dataset-job{display:flex;gap:9px;align-items:flex-start;border:1px solid rgba(184,135,36,.45);border-radius:7px;padding:8px 10px}.hqre__dataset-job span{line-height:1.35}.hqre__dataset-report h3{margin:18px 0 8px}.hqre__matrixwrap{overflow:auto}.hqre__matrix{border-collapse:separate;border-spacing:3px;min-width:100%}.hqre__matrix th{font-size:.78rem;text-align:left;white-space:nowrap;padding:6px}.hqre__matrix td{min-width:118px;padding:8px;border-radius:5px;text-align:center;font-size:.78rem;color:#111}.hqre__matrix td strong,.hqre__matrix td span{display:block}.hqre__matrix td strong{font-size:.85rem}.hqre__matrix td span{margin-top:2px}
@media print{body *{visibility:hidden!important}.hqre__dataset-report,.hqre__dataset-report *{visibility:visible!important}.hqre__dataset-report{position:absolute;left:0;top:0;width:100%;background:#fff!important;color:#111!important}.hqre__dataset-report table{font-size:9pt}.hqre__dataset-report .hqre__matrix td{-webkit-print-color-adjust:exact;print-color-adjust:exact}.hqre__hint{color:#333!important}}

.hqre__print-head{display:none}@media print{.hqre__print-head{display:block!important;visibility:visible!important}.hqre__print-head *{visibility:visible!important}}

/* 0.8.1 – dataset notes, input selector and print-fit corrections */
.hqre__dataset-jobtext{display:grid;gap:2px;min-width:0}.hqre__dataset-jobtext strong{font-weight:600}.hqre__dataset-jobtext small{display:block;color:var(--muted);font-size:.78rem;line-height:1.35;white-space:pre-wrap}.hqre__matrix td,.hqre__matrix td strong,.hqre__matrix td span{color:#111!important}
@page{size:A4 landscape;margin:8mm}
@media print{
  html,body{width:100%!important;margin:0!important;padding:0!important}
  .hqre__dataset-report{position:absolute!important;left:0!important;top:0!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;overflow:visible!important}
  .hqre__tablewrap,.hqre__matrixwrap{width:100%!important;max-width:100%!important;overflow:visible!important}
  .hqre__dataset-report table{width:100%!important;max-width:100%!important;min-width:0!important;table-layout:fixed!important}
  .hqre__results-table{font-size:6.4pt!important}
  .hqre__results-table th,.hqre__results-table td{padding:3px 4px!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important}
  .hqre__results-table th:nth-child(1),.hqre__results-table td:nth-child(1){width:8%!important}
  .hqre__results-table th:nth-child(2),.hqre__results-table td:nth-child(2){width:10%!important}
  .hqre__results-table th:nth-child(3),.hqre__results-table td:nth-child(3){width:22%!important;max-width:none!important}
  .hqre__results-table th:nth-child(4),.hqre__results-table td:nth-child(4){width:17%!important;max-width:none!important}
  .hqre__results-table th:nth-child(5),.hqre__results-table td:nth-child(5){width:12%!important}
  .hqre__results-table th:nth-child(6),.hqre__results-table td:nth-child(6){width:11%!important}
  .hqre__results-table th:nth-child(7),.hqre__results-table td:nth-child(7){width:10%!important}
  .hqre__results-table th:nth-child(8),.hqre__results-table td:nth-child(8){width:10%!important}
  .hqre__matrix{border-spacing:1px!important;font-size:5.2pt!important}
  .hqre__matrix th,.hqre__matrix td{min-width:0!important;padding:2px!important;white-space:normal!important;overflow-wrap:anywhere!important}
  .hqre__matrix th:first-child{width:15%!important}
  .hqre__matrix td,.hqre__matrix th:not(:first-child){text-align:center!important}
  .hqre__matrix td strong{font-size:5.5pt!important;color:#111!important}
  .hqre__matrix td span{font-size:5.2pt!important;color:#111!important}
  .hqre__matrix td{-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important;color:#111!important}
}

/* 0.8.2 – selected-metric matrix and poster-print page */
.hqre__matrix td.hqre__matrix-na{background:transparent!important;color:inherit!important}
@media print{
 .hqre__print-head p strong{font-size:9pt!important}
 .hqre__matrix-print-page{break-before:page!important;page-break-before:always!important;break-inside:avoid!important;page-break-inside:avoid!important;width:100%!important;height:185mm!important;max-height:185mm!important;overflow:hidden!important;display:flex!important;flex-direction:column!important}
 .hqre__matrix-print-page h3{margin:0 0 2mm!important;font-size:11pt!important}
 .hqre__matrix-print-page .hqre__hint{margin:0 0 2mm!important;font-size:6pt!important}
 .hqre__matrix-print-page .hqre__matrixwrap{flex:1 1 auto!important;min-height:0!important;display:flex!important;align-items:flex-start!important}
 .hqre__matrix-print-page .hqre__matrix{width:100%!important;height:100%!important;table-layout:fixed!important;border-spacing:1px!important;font-size:4.6pt!important}
 .hqre__matrix-print-page .hqre__matrix th,.hqre__matrix-print-page .hqre__matrix td{padding:1px 2px!important;line-height:1.05!important}
 .hqre__matrix-print-page .hqre__matrix td strong{font-size:4.8pt!important}
 .hqre__matrix-print-page .hqre__matrix td span{font-size:4.5pt!important}
}

/* 0.8.3 – hardware metadata, sticky matrix axes and complete poster print */
.hqre__hardware{margin:12px 0;padding:12px;border:1px solid rgba(184,135,36,.45);border-radius:8px}.hqre__hardware-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px 12px}.hqre__hardware-grid label{display:grid;gap:4px}.hqre__hardware-grid input{width:100%}.hqre__hardware-grid small{color:#d9a84d}.hqre__matrix thead th{position:sticky;top:0;z-index:3;background:#111}.hqre__matrix tbody th{position:sticky;left:0;z-index:2;background:#111}.hqre__matrix thead th:first-child{left:0;z-index:4}
@media print{
 .hqre__hardware{display:none!important}
 .hqre__matrix-print-page{height:auto!important;max-height:none!important;overflow:visible!important;display:block!important}
 .hqre__matrix-print-page .hqre__matrixwrap{display:block!important;overflow:visible!important}
 .hqre__matrix-print-page .hqre__matrix{height:auto!important;width:100%!important;table-layout:fixed!important;border-spacing:.35mm!important}
 .hqre__matrix-print-page .hqre__matrix th,.hqre__matrix-print-page .hqre__matrix td{font-size:clamp(2.2pt,calc(150pt / var(--hqre-matrix-rows)),4.6pt)!important;padding:.25mm .4mm!important;line-height:1!important;white-space:normal!important}
 .hqre__matrix-print-page .hqre__matrix td strong{font-size:inherit!important}.hqre__matrix-print-page .hqre__matrix td span{font-size:inherit!important}
 .hqre__matrix thead th,.hqre__matrix tbody th{position:static!important;background:#fff!important;color:#111!important}
}
@media(max-width:700px){.hqre__hardware-grid{grid-template-columns:1fr}}

/* 0.9.0 – viewport-sticky matrix header and deterministic one-page poster print */
.hqre__dataset-report .hqre__matrixwrap{overflow:visible}
.hqre__dataset-report .hqre__matrix thead th{position:sticky;top:0;z-index:30;background:#111}
.hqre__dataset-report .hqre__matrix tbody th{position:sticky;left:0;z-index:20;background:#111}
.hqre__dataset-report .hqre__matrix thead th:first-child{left:0;z-index:40}
@media print{
  /* The report is the only printable surface. Bridge chrome/navigation never participates in layout. */
  .hqpsb__header,.hqpsb__nav,.hqpsb__top,.hqpsb__status,.hqpsb__controls,.hqre__header,.hqre__tabs,.hqre__datasets-controls,.hqre__hardware,[data-ds-jobs],[data-ds-save],[data-ds-print]{display:none!important}
  .hqre__dataset-report{display:block!important;position:absolute!important;inset:0 auto auto 0!important;width:100%!important}
  .hqre__matrix-print-page{break-before:page!important;page-break-before:always!important;break-after:avoid!important;page-break-after:avoid!important;break-inside:avoid!important;page-break-inside:avoid!important;width:100%!important;height:185mm!important;max-height:185mm!important;overflow:hidden!important;display:flex!important;flex-direction:column!important}
  .hqre__matrix-print-page h3{flex:0 0 auto!important;margin:0 0 1mm!important;font-size:10pt!important}
  .hqre__matrix-print-page .hqre__hint{flex:0 0 auto!important;margin:0 0 1mm!important;font-size:5.5pt!important}
  .hqre__matrix-print-page .hqre__matrixwrap{flex:1 1 0!important;min-height:0!important;height:auto!important;overflow:hidden!important;display:flex!important}
  .hqre__matrix-print-page .hqre__matrix{flex:1 1 auto!important;width:100%!important;height:100%!important;max-height:100%!important;table-layout:fixed!important;border-spacing:.25mm!important}
  .hqre__matrix-print-page .hqre__matrix thead{height:5mm!important}
  .hqre__matrix-print-page .hqre__matrix tbody tr{height:calc((100% - 5mm) / var(--hqre-matrix-rows))!important}
  .hqre__matrix-print-page .hqre__matrix th,.hqre__matrix-print-page .hqre__matrix td{position:static!important;padding:.15mm .3mm!important;line-height:.95!important;font-size:clamp(1.8pt,calc(125pt / var(--hqre-matrix-rows)),4.2pt)!important;overflow:hidden!important}
  .hqre__matrix-print-page .hqre__matrix td strong,.hqre__matrix-print-page .hqre__matrix td span{font-size:inherit!important;line-height:.95!important}
  .hqre__matrix-print-page .hqre__matrix th{background:#fff!important;color:#111!important}
}

/* 0.9.0-fixed1 – real horizontal matrix scrolling + fixed synchronized header */
.hqre__dataset-report .hqre__matrixwrap{overflow-x:auto!important;overflow-y:hidden!important;max-width:100%;position:relative}
.hqre__dataset-report .hqre__matrix{width:max-content;min-width:100%}
.hqre__dataset-report .hqre__matrix th:first-child{min-width:190px}
.hqre__dataset-report .hqre__matrix th:not(:first-child),.hqre__dataset-report .hqre__matrix td{min-width:115px}
.hqre__matrix-float{position:fixed;z-index:2147482500;display:none;overflow:hidden;background:#111;border-bottom:1px solid #786332;box-shadow:0 5px 12px rgba(0,0,0,.45)}
.hqre__matrix-float table{margin:0!important;width:max-content!important;min-width:100%!important;border-collapse:collapse!important;background:#111}
.hqre__matrix-float th{padding:9px!important;white-space:nowrap!important;color:var(--muted)!important;background:#111!important;border-bottom:1px solid #786332!important}
@media print{
 .hqre__matrix-float{display:none!important}
 /* Keep the 0.8.3 poster sizing: it was the better print baseline. */
 .hqre__matrix-print-page{height:auto!important;max-height:none!important;overflow:visible!important;display:block!important}
 .hqre__matrix-print-page .hqre__matrixwrap{display:block!important;overflow:visible!important}
 .hqre__matrix-print-page .hqre__matrix{height:auto!important;width:100%!important;min-width:0!important;table-layout:fixed!important;border-spacing:.35mm!important}
 .hqre__matrix-print-page .hqre__matrix th,.hqre__matrix-print-page .hqre__matrix td{height:auto!important;min-width:0!important;font-size:clamp(2.2pt,calc(150pt / var(--hqre-matrix-rows)),4.6pt)!important;padding:.25mm .4mm!important;line-height:1!important;white-space:normal!important;overflow:hidden!important}
 .hqre__matrix-print-page .hqre__matrix td strong,.hqre__matrix-print-page .hqre__matrix td span{font-size:inherit!important;line-height:1!important}
 .hqre__matrix-print-page .hqre__matrix th{background:#fff!important;color:#111!important}
}

/* 0.9.0-fixed2 – isolate the Ranking report from all Bridge chrome during printing. */
@media print{
 body.hqre-printing .hqpsb *{visibility:hidden!important}
 body.hqre-printing .hqre__dataset-report,
 body.hqre-printing .hqre__dataset-report *{visibility:visible!important}
 body.hqre-printing .hqre__dataset-report{position:absolute!important;left:0!important;top:0!important;width:100%!important}
 body.hqre-printing .hqre__matrix-float{display:none!important;visibility:hidden!important}
}

/* 0.9.0-fixed3 – secondary Ist/Soll result details. */
.hqre__results-head strong small{display:block;font-size:.72em;font-weight:500;line-height:1.35;margin-top:.2rem;opacity:.78}


/* 0.9.2 – collapsible dataset sections and direct column filters */
.hqre__collapse{border:1px solid rgba(184,135,36,.45);border-radius:7px;background:var(--panel);margin-top:12px}
.hqre__collapse>summary{display:flex;align-items:center;gap:10px;padding:10px 12px;cursor:pointer;list-style:none;color:var(--text)}
.hqre__collapse>summary::-webkit-details-marker{display:none}.hqre__collapse>summary::before{content:'▸';color:#dca331;font-size:.9rem}.hqre__collapse[open]>summary::before{content:'▾'}
.hqre__sethead{align-items:flex-start;gap:12px}.hqre__sethead>.hqre__collapse{flex:1 1 auto;margin-top:0}.hqre__sethead>.hqre__actions{margin-top:0}
.hqre__collapse .hqre__dataset-jobs{margin:0;padding:0 10px 10px}.hqre__report-collapse{margin-top:14px}.hqre__report-collapse>.hqre__tablewrap,.hqre__report-collapse>.hqre__hint,.hqre__report-collapse>.hqre__matrixwrap{margin-left:10px;margin-right:10px}.hqre__report-collapse>.hqre__matrixwrap{margin-bottom:10px}
.hqre__column-filters th{padding-top:4px;padding-bottom:8px}.hqre__column-filters input{box-sizing:border-box;width:100%;min-width:86px;background:#0d0f11;color:var(--text);border:1px solid #786332;border-radius:5px;padding:5px 6px;font-size:.76rem}.hqre__column-filters input::placeholder{color:#7f8790}
@media(max-width:800px){.hqre__sethead{flex-direction:column}.hqre__sethead>.hqre__collapse{width:100%}}
@media print{.hqre__collapse{border:0!important;background:transparent!important}.hqre__collapse>summary{display:none!important}.hqre__column-filters{display:none!important}}

.hqre__mode-toggle{display:flex;gap:1rem;align-items:center;flex-wrap:wrap}.hqre__mode-toggle label{display:flex;gap:.4rem;align-items:center}.hqre__warning{border:1px solid currentColor;padding:.7rem .85rem;margin:.7rem 0 0;font-weight:600}.hqre [hidden]{display:none!important}

/* 1.0.3 – structured benchmark hardware context */
.hqre__hardware-grid select{width:100%}.hqre__hardware-grid label>input[hidden]{display:none!important}.hqre__checkline>span:nth-child(2){display:flex;align-items:center;gap:.45rem;min-height:38px}.hqre__checkline input[type="checkbox"]{width:auto}.hqre__checkline small{min-height:1em}

/* 1.0.3-fixed1 – hardware DAC selector follows the common dark/ochre UI */
.hqre__hardware-grid select{width:100%;min-height:38px;background:#0d0f11;color:var(--text);border:1px solid #786332;border-radius:5px;padding:7px 34px 7px 10px;font:inherit;color-scheme:dark}
.hqre__hardware-grid select:focus{outline:none;border-color:#dca331;box-shadow:0 0 0 1px rgba(220,163,49,.25)}
.hqre__hardware-grid select option{background:#181b1f;color:var(--text)}

/* 1.2.0 – compact Ranking Inspector, aligned with the common ochre controls */
.hqre__ranking-inspector{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:10px;padding:7px 9px;border:1px solid #786332;border-radius:7px;background:var(--panel);font-size:.82rem}.hqre__ri-title{font-weight:700;color:var(--text)}.hqre__ri-switch{display:inline-flex;align-items:center;gap:5px}.hqre__ranking-inspector input[type="number"]{width:52px;background:#0d0f11;color:var(--text);border:1px solid #786332;border-radius:5px;padding:4px 5px}.hqre__ranking-inspector small{margin-left:auto;color:var(--muted);white-space:nowrap}.hqre__ranking-inspector strong{font-size:.95rem}.hqre__ranking-inspector input[type="checkbox"]{accent-color:#dca331}@media(max-width:800px){.hqre__ranking-inspector small{width:100%;margin-left:0}}

/* 1.2.0-fixed1 – Inspector: compact administration + live display frames */
.hqre__ranking-inspector{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(220px,.75fr);gap:10px;margin-top:10px;padding:0;border:0;background:transparent;font-size:.82rem}
.hqre__ri-frame{min-height:54px;border:1px solid #786332;border-radius:7px;background:var(--panel);padding:8px 10px;display:flex;align-items:center;gap:10px}
.hqre__ri-admin{flex-wrap:wrap}.hqre__ri-admin label{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}.hqre__ri-title{font-weight:700;color:var(--text);margin-right:2px}.hqre__ri-switch{display:inline-flex;align-items:center;gap:5px}.hqre__ri-admin input[type="number"]{width:50px;background:#0d0f11;color:var(--text);border:1px solid #786332;border-radius:5px;padding:4px 5px}.hqre__ri-admin input[type="checkbox"]{accent-color:#dca331}.hqre__ri-display{justify-content:space-around}.hqre__ri-display>span{display:flex;flex-direction:column;gap:2px;min-width:86px}.hqre__ri-display small{color:var(--muted);font-size:.72rem}.hqre__ri-display strong{font-size:.95rem;color:var(--text)}.hqre__ri-helptext{position:relative}.hqre__ri-helptext .hqre__version-close{position:absolute;right:8px;top:6px}@media(max-width:800px){.hqre__ranking-inspector{grid-template-columns:1fr}.hqre__ri-display{justify-content:flex-start;gap:28px}}

/* 1.2.1 – passive Control connection telemetry; same LED geometry/states as Bridge Monitor. */
.hqre__ri-admin{flex-wrap:nowrap}
.hqre__ri-status{margin-left:auto;display:flex;flex-direction:column;gap:2px;min-width:72px}
.hqre__ri-status small{color:var(--muted);font-size:.72rem}.hqre__ri-status strong{font-size:.95rem;color:var(--text)}
.hqre__ri-display{justify-content:flex-start;flex-wrap:wrap;gap:8px 24px}
.hqre__ri-display small{white-space:normal}
.hqre__ri-display .hqre__ri-captured{flex-basis:100%;margin-left:0;font-variant-numeric:tabular-nums}
.hqre__ri-captured:empty{display:none}
.hqre__connection-led{box-sizing:border-box;display:inline-block;flex:0 0 8px;width:8px;min-width:8px;max-width:8px;height:8px;min-height:8px;max-height:8px;padding:0;margin:0;border:0;border-radius:50%;background:#777;box-shadow:0 0 0 1px rgba(255,255,255,.16);cursor:default;vertical-align:middle;appearance:none;-webkit-appearance:none}
.hqre__connection-led[data-state="fresh"]{background:#55b86a}.hqre__connection-led[data-state="stale"]{background:#c85757}.hqre__connection-led[data-state="none"]{background:#777}
.hqre__connection-led.is-pulse{animation:hqre-connection-led-pulse .34s ease-out 1}@keyframes hqre-connection-led-pulse{0%{opacity:1;box-shadow:0 0 0 1px rgba(255,255,255,.16),0 0 6px rgba(255,255,255,.85)}100%{opacity:.72;box-shadow:0 0 0 1px rgba(255,255,255,.16)}}
@media(max-width:800px){.hqre__ri-admin{flex-wrap:wrap}.hqre__ri-status{margin-left:0}.hqre__ri-display{gap:28px}}

/* 1.2.2 – compact port telemetry: open connections + rolling connect load. */
.hqre__dataset-subhead{margin:14px 0 8px;font-size:.95rem}.hqre__dataset-job[data-ds-consolidated-id]{display:flex;align-items:center;justify-content:space-between;gap:12px}.hqre__dataset-job[data-ds-consolidated-id] .hqre__actions{display:flex;gap:6px;flex-wrap:wrap}.hqre__dataset-job[data-ds-consolidated-id] button{white-space:nowrap}

/* 1.4.0 - DSD -2s sister-pair selector */
.hqre__filter-switch{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;color:var(--text);font-size:.78rem}.hqre__filter-switch input[type="checkbox"]{accent-color:#dca331}

/* 1.4.0-fixed1 - DSD filter toolbar: search field on dedicated row */
.hqre__toolbar--sdm-filter{display:flex;flex-direction:column;align-items:stretch;gap:6px}.hqre__toolbar--sdm-filter .hqre__toolbar-row{display:flex;align-items:center;gap:6px;min-width:0}.hqre__toolbar--sdm-filter .hqre__filter-search-row{display:block;width:100%}.hqre__toolbar--sdm-filter .hqre__filter-search-row input{display:block;width:100%;min-width:0;margin-left:0}
@media(max-width:800px){.hqre__toolbar--sdm-filter .hqre__toolbar-row{flex-wrap:wrap}}

/* 1.5.1 – clean separation of HQPlayer system, DSP and DAC metadata. */
.hqre__hardware-info,.hqre__hardware-dsp{border:1px solid rgba(191,143,55,.35);border-radius:8px;padding:10px 12px;display:grid;gap:8px}
.hqre__hardware-info>strong,.hqre__hardware-dsp>strong{color:var(--hqre-accent,#c99a45)}
.hqre__hardware-info input[readonly]{opacity:.9;cursor:default}

/* 1.5.1-fixed1 – compact, collapsible ranking hardware */
.hqre__hardware{padding:0;overflow:hidden}.hqre__hardware>summary{cursor:pointer;padding:9px 12px;list-style:none}.hqre__hardware>summary::-webkit-details-marker{display:none}.hqre__hardware>summary:before{content:"▸";display:inline-block;margin-right:7px}.hqre__hardware[open]>summary:before{content:"▾"}.hqre__hardware-body{padding:4px 12px 12px}.hqre__hardware-grid{grid-template-columns:1fr 1fr;align-items:start;gap:10px 12px}.hqre__hardware-grid>label,.hqre__hardware-dac label{display:grid;gap:4px}.hqre__hardware-info,.hqre__hardware-dsp{padding:8px 10px;gap:6px}.hqre__hardware-meta{display:grid;grid-template-columns:minmax(0,2fr) minmax(80px,.6fr) minmax(90px,.7fr);gap:7px}.hqre__hardware-meta label{display:grid;gap:3px}.hqre__hardware-meta input,.hqre__hardware-grid>label>input,.hqre__hardware-dac input{min-height:34px;padding:5px 8px}.hqre__hardware-checks{display:flex;flex-wrap:wrap;gap:8px 18px}.hqre__hardware-checks .hqre__checkline{min-width:180px}.hqre__hardware-dac{display:grid;gap:8px}.hqre__hardware .hqre__actions{margin-top:9px}.hqre__hardware-body>small{display:block;margin-top:6px}@media(max-width:900px){.hqre__hardware-meta{grid-template-columns:1fr}.hqre__hardware-grid{grid-template-columns:1fr}}

/* 1.5.1-fixed2: keep the DSD modulator selector fully inside its fieldset. */
.hqre__candidate-list[data-list="modulator"]{height:190px;min-height:190px;overflow-y:auto;overflow-x:hidden;padding-bottom:12px;scrollbar-gutter:stable}
.hqre__candidate-list[data-list="modulator"] .hqre__candidate:last-child{margin-bottom:4px}


/* 1.5.2-fixed2 – translatable in-page dialogs in the common dark/ochre design. */
.hqre__modal-backdrop{position:fixed;inset:0;z-index:2147483000;display:flex;align-items:center;justify-content:center;padding:20px;background:rgba(0,0,0,.68);backdrop-filter:blur(2px)}
.hqre__modal{box-sizing:border-box;width:min(560px,calc(100vw - 32px));max-height:min(80vh,680px);overflow:auto;border:1px solid #786332;border-radius:10px;background:#111315;color:var(--text);box-shadow:0 18px 60px rgba(0,0,0,.55)}
.hqre__modal-body{padding:20px 22px;font-size:.95rem;line-height:1.55;white-space:pre-line}
.hqre__modal-actions{display:flex;justify-content:flex-end;gap:9px;padding:12px 16px;border-top:1px solid rgba(120,99,50,.65);background:#0d0f11}
.hqre__modal-button{min-width:92px;border:1px solid #786332;border-radius:6px;background:#171a1d;color:var(--text);padding:8px 14px;font:inherit;cursor:pointer}
.hqre__modal-button:hover,.hqre__modal-button:focus{outline:none;border-color:#dca331;box-shadow:0 0 0 1px rgba(220,163,49,.2)}
.hqre__modal-button--primary{background:#d89a21;color:#111;border-color:#d89a21;font-weight:700}

/* 1.5.3 – Inspector Runner title on its own line. */
.hqre__ri-admin{flex-wrap:wrap}.hqre__ri-break{flex-basis:100%;width:0;height:0}.hqre__ri-title{white-space:nowrap}

/* 1.6.0 – print only user-opened report sections. */
@media print{body.hqre-printing:not(.hqre-print-table) [data-ds-collapse="table"]{display:none!important}body.hqre-printing:not(.hqre-print-matrix) [data-ds-collapse="matrix"]{display:none!important}body.hqre-printing.hqre-print-table:not(.hqre-print-matrix) [data-ds-collapse="table"]{display:block!important}body.hqre-printing.hqre-print-matrix:not(.hqre-print-table) [data-ds-collapse="matrix"]{display:block!important;page-break-before:auto!important;break-before:auto!important}}

.hqre [data-ds-delete-measurements][hidden],
.hqre [data-ds-reload-comparison][hidden],
.hqre [data-ds-measurements][hidden] {display:none}
.hqre [data-ds-delete-measurements]:enabled {border-color:#d76868;color:#ffc4c4}
.hqre [data-ds-delete-status]:not(:empty) {flex-basis:100%}
.hqre__comparison-actions {display:inline-flex;align-items:center;gap:.3rem;margin-right:.5rem;vertical-align:middle}
.hqre__comparison-actions button {min-width:1.9rem;min-height:1.9rem;padding:.15rem .35rem}
.hqre__comparison-actions input,
.hqre__measurement-list input {accent-color:#dca331}
.hqre__comparison-table [data-ds-measurements] td {white-space:normal;background:var(--bg)}
.hqre__measurement-list {display:grid;gap:.4rem;margin:0;padding:0;list-style:none}
.hqre__measurement-list label {display:block;padding:.35rem .5rem;border:1px solid var(--line);border-radius:5px;cursor:pointer}
.hqre__measurement-list input {margin-right:.5rem}
.hqre__measurement-list small {display:block;padding-left:1.8rem;color:var(--muted);overflow-wrap:anywhere}
@media print {
  .hqre__comparison-actions, .hqre [data-ds-measurements] {display:none!important}
}

.hqre [data-ds-consolidate-passive][hidden],
.hqre [data-ds-passive-hardware][hidden],
.hqre [data-ds-passive-hardware-load][hidden],
.hqre [data-ds-passive-hardware-form][hidden] {display:none}
.hqre__passive-hardware {margin-bottom:.9rem;padding:.75rem;border:1px solid var(--line);border-radius:7px}
.hqre__passive-hardware summary {cursor:pointer}
.hqre__passive-hardware p {margin:.5rem 0}
.hqre__passive-hardware [role="status"]:empty {display:none}
