/* Orchestr Bauhaus for the web. Import after orchestr-bauhaus.tokens.css (generated).
   Fonts: Jost (SIL OFL 1.1), self-hosted from ./fonts. No external requests. */
@font-face { font-family: 'Jost'; src: url('fonts/Jost-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Jost'; src: url('fonts/Jost-Medium.ttf') format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Jost'; src: url('fonts/Jost-SemiBold.ttf') format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Jost'; src: url('fonts/Jost-Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }

.bh, .bh * { box-sizing: border-box; }
.bh { background: var(--bh-paper); color: var(--bh-ink); font: var(--bh-type-body); }
.bh-display { font: var(--bh-type-display); letter-spacing: var(--bh-track-display); margin: 0; }
.bh-title { font: var(--bh-type-title); letter-spacing: var(--bh-track-title); margin: 0; }
.bh-headline { font: var(--bh-type-headline); margin: 0; }
.bh-body { font: var(--bh-type-body); }
.bh-caption { font: var(--bh-type-caption); color: var(--bh-ink3); }
.bh-label { font: var(--bh-type-label); letter-spacing: var(--bh-track-label); text-transform: uppercase; }
.bh-ink2 { color: var(--bh-ink2); } .bh-ink3 { color: var(--bh-ink3); }

.bh-rule { height: var(--bh-rule-rule); background: var(--bh-rule); border: 0; margin: 0; }
.bh-rule--bar { height: var(--bh-rule-bar); } .bh-rule--hair { height: 1px; background: var(--bh-rule-soft); }
.bh-colorbar { display: grid; grid-template-columns: 62fr 38fr; height: var(--bh-rule-heavy); }
.bh-colorbar > :first-child { background: var(--bh-blue); } .bh-colorbar > :last-child { background: var(--bh-red); }

.bh-header { display: grid; gap: var(--bh-space-xs); }
.bh-header__eyebrow { display: flex; align-items: center; gap: var(--bh-space-xs); color: var(--bh-ink2); }
.bh-header__eyebrow::before { content: ""; width: 24px; height: var(--bh-rule-bar); background: var(--bh-red); }
.bh-header::after { content: ""; height: var(--bh-rule-bar); background: var(--bh-rule); margin-top: var(--bh-space-xxs); }

.bh-section { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: var(--bh-space-xxs); border-bottom: var(--bh-rule-rule) solid var(--bh-rule); }

.bh-card { background: var(--bh-surface); border: var(--bh-rule-rule) solid var(--bh-rule); padding: var(--bh-space-m); display: grid; gap: var(--bh-space-xs); }
.bh-card--red { border-top: var(--bh-rule-heavy) solid var(--bh-red); }
.bh-card--blue { border-top: var(--bh-rule-heavy) solid var(--bh-blue); }
.bh-card--yellow { border-top: var(--bh-rule-heavy) solid var(--bh-yellow); }

.bh-btn { font: var(--bh-type-button); letter-spacing: var(--bh-track-button); text-transform: uppercase; min-height: var(--bh-size-tap-target);
  padding: var(--bh-space-s) var(--bh-space-m); border: var(--bh-rule-rule) solid var(--bh-rule); border-radius: 0; cursor: pointer;
  background: var(--bh-blue); color: var(--bh-on-blue); display: inline-flex; align-items: center; justify-content: center; gap: var(--bh-space-xs);
  transition: opacity var(--bh-motion); }
.bh-btn:hover { opacity: .88; } .bh-btn:active { opacity: .75; }
.bh-btn:focus-visible { outline: var(--bh-rule-bar) solid var(--bh-yellow); outline-offset: 2px; }
.bh-btn--secondary { background: var(--bh-surface); color: var(--bh-ink); }
.bh-btn--destructive { background: var(--bh-red); color: var(--bh-on-red); }
.bh-btn--accent { background: var(--bh-yellow); color: var(--bh-on-yellow); }
.bh-btn--quiet { background: transparent; color: var(--bh-blue-ink); border-color: transparent; padding-inline: var(--bh-space-xs); }
.bh-btn:disabled { background: var(--bh-surface-sunk); color: var(--bh-ink-disabled); border-color: var(--bh-ink-disabled); cursor: not-allowed; }
.bh-btn--block { width: 100%; }

.bh-seg { display: flex; border: var(--bh-rule-rule) solid var(--bh-rule); }
.bh-seg > button { flex: 1; min-height: 40px; font: 500 14px/1 var(--bh-font); background: var(--bh-surface); color: var(--bh-ink); border: 0; border-left: var(--bh-rule-rule) solid var(--bh-rule); cursor: pointer; }
.bh-seg > button:first-child { border-left: 0; }
.bh-seg > button[aria-pressed="true"], .bh-seg > button[aria-selected="true"] { background: var(--bh-blue); color: var(--bh-on-blue); font-weight: 700; }

.bh-input { font: var(--bh-type-body); color: var(--bh-ink); background: var(--bh-surface); border: var(--bh-rule-rule) solid var(--bh-rule); border-radius: 0; min-height: var(--bh-size-tap-target); padding: 0 var(--bh-space-s); width: 100%; }
.bh-input:focus { outline: var(--bh-rule-bar) solid var(--bh-blue); outline-offset: 0; }

.bh-row { display: flex; align-items: center; gap: var(--bh-space-s); padding: var(--bh-space-s) 0; min-height: 52px; border-bottom: 1px solid var(--bh-rule-soft); color: inherit; text-decoration: none; }
.bh-row__text { flex: 1; display: grid; gap: 2px; } .bh-row__title { font: var(--bh-type-body-bold); }
.bh-row__chev::after { content: "›"; font: 700 20px/1 var(--bh-font); }

.bh-tile { width: var(--bh-size-glyph-tile); height: var(--bh-size-glyph-tile); display: grid; place-items: center; background: var(--bh-blue); color: var(--bh-on-blue); flex: none; }
.bh-tile--red { background: var(--bh-red); color: var(--bh-on-red); } .bh-tile--yellow { background: var(--bh-yellow); color: var(--bh-on-yellow); }
.bh-tile svg { width: 48%; height: 48%; fill: currentColor; }

.bh-tag { font: 700 11px/1.3 var(--bh-font); letter-spacing: .8px; text-transform: uppercase; background: var(--bh-yellow); color: var(--bh-on-yellow); padding: 2px 6px; display: inline-block; }
.bh-tag--red { background: var(--bh-red); color: var(--bh-on-red); }

.bh-stat { background: var(--bh-surface); border: var(--bh-rule-rule) solid var(--bh-rule); padding: var(--bh-space-s); }
.bh-stat--blue { border-left: calc(var(--bh-rule-bar) + 2px) solid var(--bh-blue); } .bh-stat--red { border-left: calc(var(--bh-rule-bar) + 2px) solid var(--bh-red); }
.bh-stat__value { font: var(--bh-type-number); font-variant-numeric: tabular-nums; }

.bh-progress { height: var(--bh-space-xs); background: var(--bh-surface-sunk); border: 1px solid var(--bh-rule); }
.bh-progress > span { display: block; height: 100%; background: var(--bh-yellow); }

.bh-chart { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: var(--bh-space-xs); align-items: end; border-bottom: var(--bh-rule-rule) solid var(--bh-rule); }
.bh-chart > div { background: var(--bh-blue); } .bh-chart > div.is-hi { background: var(--bh-red); }

.bh-empty { display: grid; gap: var(--bh-space-m); max-width: 420px; padding: var(--bh-space-l); }
.bh-empty > .bh-btn { justify-self: start; }
.bh-empty .bh-tile { width: 72px; height: 72px; background: var(--bh-yellow); color: var(--bh-on-yellow); }

.bh-plan { display: flex; align-items: center; gap: var(--bh-space-s); padding: var(--bh-space-s); min-height: 56px; border: var(--bh-rule-rule) solid var(--bh-rule); background: var(--bh-paper); cursor: pointer; }
.bh-plan[aria-checked="true"] { border: var(--bh-rule-bar) solid var(--bh-blue); background: var(--bh-surface); }
.bh-readable { max-width: var(--bh-size-readable-width); margin-inline: auto; }
@media (prefers-reduced-motion: reduce) { .bh * { transition: none !important; animation: none !important; } }
