body {
  font-family: "Inter", var(--tblr-font-sans-serif);
  background: #f3f6fb;
}

.navbar-vertical.navbar-dark {
  background: #0b1f3a;
  border-right: 0;
}

.brand-icon {
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: .75rem;
  color: #fff;
  background: rgba(255, 255, 255, .14);
}

.brand-icon .ti {
  font-size: 1.55rem;
}

.brand-kicker {
  color: rgba(255, 255, 255, .62);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1;
  text-transform: uppercase;
}

.brand-title {
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0;
}

.mobile-sync-card {
  margin: 1.25rem;
  padding: 1rem;
  color: #dbeafe;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: .75rem;
}

.page-header {
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
  border-bottom: 1px solid #e6eaf2;
}

.card {
  border: 1px solid #e6eaf2;
  border-radius: .75rem;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .045);
}

.card-header {
  border-bottom-color: #edf1f7;
}

.card-title {
  font-weight: 750;
  letter-spacing: 0;
}

.btn {
  border-radius: .5rem;
  font-weight: 650;
}

.form-control,
.form-select {
  border-radius: .55rem;
}

.table thead th {
  color: #64748b;
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .04em;
  text-transform: uppercase;
}

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

.inventory-hero {
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 92% 18%, rgba(96, 165, 250, .35), transparent 32%),
    linear-gradient(135deg, #0b1f3a 0%, #123b73 100%);
}

.inventory-hero .text-secondary {
  color: rgba(255, 255, 255, .72) !important;
}

.metric-card {
  min-height: 128px;
}

.metric-icon {
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: .75rem;
}

.metric-icon .ti {
  font-size: 1.45rem;
}

.qr-pattern {
  width: 9rem;
  height: 9rem;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: .35rem;
  padding: .75rem;
  background: #fff;
  border-radius: .9rem;
}

.qr-pattern span {
  min-width: 0;
  min-height: 0;
  background: #0b1f3a;
  border-radius: .25rem;
  opacity: .86;
}

.qr-pattern span:nth-child(2n),
.qr-pattern span:nth-child(5n) {
  opacity: .18;
}

.condition-row {
  display: grid;
  grid-template-columns: minmax(90px, 1fr) minmax(120px, 3fr) 48px;
  align-items: center;
  gap: .75rem;
}

.condition-track {
  height: .65rem;
  overflow: hidden;
  background: #edf2f7;
  border-radius: 999px;
}

.condition-fill {
  height: 100%;
  border-radius: inherit;
}

.condition-fill.good { background: #2fb344; }
.condition-fill.maintenance { background: #f59f00; }
.condition-fill.broken { background: #d63939; }
.condition-fill.replace { background: #7950f2; }

.qr-card-image {
  width: 136px;
  height: 136px;
  padding: .5rem;
  background: #fff;
  border: 1px solid #e6eaf2;
  border-radius: .75rem;
}

.timeline-event-card {
  border: 1px solid #edf1f7;
  border-radius: .75rem;
}

@media print {
  .navbar,
  .page-header,
  .btn,
  .d-print-none {
    display: none !important;
  }

  .page-wrapper {
    margin: 0 !important;
  }

  .card {
    box-shadow: none;
  }
}
