/* designflow-panel.css — the design-project flow (Design-flow build, 2026-10-24). Uses the portal's own tokens. */
.df-seq { margin-bottom: 16px; }
.df-seq-empty p { margin: 4px 0 8px; }
.df-steps { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 10px; }
.df-step { border: 1px solid var(--border, #d9dee5); border-radius: 10px; padding: 10px 12px; background: var(--surface, #fff); }
.df-step.df-current { border-color: var(--accent, #2f6f8f); box-shadow: 0 0 0 1px var(--accent, #2f6f8f) inset; }
.df-step.df-done { opacity: .92; }
.df-step-h { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.df-step-n { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--surface-2, #eef1f5); font-weight: 600; font-size: 13px; }
.df-step-b p { margin: 6px 0; }
.df-small { font-size: 12.5px; }
.df-acts { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 6px; }
.df-acts select, .df-acts input { max-width: 100%; }
.df-sw { display: flex; gap: 6px; align-items: flex-start; margin: 6px 0; }
.df-gov { margin: 6px 0; }
.df-moves { margin: 6px 0; padding-left: 18px; }
.df-docs { margin-top: 12px; }
.df-docs h4 { margin: 0 0 4px; font-size: 14px; }
.df-docs ol { margin: 0; padding-left: 20px; }
.df-co-note { margin: 6px 0 10px; }
/* wave488: the chooser's kind pick as two selectable button-cards.
   The lead is the field caption (.qm-field > span styles it); the
   options row is a direct-child span too, so it first undoes the
   caption styling, then lays the cards out. The radio reset matters:
   .qm-field input styles every input as a full-width text box, which
   is what stretched the old row's dots away from their words. */
.df-kind { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
fieldset.df-kind > span.df-kind-opts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; font-size: inherit; font-weight: inherit; color: inherit; }
.df-kind-opt { display: inline-flex; align-items: center; gap: 9px; padding: 9px 14px 9px 11px; border: 1px solid var(--line-strong, #b9c2cf); border-radius: 10px; background: #fff; cursor: pointer; transition: border-color .15s, box-shadow .15s, background .15s; }
.df-kind-opt:hover { border-color: var(--ink, #16283c); }
.df-kind-opt:has(input:checked) { border-color: var(--ink, #16283c); box-shadow: 0 0 0 1px var(--ink, #16283c); background: var(--tint, #f2f5f9); }
.df-kind-opt:focus-within { box-shadow: 0 0 0 1px var(--ink, #16283c), 0 0 0 3px var(--gold, #c9a227); }
fieldset.df-kind .df-kind-opt input[type="radio"] { width: auto; height: auto; margin: 0; padding: 0; border: 0; display: inline-block; flex: none; accent-color: var(--ink, #16283c); }
.df-kind-txt { display: inline-flex; flex-direction: column; line-height: 1.25; }
.df-kind-t { font-weight: 600; font-size: 14px; color: var(--ink, #16283c); white-space: nowrap; }
.df-kind-s { font-size: 12px; font-weight: 400; color: var(--muted, #5b6675); white-space: nowrap; }
.df-doc-wrap { max-height: 65vh; overflow: auto; padding: 4px 2px; }
.df-doc h1 { font-size: 22px; margin: 4px 0 12px; }
.df-doc h2 { font-size: 16px; margin: 16px 0 6px; }
.df-doc h3 { font-size: 14px; margin: 12px 0 4px; }
.df-doc-eyebrow { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted, #5b6675); margin: 0; }
.df-doc-facts th { text-align: left; padding-right: 16px; vertical-align: top; font-weight: 600; }
.df-doc-missing { font-style: italic; color: var(--muted, #5b6675); }
.df-doc-sig { display: inline-block; width: 45%; margin-right: 4%; vertical-align: top; }
.df-doc-line { border-bottom: 1px solid currentColor; min-height: 26px; }
.df-tpl-item { border-top: 1px solid var(--border, #d9dee5); padding-top: 10px; margin-top: 10px; }
.df-tpl-sec { display: grid; gap: 4px; margin: 6px 0; }
.df-tpl-sec textarea { width: 100%; }
@media (max-width: 640px) { .df-doc-sig { display: block; width: 100%; } }

/* wave146-settings-look: standard set-card metrics for the templates pane */
.df-tpl .df-tpl-sec input, .df-tpl .df-tpl-sec textarea, .df-tpl #df-tpl-name {
  box-sizing: border-box; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px;
  font-size: 14.5px; background: #fff; color: var(--ink);
}
.df-tpl .df-tpl-sec { display: grid; gap: 6px; margin: 10px 0; }
.df-tpl .df-tpl-item { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 14px; }
.df-tpl h3 { font-size: 14.5px; margin: 0 0 8px; }
