/* Personal LHB projection: independent of favorites and next-day colors. */
.lhb-follow-heading{display:flex;justify-content:space-between;gap:8px;margin:-5px 0 12px;font-size:12px;color:var(--btmp-text-muted)}
.lhb-follow-heading a{color:var(--btmp-text-muted)}
.lhb-follow-status,.lhb-follow-hint{font-size:12px;line-height:1.7}
.lhb-follow-list{max-height:340px;overflow:auto;overflow-wrap:anywhere}
.lhb-follow-row{display:flex;align-items:flex-start;gap:8px;padding:9px 0;border-bottom:1px solid var(--btmp-line-soft)}
.lhb-follow-row input{margin:4px 0 0;accent-color:var(--btmp-lhb-follow);flex:none}
.lhb-follow-row>div{min-width:0}.lhb-follow-row a{font-size:13px;color:var(--btmp-text)}
.lhb-follow-row small{display:block;color:var(--btmp-text-muted);font-size:11px;line-height:1.8}
.lhb-follow-hint,.lhb-follow-invalid{color:var(--btmp-text-muted)}
.lhb-follow-view[aria-disabled=true]{color:var(--btmp-text-muted);cursor:default}
.review-stock.is-lhb-followed{border-left:3px solid var(--btmp-lhb-follow);padding-left:4px}
.review-lhb-hit{flex:none;font:inherit;font-size:10px;line-height:1.4;min-height:28px;padding:2px 4px;margin-left:3px;border:1px solid color-mix(in srgb,var(--btmp-lhb-follow) 45%,transparent);border-radius:4px;color:var(--btmp-lhb-follow);background:transparent;cursor:pointer}
.lhb-follow-legend{color:var(--btmp-lhb-follow)}
.lhb-hit-detail{position:fixed;z-index:10010;box-sizing:border-box;max-width:min(390px,calc(100vw - 24px));width:max-content;max-height:55vh;overflow:auto;padding:12px 14px;background:var(--btmp-surface);border:1px solid var(--btmp-lhb-follow);border-radius:8px;box-shadow:0 4px 18px #0002;font-size:12px;line-height:1.8;white-space:pre-line;overflow-wrap:anywhere;color:var(--btmp-text)}
.lhb-hit-detail>button{float:right;margin:0 0 8px 12px;font-size:12px;background:transparent;color:var(--btmp-text);border:1px solid var(--btmp-line);border-radius:4px;cursor:pointer}
.lhb-hit-detail{white-space:normal}.lhb-hit-detail [data-lhb-evidence]{white-space:pre-line;clear:both}
.review-lhb-hit[hidden],.lhb-hit-detail[hidden]{display:none}
.lhb-checking .review-stock.is-lhb-followed{border-left-color:transparent}
.lhb-checking .review-lhb-hit,.lhb-checking .lhb-follow-legend{visibility:hidden}
.review-lhb-hit:focus-visible,.lhb-follow-row a:focus-visible,.lhb-follow-row input:focus-visible{outline:2px solid var(--btmp-lhb-follow);outline-offset:3px}
.lhb-follow-calendar{max-width:1300px;margin:24px auto;padding:0 16px;color:var(--btmp-text)}
.lhb-follow-calendar-page{background:var(--btmp-bg);margin:0;font-family:-apple-system,BlinkMacSystemFont,'PingFang SC',sans-serif}
.lhb-follow-calendar h1{font-size:20px;font-weight:500}.lhb-follow-calendar a{color:var(--btmp-primary)}
.lhb-follow-calendar header,.lhb-calendar-nav{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}
.lhb-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;margin-top:20px}
.lhb-calendar-day{min-width:0;min-height:90px;padding:10px;background:var(--btmp-surface);border:1px solid var(--btmp-line);border-radius:6px;font-size:12px;overflow-wrap:anywhere}
.lhb-calendar-day[aria-current=date]{outline:2px solid var(--btmp-lhb-follow);outline-offset:1px}
.lhb-calendar-day summary{cursor:pointer;line-height:1.8}.lhb-calendar-day p{line-height:1.7}.lhb-calendar-day small{display:block;color:var(--btmp-text-muted);margin-top:8px}
.lhb-calendar-record{border-top:1px solid var(--btmp-line);padding-top:8px;line-height:1.8}.lhb-calendar-record span{display:block}
.lhb-calendar-filter{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:20px 0}.lhb-calendar-filter label{flex-basis:100%;font-size:13px}.lhb-calendar-filter input{min-width:0;width:min(100%,420px);box-sizing:border-box;padding:8px;border:1px solid var(--btmp-line);border-radius:5px;background:var(--btmp-surface);color:var(--btmp-text)}
.lhb-calendar-filter button,.btmp-detail-lhb-tabs button{font:inherit;color:var(--btmp-text);background:var(--btmp-surface);border:1px solid var(--btmp-line);border-radius:5px;padding:8px;cursor:pointer}
.lhb-follow-hit{margin:12px 0;padding:12px;border-left:3px solid var(--btmp-lhb-follow);background:var(--btmp-surface);overflow-wrap:anywhere}.lhb-follow-hit h4{margin:0 0 8px}.lhb-follow-hit a{color:var(--btmp-primary)}
.lhb-table-scroll{overflow:auto;max-width:100%}#lhb{min-width:0}#lhb [role=tabpanel][hidden]{display:none}#lhb [role=tab][aria-selected=true]{border-color:var(--btmp-lhb-follow);color:var(--btmp-lhb-follow);background:var(--btmp-surface)}
@media(pointer:coarse){.review-lhb-hit{min-height:40px;min-width:40px}.lhb-follow-row{min-height:36px}}
@media(max-width:650px){.lhb-calendar-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.lhb-calendar-weekday,.lhb-calendar-pad{display:none}.lhb-hit-detail{max-height:60vh}}
