.app-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
}

.header-inner,
.app-main,
.app-footer {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.header-inner {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 7px;
  color: #fff;
  background: var(--primary);
}

.brand-mark svg {
  width: 21px;
  height: 21px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 15px;
}

.brand small {
  color: var(--text-muted);
  font-size: 11px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.local-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: 6px;
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 700;
}

.local-badge svg {
  width: 16px;
  height: 16px;
}

.app-main {
  min-height: calc(100vh - 156px);
  padding-block: 34px 48px;
}

.page-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.date-line {
  margin-bottom: 5px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
}

.page-heading h1 {
  margin-bottom: 5px;
  font-size: 28px;
  line-height: 1.25;
}

.heading-summary {
  margin-bottom: 0;
  color: var(--text-muted);
}

.add-button {
  min-width: 130px;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 32px;
}

.inventory-section {
  border-top: 1px solid var(--border-strong);
  padding-top: 24px;
}

.inventory-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
}

.inventory-header h2 {
  margin-bottom: 1px;
  font-size: 19px;
}

.inventory-header p {
  margin-bottom: 0;
  color: var(--text-muted);
  font-size: 12px;
}

.inventory-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(150px, 200px)) 1fr;
  gap: 10px;
  align-items: end;
  margin-bottom: 18px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.filter-bar label > span {
  display: block;
  margin-bottom: 4px;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
}

.clear-filter-button {
  justify-self: end;
}

.app-footer {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 12px;
}

.app-footer p {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
}

.app-footer svg {
  width: 15px;
  height: 15px;
}

.mobile-filter-button {
  display: none;
}

