.nfx-templates .nfx-heading{margin-bottom:20px}
.nfx-templates .nfx-sync{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;margin-top:10px;font-size:13px;line-height:1.5;color:#475569}
.nfx-templates .nfx-sync-dot{width:8px;height:8px;border-radius:999px;background:#10b981;box-shadow:0 0 0 3px rgba(16,185,129,.15);flex-shrink:0}
.nfx-templates .nfx-sync[data-delayed=true] .nfx-sync-dot{background:#f59e0b;box-shadow:0 0 0 3px rgba(245,158,11,.18)}
.nfx-templates .nfx-sync time{color:#64748b}
.nfx-templates .nfx-sync time::before{content:"·";margin-right:10px;color:#cbd5e1}
.nfx-templates .nfx-sync-retry{font-size:13px;min-height:32px}
.nfx-templates .nfx-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 0 28px;padding:0;list-style:none}
.nfx-templates .nfx-steps li{display:flex;align-items:center;gap:12px;min-width:0;padding:14px 16px;border:1px solid #e2e8f0;border-radius:14px;background:#fff}
.nfx-templates .nfx-steps li[data-done=true]{border-color:#bbf7d0;background:#f0fdf4}
.nfx-templates .nfx-steps li[aria-current=step]{border-color:#a5b4fc;background:#eef2ff;box-shadow:0 0 0 1px #a5b4fc inset}
.nfx-templates .nfx-step-index{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;flex-shrink:0;border-radius:999px;background:#f1f5f9;color:#475569;font-size:13px;font-weight:700}
.nfx-templates li[data-done=true] .nfx-step-index{background:#16a34a;color:#fff}
.nfx-templates li[aria-current=step] .nfx-step-index{background:#4f46e5;color:#fff}
.nfx-templates .nfx-step-text{display:flex;flex-direction:column;min-width:0}
.nfx-templates .nfx-step-title{font-size:12px;line-height:1.4;color:#64748b}
.nfx-templates .nfx-step-value{font-size:14px;font-weight:600;line-height:1.4;color:#17233b;overflow-wrap:anywhere}
.nfx-templates li[data-done=true] .nfx-step-value{color:#166534}
.nfx-templates li[aria-current=step] .nfx-step-value{color:#3730a3}
.nfx-templates .nfx-sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.nfx-templates .nfx-loading{padding:24px 0;color:#475569}
.nfx-templates .nfx-group{margin:0 0 28px}
.nfx-templates .nfx-group-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:6px}
.nfx-templates .nfx-group-head>div{flex:1;min-width:0}
.nfx-templates .nfx-group-head h3{display:flex;align-items:center;gap:8px;margin:0;font-size:16px;font-weight:700;line-height:1.4;color:#17233b}
.nfx-templates .nfx-group-head p{margin:2px 0 0;font-size:13px;line-height:1.55;color:#64748b;max-width:76ch}
.nfx-templates .nfx-count{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 7px;border-radius:999px;background:#f1f5f9;color:#475569;font-size:12px;font-weight:700}
.nfx-templates .nfx-group[data-group=decide] .nfx-count{background:#fef3c7;color:#92400e}
.nfx-templates .nfx-group[data-group=activate] .nfx-count{background:#dcfce7;color:#166534}
.nfx-templates .nfx-group[data-group=analysis] .nfx-count{background:#e0e7ff;color:#3730a3}
.nfx-templates .nfx-group[data-group=decide] .nu-model-list{border-left:3px solid #f59e0b;padding-left:16px;border-top:0}
.nfx-templates .nfx-group[data-group=decide] .nu-model-status{color:#92400e}
.nfx-templates .nfx-group[data-group=activate] .nu-model-status{color:#166534}
.nfx-templates .nfx-primary{gap:8px;padding:0 18px;border:0;border-radius:10px;background:#4f46e5;color:#fff;font-weight:600;cursor:pointer}
.nfx-templates .nfx-primary:hover{background:#4338ca}
.nfx-templates .nfx-primary:focus-visible{outline:2px solid #4338ca;outline-offset:3px}
.nfx-templates .nfx-primary[disabled]{background:#a5b4fc;cursor:progress}
.nfx-templates .nfx-group-head .nfx-primary{margin-top:0;flex-shrink:0}
.nfx-templates .nfx-muted{font-size:13px;color:#64748b;max-width:22ch;text-align:right}
.nfx-templates .nfx-note{margin:8px 0 0;padding:8px 12px;border-radius:10px;background:#fef2f2;color:#991b1b;font-size:13px;line-height:1.5;max-width:62ch}
.nfx-templates .nfx-note-ok{background:#f0fdf4;color:#166534}
.nfx-templates .nfx-chips{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 0;padding:0;list-style:none}
.nfx-templates .nfx-chips button{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:0 14px;border:1px solid #bbf7d0;border-radius:999px;background:#f0fdf4;color:#166534;font-size:14px;font-weight:600;cursor:pointer}
.nfx-templates .nfx-chips button:hover{border-color:#86efac}
.nfx-templates .nfx-chips button:focus-visible{outline:2px solid #4338ca;outline-offset:2px}
@media (max-width:640px){
.nfx-templates .nts-status.nfx-sync{flex-direction:row;align-items:center;justify-content:flex-start;text-align:left;gap:4px 8px}
.nfx-templates .nfx-sync time{flex-basis:100%;padding-left:16px}
.nfx-templates .nfx-sync time::before{content:none}
.nfx-templates .nfx-steps{grid-template-columns:1fr;gap:8px;margin-bottom:22px}
.nfx-templates .nfx-steps li{padding:10px 12px}
.nfx-templates .nfx-group-head{flex-direction:column;align-items:stretch}
.nfx-templates .nfx-group-head .nfx-primary{width:100%;justify-content:center}
.nfx-templates .nfx-row[data-model-kind=activate]{flex-direction:column;align-items:stretch}
.nfx-templates .nfx-row[data-model-kind=activate] .nfx-primary{max-width:none;width:100%;justify-content:center}
.nfx-templates .nfx-muted{text-align:left;max-width:none}
}
