#automation-panel{padding:14px;border-bottom:1px solid #d7e0e6;background:#f5fafb;min-width:0}
#automation-panel h2{margin:0 0 8px;font-size:15px;color:#244d64}
#automation-panel p{margin:7px 0;line-height:1.6;overflow-wrap:anywhere}
#automation-panel label{display:block;margin:9px 0 5px;font-size:12px;color:#365467}
#automation-panel select,#automation-panel input{font:inherit;border:1px solid #bdcbd5;border-radius:5px;background:#fff;padding:7px;width:100%;min-width:0;min-height:36px;color:#243445}
#automation-panel button{max-width:100%;white-space:normal;min-height:38px}
#automation-panel #automation-observe,#automation-panel #automation-click,#automation-panel #automation-mouse-run{width:100%;margin:7px 0}
#automation-panel #automation-targets{min-height:120px;max-height:180px;font-size:12px}
#automation-panel .automation-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}
#automation-panel .automation-row label{margin-top:4px}
#automation-panel small{font-size:12px;line-height:1.65;color:#64798a;display:block;overflow-wrap:anywhere}
#automation-panel details{border-top:1px solid #d4e1e7;margin-top:12px;padding-top:12px}
#automation-panel summary{cursor:pointer;font-weight:600;color:#28566e;line-height:1.6}
#automation-panel #automation-result{padding:9px 10px;background:#eaf2f6;border:1px solid #cbdce6;border-radius:5px;color:#365467;font-size:12px}
#automation-panel #automation-result[data-kind=success]{background:#eaf5ee;border-color:#b9d8c5;color:#27644b}
#automation-panel #automation-result[data-kind=warning]{background:#fff5e5;border-color:#e6cfaa;color:#855914}
#automation-panel input:disabled,#automation-panel select:disabled{background:#edf0f2;color:#89939d}
@media(max-width:600px){#automation-panel{padding:12px}#automation-panel #automation-targets{min-height:105px}}
