.hq-attention{margin-top:18px}
.hq-attention-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:14px}
.hq-attention-head h2{margin:0 0 4px}
.hq-attention-head p{margin:0}
.hq-attention-count{display:inline-flex;align-items:center;justify-content:center;min-width:34px;height:34px;padding:0 11px;border-radius:999px;background:#edf3ff;color:var(--blue);font-weight:800}
.hq-attention-list{display:grid;gap:10px}
.hq-attention-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;padding:14px 16px;border:1px solid var(--line);border-radius:10px;background:#fff}
.hq-attention-row strong,.hq-attention-row small{display:block}
.hq-attention-row small{margin-top:3px;color:var(--muted)}
.hq-attention-reason{display:inline-flex;margin-top:8px;padding:4px 9px;border-radius:999px;background:#fff2da;color:#75510c;font-size:.75rem;font-weight:750}
.hq-attention-more{margin:12px 0 0;color:var(--muted);font-size:.8125rem;text-align:center}

.hq-global-file-tools{display:grid;grid-template-columns:repeat(4,minmax(145px,1fr)) auto;align-items:end;gap:12px;margin:14px 0 0;padding:14px 16px;border:1px solid var(--line);border-radius:10px;background:#f8fafc}
.hq-global-file-tools label{gap:6px;margin:0;min-width:0}
.hq-global-file-tools label>span{font-size:.75rem;color:var(--muted);font-weight:650}
.hq-global-file-tools select{min-width:0;margin:0}
.hq-global-file-result{align-self:center;margin:0;color:var(--muted);font-size:.8125rem;white-space:nowrap}
.hq-global-file-empty{padding:34px 20px;border:1px dashed var(--line);border-radius:10px;background:#fff;color:var(--muted);text-align:center}

/* Keep navigation selection unmistakable: gold is reserved for one active page. */
.sidebar .nav-btn:not(.active):hover,.sidebar .nav-btn:not(.active):focus{background:#1a344e;color:#fff}
.sidebar .nav-btn.active{background:var(--gold);color:var(--navy)}

.hq-next-step .section-title{align-items:center}
.hq-next-step .hint{max-width:660px}
.hq-next-step>.toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:10px;overflow:visible}
.hq-next-step>.toolbar>.btn,.hq-next-step>.toolbar>details>summary{display:inline-flex;align-items:center;justify-content:center;min-height:44px;margin:0;padding:0 18px;white-space:nowrap}
.hq-next-step>.toolbar>details{position:relative;margin:0}
.hq-next-step>.toolbar>details>summary{list-style:none}
.hq-next-step>.toolbar>details>summary::-webkit-details-marker{display:none}
.hq-next-step>.toolbar>details>.space-top{position:absolute;z-index:20;top:calc(100% + 8px);right:0;display:grid;min-width:205px;gap:8px;margin:0;padding:10px;border:1px solid var(--line);border-radius:10px;background:#fff;box-shadow:0 12px 28px rgba(25,44,74,.16)}
.hq-next-step>.toolbar>details>.space-top .btn{width:100%;min-height:42px;margin:0;justify-content:flex-start}

@media(max-width:1000px){.hq-global-file-tools{grid-template-columns:1fr 1fr}.hq-global-file-result{grid-column:1/-1;justify-self:start}}
@media(max-width:700px){.hq-attention-row{grid-template-columns:1fr}.hq-attention-row .btn{width:100%}.hq-global-file-tools{grid-template-columns:1fr}.hq-global-file-result{grid-column:auto}.hq-global-file-tools select{font-size:16px}.hq-next-step>.toolbar{display:grid;grid-template-columns:1fr 1fr}.hq-next-step>.toolbar>.btn,.hq-next-step>.toolbar>details,.hq-next-step>.toolbar>details>summary{width:100%}.hq-next-step>.toolbar>details>.space-top{left:0;right:auto;min-width:100%}}
