/* Runtime prompt templates: uses the existing Paws card and button palette. */
.template-manager .manager-title{gap:10px}
.template-list{display:grid;gap:8px;margin-top:14px}
.template-card{padding:12px;border:1px solid #344b38;border-radius:10px;background:#1d2b21}
.template-card.selected{border-color:#a3d570;box-shadow:0 0 0 1px #a3d57040}
.template-card.inactive{background:#19231c;border-style:dashed;opacity:.72}
.template-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.template-identity{display:flex;align-items:center;gap:10px;min-width:0}
.template-icon{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;border-radius:8px;background:#314b32;color:#c9ef8a;font-size:17px}
.template-identity div{display:grid;gap:3px;min-width:0}
.template-identity strong{overflow-wrap:anywhere;font:600 13px 'Space Grotesk',sans-serif;color:#edf5e9}
.template-identity small{color:#a9bbaa;font-size:10px;line-height:1.4}
.template-state{flex:0 0 auto;padding:4px 8px;border-radius:999px;border:1px solid #4a5b4c;color:#aab7aa;font-size:10px;font-weight:700}
.template-state.active{border-color:#698c4a;background:#314b2d;color:#d0f3a1}
.template-editor-heading .template-state{margin-right:auto}
.template-actions{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin-top:12px;padding-left:42px}
.template-actions .button,.template-editor .button{min-height:32px;padding:6px 10px;font-size:11px}
.template-actions .manager-remove{margin-left:auto;padding:7px;color:#ffaaaa}
.template-feedback{min-height:1.5em;margin:10px 0 0;color:#c3e999;font-size:11px;line-height:1.5}
.template-feedback:empty{display:none}
.template-editor{display:grid;gap:11px;margin-top:14px;padding:14px;border:1px solid #344b38;border-radius:10px;background:#18251c}
.template-editor-heading,.template-editor-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.template-editor-heading strong{font:600 13px 'Space Grotesk',sans-serif}
.template-editor textarea{min-height:160px;resize:vertical;line-height:1.6;font-size:12px}
.template-editor .hint{margin:0;min-height:0}
.template-examples{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.template-examples .hint{width:100%}
.template-editor-footer .hint{font-variant-numeric:tabular-nums}
@media(max-width:480px){.template-actions{padding-left:0}.template-editor{padding:11px}.template-actions .manager-remove{margin-left:0}}
