/* admin-v4 · styles for the two screens the design did not have yet, in the design's own tokens and rhythm
   (36px headline, glass panels, the dark instrument strip for live numbers, gold only for Alma).
   A17 .stk… When Alma gets stuck · A18 .hl… System health */

/* ============ A17 · when Alma gets stuck ============ */
.a17{display:grid;grid-template-columns:minmax(0,1fr) 400px;gap:20px;height:832px;padding:2px 28px 24px}
.a17-l,.a17-r{display:flex;flex-direction:column;gap:14px;min-height:0}
.a17-h h2{margin:0;font-size:36px;letter-spacing:-.035em;line-height:1.05}
.a17-h p{margin:6px 0 0;font-size:14px;color:var(--steel);max-width:820px;text-wrap:pretty}.a17-h p b{color:var(--navy)}
.a17-ins{display:flex;align-items:flex-end;gap:6px;padding:14px 22px 14px 14px;border-radius:22px;color:#fff;background:linear-gradient(165deg,#1a3254,#0b1626 62%);box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 18px 40px rgba(13,27,46,.25)}
.a17-ag{position:relative;display:flex;flex-direction:column;align-items:center;gap:3px;width:104px;animation:inR .45s var(--spring) calc(var(--i)*60ms) both}
.a17-ag b{font-size:13px;font-weight:600}.a17-ag small{font-size:11.5px;color:rgba(255,255,255,.55);white-space:nowrap}
.a17-ag.hot small{color:#FFB4A2}
.a17-ag>i{position:absolute;top:-4px;right:22px;min-width:22px;height:22px;padding:0 6px;border-radius:999px;display:grid;place-items:center;font:700 12px 'Inter Tight';font-style:normal;color:#fff;background:#E8684A;box-shadow:0 0 0 3px #13253f}
.a17-old{margin-left:auto;display:flex;flex-direction:column;align-items:flex-end;gap:2px;padding-left:22px;border-left:1px solid rgba(255,255,255,.1)}
.a17-old small{font-size:12px;color:rgba(255,255,255,.6)}.a17-old b{font-size:40px;line-height:1;letter-spacing:-.03em;font-weight:600;font-variant-numeric:tabular-nums}
.a17-old em{font-style:normal;font-size:12px;color:#7DE7BF}
.a17-tray{flex:1;display:flex;flex-direction:column;gap:7px;padding:16px 18px}
.a17-tray .td-h{display:flex;align-items:baseline;gap:10px;margin-bottom:4px}.a17-tray .td-h small,.a17-r .td-h small{color:var(--faint);font-size:12.5px}
.a17-slip{display:grid;grid-template-columns:40px minmax(0,1fr) 196px 74px 262px;align-items:center;gap:12px;min-height:62px;padding:8px 12px;border-radius:16px;background:#fff;box-shadow:0 0 0 1px rgba(13,27,46,.06),0 6px 16px -10px rgba(13,27,46,.25);animation:inR .4s var(--spring) calc(var(--i)*45ms) both}
.a17-slip.taken{background:linear-gradient(90deg,rgba(59,108,246,.06),#fff 40%)}
.a17-o{display:grid;place-items:center}
.a17-w{display:flex;flex-direction:column;min-width:0;line-height:1.3}.a17-w small{font-size:11.5px;color:var(--faint)}
.a17-w b{font-size:14.5px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.a17-why{font-size:12.5px;color:var(--steel);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.a17-c{display:flex;align-items:center;gap:8px;min-width:0;font-size:12px;color:var(--steel);line-height:1.25}
.a17-c .fc{width:30px;height:30px;border-radius:50%;object-fit:cover;flex:none;font-size:11px}
.a17-c>span{display:flex;flex-direction:column;min-width:0}.a17-c b{font-size:13px;color:var(--navy);font-weight:600}
.a17-c b,.a17-c>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.a17-t{display:flex;flex-direction:column;line-height:1.2}.a17-t small{font-size:11px;color:var(--faint)}.a17-t b{font-size:15px;font-weight:600;font-variant-numeric:tabular-nums;color:var(--meInk);white-space:nowrap}
.a17-slot{display:flex;align-items:center;justify-content:flex-end;gap:10px}
.a17-take{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:600}
.a17-take i{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;border:1.5px dashed var(--mist);color:var(--steel)}
.a17-take i svg{width:15px;height:15px}.a17-take:hover i{border-color:var(--navy);color:var(--navy)}
.a17-give{display:flex;align-items:center;gap:4px;padding-left:8px;border-left:1px solid var(--line)}.a17-give small{font-size:11px;color:var(--faint);margin-right:2px}
.a17-give button .fc{width:26px;height:26px;border-radius:50%;object-fit:cover;box-shadow:0 0 0 2px #fff;font-size:10px}
.a17-give button:hover .fc{box-shadow:0 0 0 2px var(--wt)}
.a17-slot.on{gap:9px}.a17-slot.on>.fc{width:30px;height:30px;border-radius:50%;object-fit:cover}
.a17-slot.on>span{display:flex;flex-direction:column;line-height:1.2}.a17-slot.on small{font-size:11px;color:var(--wtInk)}.a17-slot.on b{font-size:13px;font-variant-numeric:tabular-nums}
.a17-slot .btn svg{width:13px;height:13px}
.a17-more{margin-top:auto;padding:8px 12px;border-radius:12px;font-size:12.5px;color:var(--steel);background:var(--soft);text-align:center}
.a17-clear{flex:1;display:flex;align-items:center;justify-content:center;gap:16px;color:var(--steel);font-size:14px}.a17-clear span{display:flex;flex-direction:column;max-width:360px}.a17-clear b{color:var(--navy);font-size:17px}
.a17-team,.a17-done{padding:16px 18px;display:flex;flex-direction:column;gap:4px}.a17-done{flex:1;min-height:0}
.a17-r .td-h{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:6px}
.a17-p{display:grid;grid-template-columns:40px minmax(0,1fr) 30px;align-items:center;gap:10px;padding:7px 0;border-bottom:1px solid rgba(13,27,46,.05)}
.a17-p:last-child{border-bottom:0}.a17-p>.fc{width:38px;height:38px;border-radius:50%;object-fit:cover;font-size:13px}
.a17-pn{display:flex;flex-direction:column;min-width:0;line-height:1.3}.a17-pn b{font-size:14px}.a17-pn small{font-size:12px;color:var(--steel)}
.a17-ph{display:flex;flex-wrap:wrap;gap:4px;margin-top:4px}.a17-ph i{display:inline-flex;align-items:center;gap:5px;max-width:100%;padding:2px 8px 2px 3px;border-radius:999px;background:var(--wtBg);font-style:normal;font-size:11.5px;color:var(--wtInk)}
.a17-ph i span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:220px}
.a17-p em{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;font:600 13px 'Inter Tight';font-style:normal;color:var(--steel);background:var(--soft)}.a17-p em.on{color:#fff;background:var(--wt)}
.a17-d{display:grid;grid-template-columns:24px minmax(0,1fr) auto;align-items:center;gap:8px;padding:7px 0;border-bottom:1px solid rgba(13,27,46,.05);font-size:13px}
.a17-d>i{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:var(--okBg);color:var(--okInk)}.a17-d>i svg{width:12px;height:12px}
.a17-d>span{display:flex;flex-direction:column;min-width:0;line-height:1.3}.a17-d b{font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.a17-d small{font-size:11.5px;color:var(--steel)}
.a17-undo{font-size:12px;color:var(--steel);text-decoration:underline;text-underline-offset:3px}
.a17-none{margin:6px 0;font-size:13px;color:var(--faint)}
.a17-how{display:flex;gap:10px;align-items:flex-start;padding:0 6px;font-size:12.5px;color:var(--steel);line-height:1.45}.a17-how p{margin:0}.a17-how b{color:var(--navy)}

/* ============ A18 · system health ============ */
.a18{display:grid;grid-template-columns:minmax(0,1fr) 400px;gap:20px;height:832px;padding:2px 28px 24px}
.a18-l,.a18-r{display:flex;flex-direction:column;gap:14px;min-height:0}
.a18-h h2{margin:0;font-size:36px;letter-spacing:-.035em;line-height:1.05}
.a18-h p{margin:6px 0 0;font-size:14px;color:var(--steel);max-width:820px}.a18-h p b{color:var(--navy)}
.a18-mon{flex:1;display:flex;flex-direction:column;gap:6px;padding:16px 22px 14px;border-radius:24px;color:#fff;background:linear-gradient(165deg,#1a3254,#0b1626 62%);box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 18px 40px rgba(13,27,46,.25)}
.a18-mh{display:flex;align-items:end;gap:36px;padding-bottom:10px;border-bottom:1px solid rgba(255,255,255,.08)}
.a18-mh>span{display:flex;flex-direction:column}.a18-mh small{font-size:11.5px;color:rgba(255,255,255,.55)}.a18-mh b{font-size:24px;font-weight:600;letter-spacing:-.02em;font-variant-numeric:tabular-nums}.a18-mh b.bad{color:#FF8A6E}
.a18-row.a18-scale{min-height:18px;border:0;padding:0}.a18-hrs{position:relative;height:16px;align-self:end}.a18-hrs i:first-child{transform:none}.a18-hrs i:last-child{transform:translateX(-100%)}
.a18-hrs i{position:absolute;bottom:0;transform:translateX(-50%);white-space:nowrap;font-style:normal;font-size:10.5px;color:rgba(255,255,255,.4)}
.a18-row{display:grid;grid-template-columns:22px 160px minmax(0,1fr) 120px 150px;align-items:center;gap:12px;min-height:62px;padding:4px 0;border-bottom:1px solid rgba(255,255,255,.05);animation:inR .45s var(--spring) calc(var(--i)*50ms) both}
.a18-lamp i{display:block;width:12px;height:12px;border-radius:50%;background:#4FDDB0;box-shadow:0 0 0 4px rgba(79,221,176,.14),0 0 14px rgba(79,221,176,.6)}
.a18-row.fail .a18-lamp i{background:#FF8A6E;box-shadow:0 0 0 4px rgba(255,138,110,.16),0 0 14px rgba(255,138,110,.7);animation:a18b 1.2s ease-in-out infinite}
.a18-row.off .a18-lamp i{background:rgba(255,255,255,.18);box-shadow:none}
@keyframes a18b{50%{opacity:.4}}
.a18-n{display:flex;flex-direction:column;line-height:1.25}.a18-n b{font-size:14.5px;font-weight:600}.a18-n small{font-size:12px;color:rgba(255,255,255,.5)}
.a18-beat{display:grid;grid-template-columns:repeat(48,1fr);gap:2px;height:26px}
.a18-beat i,.a18-leg i{display:block;border-radius:2px;background:rgba(255,255,255,.06)}
.a18-beat i.ok,.a18-leg i.ok{background:linear-gradient(180deg,#4FDDB0,#2BC48A)}.a18-beat i.bad,.a18-leg i.bad{background:#FF8A6E}
.a18-beat i.off,.a18-leg i.off{background:rgba(255,255,255,.14)}
.a18-ms{display:flex;flex-direction:column;align-items:flex-end;gap:2px}.a18-ms b{font-size:13px;font-variant-numeric:tabular-nums;color:rgba(255,255,255,.85)}
.a18-sp{width:110px;height:22px}.a18-sp polyline{stroke:#7FA0FF}.a18-row.off .a18-sp{opacity:.2}
.a18-st{display:flex;flex-direction:column;line-height:1.25;min-width:0}.a18-st b{font-size:13.5px;color:#7DE7BF}.a18-row.fail .a18-st b{color:#FF8A6E}.a18-row.off .a18-st b{color:rgba(255,255,255,.6)}
.a18-st small{font-size:11.5px;color:rgba(255,255,255,.5);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.a18-leg{display:flex;align-items:center;gap:16px;margin-top:auto;padding-top:10px;font-size:11.5px;color:rgba(255,255,255,.55)}.a18-leg span{display:flex;align-items:center;gap:6px}.a18-leg i{width:10px;height:14px}
.a18-lg2{margin-left:auto}
.a18-r .panel{padding:16px 18px;display:flex;flex-direction:column;gap:6px}.a18-r .td-h{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:4px}.a18-r .td-h small{color:var(--faint);font-size:12.5px}
.a18-env{display:flex;gap:10px;margin-bottom:4px}.a18-big{flex:1;display:flex;flex-direction:column;padding:10px 12px;border-radius:14px;background:var(--meBg)}.a18-big.g{background:var(--soft)}
.a18-big b{font-size:28px;line-height:1.05;font-weight:600;letter-spacing:-.02em;color:var(--meInk)}.a18-big.g b{color:var(--navy)}.a18-big small{font-size:12px;color:var(--steel)}
.a18-m{display:grid;grid-template-columns:26px minmax(0,1fr) auto;align-items:center;gap:10px;padding:6px 0;border-top:1px solid rgba(13,27,46,.05)}
.a18-mi svg{width:22px;height:22px}.a18-m>span{display:flex;flex-direction:column;min-width:0;line-height:1.3}.a18-m b{font-size:13.5px}.a18-m small{font-size:12px;color:var(--steel);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.a18-none{display:flex;align-items:center;gap:8px;margin:4px 0;font-size:13px;color:var(--okInk)}.a18-none svg{width:15px;height:15px}
.a18-err{flex:1;min-height:0}
.a18-e{display:grid;grid-template-columns:12px minmax(0,1fr) auto;align-items:center;gap:10px;padding:7px 0;border-top:1px solid rgba(13,27,46,.05)}
.a18-e>i{width:9px;height:9px;border-radius:50%;background:var(--mist)}.a18-e>i.open,.a18-e.inc>i{background:var(--me)}
.a18-e>span{display:flex;flex-direction:column;line-height:1.3;min-width:0}.a18-e b{font-size:13.5px;font-weight:600}.a18-e small{font-size:12px;color:var(--steel)}.a18-e em{font-style:normal;font-size:12px;color:var(--steel)}
.a18-to{display:inline-flex;align-items:center;gap:4px;margin-top:auto;align-self:flex-start;font-size:13px;font-weight:600;color:var(--wtInk)}.a18-to svg{width:13px;height:13px}
.a18-vault{display:flex;align-items:center;gap:16px}.a18-vault>span:last-child{display:flex;flex-direction:column;line-height:1.35}.a18-vault>span:last-child b{font-size:16px}.a18-vault small{font-size:12.5px;color:var(--steel)}
.a18-dial{position:relative;flex:none;width:76px;height:76px;display:grid;place-items:center}.a18-dial svg{position:absolute;inset:0}
.a18-dial circle{stroke:var(--soft)}.a18-dial circle.arc{stroke:var(--ok)}.a18-dial path{stroke:var(--mist)}
.a18-dial>b{font-size:22px;color:var(--faint)}.a18-vault.ok .a18-dial>b{color:var(--okInk)}.a18-dial>b svg{width:22px;height:22px}

/* ============ A14 · the live parts the design had no words for ============ */
.al-may{display:flex;flex-direction:column;gap:4px;margin:2px 0 6px;padding:8px 10px;border-radius:12px;background:var(--soft)}
.al-may>span{display:flex;flex-wrap:wrap;align-items:center;gap:5px;font-size:11.5px;color:var(--ink2)}
.al-may em{font-style:normal;font-weight:700;font-size:10.5px;letter-spacing:.04em;text-transform:uppercase;color:var(--okInk);min-width:42px}
.al-may .no em{color:var(--meInk)}
.al-may i{font-style:normal;padding:1px 8px;border-radius:999px;background:#fff;box-shadow:0 0 0 1px var(--line)}
.al-why{color:var(--steel)}
.al-empty{margin:6px 0;font-size:12.5px;color:var(--faint);line-height:1.45}
.al-nov{max-width:240px}
.al-tray{align-self:flex-start;margin-top:4px}.al-tray svg{width:13px;height:13px}
.alm-r .al-stuck{display:flex;flex-direction:column;flex:1;min-height:0}.al-so{display:grid;place-items:center;width:36px;height:36px}
.al-stuck .stk2{grid-template-columns:36px minmax(0,1fr) auto;align-items:center}.al-stuck .stk2>span{display:flex;flex-direction:column;min-width:0}.al-stuck .stk2>span>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.al-stuck .stk2 .fc{width:34px;height:34px;border-radius:50%;object-fit:cover}

/* ============ A15 · the live parts of settings ============ */
.lmp.bad i{--lc:#FF8A6E}.lmp.off i{--lc:#5B6778;box-shadow:none;animation:none;opacity:.7}
.st-users{position:relative}.su-r.a15-off{opacity:.55}
.a15-st{font-style:normal;color:var(--faint)}.a15-st.on{color:var(--okInk)}
.a15-inv{position:absolute;left:18px;right:18px;bottom:14px;z-index:5;display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:12px;border-radius:16px;background:#fff;box-shadow:0 0 0 1px var(--line),0 18px 40px -18px rgba(13,27,46,.4)}
.a15-inv[hidden]{display:none}.a15-inv>b{width:100%;font-size:13px}
.a15-inv input{height:34px;padding:0 12px;border-radius:10px;border:1px solid var(--line);font-size:13px;outline:none;flex:1;min-width:120px}.a15-inv input:focus{border-color:var(--wt)}
.a15-role{display:inline-flex;padding:3px;border-radius:999px;background:var(--soft)}.a15-role button{padding:5px 10px;border-radius:999px;font-size:12px;font-weight:600;color:var(--steel)}
.a15-role button[aria-pressed="true"]{background:#fff;color:var(--navy);box-shadow:0 1px 3px rgba(13,27,46,.15)}
.a15-inv .btn{margin:0}
.a15-none{margin:6px 0;font-size:12.5px;color:var(--faint)}
.st-sys .st-num{margin-top:10px}.st-num .nm b{font-variant-numeric:tabular-nums}.st-num .nm small{font-size:11.5px;color:var(--steel)}.st-num .nm{padding:6px 0}
.a15-lk{font-size:11.5px;font-weight:600;color:var(--wtInk);text-decoration:underline;text-underline-offset:3px}

/* ============ A16 · the live parts of the offer builder ============ */
.a16-ap{display:inline-flex;align-items:center;gap:2px;padding:1px;border-radius:999px;background:var(--soft);vertical-align:middle}.a16-ap button{width:20px;height:20px;border-radius:50%;display:grid;place-items:center;background:#fff;color:var(--navy)}.a16-ap button svg{width:11px;height:11px}.a16-ap b{min-width:24px;text-align:center;font-size:12px}
.a16-who{font:inherit;color:var(--navy);font-weight:600;text-decoration:underline dotted;text-underline-offset:4px}
.a16-pop{position:absolute;z-index:20;top:66px;inset-inline-start:180px;width:320px;max-height:420px;overflow:hidden;display:flex;flex-direction:column;gap:2px;padding:10px;border-radius:18px;background:rgba(255,255,255,.96);box-shadow:0 0 0 1px rgba(13,27,46,.07),0 28px 60px -26px rgba(13,27,46,.45)}
.a16-pop small{font-size:12px;color:var(--faint);padding:0 8px 4px}.a16-pop button{display:flex;flex-direction:column;align-items:flex-start;padding:7px 10px;border-radius:12px;text-align:start}
.a16-pop button:hover{background:var(--soft)}.a16-pop b{font-size:14px}.a16-pop span{font-size:12px;color:var(--steel)}
.ob-h{position:relative}
.a16-note{margin:8px 0 0;font-size:12px;color:var(--steel);line-height:1.45}
.a16-none{font-size:12.5px;color:var(--faint)}
.ob-copy[disabled]{opacity:.45}
