.bh-history{margin:28px 0;padding:24px;background:var(--surface,#fff);border:1px solid var(--line,#e2e2e7);border-radius:16px;color:var(--ink,#202124)}
.bh-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}.bh-heading h2{font-size:20px;letter-spacing:-.3px;margin:0}.bh-heading p{font-size:13px;color:var(--muted);margin:6px 0 0}
.bh-range-options{display:flex;padding:3px;border-radius:9px;background:var(--soft);gap:2px}.bh-range-options button{border:0;background:transparent;color:var(--muted);padding:6px 12px;border-radius:6px;min-height:32px;white-space:nowrap;font-size:13px}.bh-range-options button[aria-pressed=true]{color:var(--ink);background:var(--surface);box-shadow:0 1px 3px #00000014}
.bh-date-form{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin:20px 0}.bh-date-form[hidden]{display:none}.bh-date-form label{display:grid;gap:6px;font-size:12px;color:var(--muted)}.bh-date-form input{height:36px;min-height:36px;max-width:180px;font-size:13px}.bh-date-form>span:not(.bh-form-error){padding-bottom:7px;color:var(--muted)}.bh-form-error{font-size:13px;color:var(--danger);flex-basis:100%}
.bh-summary{display:flex;flex-wrap:wrap;gap:14px 28px;align-items:baseline;padding:20px 0 8px;font-size:13px;color:var(--muted)}.bh-summary strong{font-size:21px;color:var(--ink);font-weight:600;letter-spacing:-.3px;font-variant-numeric:tabular-nums}.bh-method-note,.bh-footnote{font-size:12px;color:var(--muted);line-height:1.8;margin:6px 0 0}.bh-method-note{margin-bottom:24px}
.bh-figure{margin:24px 0 32px}.bh-figure figcaption{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:18px;flex-wrap:wrap}.bh-figure h3,.bh-detail-heading h3{font-size:15px;margin:0;font-weight:600}.bh-figure figcaption>span{font-size:12px;color:var(--muted)}
.bh-chart-scroll{max-height:480px;overflow:auto;overscroll-behavior-x:contain;padding:4px 4px 8px}.bh-gantt-board{min-width:640px}.bh-hours,.bh-plot-row{display:grid;grid-template-columns:80px minmax(0,1fr);column-gap:14px}.bh-hours{height:32px;color:var(--muted);font-size:12px;position:sticky;top:-4px;z-index:2;background:var(--surface);padding-top:4px}.bh-hours>div{position:relative;margin-right:20px}.bh-hours>div>span{position:absolute;transform:translateX(-50%);white-space:nowrap}.bh-hours>div>span:first-child{transform:none}.bh-hours>div>span:last-child{transform:translateX(-100%)}
.bh-plot-row>time{font-size:12px;font-variant-numeric:tabular-nums;align-self:start;padding-top:12px;color:var(--muted)}.bh-gantt-track{position:relative;margin-right:20px;border-bottom:1px solid var(--line);min-height:42px;background:repeating-linear-gradient(to right,var(--line) 0 1px,transparent 1px calc(100% / 6))}.bh-no-observation{position:absolute;top:11px;left:8px;font-size:11px;color:var(--muted)}
.bh-session-bar{position:absolute;height:25px;min-width:4px;border:1px solid #555b69;border-radius:5px;background:#596274;color:#fff;font-size:11px;padding:0;overflow:hidden;text-align:center;font-variant-numeric:tabular-nums;cursor:pointer}.bh-session-bar>span{padding:0 6px;white-space:nowrap}.bh-session-bar.is-partial{background:repeating-linear-gradient(135deg,#e1e4e9 0 4px,#f4f5f7 4px 8px);border:1px dashed #8b929d;color:#424853}.bh-session-bar.is-point{min-width:5px;border-radius:3px}.bh-session-bar.is-selected{outline:1px solid var(--ui-focus-line);outline-offset:-1px}.bh-session-bar:hover{filter:brightness(1.12);box-shadow:0 2px 5px #242b3c20}.bh-session-bar.is-partial:hover{filter:brightness(.95)}
.bh-legend{display:flex;gap:12px 22px;flex-wrap:wrap;margin-top:14px;font-size:12px;color:var(--muted)}.bh-legend>span{display:inline-flex;align-items:center;gap:6px}.bh-key{width:18px;height:8px;display:inline-block;border-radius:2px;background:#596274}.bh-key.is-partial{background:repeating-linear-gradient(135deg,#e1e4e9 0 3px,#f4f5f7 3px 6px);border:1px dashed #8b929d}
.bh-daily-board{height:230px;position:relative;padding-left:44px}.bh-y-labels{position:absolute;inset:22px auto 26px 0;width:36px;display:flex;flex-direction:column;justify-content:space-between;font-size:11px;color:var(--muted);text-align:right}.bh-columns{display:grid;gap:5px;height:100%;background:linear-gradient(to bottom,var(--line) 0 1px,transparent 1px calc(50% - 1px),var(--line) calc(50% - 1px) 50%,transparent 50%);background-position:0 22px;background-size:100% calc(100% - 48px);background-repeat:no-repeat}.bh-column{display:flex;flex-direction:column;align-items:stretch;border:0;background:transparent;padding:0 2px;min-width:0;font-size:11px;color:var(--muted);cursor:pointer;border-radius:4px}.bh-bar-area{height:204px;display:flex;flex-direction:column;justify-content:end;align-items:center;position:relative;border-bottom:1px solid #a3a7af;padding-top:22px}.bh-daily-bar{width:60%;max-width:48px;background:#596274;border-radius:4px 4px 0 0;min-height:1px;flex-shrink:0}.bh-daily-value{position:absolute;top:0;font-size:11px;white-space:nowrap;color:var(--ink);font-variant-numeric:tabular-nums}.bh-day-label{height:26px;display:flex;align-items:end;justify-content:center;font-size:11px;white-space:nowrap}.bh-column.is-partial .bh-daily-bar{background:repeating-linear-gradient(135deg,#596274 0 4px,#7c8493 4px 8px)}.bh-missing-mark{margin-bottom:5px;font-size:18px;color:#9297a0}.bh-column:hover,.bh-column.is-selected{background:var(--soft)}
.bh-detail-heading{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;align-items:center;margin-bottom:12px}.bh-detail-heading h3>span{font-size:12px;color:var(--muted);font-weight:400;margin-left:8px}.bh-detail-heading .text-button{font-size:12px}.bh-table-scroll{overflow:auto;max-height:460px;border-block:1px solid var(--line)}.bh-table{width:100%;border-collapse:collapse;min-width:650px;font-size:13px;text-align:left}.bh-table th{font-weight:500;color:var(--muted);background:var(--surface);position:sticky;top:0;z-index:1}.bh-table th,.bh-table td{padding:12px 12px 12px 0;border-bottom:1px solid var(--line);vertical-align:top}.bh-table th small{display:inline;font-weight:400;margin-left:4px;font-size:11px}.bh-table td small{display:block;margin-top:4px;font-size:11px;color:var(--muted);white-space:nowrap}.bh-table time,.bh-duration{font-variant-numeric:tabular-nums;white-space:nowrap}.bh-table tr.is-selected{background:var(--accent-soft);box-shadow:inset 3px 0 var(--focus-ring)}.bh-table tr.is-selected td:first-child{padding-left:8px}.bh-status{font-size:12px;color:var(--muted)}.bh-status.is-complete{color:var(--success)}.bh-table details{font-size:11px;color:var(--muted);max-width:220px;margin-top:5px}.bh-table summary{cursor:pointer}.bh-table details p{margin:5px 0}.bh-more{margin-top:12px}
.bh-definitions{border-top:1px solid var(--line);margin-top:24px;padding-top:16px;font-size:12px;line-height:1.8;color:var(--muted)}.bh-definitions summary{cursor:pointer;color:var(--ink)}.bh-definitions p{margin:8px 0}.bh-empty,.bh-loading{padding:24px 16px;background:var(--soft);border-radius:9px;text-align:center;font-size:13px;color:var(--muted);line-height:1.8}.bh-error{margin-top:20px;color:var(--danger);font-size:13px}.bh-error p{margin-bottom:10px}.bh-result[aria-busy=true]{opacity:.65}
@media(max-width:760px){.bh-history{padding:18px 14px}.bh-heading h2{font-size:18px}.bh-heading{gap:14px}.bh-summary{gap:10px 18px}.bh-range-options button{padding:6px 10px}.bh-date-form{gap:10px}.bh-date-form input{max-width:145px}.bh-figure figcaption{gap:6px}.bh-summary strong{font-size:19px}}
@media(pointer:coarse){.bh-range-options button,.bh-date-form .button{min-height:44px}.bh-session-bar{height:27px}}
@media(forced-colors:active){.bh-session-bar,.bh-daily-bar,.bh-key{background:Highlight;border:1px solid CanvasText}.bh-session-bar.is-partial,.bh-key.is-partial{background:Canvas;color:CanvasText;border:1px dashed CanvasText}}
