/* ---- automations — a list of scheduled asks. Read-only until the client
   taps one open. No motion in the resting state (blueprint rule: nothing moves
   in the reading path); the aura is a static Seed for enabled, outline for
   paused. When one fires, the Waiting-on-you queue lights up — that's the
   status change the client actually cares about. */
.auto{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);
  padding:16px 19px;margin-bottom:10px;display:flex;align-items:flex-start;gap:14px}
.auto.paused{opacity:.6}
.auto .seed{width:12px;height:12px;border-radius:50%;flex:none;margin-top:5px;
  background:radial-gradient(circle at 50% 50%,var(--core) 0 40%,var(--h1) 62%,transparent 80%)}
.auto.paused .seed{background:none;border:1px solid var(--line-2)}
.auto .body{flex:1;min-width:0}
.auto .n{font-size:15px;font-weight:550;margin-bottom:3px}
.auto .when{font-size:12.5px;color:var(--faint);margin-bottom:6px}
.auto .cmd{font-size:13.5px;color:var(--muted);line-height:1.55;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.auto .ft{display:flex;align-items:center;gap:12px;margin-top:9px;font:400 11px var(--mono);color:var(--faint)}
.auto .ft .err{color:var(--stop)}
.auto .actions{display:flex;flex-direction:column;gap:6px;flex:none}
.auto .actions button{cursor:pointer;background:none;border:1px solid var(--line);border-radius:99px;
  padding:5px 12px;font-size:11.5px;color:var(--muted)}
.auto .actions button:hover{color:var(--text);border-color:var(--line-2)}
.auto-form{background:var(--surface);border:1px dashed var(--line-2);border-radius:var(--r);
  padding:18px 20px;margin-top:14px}
.auto-form h4{font:500 12px var(--sans);color:var(--muted);margin:0 0 12px;letter-spacing:.02em;text-transform:uppercase}
.auto-form .row{display:flex;gap:9px;margin-bottom:11px;flex-wrap:wrap}
.auto-form select,.auto-form input[type="number"]{background:var(--bg);border:1px solid var(--line);
  border-radius:8px;padding:8px 11px;font:400 13px var(--sans);color:var(--text);outline:none}
.auto-form input:focus,.auto-form select:focus,.auto-form textarea:focus{border-color:var(--accent-dim)}
.auto-form input[type="number"]{width:70px}
.auto-form .field label{font-size:11px;color:var(--muted);display:block;margin-bottom:6px;letter-spacing:.02em}
.auto-form textarea{width:100%;background:var(--bg);border:1px solid var(--line);border-radius:10px;
  padding:11px 13px;color:var(--text);font:400 13.5px/1.6 var(--sans);resize:vertical;min-height:60px;outline:none}
.auto-empty{color:var(--faint);padding:18px 0;font-size:13.5px}
.auto-locked{background:var(--surface);border:1px dashed var(--line);border-radius:var(--r);
  padding:20px;color:var(--faint);font-size:13.5px;line-height:1.7}
.auto-locked b{color:var(--text);font-weight:500}
.auto.has-err{border-color:var(--stop,#e5484d)}
.auto-err{margin-top:10px;padding:10px 12px;border-radius:9px;background:rgba(229,72,77,.09);border:1px solid rgba(229,72,77,.28);color:#f5c1c3;font-size:12.5px;line-height:1.5}
.auto-err b{color:#fff;font-weight:600}
.auto-status{margin-top:10px;padding:9px 12px;border-radius:9px;font-size:12.5px;line-height:1.5;border:1px solid transparent}
.auto-status[data-kind="info"]{background:rgba(138,162,255,.08);border-color:rgba(138,162,255,.25);color:var(--muted)}
.auto-status[data-kind="ok"]{background:rgba(126,208,155,.10);border-color:rgba(126,208,155,.28);color:#c8e9d4}
.auto-status[data-kind="err"]{background:rgba(229,72,77,.11);border-color:rgba(229,72,77,.32);color:#f5c1c3}
.auto-status b{color:#fff;font-weight:600}
.an-preview{margin:6px 0 12px;padding:8px 12px;background:var(--bg);border:1px solid var(--line);border-radius:9px;color:var(--muted);font-size:12.5px;line-height:1.55}
.an-preview b{color:var(--text);font-weight:600}
.an-runnow{display:flex;align-items:center;gap:9px;margin:4px 0 10px;padding:10px 12px;border:1px solid var(--line);border-radius:9px;background:var(--bg);color:var(--muted);font-size:13px;cursor:pointer}
.an-runnow input[type="checkbox"]{accent-color:var(--accent);width:15px;height:15px}
.an-runnow b{color:var(--text);font-weight:600}

