.expanded-foundry{padding:27px}
.foundry-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}
.foundry-heading h2{font-size:27px;line-height:1.18;margin:10px 0;max-width:430px}
.catalog-count{display:flex;align-items:center;flex-direction:column;gap:4px;font:8px var(--mono);letter-spacing:1px;color:#7d6c8c;white-space:nowrap;background:#e9e1f0;border:1px solid #cfbfdc;border-radius:11px;padding:12px 14px}
.catalog-count b{font-size:25px;font-weight:400;letter-spacing:-1px;color:#514361}
.catalog-filters{display:flex;align-items:center;gap:7px;flex-wrap:wrap;border-bottom:1px solid #d6cddd;padding:0 0 14px;margin:24px 0 17px}
.catalog-filters button{font-size:11px;padding:9px 12px;border-radius:6px;border:1px solid transparent;display:flex;align-items:center;gap:9px;min-height:36px}
.catalog-filters button span{font:8px var(--mono);color:#8a7c95}
.catalog-filters button[aria-pressed=true]{background:#e5dced;border-color:#bdabc9;color:#514361}
.bot-catalog{gap:10px;margin:0 0 25px;grid-template-columns:repeat(3,minmax(0,1fr))}
.bot-catalog .bot-template{position:relative;display:flex;flex-direction:column;min-height:152px;padding:15px 13px;background:#f0ece1;transition:background .18s,border-color .18s,transform .18s;min-width:0}
.bot-catalog .bot-template.active{background:#e5ebcf;border-color:#9aa777;box-shadow:inset 0 0 0 1px #9aa77755}
.bot-catalog .bot-template:hover{transform:translateY(-2px);border-color:#a893bb}
.bot-catalog .catalog-icon{margin-bottom:12px;color:#514361;font-size:23px}
.bot-catalog .bot-template b{font-size:12px;line-height:1.45;margin-bottom:4px}
.bot-catalog .bot-template small{font-size:11px;line-height:1.6;color:#716479;margin-bottom:16px}
.bot-catalog .bot-template .catalog-source{display:flex;align-items:center;justify-content:space-between;gap:3px;width:100%;margin:auto 0 0;font:8px var(--mono);letter-spacing:.3px;color:#796783}
.catalog-source i{font:7px var(--mono);font-style:normal;color:#705480;background:#e2d7ec;border-radius:3px;padding:3px 4px}
.catalog-filters button:focus-visible,.bot-catalog .bot-template:focus-visible{outline:2px solid #786191;outline-offset:3px}
.selected-job{display:flex;gap:15px;align-items:flex-start;border-top:1px solid #cfc3d8;padding:22px 0}
.selected-job>span{display:grid;place-items:center;width:43px;height:43px;flex:none;border:1px solid #baa6c9;background:#e6dcef;border-radius:11px;color:#514361}
.selected-job>span svg{width:23px;height:23px}
.selected-job h3{font-size:21px;font-weight:500;letter-spacing:-.5px;margin:6px 0 8px}
.selected-job p{font-size:11px;line-height:1.8;color:#7b6c86;margin:0;max-width:540px}
.event-rule{padding:14px 16px;background:#ebe4f1;border:1px dashed #bca9cb;border-radius:6px;font:9px/1.8 var(--mono);color:#786587}
.expanded-foundry .form-hint button{font:inherit;text-decoration:underline;padding:0}
.expanded-foundry .bot-data-strip{overflow-wrap:anywhere}
.bot-data-strip span{overflow-wrap:anywhere;min-width:0}
@media(max-width:600px){.expanded-foundry{padding:19px}.foundry-heading{gap:12px}.foundry-heading h2{font-size:23px}.catalog-count{padding:10px}.catalog-filters{gap:3px}.catalog-filters button{font-size:10px;padding:8px 9px}.bot-catalog{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.bot-catalog .bot-template{min-height:151px;padding:13px 12px}.bot-catalog .bot-template small{font-size:10px}.expanded-foundry .bot-form{grid-template-columns:1fr}.selected-job{gap:12px}.selected-job h3{font-size:19px}}
@media(prefers-reduced-motion:reduce){.bot-catalog .bot-template{transition:none}.bot-catalog .bot-template:hover{transform:none}}
