/* Local arrangement only. Typography, controls and colors come from the shared stylesheet. */
.intro { margin-bottom: 8px; }
.section-title { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.section-title h2 { margin: 0; }
.section-intro { margin: 12px 0 24px; }
#template-fields, #contact-fields, #color-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
#main-fields { grid-template-columns: minmax(0, 1fr); margin-top: 24px; }
#main-details { min-height: 150px; }
.options { border-top: 1px solid #bac9ce; margin-top: 24px; }
summary { cursor: pointer; font-weight: 650; padding: 14px 0; min-height: 46px; overflow-wrap: anywhere; }
.help { margin-top: 12px; }
.help summary { font-weight: 500; }
.help ul { padding-left: 24px; margin-top: 0; }
.help li + li { margin-top: 8px; }
.options > .hint { margin-bottom: 18px; }
.actions > button { max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
.status:empty { display: none; }
.save-hint { margin-top: 12px; }
#output-heading, #form-feedback { scroll-margin-top: 24px; }
#color-status { white-space: pre-line; }
#color-page-sample, #color-card-sample { padding: 16px; border: 1px solid #bac9ce; border-radius: 6px; overflow-wrap: anywhere; }
#color-page-sample { margin-top: 20px; }
#color-card-sample { margin-top: 16px; }
#color-page-sample a { text-decoration: underline; }
dialog { max-width: min(600px, calc(100% - 32px)); padding: 24px; border: 1px solid #bac9ce; border-radius: 12px; color: inherit; background: white; }
dialog::backdrop { background: rgb(23 43 52 / .35); }
dialog h2 { margin-top: 0; }
@media (max-width: 600px) {
  #template-fields, #contact-fields, #color-fields { grid-template-columns: minmax(0, 1fr); }
  .section-title { align-items: flex-start; }
}
.bundle-action { margin: 14px 0 18px; padding: 14px; border: 1px solid #bdccc8; border-radius: 10px; }
.bundle-action button { width: 100%; }
.bundle-action .hint { margin: 8px 0 0; }
.bundle-action [role="status"] { margin: 8px 0 0; }
