/* Blue watch/guard layer; teal remains trading, violet remains AI. */
:root{--hc-ink:#1d4ed8;--hc-fill:#eff6ff;--hc-line:#bfdbfe}
[data-theme=dark]{--hc-ink:#93c5fd;--hc-fill:#142438;--hc-line:#344c6b}
.hc-page{--primary:var(--hc-ink)}
.hc-intro{background:var(--hc-fill);border:1px solid var(--hc-line);border-left:4px solid var(--hc-ink);padding:18px;border-radius:6px}
.hc-intro h2{font-size:20px;margin:8px 0}.hc-intro p{font-size:14px;line-height:1.5;max-width:85ch}
.hc-eyebrow{font-size:12px;font-weight:600;color:var(--hc-ink)}
.hc-summary{display:flex;gap:24px;flex-wrap:wrap;align-items:center;margin-top:16px;font-size:13px}
.hc-summary b{font-size:20px;margin-right:4px}.hc-summary a{margin-left:auto}
.hc-filters,.ge-filters{display:grid;grid-template-columns:minmax(180px,2fr) repeat(3,minmax(110px,1fr)) auto;gap:10px;align-items:end}
.hc-list{border:1px solid var(--border);border-radius:6px;overflow:hidden;margin-top:10px}
.hc-row{display:grid;grid-template-columns:24px minmax(0,1fr) 160px 120px 36px;gap:14px;align-items:center;padding:16px;background:var(--surface);border-bottom:1px solid var(--border)}
.hc-row:last-child{border-bottom:0}.hc-shield{font-size:24px;color:var(--hc-ink)}
.hc-name{font-size:14px;font-weight:600}.hc-row p{font-size:13px;line-height:1.4;margin:4px 0;color:var(--muted)}
.hc-row small{font-size:12px;color:var(--muted);overflow-wrap:anywhere}
.hc-state{display:grid;gap:6px}.hc-badge{display:inline-flex;align-items:center;gap:6px;width:fit-content;font-size:12px;font-weight:600;border:1px solid var(--hc-line);border-radius:4px;padding:4px 8px;color:var(--hc-ink);background:var(--hc-fill)}
.hc-badge:before{content:'◉';font-size:11px}.hc-badge.deployed:before{content:'◆'}
.hc-info{display:flex;align-items:center;justify-content:center;width:34px;height:34px;border:1px solid var(--hc-line);border-radius:50%;font-size:14px;font-weight:600;color:var(--hc-ink)}
.hc-finding{font-size:12px;color:var(--muted)}.hc-finding.has-finding{color:var(--warning);font-weight:600}
.hc-finding-detail{margin-top:16px;border-left:3px solid var(--warning);padding:12px;background:var(--warning-surface)}
.hc-finding-detail h3{font-size:15px}.hc-finding-detail p{margin:8px 0}
.hc-library-layer,.hc-library-bot{border:1px solid var(--border);border-radius:6px;padding:14px;background:var(--surface)}
.hc-library-layer>summary,.hc-library-bot>summary{cursor:pointer;font-size:14px;min-height:32px}
.hc-library-layer>summary span,.hc-library-bot code{float:right;color:var(--muted)}
.hc-library-layer p,.hc-library-bot p{font-size:14px;line-height:1.6;margin:10px 0}
.hc-library-bot{margin-top:10px}.hc-empty{padding:24px}
.ge-group-picker>summary{cursor:pointer;font-size:14px;min-height:44px;padding:12px 0}
.ge-group-picker .group-grid{margin-top:12px}
.ge-editor{margin:20px 0;border-top:1px solid var(--border);padding-top:18px}
.ge-editor>h3{font-size:17px;margin-bottom:14px}
.ge-review{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:12px 0;margin-top:8px}
.ge-review>span{margin-right:auto;font-size:14px}.ge-message{padding:10px;background:var(--guide-surface);font-size:13px;margin-bottom:10px}
.ge-columns{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:16px;margin-top:14px}
.ge-list-head,.ge-pagination{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;font-size:13px}
.ge-pagination{margin-top:12px}.ge-results{border:1px solid var(--border);border-radius:6px;overflow:hidden}
.ge-market{display:flex;align-items:center;gap:10px;min-height:66px;padding:12px;border-bottom:1px solid var(--border);cursor:pointer}
.ge-market:last-child{border-bottom:0}.ge-market:has(input:checked){background:var(--guide-surface)}
.ge-market>input{width:18px;height:18px;flex-shrink:0;accent-color:var(--primary)}.ge-market>span{min-width:0}
.ge-market b{font-size:13px;font-weight:500}.ge-market small,.ge-selected small{display:block;font-size:12px;color:var(--muted);margin-top:4px}
.ge-market .ge-value{margin-left:auto;white-space:nowrap;font-size:13px;text-align:right}
.ge-columns>aside{padding:14px;background:var(--soft);border:1px solid var(--border);border-radius:6px;min-width:0}
.ge-columns h3{font-size:14px;margin-bottom:12px}
.ge-selected{max-height:490px;overflow:auto}
.ge-selected>div{display:flex;align-items:center;justify-content:space-between;gap:8px;border-bottom:1px solid var(--border);padding:10px 0;font-size:13px}
.ge-selected>div>span{min-width:0}.ge-selected .button{flex-shrink:0;min-width:34px}
@media(max-width:1100px){.hc-filters,.ge-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.hc-filters>.field:first-child,.ge-filters>.field:first-child{grid-column:1/-1}.ge-columns{grid-template-columns:minmax(0,1fr) 240px}.hc-row{grid-template-columns:20px minmax(0,1fr) 130px 34px}.hc-finding{grid-column:2}.hc-info{grid-column:4;grid-row:1}.hc-state{grid-column:3;grid-row:1}.hc-row small{line-height:1.5}}
@media(max-width:767px){.ge-columns{grid-template-columns:1fr}.hc-row{grid-template-columns:minmax(0,1fr) 44px;padding:14px;gap:10px}.hc-shield{display:none}.hc-row>div:not(.hc-state){grid-column:1}.hc-state{grid-column:1;grid-row:2;display:flex;flex-wrap:wrap;align-items:center}.hc-info{grid-column:2;grid-row:1;width:44px;height:44px}.hc-finding{grid-column:1;grid-row:3;min-height:36px;display:flex;align-items:center}.hc-intro{padding:14px}.hc-intro h2{font-size:18px}.hc-summary{gap:12px}.hc-summary a{margin-left:0;width:100%}.ge-review>.button{flex:1}.ge-review>span{width:100%}.ge-market{align-items:flex-start}.ge-market .ge-value{display:none}.ge-selected .button{min-width:44px}.hc-list{overflow:visible}.hc-row{border-radius:6px}.hc-library-layer>summary span{float:none;margin-left:12px}}
