@charset "UTF-8";
@font-face {
  font-family: "Open Sans";
  src: url("fonts/OpenSans.ttf") format("truetype");
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
}
:root {
  --bht-brand: #ffcc33;
  --bht-brand-header: #ffd433;
  --bht-link: #0000aa;
  --bs-body-font-family: "Open Sans", Arial, sans-serif;
  --bs-body-font-size: 1rem;
  --bs-body-line-height: 1.6;
  --bs-body-color: #222;
  --bs-body-bg: #eee;
  --bs-link-color: var(--bht-link);
  --bs-border-radius: .375rem;
}
html { font-size: 16px; }
body.bht { margin: 0; font: 1rem/1.6 "Open Sans", Arial, sans-serif; background: #eee; color: #222; }
.bht :is(input, select, textarea, button, table, td, th) { font-family: inherit; font-size: 1rem; line-height: 1.6; }
.bht a { color: var(--bht-link); text-underline-offset: .2em; }
.bht a:hover { color: #000; }
.bht :focus-visible { outline: 3px solid var(--bht-link); outline-offset: 3px; box-shadow: none; }
.bht-skip { position: absolute; top: .5rem; left: 1rem; padding: .75rem 1rem; background: #fff; z-index: 100; transform: translateY(-200%); }
.bht-skip:focus { transform: none; }
.bht-header { background: var(--bht-brand-header); border-bottom: 1px solid #222; }
.bht-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: .75rem; padding-bottom: .75rem; }
.bht-brand { display: block; min-width: 0; }
.bht-logo { display: block; width: 570px; max-width: 100%; height: auto; }
.bht-user { max-width: 20rem; overflow-wrap: anywhere; }
.bht-role { margin: 0; font-weight: 600; }
.bht-nav { background: #fff; border-bottom: 1px solid #ccc; }
.bht-nav .nav { gap: .25rem; padding-block: .5rem; }
.bht-nav .nav-link { padding: .6rem .85rem; color: #222; border-radius: .375rem; text-decoration: none; }
.bht-nav .nav-link:hover { background: #eee; }
.bht-nav .nav-link[aria-current=page] { background: var(--bht-brand); font-weight: 700; }
.bht-main { margin-block: 1.5rem; padding: clamp(1rem, 3vw, 2rem); background: #fff; border: 1px solid #ccc; border-radius: .375rem; min-height: 24rem; overflow-wrap: anywhere; }
.bht-main h1 { font-size: clamp(1.65rem, 3vw, 2.25rem); margin: 0 0 1.5rem; font-weight: 700; }
.bht-main h2 { font-size: 1.5rem; margin-block: 1.5rem 1rem; }
.bht-main h3 { font-size: 1.25rem; }
.bht-main :is(h4,h5,h6) { font-size: 1.125rem; }
.bht-main p { margin-bottom: 1rem; }
.bht-main img { max-width: 100%; height: auto; }
.bht-main :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]), select, textarea) { max-width: 100%; min-height: 2.75rem; border: 1px solid #777; border-radius: .375rem; padding: .5rem .75rem; background: #fff; color: #222; }
.bht-main :is(input[type=checkbox], input[type=radio]) { width: 1.125rem; height: 1.125rem; margin: .5rem; accent-color: #0000aa; }
.bht-main :is(button, input[type=submit], input[type=button], .button, .btn-primary) { display: inline-block; min-height: 2.75rem; padding: .5rem 1rem; border: 1px solid #222; border-radius: .375rem; background: var(--bht-brand); color: #222; font-weight: 600; text-decoration: none; cursor: pointer; }
.bht-main :is(button, input[type=submit], input[type=button], .button, .btn-primary):hover { background: var(--bht-brand-header); }
.bht-main :disabled { opacity: .65; cursor: not-allowed; }
.bht-main :is(.error, .alert-danger) { padding: .75rem 1rem; border: 1px solid #b02a37; border-left-width: .3rem; border-radius: .375rem; color: #842029; background: #f8d7da; margin-block: .5rem; }
.bht-main :is(.list, .table, .bht-data-table) { width: 100%; border-collapse: collapse; }
.bht-main :is(.list, .table, .bht-data-table) :is(td,th) { padding: .65rem; border-bottom: 1px solid #ccc; text-align: left; }
.bht-main :is(.list, .table, .bht-data-table) th { background: #eee; font-weight: 700; }
.bht-main tr.selected { background: #ffff99; }
.bht-table-scroll { max-width: 100%; overflow-x: auto; margin-block: 1rem; }
.bht-table-scroll > table { margin-bottom: 0; min-width: 40rem; overflow-wrap: normal; }
.bht-footer { padding-block: 1rem 2rem; color: #444; }
/* Behavioural legacy hooks: no typography or layout inherited from bht.css. */
.bht .icon { border: 0; vertical-align: middle; }
.bht .pleasewait { position: fixed; inset: 0; z-index: 1000; background: #eeeeeedd; }
.bht .pleasewait > div { margin: 20vh auto; padding: 2rem; max-width: 25rem; background: #fff; }
.bht .unselected, .bht .inactive { color: #666; }
.bht .progress { height: .75rem; width: 100px; background: #eee; }
.bht .progress > div { background: #0000aa; }
@media (max-width: 767px) {
  .bht-header-inner { flex-direction: column; align-items: flex-start; }
  .bht-user { max-width: 100%; }
  .bht-main { border-inline: 0; border-radius: 0; margin-block: .75rem; }
  .bht-nav .nav-link { padding: .6rem; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } }
