.hb-app{--hb-bg:#04111f;--hb-panel:#081e30;--hb-line:#174056;--hb-cyan:#00e1f5;--hb-muted:#9cb7c7;font-family:Manrope,Arial,sans-serif;background:var(--hb-bg);color:#f4fbff;border:1px solid #15536b;border-radius:22px;padding:clamp(22px,4vw,54px);max-width:1450px;margin:20px auto;box-sizing:border-box}.hb-app *{box-sizing:border-box}.hb-header{display:flex;justify-content:space-between;gap:24px;align-items:center;padding-bottom:36px}.hb-eyebrow,.hb-kicker{font:700 11px 'Space Grotesk',Arial,sans-serif;letter-spacing:2.6px;color:var(--hb-cyan)}.hb-header h1{font:800 clamp(38px,6vw,74px) 'Space Grotesk',Arial,sans-serif;letter-spacing:-3px;margin:10px 0}.hb-header h1 span{color:var(--hb-cyan)}.hb-header h1 small{font-size:14px;vertical-align:top;letter-spacing:0}.hb-header p,.hb-sectiontop p{color:var(--hb-muted);margin:8px 0;line-height:1.7}.hb-status{border:1px solid var(--hb-line);border-radius:50px;padding:14px 19px;font-size:11px;letter-spacing:1px;white-space:nowrap}.hb-status i{display:inline-block;width:8px;height:8px;background:#00d89a;border-radius:50%;margin-right:7px}.hb-status b{color:#00d89a}.hb-nav{display:flex;gap:7px;border-bottom:1px solid var(--hb-line);margin-bottom:30px;flex-wrap:wrap}.hb-nav button{color:var(--hb-muted);background:transparent;border:0;border-bottom:2px solid transparent;padding:17px 23px;cursor:pointer;font:700 13px 'Space Grotesk',Arial,sans-serif}.hb-nav button.active{color:var(--hb-cyan);border-color:var(--hb-cyan)}.hb-panel{min-height:390px}.hb-panel[hidden],.hb-notice[hidden]{display:none}.hb-sectiontop{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:28px}.hb-sectiontop h2{font:400 clamp(27px,3.2vw,43px) Georgia,serif;letter-spacing:-.7px;margin:9px 0}.hb-search{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;padding:23px;background:#081d2d;border:1px solid var(--hb-line);border-radius:15px}.hb-search label{flex:1 1 220px;display:flex;flex-direction:column;gap:9px;color:#c5dbe6;font-size:12px;font-weight:700}.hb-search input{height:49px;background:#061726;color:white;border:1px solid #286077;border-radius:9px;padding:0 14px;font:inherit;min-width:0}.hb-search input:focus{outline:2px solid var(--hb-cyan)}.hb-app button{transition:background .2s,transform .2s}.hb-search button,.hb-action{border:0;border-radius:9px;background:var(--hb-cyan);color:#031522;font-weight:800;padding:15px 20px;min-height:49px;cursor:pointer}.hb-search button:hover,.hb-action:hover{background:#8af5ff}.hb-search button span{margin-left:10px}.hb-footnote,.hb-footer{color:#7895a7;font-size:12px;line-height:1.7}.hb-footnote{margin:15px 0}.hb-results{margin-top:24px;display:grid;gap:12px}.hb-lead,.hb-audit-card{background:#081d2d;border:1px solid var(--hb-line);border-radius:14px;padding:21px}.hb-lead{display:flex;justify-content:space-between;align-items:center;gap:18px;flex-wrap:wrap}.hb-lead h3,.hb-audit-card h3{margin:0 0 8px;font-size:18px}.hb-lead p,.hb-audit-card p{margin:4px 0;color:var(--hb-muted);font-size:13px;line-height:1.7;overflow-wrap:anywhere}.hb-secondary{border:1px solid #2688a2;border-radius:9px;background:#09293a;color:#bceef7;font-weight:700;padding:12px 17px;cursor:pointer}.hb-secondary:hover{background:#0e4054}.hb-auditsearch label{flex-basis:300px}.hb-audit-grid{display:grid;grid-template-columns:160px 1fr;gap:24px;align-items:center}.hb-score{width:138px;height:138px;border-radius:50%;border:7px solid var(--hb-cyan);display:flex;flex-direction:column;align-items:center;justify-content:center}.hb-score strong{font-size:44px;line-height:1;color:var(--hb-cyan)}.hb-score span{font-size:10px;text-transform:uppercase;text-align:center;color:#aacbd8;margin-top:8px}.hb-issues{margin:23px 0 0;padding:0;list-style:none;display:grid;gap:9px}.hb-issues li{border-top:1px solid var(--hb-line);padding:12px 0}.hb-issues b{color:#fff}.hb-issues small{display:block;color:var(--hb-muted);margin-top:5px}.hb-issueweight{color:#ffc783;float:right}.hb-audit-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:24px}.hb-pipeline{display:grid;gap:12px}.hb-stage{background:#061726;color:#fff;border:1px solid #286077;padding:9px;border-radius:8px}.hb-notice{padding:14px 18px;border:1px solid #0b8d9b;background:#073241;border-radius:10px;margin-bottom:18px;color:#e8fdff}.hb-notice.error{border-color:#ba5561;background:#351e29}.hb-footer{border-top:1px solid var(--hb-line);margin-top:35px;padding-top:19px;display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap}.hb-copy{white-space:pre-wrap;background:#061726;color:#cce6ef;border:1px solid #285167;border-radius:9px;padding:16px;margin-top:14px;font-size:13px;line-height:1.7}.hb-app a{color:var(--hb-cyan)}@media(max-width:700px){.hb-header{display:block}.hb-status{display:inline-block;margin-top:15px}.hb-audit-grid{grid-template-columns:1fr}.hb-nav button{padding:13px 10px}.hb-search button{width:100%}.hb-app{border-radius:12px}}

/* v0.3.1: scoped OSM batch controls; existing layout untouched. */
.hb-batch-controls{margin-top:24px;padding:22px;border:1px solid rgba(0,225,245,.4);border-radius:15px;background:#071a29}.hb-batch-controls[hidden]{display:none}.hb-batch-top{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}.hb-batch-top h3{margin:8px 0;color:#f4fbff}.hb-batch-buttons{display:flex;flex-wrap:wrap;gap:9px}.hb-batch-controls #hb-batch-progress{color:#a6d7e5;font-size:13px}.hb-batch-failures{border:1px solid #355166;padding:15px;border-radius:10px;color:#bfd6e4}.hb-batch-failures p{overflow-wrap:anywhere;font-size:12px}.hb-batch-controls button:disabled{opacity:.55;cursor:not-allowed}

/* v0.3.2 — opportunity severity and taxonomy-style batch action layout */
.hb-app .hb-batch-lead{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,auto);gap:20px;align-items:center;min-width:0}
.hb-app .hb-batch-main{min-width:0}
.hb-app .hb-batch-right{display:flex;flex-direction:column;align-items:flex-end;gap:14px;min-width:0}
.hb-app .hb-batch-buttons{display:flex;gap:14px;justify-content:flex-end;flex-wrap:wrap}
.hb-app .hb-batch-buttons .hb-glow-button{font:700 15px 'Space Grotesk',Arial,sans-serif;padding:15px 23px;min-height:52px;border-radius:12px;border:1px solid rgba(0,229,255,.65);color:#dcfaff;background:linear-gradient(145deg,#10324a,#071c2d);box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 0 12px rgba(0,229,255,.15);transition:box-shadow .2s,transform .2s}
.hb-app .hb-batch-buttons .hb-glow-button:hover:not(:disabled){box-shadow:0 0 23px rgba(0,229,255,.4),inset 0 0 12px rgba(0,229,255,.08);transform:translateY(-1px)}
.hb-app .hb-batch-signals{font-size:12px;color:#a7c4d2;text-align:right;max-width:530px;margin:0;line-height:1.6;overflow-wrap:anywhere}
.hb-app .hb-opportunity-badge{display:inline-block;font-weight:800;padding:7px 12px;border-radius:8px;letter-spacing:1.5px}
.hb-app .hb-risk-high .hb-opportunity-badge{color:#ff8585;background:rgba(240,60,68,.11);border:1px solid rgba(255,83,92,.42)}
.hb-app .hb-risk-moderate .hb-opportunity-badge{color:#ffbb68;background:rgba(255,146,30,.1);border:1px solid rgba(255,155,51,.4)}
.hb-app .hb-risk-low .hb-opportunity-badge{color:#74e9b5;background:rgba(36,204,126,.1);border:1px solid rgba(65,225,151,.4)}
.hb-app .hb-universal-label{display:block;margin:18px 0 4px;color:#c9e6f1;font-weight:700}
.hb-app .hb-universal-label input{display:block;width:100%;margin-top:9px;min-height:50px;padding:12px 16px;background:#061827;color:#fff;border:1px solid #29627a;border-radius:9px}
@media(max-width:850px){.hb-app .hb-batch-lead{grid-template-columns:1fr}.hb-app .hb-batch-right{align-items:stretch}.hb-app .hb-batch-buttons{justify-content:flex-start}.hb-app .hb-batch-signals{text-align:left}}
