.lr-templates-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:16px;margin-top:16px}.lr-template-card{background:rgba(15,23,42,.6);border:1px solid var(--lr-border);border-radius:12px;padding:20px;transition:all .2s;display:flex;flex-direction:column}.lr-template-card:hover{border-color:rgba(212,175,55,.3);background:rgba(15,23,42,.8)}.lr-template-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:12px}.lr-template-name{color:#fff;font-size:15px;font-weight:700;margin:0}.lr-template-category{padding:3px 10px;background:rgba(212,175,55,.1);border-radius:12px;color:var(--lr-gold);font-size:12px;font-weight:600;text-transform:capitalize}.lr-template-subject{color:#94a3b8;font-size:13px;margin-bottom:8px;display:flex;align-items:center;gap:6px}.lr-template-subject svg{flex-shrink:0;opacity:.6}.lr-template-preview{color:#64748b;font-size:13px;line-height:1.5;flex:1;overflow:hidden;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;margin-bottom:16px}.lr-template-footer{display:flex;justify-content:space-between;align-items:center;padding-top:12px;border-top:1px solid rgba(255,255,255,.06)}.lr-template-meta{color:#64748b;font-size:12px}.lr-template-actions{display:flex;gap:8px}.lr-template-action{width:32px;height:32px;border-radius:6px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1);color:#94a3b8;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .15s}.lr-template-action:hover{background:rgba(212,175,55,.1);border-color:rgba(212,175,55,.3);color:var(--lr-gold)}.lr-template-action.delete:hover{background:rgba(239,68,68,.1);border-color:rgba(239,68,68,.3);color:var(--lr-danger)}.lr-template-action svg{width:14px;height:14px}.lr-merge-tags-help{margin-bottom:16px}.lr-merge-tags-header{display:flex;justify-content:space-between;align-items:center}.lr-merge-tags-header h4{color:#94a3b8;font-size:13px;font-weight:600;margin:0}.lr-toggle-help{background:0 0;border:none;color:#64748b;cursor:pointer;padding:4px;transition:transform .2s}.lr-toggle-help.open{transform:rotate(180deg)}.lr-merge-tags-body{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:8px;margin-top:12px;padding-top:12px;border-top:1px solid rgba(255,255,255,.06)}.lr-merge-tag{font-size:12px;color:#94a3b8}.lr-merge-tag code{background:rgba(212,175,55,.1);color:var(--lr-gold);padding:2px 6px;border-radius:4px;font-size:12px;margin-right:6px}.lr-template-category.introduction{background:rgba(59,130,246,.15);color:#3b82f6}.lr-template-category.follow_up{background:rgba(168,85,247,.15);color:#a855f7}.lr-template-category.tryout{background:rgba(34,197,94,.15);color:var(--lr-success)}.lr-template-category.interest{background:rgba(251,191,36,.15);color:#fbbf24}@media (max-width:768px){.lr-templates-grid{grid-template-columns:1fr}.lr-merge-tags-body{grid-template-columns:1fr}}:focus-visible{outline:2px solid var(--lr-gold);outline-offset:2px}[data-scheme=white] .lr-template-card{background:#fff;border-color:rgba(0,0,0,.06)}[data-scheme=white] .lr-template-card:hover{background:#fff;border-color:rgba(212,175,55,.3)}[data-scheme=white] .lr-template-name{color:#1a1a2e}[data-scheme=white] .lr-template-footer{border-top-color:rgba(0,0,0,.05)}[data-scheme=white] .lr-template-action{background:rgba(0,0,0,.03);border-color:rgba(0,0,0,.08);color:rgba(0,0,0,.55)}[data-scheme=white] .lr-template-action:hover{background:rgba(212,175,55,.08);color:var(--lr-gold-dark)}[data-scheme=white] .lr-merge-tags-header h4{color:rgba(0,0,0,.55)}[data-scheme=white] .lr-merge-tags-body{border-top-color:rgba(0,0,0,.05)}[data-scheme=white] .lr-merge-tag{color:rgba(0,0,0,.55)}:focus-visible{outline:2px solid var(--lr-gold);outline-offset:2px}