/* ─── BLOG POST: operation-report-templates ───
   One-off styles for pages/blog/operation-report-templates.html only.
   Flow diagram, appointment-states mock and pre-generation dialog mock (figures sit inside the shared .post-figure / .post-diagram wrappers).
   Loaded after shared.css. */

/* Flow diagram */
.post-flow {
  display: flex;
  align-items: stretch;
  gap: 12px;
}
.post-flow-step {
  flex: 1;
  background: var(--white);
  border: 1px solid var(--ocean);
  border-radius: 12px;
  padding: 12px;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 500;
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
}
.post-flow-step small {
  font-size: 12px;
  font-weight: 400;
  color: var(--navy-light);
}
.post-flow-arrow {
  align-self: center;
  color: var(--teal-dark);
  flex-shrink: 0;
}
.post-flow-outcomes {
  flex: 1.2;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.post-outcome {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--ocean);
  border-radius: 10px;
  padding: 7px 10px;
  font-size: 13px;
  font-weight: 500;
}
.post-outcome.is-alert {
  border-color: currentColor;
}

/* Appointment states mock */
.post-states {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.post-state {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 14px;
  align-items: start;
}
.post-state-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--navy-light);
  padding-top: 12px;
}
.post-card {
  background: var(--white);
  border: 1px solid var(--ocean);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 14px;
}
.post-card-line {
  font-weight: 600;
  margin-bottom: 0;
}
.post-notice {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  border: 1px solid var(--teal);
  border-left-width: 4px;
  background: var(--ocean-light);
  border-radius: 8px;
  padding: 8px 10px;
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.4;
}
.post-notice.is-alert {
  border-color: currentColor;
}
.post-notice-sub {
  display: block;
  font-size: 12px;
  color: var(--navy);
  margin-top: 2px;
}
.post-notice-none {
  font-size: 12px;
  color: var(--navy-light);
  margin-top: 6px;
}

/* Pre-generation dialog mock */
.post-dialog {
  background: var(--white);
  border: 1px solid var(--ocean);
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(65, 84, 100, 0.12);
  max-width: 520px;
  margin: 0 auto;
  padding: 20px;
  font-size: 14px;
  line-height: 1.5;
}
.post-dialog h4 {
  font-size: 18px;
  color: var(--navy);
  margin-bottom: 14px;
}
.post-dialog-block {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 10px;
}
.post-dialog-item {
  list-style: none;
  border: 1px solid var(--ocean);
  border-radius: 8px;
  padding: 8px 12px;
  margin: 0 0 14px;
  color: var(--navy);
}
.post-dialog-item span {
  display: block;
  font-size: 12px;
  color: var(--navy-light);
}
.post-dialog-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}
.post-dialog-cancel {
  color: var(--navy-light);
  font-weight: 500;
}
.post-dialog-go {
  background: var(--teal);
  color: var(--white);
  font-weight: 500;
  border-radius: 8px;
  padding: 9px 16px;
}

@media (max-width: 640px) {
  .post-flow {
    flex-direction: column;
  }
  .post-flow-arrow {
    transform: rotate(90deg);
  }
  .post-state {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .post-state-label {
    padding-top: 0;
  }
  .post-dialog-actions {
    flex-wrap: wrap;
  }
}
