:host {
  display: block;
  padding: 28px;
  max-width: 1280px;
  margin: 0 auto;
}
.page-header,
.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
}
h1,
h2,
p {
  margin-top: 0;
}
h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: clamp(2rem, 4vw, 3rem);
  margin-bottom: 8px;
}
.eyebrow {
  color: var(--mat-sys-primary);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
  margin-bottom: 6px;
}
.balance {
  // background: var(--mat-sys-primary-container);
  border-radius: 18px;
  padding: 16px 22px;
  display: grid;
  gap: 4px;
  min-width: 160px;

  background: linear-gradient(135deg, #5ca34c 0%, #4f8f46 55%, #3f7f3c 100%);

  color: #ffffff;
}
.balance strong {
  font-size: 1.5rem;
}
.booking-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 20px;
  margin: 28px 0 36px;
}
mat-card {
  border-radius: 20px;
}
mat-card-content {
  padding-top: 20px;
}
form {
  display: grid;
  gap: 12px;
}
.form-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.wide {
  width: 100%;
}
form button {
  justify-self: end;
}
.info-card {
  margin: 28px 0;
  padding: 18px;
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
}
.info-card p {
  margin: 0;
}
.activity-section {
  margin-top: 24px;
}
.section-heading {
  align-items: end;
  margin-bottom: 14px;
}
.section-heading h2 {
  margin-bottom: 0;
}
.journal-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
}
.journal-search {
  flex: 1 1 240px;
}
.journal-type {
  flex: 0 1 200px;
}
.journal-grid {
  height: 640px;
  width: 100%;
  display: block;
}
.cashbox-grid-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  color: var(--mat-sys-primary);
  background: var(--mat-sys-secondary-container);
  font-size: 18px;
  line-height: 32px;
  margin-top: 6px;
}
.cashbox-grid-icon.team {
  color: var(--mat-sys-tertiary);
  background: var(--mat-sys-tertiary-container);
}
@media (max-width: 900px) {
  .booking-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 650px) {
  :host {
    padding: 20px 16px;
  }
  .page-header {
    display: grid;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .journal-toolbar {
    flex-direction: column;
  }
  .journal-grid {
    height: 520px;
  }
}
