/* Shared DocForms document-tool chrome */
.df {
  --df-line: #ced4da;
  --df-soft: #f8f9fa;
  --df-muted: #6c757d;
  max-width: 1100px;
}
.df .df-header {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--df-line);
  padding-bottom: 10px;
  margin-bottom: 14px;
}
.df .df-header h1 {
  font-size: 1.4rem;
  margin: 0;
}
.df .df-intro {
  color: #333;
  font-size: 0.95rem;
}
.df .df-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
}
.df .df-sep {
  width: 1px;
  height: 1.4rem;
  background: var(--df-line);
  margin: 0 2px;
}
.df .df-find-out ul {
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
  max-height: 260px;
  overflow-y: auto;
}
.df .df-find-out li {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  align-items: baseline;
  padding: 6px 0;
  border-top: 1px solid var(--df-line);
}
.df .df-find-out li:first-child {
  border-top: none;
}
.df-preview-wrap {
  width: 100%;
  min-height: 480px;
  max-height: 70vh;
  overflow: auto;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  border: 1px solid #ddd;
}
.df-preview {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 11pt;
  line-height: 1.45;
  color: #333;
  padding: 1.25rem 1.75rem;
  min-height: 400px;
  box-sizing: border-box;
}
.df-preview p {
  margin-bottom: 0.55em;
  text-align: justify;
}
.df-preview .df-title {
  text-align: center;
  font-weight: 700;
  font-size: 1.15em;
  margin-bottom: 0.2em;
}
.df-preview .df-heading {
  font-weight: 700;
  margin-top: 1em;
  margin-bottom: 0.4em;
  text-align: left;
}
.df .df-template-edit {
  min-height: 220px;
}
@media (max-width: 767.98px) {
  .df .df-sep { display: none; }
  .df-preview { padding: 1rem; font-size: 10.5pt; }
}
