.automation-shell{max-width:1420px;margin:0 auto;padding:22px clamp(16px,3vw,34px) 54px}.automation-hero{display:flex;justify-content:space-between;gap:24px;align-items:flex-start;margin-bottom:18px}.automation-eyebrow{text-transform:uppercase;letter-spacing:.12em;font-size:12px;font-weight:800;color:#2563eb;margin-bottom:8px}.automation-hero h1{font-size:clamp(26px,3vw,40px);line-height:1.05;margin:0 0 10px;color:#0f172a}.automation-hero p{max-width:760px;margin:0;color:#64748b;font-size:15px;line-height:1.55}.automation-hero-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.automation-flash{background:#ecfdf5;border:1px solid #a7f3d0;color:#065f46;border-radius:16px;padding:12px 14px;margin:12px 0 18px;font-weight:700}.automation-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:16px 0 18px}.automation-stat{background:linear-gradient(180deg,#fff,#f8fafc);border:1px solid #e5e7eb;border-radius:22px;padding:18px;box-shadow:0 18px 40px rgba(15,23,42,.06)}.automation-stat span{display:block;color:#64748b;font-size:12px;text-transform:uppercase;letter-spacing:.08em;font-weight:800}.automation-stat strong{display:block;font-size:34px;color:#0f172a;margin:6px 0}.automation-stat small{color:#64748b}.automation-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(320px,.8fr);gap:18px}.automation-panel{background:#fff;border:1px solid #e5e7eb;border-radius:24px;box-shadow:0 20px 50px rgba(15,23,42,.08);padding:18px;margin-bottom:18px}.automation-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:14px}.automation-panel-head h2{font-size:20px;margin:0 0 4px;color:#0f172a}.automation-panel-head p{margin:0;color:#64748b;font-size:14px}.automation-rule-list,.automation-event-list{display:grid;gap:12px}.automation-rule-card{border:1px solid #e5e7eb;border-radius:20px;padding:14px;display:flex;align-items:flex-start;justify-content:space-between;gap:16px;background:#fbfdff}.automation-rule-card.is-off{opacity:.72}.automation-rule-main{display:flex;gap:12px}.automation-rule-icon{width:42px;height:42px;border-radius:16px;display:flex;align-items:center;justify-content:center;background:#eff6ff;color:#2563eb;font-size:22px;flex:0 0 auto}.automation-rule-card h3,.automation-event h3{margin:0 0 4px;color:#0f172a;font-size:17px}.automation-rule-card p,.automation-event p{margin:0;color:#64748b;line-height:1.45}.automation-chip-row{display:flex;gap:6px;flex-wrap:wrap;margin-top:10px}.automation-chip-row span,.automation-severity{font-size:12px;font-weight:800;border-radius:999px;padding:5px 9px;background:#eef2ff;color:#3730a3;text-transform:capitalize}.automation-rule-actions{display:flex;gap:8px;align-items:flex-start;flex-wrap:wrap;justify-content:flex-end}.automation-rule-actions details{position:relative}.automation-rule-actions summary{list-style:none;cursor:pointer}.automation-rule-actions summary::-webkit-details-marker{display:none}.automation-edit-form{position:absolute;right:0;top:44px;width:min(340px,88vw);background:#fff;border:1px solid #e5e7eb;border-radius:18px;box-shadow:0 26px 70px rgba(15,23,42,.18);padding:14px;display:grid;gap:10px;z-index:20}.automation-create-form{display:grid;gap:11px}.automation-edit-form label,.automation-create-form label{display:grid;gap:6px;color:#334155;font-weight:700;font-size:13px}.automation-check{display:flex!important;grid-template-columns:auto 1fr!important;align-items:center;gap:8px!important}.automation-event{border:1px solid #e5e7eb;border-left:5px solid #3b82f6;border-radius:18px;padding:14px;display:flex;align-items:flex-start;justify-content:space-between;gap:14px;background:#fff}.automation-event.high,.automation-event.critical{border-left-color:#ef4444}.automation-event.medium{border-left-color:#f59e0b}.automation-event.low{border-left-color:#22c55e}.automation-event.is-resolved{opacity:.55}.automation-event small{display:block;margin-top:8px;color:#94a3b8}.automation-event-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.automation-empty{border:1px dashed #cbd5e1;border-radius:18px;padding:22px;display:grid;gap:6px;color:#64748b}.automation-empty strong{color:#0f172a}@media(max-width:920px){.automation-hero{display:grid}.automation-grid,.automation-stat-grid{grid-template-columns:1fr}.automation-rule-card,.automation-event{display:grid}.automation-rule-actions,.automation-event-actions{justify-content:flex-start}.automation-edit-form{position:static;width:100%;margin-top:10px}.automation-shell{padding-bottom:96px}.automation-hero h1{font-size:25px}.automation-panel{border-radius:20px;padding:15px}}
