.app-header {
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.app-header__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 96px;
  gap: 24px;
}

.app-header__eyebrow,
.dialog__eyebrow {
  margin-bottom: 4px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.app-header__title {
  margin-bottom: 0;
  font-size: 32px;
}

.app-main {
  padding-block: 40px 72px;
}

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

.section-heading__description {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--text-secondary);
  line-height: 1.5;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

@media (max-width: 860px) {
  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, var(--container-width));
  }

  .app-header__content {
    align-items: stretch;
    flex-direction: column;
    padding-block: 20px;
  }

  .app-header__title {
    font-size: 27px;
  }

  .app-header .button {
    width: 100%;
  }

  .app-main {
    padding-block: 28px 48px;
  }

  .project-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }
}


.estimate-toolbar {
  margin-bottom: 22px;
}

.estimate-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.estimate-header__eyebrow {
  margin-bottom: 4px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.estimate-header__subtitle {
  margin-bottom: 0;
  color: var(--text-secondary);
  line-height: 1.5;
}


.app-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

@media (max-width: 640px) {
  .app-header__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .app-header__actions .button {
    width: 100%;
  }
}


.form-grid__full {
  grid-column: 1 / -1;
}
