/* Each document type's template (type-templates.js), under its settings on Admin → Document types. */
.type-template{display:grid;gap:6px;margin-top:12px;padding-top:10px;border-top:1px dashed #e4e7ec;font-size:13px;color:#344054;min-width:0}
.type-template p{margin:0}
.type-template-title{font-size:13px}
.type-template-line,.type-template-note{color:#475467}
.type-template-pending{color:#93370d}
.type-template-problem{color:#b42318}
.type-template-checking{color:#175cd3}
.type-template-open{margin-left:4px;font-weight:600}
.type-template-result{display:grid;gap:6px;padding:8px 10px;border:1px solid #e4e7ec;border-radius:8px;background:#fcfcfd;min-width:0}
.type-template-refused{border-color:#fecdca;background:#fffbfa}
.type-template-result ul{margin:0;padding-left:18px;display:grid;gap:3px}
.type-template-subhead{font-weight:600;color:#344054}
.type-template-proof{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,240px));gap:12px}
.type-template-proof figure{margin:0;display:grid;gap:4px;min-width:0}
.type-template-proof img{width:100%;height:auto;border:1px solid #d0d5dd;border-radius:4px;background:#fff}
.type-template-proof figcaption{font-size:12px;color:#475467}
.type-template .link-button{padding:0;border:0;background:none;color:inherit;font:inherit;font-weight:600;text-decoration:underline;cursor:pointer}
.type-template-actions{display:flex;gap:8px}
.type-template-actions button{min-height:32px;padding:0 14px;border-radius:8px;font:inherit;font-size:13px;font-weight:600;cursor:pointer}
/* The house template, above the types: framed, not dashed, as it serves every type without its own. */
.type-template-house{margin:0 0 14px;padding:10px 12px;border:1px solid #e4e7ec;border-radius:8px;background:#fcfcfd}
/* The company's look, read from its templates (brand kit), above the house template. */
.brand-kit-values{display:grid;grid-template-columns:max-content 1fr;gap:3px 12px;margin:0}
.brand-kit-values dt{color:#475467}
.brand-kit-values dd{margin:0;min-width:0;overflow-wrap:anywhere}
.brand-kit-swatch{display:inline-block;width:12px;height:12px;margin-right:5px;vertical-align:-1px;border:1px solid #d0d5dd;border-radius:3px}
.brand-kit-choice{display:grid;gap:4px;margin:0;padding:8px 10px;border:1px solid #e4e7ec;border-radius:8px;min-width:0}
.brand-kit-choice legend{padding:0 4px;font-weight:600}
.brand-kit-choice label{display:flex;flex-wrap:wrap;align-items:center;gap:4px;cursor:pointer}
@media (max-width:560px){.type-template-proof{grid-template-columns:1fr 1fr}}
