:root {
  --tbt-navy: #1a2b4a;
  --tbt-accent: #2d6a9f;
}

body {
  background: #f4f6f9;
  min-height: 100vh;
}

.navbar-brand .tbt-mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  margin-right: 0.5rem;
}

.page-panel {
  display: none;
}

.page-panel.active {
  display: block;
}

.table-inspection input.form-control-sm,
.table-inspection select.form-select-sm {
  min-width: 5rem;
}

.table-inspection td {
  vertical-align: middle;
}

.door-measure-cell {
  min-width: 7.5rem;
}

.door-measure-ig .form-control {
  min-width: 3rem;
}

.door-measure-ig .form-select {
  flex: 0 0 auto;
  width: auto;
  min-width: 3.1rem;
  max-width: 3.6rem;
  padding-left: 0.35rem;
  padding-right: 1.5rem;
  font-size: 0.8rem;
}

.offcanvas-tbt-sheet.offcanvas-bottom {
  height: min(92vh, 900px);
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
  box-shadow: 0 -0.25rem 1.5rem rgba(0, 0, 0, 0.12);
}

.offcanvas-tbt-sheet .offcanvas-body {
  padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0));
}

.sheet-measure-row .form-select,
.sheet-door-line .form-select {
  min-width: 4.25rem;
}

.table-line-summary td {
  vertical-align: middle;
}

.line-summary-main {
  font-size: 0.9rem;
}

.line-summary-sub {
  font-size: 0.8rem;
  color: #6c757d;
}

.table-fly-list {
  font-size: 0.875rem;
}

.table-fly-list td,
.table-fly-list th {
  vertical-align: middle;
}

.table-fly-list td:nth-child(8) {
  max-width: 12rem;
  word-break: break-word;
}

.card {
  border: none;
  box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.06);
}

.section-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6c757d;
  margin-bottom: 0.75rem;
}

.empty-hint {
  color: #6c757d;
  font-size: 0.9rem;
}

.badge-form-doors {
  background-color: #5c6bc0;
}

.badge-form-blinds {
  background-color: #00897b;
}

.badge-form-flyscreen {
  background-color: #fb8c00;
}
