/* Automations: the list (or runs) column, the page of the selected one, and the editor. */
.app[data-screen="automations"] .area { position: relative; }
.app[data-screen="automations"] button { cursor: pointer; }
.app[data-screen="automations"] .rel { position: relative; display: flex; }
.app[data-screen="automations"] .acol { display: flex; flex-direction: column; flex: none; width: 348px; min-height: 0; border-right: 0.5px solid var(--sep); }
.app[data-screen="automations"] .ahead { display: flex; align-items: center; flex: none; height: 42px; padding: 0 12px 0 18px; border-bottom: 0.5px solid var(--sep); }
.app[data-screen="automations"] .ahead b { flex: 1; font-size: 16px; font-weight: 700; }
.app[data-screen="automations"] .ahead .ib { width: 28px; height: 28px; color: var(--t2); }
.app[data-screen="automations"] .atabs { display: flex; gap: 4px; flex: none; height: 46px; padding: 8px; border-bottom: 0.5px solid var(--sep); }
.app[data-screen="automations"] .atabs button { flex: 1; justify-content: center; gap: 6px; height: 30px; border-radius: 8px; color: var(--t2); font-size: 13.5px; font-weight: 450; }
.app[data-screen="automations"] .atabs button:hover { background: var(--f2); }
.app[data-screen="automations"] .atabs button.on { background: var(--f4); color: var(--t1); font-weight: 500; }
.app[data-screen="automations"] .badge { display: grid; place-items: center; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--waiting); color: #fff; font-size: 10px; font-weight: 700; }
.app[data-screen="automations"] .banner { display: flex; align-items: flex-start; gap: 10px; flex: none; margin: 2px 8px; padding: 10px 10px 10px 12px; border-radius: 10px; background: var(--waiting-bg); }
.app[data-screen="automations"] .bdot { display: grid; place-items: center; width: 8px; height: 8px; margin-top: 5px; flex: none; border-radius: 4px; background: var(--waiting); box-shadow: 0 0 0 3px var(--waiting-bg); }
.app[data-screen="automations"] .bdot i { display: none; }
.app[data-screen="automations"] .bt { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.app[data-screen="automations"] .bt b { font-size: 13px; font-weight: 600; }
.app[data-screen="automations"] .bt span { overflow: hidden; color: var(--waiting-text); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.app[data-screen="automations"] .pbtn { gap: 6px; height: 28px; padding: 0 12px; border-radius: 14px; font-size: 13px; font-weight: 500; white-space: nowrap; flex: none; }
.app[data-screen="automations"] .pbtn.sm { height: 26px; }
.app[data-screen="automations"] .pbtn.lg { height: 30px; padding: 0 14px; }
.app[data-screen="automations"] .pbtn.scnd { background: var(--f3); }
.app[data-screen="automations"] .pbtn.scnd:hover { background: var(--f4); }
.app[data-screen="automations"] .pbtn.prim { background: var(--t1); color: #171717; font-weight: 600; box-shadow: inset 0 1px 0 #ffffff2e, 0 4px 12px #0000002e; }
.app[data-screen="automations"] .pbtn.prim:hover { opacity: 0.9; }
.app[data-screen="automations"] .pbtn.prim.dis { background: var(--f4); color: var(--t3); box-shadow: none; cursor: default; opacity: 1; }
.app[data-screen="automations"] .pbtn.ghost { color: var(--failed); font-weight: 600; }
.app[data-screen="automations"] .pbtn.ghost:hover { background: var(--f3); }
.app[data-screen="automations"] .pbtn.wait { background: var(--waiting); color: #1a1306; font-weight: 600; }
.app[data-screen="automations"] .pbtn.wait:hover { opacity: 0.9; }
.app[data-screen="automations"] .draft { display: flex; flex-direction: column; gap: 3px; flex: none; margin: 2px 8px; padding: 10px; border-radius: 10px; background: var(--f3); }
.app[data-screen="automations"] .draft b { color: #d4d4d4; font-size: 12px; font-weight: 600; }
.app[data-screen="automations"] .draft .dt { overflow: hidden; font-size: 14.5px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.app[data-screen="automations"] .draft .dw { display: flex; align-items: center; gap: 6px; color: var(--t3); font-size: 12.5px; }
.app[data-screen="automations"] .draft .dw svg { color: var(--t4); }
.app[data-screen="automations"] .alist { flex: 1; min-height: 0; padding: 0 8px 12px; overflow-y: auto; scrollbar-width: none; }
.app[data-screen="automations"] .alist::-webkit-scrollbar { display: none; }
.app[data-screen="automations"] .blank { padding: 30px 0; color: var(--t3); text-align: center; font-size: 14px; }
.app[data-screen="automations"] .ghd { gap: 6px; width: 100%; height: 28px; margin-top: 6px; padding: 0 8px; border-radius: 7px; color: var(--t3); font-size: 12px; font-weight: 600; }
.app[data-screen="automations"] .ghd:hover { background: var(--f2); }
.app[data-screen="automations"] .ghd svg { color: var(--t4); }
.app[data-screen="automations"] .ghd span { color: var(--t4); font-weight: 500; }
.app[data-screen="automations"] .arow { position: relative; display: flex; flex-direction: column; gap: 3px; height: 80px; margin-bottom: 2px; padding: 10px; border-radius: 10px; cursor: pointer; }
.app[data-screen="automations"] .arow:hover { background: var(--f2); }
.app[data-screen="automations"] .arow.on { background: var(--f3); }
.app[data-screen="automations"] .arow.off > :not(.tgb) { opacity: 0.55; }
.app[data-screen="automations"] .arow .t1 { display: flex; align-items: center; gap: 6px; height: 16px; padding-right: 40px; color: var(--t3); font-size: 12px; }
.app[data-screen="automations"] .arow .t2 { height: 20px; overflow: hidden; font-size: 14.5px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.app[data-screen="automations"] .arow .t3 { display: flex; align-items: center; gap: 6px; height: 17px; color: var(--t3); font-size: 12.5px; }
.app[data-screen="automations"] .arow .t3 > svg { color: var(--t4); }
.app[data-screen="automations"] .arow .tl { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app[data-screen="automations"] .tgb { position: absolute; top: 9px; right: 10px; }
.app[data-screen="automations"] .tg { display: block; width: 30px; height: 18px; padding: 2px; border-radius: 9px; background: var(--f4); }
.app[data-screen="automations"] .tg i { display: block; width: 14px; height: 14px; border-radius: 7px; background: #fff; box-shadow: 0 1px 2px #00000026; transition: transform 160ms cubic-bezier(0.16, 1, 0.3, 1); }
.app[data-screen="automations"] .tg.on { background: var(--success); }
.app[data-screen="automations"] .tg.on i { transform: translateX(12px); }
.app[data-screen="automations"] .last { display: flex; align-items: center; gap: 5px; flex: none; font-size: 12px; font-weight: 500; color: var(--t3); }
.app[data-screen="automations"] .last.wait { color: var(--waiting-text); }
.app[data-screen="automations"] .last.run { color: var(--action); }
.app[data-screen="automations"] .last.bad { color: var(--failed); }
.app[data-screen="automations"] .none { flex: none; color: var(--t3); font-size: 12px; font-weight: 500; }
.app[data-screen="automations"] .paused { flex: none; padding: 1px 6px; border-radius: 5px; background: var(--f3); color: var(--t3); font-size: 11px; font-weight: 600; }
.app[data-screen="automations"] .ok { display: flex; color: var(--success-text); }
.app[data-screen="automations"] .bad { display: flex; color: var(--failed); }
.app[data-screen="automations"] .mute { display: flex; color: var(--t4); }
.app[data-screen="automations"] .last .halo { width: 11px; height: 11px; background: none; }
.app[data-screen="automations"] .last .halo i { width: 7px; height: 7px; }
.app[data-screen="automations"] .runs { padding-bottom: 12px; }
.app[data-screen="automations"] .rhead { display: flex; gap: 6px; padding: 14px 10px 6px; color: var(--t3); font-size: 11.5px; font-weight: 700; }
.app[data-screen="automations"] .rhead span { color: var(--t4); font-weight: 500; }
.app[data-screen="automations"] .rhead.wait { color: var(--waiting-text); }
.app[data-screen="automations"] .upnext { display: flex; align-items: center; gap: 8px; height: 26px; padding: 0 10px; border-radius: 8px; font-size: 13px; cursor: pointer; }
.app[data-screen="automations"] .upnext:hover { background: var(--f2); }
.app[data-screen="automations"] .upnext svg { color: var(--t4); }
.app[data-screen="automations"] .upnext span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app[data-screen="automations"] .upnext small { color: var(--t3); font-size: 12px; }
.app[data-screen="automations"] .rrow { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 2px; padding: 9px 10px; border-radius: 10px; cursor: pointer; }
.app[data-screen="automations"] .rrow:hover { background: var(--f2); }
.app[data-screen="automations"] .rrow.on { background: var(--f3); }
.app[data-screen="automations"] .rg { display: flex; justify-content: center; flex: none; width: 16px; padding-top: 3px; }
.app[data-screen="automations"] .rt { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.app[data-screen="automations"] .rt b { overflow: hidden; font-size: 13.5px; line-height: 19px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.app[data-screen="automations"] .rt span { overflow: hidden; color: var(--t3); font-size: 12px; line-height: 16px; text-overflow: ellipsis; white-space: nowrap; }
.app[data-screen="automations"] .rrow small { flex: none; color: var(--t3); font-size: 11.5px; line-height: 19px; }
.app[data-screen="automations"] .only { display: flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; color: var(--t3); font-size: 12.5px; }
.app[data-screen="automations"] .only i { font-style: normal; }
.app[data-screen="automations"] .only button { color: var(--t1); text-decoration: underline; }

.app[data-screen="automations"] .apage { display: flex; flex-direction: column; flex: 1; min-width: 0; min-height: 0; }
.app[data-screen="automations"] .abar { display: flex; align-items: center; gap: 8px; flex: none; height: 42px; padding: 0 12px 0 14px; border-bottom: 0.5px solid var(--sep); font-size: 13px; }
.app[data-screen="automations"] .crumbs2 { display: flex; align-items: center; gap: 6px; flex: 1; min-width: 0; }
.app[data-screen="automations"] .crumbs2 span { flex: none; color: var(--t3); }
.app[data-screen="automations"] .crumbs2 svg { color: var(--t4); }
.app[data-screen="automations"] .crumbs2 b { overflow: hidden; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.app[data-screen="automations"] .swt { gap: 8px; color: var(--t2); font-size: 13px; }
.app[data-screen="automations"] .abar .ib { width: 26px; height: 26px; color: var(--t2); }
.app[data-screen="automations"] .abody { flex: 1; min-height: 0; overflow-y: auto; scrollbar-width: none; }
.app[data-screen="automations"] .abody::-webkit-scrollbar { display: none; }
.app[data-screen="automations"] .acenter { display: flex; flex-direction: column; gap: 18px; max-width: 760px; margin: 0 auto; padding: 28px 32px 48px; }
.app[data-screen="automations"] .title { display: flex; align-items: center; gap: 14px; }
.app[data-screen="automations"] .tile40 { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 10px; background: var(--f3); box-shadow: inset 0 0 0 0.5px var(--sep2); color: var(--t2); font-size: 14px; font-weight: 500; }
.app[data-screen="automations"] .title h2 { margin: 0 0 4px; font-size: 22px; line-height: 28px; font-weight: 700; letter-spacing: 0; }
.app[data-screen="automations"] .title p { display: flex; align-items: center; gap: 7px; margin: 0; color: var(--t3); font-size: 13px; }
.app[data-screen="automations"] .wcard { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; background: var(--surface); box-shadow: 0 0 0 1px var(--waiting-bg), 0 1px 2px #1111130f; background-image: linear-gradient(var(--waiting-bg), var(--waiting-bg)); }
.app[data-screen="automations"] .wi { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 9px; background: var(--waiting-bg); color: var(--waiting); }
.app[data-screen="automations"] .wcard > div { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.app[data-screen="automations"] .wcard b { font-size: 13.5px; font-weight: 600; }
.app[data-screen="automations"] .wcard span:not(.wi) { overflow: hidden; color: var(--t3); font-size: 12.5px; text-overflow: ellipsis; white-space: nowrap; }
.app[data-screen="automations"] .sec { display: flex; flex-direction: column; gap: 8px; }
.app[data-screen="automations"] .sec h4 { display: flex; align-items: center; gap: 10px; margin: 0; padding-left: 4px; color: var(--t3); font-size: 12px; font-weight: 600; }
.app[data-screen="automations"] .rstrip { display: flex; gap: 3px; }
.app[data-screen="automations"] .rstrip i { width: 6px; height: 12px; border-radius: 2px; background: var(--t6); }
.app[data-screen="automations"] .rstrip .s-succeeded { background: var(--success); }
.app[data-screen="automations"] .rstrip .s-failed { background: var(--failed); }
.app[data-screen="automations"] .rstrip .s-waiting { background: var(--waiting); }
.app[data-screen="automations"] .rstrip .s-running { background: var(--action); }
.app[data-screen="automations"] .rstrip .s-cancelled { background: var(--t5); }
.app[data-screen="automations"] .lnk { margin-left: auto; padding: 0 4px; color: var(--t1); font-size: 12.5px; font-weight: 500; }
.app[data-screen="automations"] .lnk.ul { margin: 0; padding: 0; gap: 4px; text-decoration: underline; }
.app[data-screen="automations"] .lnk.blue { margin: 0; padding: 0; font-size: 13px; font-weight: 600; text-decoration: underline; display: inline; }
.app[data-screen="automations"] .acard, .app[data-screen="automations"] .details { border-radius: 12px; background: var(--surface); box-shadow: 0 1px 2px #1111130f, inset 0 0 0 0.5px #1111130f; }
.app[data-screen="automations"] .details { padding: 4px 0; }
.app[data-screen="automations"] .details > div { display: flex; gap: 12px; padding: 9px 16px; font-size: 13px; line-height: 18px; }
.app[data-screen="automations"] .details > div + div { border-top: 0.5px solid var(--hair); }
.app[data-screen="automations"] .details > div > span:first-child { width: 140px; flex: none; color: var(--t3); }
.app[data-screen="automations"] .details > div > span:last-child { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app[data-screen="automations"] .mono { font: 12.5px var(--mono); }
.app[data-screen="automations"] .acard { overflow: hidden; }
.app[data-screen="automations"] .acard.none { padding: 18px 16px; color: var(--t3); font-size: 13px; }
.app[data-screen="automations"] .recent { display: flex; align-items: flex-start; gap: 12px; padding: 11px 14px 11px 16px; }
.app[data-screen="automations"] .recent.sepline { border-top: 0.5px solid var(--hair); }
.app[data-screen="automations"] .rm { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.app[data-screen="automations"] .rm > div { display: flex; align-items: baseline; gap: 8px; }
.app[data-screen="automations"] .rm b { flex: none; font-size: 13.5px; font-weight: 600; }
.app[data-screen="automations"] .oc { overflow: hidden; color: var(--t3); font-size: 12px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.app[data-screen="automations"] .oc.wait { color: var(--waiting-text); }
.app[data-screen="automations"] .oc.run { color: var(--action); }
.app[data-screen="automations"] .oc.bad { color: var(--failed); }
.app[data-screen="automations"] .rm p { margin: 0; color: var(--t2); font-size: 12.5px; line-height: 17px; }
.app[data-screen="automations"] .rr { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; flex: none; color: var(--t3); font-size: 12px; }
.app[data-screen="automations"] .rr .lnk { font-size: 12.5px; }
.app[data-screen="automations"] .recent .halo, .app[data-screen="automations"] .rrow .halo { width: 14px; height: 14px; background: none; box-shadow: none; }
.app[data-screen="automations"] .recent .halo i, .app[data-screen="automations"] .rrow .halo i { width: 8px; height: 8px; box-shadow: 0 0 0 2.5px var(--waiting-bg); }
.app[data-screen="automations"] .rh { display: flex; align-items: center; gap: 8px; color: var(--t3); font-size: 12.5px; }
.app[data-screen="automations"] .spill { display: flex; align-items: center; gap: 6px; height: 22px; padding: 0 9px 0 8px; border-radius: 11px; font-size: 12px; font-weight: 600; background: var(--f3); color: var(--t2); }
.app[data-screen="automations"] .spill.waiting { background: var(--waiting-bg); color: var(--waiting-text); }
.app[data-screen="automations"] .spill.running { background: #7c85e329; color: var(--action); }
.app[data-screen="automations"] .spill.succeeded { background: var(--success-bg); color: var(--success-text); }
.app[data-screen="automations"] .spill.failed { background: var(--failed-bg); color: var(--failed); }
.app[data-screen="automations"] .spill .d { width: 6px; height: 6px; border-radius: 3px; background: var(--waiting); }
.app[data-screen="automations"] .rtitle { margin: -8px 0 -8px; font-size: 22px; line-height: 28px; font-weight: 700; letter-spacing: 0; }
.app[data-screen="automations"] .ran { display: flex; align-items: center; gap: 7px; margin: -10px 0 0; color: var(--t2); font-size: 13px; }
.app[data-screen="automations"] .approval { display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: 12px; background: var(--surface); box-shadow: 0 0 0 1px var(--waiting-bg), 0 1px 2px #1111130f; }
.app[data-screen="automations"] .ah { display: flex; align-items: center; gap: 9px; font-size: 14px; }
.app[data-screen="automations"] .ah b { font-weight: 600; }
.app[data-screen="automations"] .ah span:last-child { color: var(--t3); font-size: 12.5px; }
.app[data-screen="automations"] .approval pre { margin: 0; padding: 10px 12px; border-radius: 8px; background: var(--f2); color: #5eead4; font: 13px/1.4 var(--mono); }
.app[data-screen="automations"] .ab { display: flex; align-items: center; gap: 8px; }
.app[data-screen="automations"] .reply { gap: 4px; margin-left: auto; color: var(--t2); font-size: 12.5px; font-weight: 500; }
.app[data-screen="automations"] .rfail { padding: 14px 16px; border-radius: 12px; background: var(--failed-bg); color: var(--failed); font-size: 13.5px; font-weight: 600; }
.app[data-screen="automations"] .summary { padding: 14px 16px; font-size: 14px; line-height: 22px; }
.app[data-screen="automations"] .empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; flex: 1; color: var(--t3); font-size: 14px; }
.app[data-screen="automations"] .apage > .note { flex: 1; display: grid; place-items: center; color: var(--t3); font-size: 14px; }
.app[data-screen="automations"] .pop { position: absolute; z-index: 30; top: 32px; right: 0; padding: 5px; border-radius: 12px; background: var(--popover); box-shadow: inset 0 0 0 0.5px var(--sep2), 0 8px 28px #00000066; }
.app[data-screen="automations"] .pop.more { width: 180px; }
.app[data-screen="automations"] .pop button, .app[data-screen="automations"] .pop .mr { display: flex; align-items: center; gap: 8px; width: 100%; height: 30px; padding: 0 8px; border-radius: 7px; font-size: 13px; }
.app[data-screen="automations"] .pop button:hover { background: var(--f2); }
.app[data-screen="automations"] .pop .dang { color: var(--failed-text); }
.app[data-screen="automations"] .scrim { position: absolute; inset: 0; z-index: 20; }

.app[data-screen="automations"] .ed { gap: 24px; }
.app[data-screen="automations"] .etitle { width: 100%; padding: 0; border: 0; outline: 0; background: none; color: var(--t1); font: 700 20px/26px Geist, sans-serif; }
.app[data-screen="automations"] .etitle::placeholder { color: var(--t4); }
.app[data-screen="automations"] .ed .swt { margin-top: -12px; align-self: flex-start; }
.app[data-screen="automations"] .tpls { display: flex; flex-wrap: wrap; gap: 8px; margin-top: -8px; }
.app[data-screen="automations"] .tpls button { gap: 7px; height: 30px; padding: 0 11px; border-radius: 9px; background: var(--surface); box-shadow: 0 1px 2px #1111130f, inset 0 0 0 0.5px #1111130f; color: var(--t2); font-size: 13px; }
.app[data-screen="automations"] .tpls button:hover { background: var(--f2); }
.app[data-screen="automations"] .tpls svg { color: var(--t3); }
.app[data-screen="automations"] .addtrig { padding: 4px; }
.app[data-screen="automations"] .addbtn { justify-content: center; gap: 8px; width: 100%; height: 48px; border-radius: 8px; color: var(--t2); font-size: 14px; font-weight: 500; }
.app[data-screen="automations"] .addbtn:hover { background: var(--f2); }
.app[data-screen="automations"] .addtrig .pop { top: 54px; left: 4px; right: auto; width: 260px; border-radius: 12px; }
.app[data-screen="automations"] .trig hr { height: 1px; margin: 4px 0; border: 0; background: var(--hair); }
.app[data-screen="automations"] .trig .sh { display: flex; align-items: center; height: 26px; padding: 0 8px; color: var(--t3); font-size: 11.5px; font-weight: 600; }
.app[data-screen="automations"] .trig .mr.off { color: var(--t4); }
.app[data-screen="automations"] .trig .mr span { flex: 1; }
.app[data-screen="automations"] .trig .mr small { font-size: 11px; font-weight: 500; }
.app[data-screen="automations"] .trigcard { display: flex; flex-direction: column; gap: 14px; padding: 12px 16px 16px; overflow: visible; }
.app[data-screen="automations"] .th { display: flex; align-items: center; gap: 8px; }
.app[data-screen="automations"] .th svg { color: var(--t2); }
.app[data-screen="automations"] .th b { font-size: 14px; font-weight: 600; }
.app[data-screen="automations"] .th span { flex: 1; color: var(--t3); font-size: 12.5px; }
.app[data-screen="automations"] .th .ib { width: 24px; height: 24px; color: var(--t3); }
.app[data-screen="automations"] .seg { display: flex; align-self: flex-start; gap: 2px; padding: 3px; border-radius: 11px; background: var(--f3); }
.app[data-screen="automations"] .seg button { height: 26px; padding: 0 12px; border-radius: 8px; color: var(--t2); font-size: 12.5px; font-weight: 500; }
.app[data-screen="automations"] .seg button.on { background: var(--surface); box-shadow: 0 1px 2px #1111130f, inset 0 0 0 0.5px #1111130f; color: var(--t1); font-weight: 600; }
.app[data-screen="automations"] .days { display: flex; gap: 6px; }
.app[data-screen="automations"] .day { justify-content: center; width: 34px; height: 34px; border-radius: 17px; background: var(--f2); color: var(--t2); font-size: 12.5px; font-weight: 600; }
.app[data-screen="automations"] .day:hover { background: var(--f3); }
.app[data-screen="automations"] .day.on { background: #ebebeb33; color: #171717; background: var(--t1); }
.app[data-screen="automations"] .chips { display: flex; gap: 6px; }
.app[data-screen="automations"] .pchip { height: 26px; padding: 0 10px; border-radius: 13px; background: var(--f2); color: var(--t2); font-size: 12px; font-weight: 550; white-space: nowrap; }
.app[data-screen="automations"] .pchip:hover { background: var(--f3); }
.app[data-screen="automations"] .pchip.on { background: var(--t1); color: #171717; }
.app[data-screen="automations"] .lbl { margin-bottom: -8px; color: var(--t3); font-size: 12px; font-weight: 600; }
.app[data-screen="automations"] .num { width: 96px; height: 36px; padding: 0 12px; border: 0; outline: 0; border-radius: 10px; background: var(--f2); color: var(--t1); font: 14px var(--mono); }
.app[data-screen="automations"] .num.time { width: 112px; }
.app[data-screen="automations"] .every { display: flex; align-items: center; gap: 8px; margin-top: -4px; color: var(--t2); font-size: 13px; }
.app[data-screen="automations"] .err { color: var(--failed); font-size: 12px; }
.app[data-screen="automations"] .why { color: var(--t3); font-size: 12px; }
.app[data-screen="automations"] .instr { display: flex; flex-direction: column; gap: 10px; }
.app[data-screen="automations"] .iframe { padding: 5px 0 0; border-radius: 14px; background: #ebebeb14; box-shadow: inset 0 0 0 0.5px var(--sep2); }
.app[data-screen="automations"] .iframe.has { box-shadow: inset 0 0 0 0.5px var(--sep2), 0 0 0 1px #ebebeb14; }
.app[data-screen="automations"] .iframe textarea { display: block; width: 100%; min-height: 88px; padding: 10px 14px 0; border: 0; outline: 0; resize: none; background: none; color: var(--t1); font: 14px/22px Geist, sans-serif; }
.app[data-screen="automations"] .iframe textarea::placeholder { color: var(--t4); }
.app[data-screen="automations"] .ibar { display: flex; align-items: center; gap: 4px; padding: 4px 7px 7px; }
.app[data-screen="automations"] .ibar i { flex: 1; }
.app[data-screen="automations"] .mchip { gap: 7px; height: 30px; padding: 0 8px 0 10px; border-radius: 9px; color: var(--t1); font-size: 13px; font-weight: 500; white-space: nowrap; }
.app[data-screen="automations"] .mchip:hover, .app[data-screen="automations"] .mchip.on { background: var(--f2); }
.app[data-screen="automations"] .mchip svg:last-child { color: var(--t4); }
.app[data-screen="automations"] .mchip.plain svg:first-child { color: var(--t3); }
.app[data-screen="automations"] .runsin { display: flex; align-items: center; gap: 2px; font-size: 13px; }
.app[data-screen="automations"] .dotsep { padding: 0 4px; color: var(--t4); }
.app[data-screen="automations"] .mini { display: grid; place-items: center; width: 16px; height: 16px; border-radius: 4px; background: var(--f3); color: var(--t3); font: 500 9px/1 Geist, sans-serif; flex: none; }
.app[data-screen="automations"] .pop.project, .app[data-screen="automations"] .pop.agent, .app[data-screen="automations"] .pop.worktree { top: 34px; left: 0; right: auto; }
.app[data-screen="automations"] .pop.project, .app[data-screen="automations"] .pop.agent { width: 240px; }
.app[data-screen="automations"] .pop.worktree { width: 320px; }
.app[data-screen="automations"] .pop.agent { left: auto; right: 0; }
.app[data-screen="automations"] .mr.two { height: auto; padding: 8px; align-items: flex-start; }
.app[data-screen="automations"] .mr.two span { display: flex; flex-direction: column; gap: 2px; flex: 1; text-align: left; }
.app[data-screen="automations"] .mr.two b { font-weight: 500; }
.app[data-screen="automations"] .mr.two small { color: var(--t3); font-size: 12px; line-height: 16px; }
.app[data-screen="automations"] .mr > span:last-of-type { flex: 1; text-align: left; }
.app[data-screen="automations"] .mr > svg:last-child:not(:first-child) { color: var(--t2); }
