/* ---------- Settings tab (internally "agent": #v-agent) ----------
   Same language as Home: the themed background shows through, a hero card for the computer, frosted rows,
   small uppercase eyebrows, pill buttons, Newsreader for titles and Geist for UI. */
.agent{overflow-y:auto;overflow-x:hidden;padding:0 14px calc(var(--above-nav) + 30px);display:flex;flex-direction:column;gap:14px;scrollbar-width:none;overscroll-behavior:contain;background:transparent}
.agent>*{flex:none}

/* top bar: the same italic serif title + status dot as Home, pinned while the page scrolls */
.ag-top{position:sticky;top:0;z-index:10;margin:0 -14px -6px;height:calc(var(--top) + 52px);padding:var(--top) 18px 0 20px;display:flex;align-items:center;justify-content:space-between}
.ag-top::before{content:"";position:absolute;left:0;right:0;top:0;height:calc(var(--top) + 72px);background:linear-gradient(to bottom,rgba(10,10,16,.5),rgba(10,10,16,.18) 70%,rgba(10,10,16,0));backdrop-filter:blur(18px) saturate(1.2);-webkit-backdrop-filter:blur(18px) saturate(1.2);-webkit-mask-image:linear-gradient(to bottom,#000 60%,transparent);mask-image:linear-gradient(to bottom,#000 60%,transparent);pointer-events:none;z-index:-1}
.ag-status{pointer-events:none}

/* hero: the computer, in a theme gradient that follows its state */
.ag-hero{--ink-soft:color-mix(in srgb,var(--ink) 70%,transparent);position:relative;overflow:hidden;border-radius:30px;padding:20px 20px 18px;color:var(--ink);display:flex;flex-direction:column;
  background:radial-gradient(120% 70% at 85% 0%,color-mix(in srgb,var(--glow) 38%,transparent),transparent 60%),radial-gradient(90% 60% at 0% 100%,color-mix(in srgb,var(--c2) 70%,transparent),transparent 70%),linear-gradient(165deg,var(--c1),var(--c2));
  box-shadow:0 30px 60px -30px rgba(0,0,0,.5),inset 0 0 0 1px rgba(255,255,255,.08);animation:dIn .6s var(--ease) backwards}
.ag-hero .h-title{margin-top:22px}
.ag-hero .h-num{margin-top:8px}
.ag-hero-ico{flex:none;width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:color-mix(in srgb,var(--ink) 12%,transparent);color:var(--ink)}
.ag-hero-ico svg{width:19px;height:19px}
.ag-hero-msg{margin:14px 0 0;font-size:14.5px;line-height:1.45;color:var(--ink-soft);max-width:34ch}
.ag-hero-msg code{background:color-mix(in srgb,var(--ink) 14%,transparent)}
.ag-pills{display:flex;gap:8px;flex-wrap:wrap;margin-top:22px}
.ag-pill{display:inline-flex;align-items:center;gap:7px;padding:10px 16px;border-radius:99px;font-size:14px;font-weight:550;background:color-mix(in srgb,var(--ink) 14%,transparent);color:var(--ink);transition:transform .2s var(--spring)}
.ag-pill.solid{background:var(--ink);color:var(--c1);padding:10px 20px}
.ag-pill:active{transform:scale(.95)}
.ag-pill svg{width:16px;height:16px}
.ag-hero-id{margin:16px 0 0;display:flex;align-items:center;gap:8px;font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--ink-soft);font-weight:550}
.ag-hero-id code{font-family:var(--f-mono);font-size:11.5px;letter-spacing:0;text-transform:none;padding:2px 7px;border-radius:7px;background:color-mix(in srgb,var(--ink) 12%,transparent);color:var(--ink)}

/* give it a task: the frosted ask-bar look */
.ag-ask{height:52px;border-radius:28px;display:flex;align-items:center;gap:10px;padding:0 6px 0 20px;color:#3a3340;background:rgba(255,248,244,.84);backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);box-shadow:0 10px 30px rgba(0,0,0,.14),inset 0 0 0 1px rgba(255,255,255,.6)}
.ag-ask input{flex:1;min-width:0;border:0;background:none;font:inherit;font-size:16px;color:#2b2430;outline:none;padding:0}
.ag-ask input::placeholder{color:#8a8190}
.ag-ask:focus-within{box-shadow:0 10px 30px rgba(0,0,0,.14),0 0 0 2px #b9a3ff}
.ag-ask .round-btn{width:40px;height:40px}

/* sections + eyebrows (same as the feed's day lines) */
.ag-sec{display:flex;flex-direction:column;gap:8px;margin-top:8px}
.ag-eyebrow{display:flex;align-items:center;gap:8px;padding:2px 6px 0;min-height:22px}
.ag-eyebrow small{font-size:12px;letter-spacing:.1em;text-transform:uppercase;opacity:.75}
.ag-eyebrow>span{margin-left:auto;font-size:12px;opacity:.6;font-variant-numeric:tabular-nums}
.ag-stack{display:flex;flex-direction:column;gap:8px}
.ag-empty{margin:0;padding:16px 18px;border-radius:22px;font-size:14.5px;line-height:1.45;color:rgba(255,255,255,.85);background:rgba(255,255,255,.1);box-shadow:inset 0 0 0 1px rgba(255,255,255,.14);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
.ag-empty:empty{display:none}

/* frosted row (shared by runs and schedules) */
.ag-row{border-radius:22px;background:var(--frost);color:var(--frost-ink);backdrop-filter:blur(24px) saturate(1.3);-webkit-backdrop-filter:blur(24px) saturate(1.3);box-shadow:inset 0 0 0 1px rgba(255,255,255,.5);animation:dIn .45s var(--ease) backwards}
.ag-txt{min-width:0;display:flex;flex-direction:column;gap:3px}
.ag-txt b{font-size:15.5px;font-weight:500;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ag-txt small{display:flex;align-items:center;gap:6px;font-size:13px;color:#6f6877;white-space:nowrap;overflow:hidden;font-variant-numeric:tabular-nums}
.ag-txt small span{opacity:.5}
.ag-ico{flex:none;width:34px;height:34px;border-radius:11px;display:grid;place-items:center;background:#efeaf3;color:var(--lilac)}
.ag-ico svg{width:17px;height:17px}

/* activity: runs */
.ag-run-head{display:grid;grid-template-columns:34px 1fr 18px;gap:12px;align-items:center;width:100%;padding:13px 14px 13px 14px;text-align:left;border-radius:inherit;transition:transform .25s var(--spring)}
.ag-run-head:active{transform:scale(.985)}
.ag-dot{flex:none;width:7px;height:7px;border-radius:50%;background:#b3abb9}
.st-done .ag-dot{background:#2f9e6b}
.st-failed .ag-dot{background:#c9381a}
.st-running .ag-dot{background:#e8a33d;box-shadow:0 0 0 3px rgba(232,163,61,.25);animation:pulse 1.2s infinite}
.st-failed .ag-ico{background:#fdebe5;color:#c9381a}
.st-running .ag-ico{background:#fff4e0;color:#a86412}
.ag-chev{color:#b3abb9;display:grid;place-items:center;transition:transform .35s var(--ease)}
.ag-chev svg{width:18px;height:18px}
.ag-run.open .ag-chev{transform:rotate(90deg)}
.ag-fold{display:grid;grid-template-rows:0fr;transition:grid-template-rows .4s var(--ease)}
.ag-run.open .ag-fold{grid-template-rows:1fr}
.ag-fold>div{overflow:hidden;min-height:0;padding:0 16px 0 14px;transition:padding .4s var(--ease)}
.ag-run.open .ag-fold>div{padding-bottom:14px}
.ag-run-task{margin:0 0 10px 46px;padding-top:12px;border-top:1px solid #e9e4ec;font-size:14px;line-height:1.45;color:#6f6877;overflow-wrap:anywhere}
.ag-run-task+.ag-tl{border-top:0;padding-top:0}
.ag-run-err{margin:8px 0 0 46px;font-size:13.5px;color:#c9381a}

/* chain-of-thought timeline: one node per step, a thin line between them */
.ag-tl{list-style:none;margin:0;padding:12px 0 0;border-top:1px solid #e9e4ec;display:flex;flex-direction:column}
.ag-tl li{position:relative;display:grid;grid-template-columns:34px 1fr auto;gap:12px;align-items:start;padding:0 0 12px}
.ag-tl li:last-child{padding-bottom:0}
.ag-tl li:not(:last-child)::before{content:"";position:absolute;left:16.5px;top:26px;bottom:2px;width:1px;background:#e2dce6}
.tl-node{justify-self:center;width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:#f4f1f6;color:#6f6877;box-shadow:inset 0 0 0 1px #e9e4ec}
.tl-node svg{width:13px;height:13px;stroke-width:2}
.tl-txt{font-size:14px;line-height:1.4;padding-top:3px;color:#3a3340;overflow-wrap:anywhere}
.ag-tl time{font-size:12px;color:#8a8190;padding-top:4px;font-variant-numeric:tabular-nums;white-space:nowrap}
.ag-tl .k-tool .tl-node{background:#e6edff;color:#2f55c4;box-shadow:none}
.ag-tl .k-think .tl-node{background:#f3e8fb;color:#7a3f8f;box-shadow:none}
.ag-tl .k-text .tl-node,.ag-tl .k-agent .tl-node{background:#efeaf3;color:var(--lilac);box-shadow:none}
.ag-tl .tl-done .tl-node{background:#e3f4e8;color:#256b40;box-shadow:none}
.ag-tl .tl-done .tl-txt{color:#256b40;font-weight:550}
.ag-tl .tl-done .tl-model{font-size:.86em;font-weight:450;opacity:.75}
.ag-tl .tl-fail .tl-node{background:#fdebe5;color:#c9381a;box-shadow:none}
.ag-tl .tl-fail .tl-txt{color:#c9381a}
.ag-tl .tl-live .tl-txt{color:#a86412;font-weight:550}
.ag-spin{width:11px;height:11px;border-radius:50%;border:2px solid #e8a33d;border-right-color:transparent;animation:agspin .8s linear infinite}
@keyframes agspin{to{transform:rotate(360deg)}}

/* schedules */
.ag-sch{padding:14px 14px 12px 18px;display:flex;flex-direction:column;gap:10px}
.ag-sch-top{display:flex;align-items:flex-start;gap:12px}
.ag-sch-top .ag-txt{flex:1}
.ag-sch-top .ag-txt b{white-space:normal;overflow-wrap:anywhere}
.ag-sch.off .ag-txt,.ag-sch.off .ag-chip,.ag-sch.off .ag-next{opacity:.5}
.ag-sch-foot{display:flex;align-items:center;gap:8px;min-height:32px}
.ag-chip{flex:none;font-size:12px;font-weight:550;padding:3px 10px;border-radius:99px;background:#efeaf3;color:var(--lilac);transition:opacity .3s}
.ag-chip.wake{background:#e6edff;color:#2f55c4}
.ag-next{font-size:12.5px;color:#6f6877;white-space:nowrap;transition:opacity .3s}
.ag-acts{margin-left:auto;display:flex;gap:6px}
.ag-mini{flex:none;min-width:32px;height:32px;padding:0 10px;border-radius:99px;display:inline-flex;align-items:center;justify-content:center;gap:5px;background:#f4f1f6;color:#4a4252;font-size:12.5px;font-weight:550;transition:background .2s,color .2s,transform .2s var(--spring)}
.ag-mini:active{transform:scale(.92)}
.ag-mini svg{width:14px;height:14px}
.ag-mini[data-sch-del]{padding:0 9px}
.ag-mini.armed{background:#c9381a;color:#fff}

/* iOS-style switch */
.ag-switch{flex:none;position:relative;width:51px;height:31px;border-radius:99px;background:#e2dce6;transition:background .3s ease;margin-top:1px}
.ag-switch i{position:absolute;top:2px;left:2px;width:27px;height:27px;border-radius:50%;background:#fff;box-shadow:0 3px 8px rgba(0,0,0,.15),0 1px 1px rgba(0,0,0,.08);transition:transform .35s var(--spring)}
.ag-switch.on{background:#34c759}
.ag-switch.on i{transform:translateX(20px)}

/* quiet footer */
.ag-foot{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:4px 10px;margin-top:10px;padding:4px 0 8px;font-size:13px}
.ag-link,.ag-quiet{display:inline-flex;align-items:center;gap:6px;padding:8px 4px;color:rgba(255,255,255,.75)}
.ag-link{text-decoration:underline;text-decoration-color:rgba(255,255,255,.35);text-underline-offset:3px;transition:color .2s}
.ag-link:hover{color:#fff}
.ag-link svg,.ag-quiet svg{width:15px;height:15px}
.ag-quiet.ok svg{color:#5fd38d}
.ag-link.armed{color:#ffb3a3;text-decoration-color:currentColor}
.ag-sep{opacity:.4}

/* connections */
.ag-conn{padding:11px 12px 11px 11px}
.ag-conn-top{display:flex;align-items:center;gap:12px}
.ag-conn .ag-txt{flex:1}
.ag-accts{list-style:none;margin:10px 0 0 48px;padding:0;display:flex;flex-direction:column;gap:6px}
.ag-accts li{display:flex;align-items:center;gap:8px;padding:7px 6px 7px 12px;border-radius:14px;background:rgba(31,26,36,.05)}
.ag-accts li.bad{background:#fdebe5}
.ag-acct-txt{flex:1;min-width:0;display:flex;flex-direction:column}
.ag-acct-txt b{font-size:14px;font-weight:550;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ag-acct-txt small{font-size:12px;color:#7a7282;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ag-addacct{display:flex;gap:8px;margin:10px 0 0 48px}
.ag-addacct input{flex:1;min-width:0;height:34px;border:0;border-radius:99px;padding:0 14px;font:inherit;font-size:16px;background:rgba(31,26,36,.06);color:var(--frost-ink);outline:none}
.ag-addacct input:focus{box-shadow:0 0 0 2px #b9a3ff}
.ag-pill.sm .i{width:14px;height:14px}
.ag-pill.sm:not(.solid){background:rgba(31,26,36,.07);color:var(--frost-ink)}
.ag-logo{flex:none;width:36px;height:36px;border-radius:11px;display:grid;place-items:center;background:#fff;box-shadow:inset 0 0 0 1px rgba(31,26,36,.08);font-weight:600;color:var(--lilac);overflow:hidden}
.ag-logo img{width:22px;height:22px;object-fit:contain}
.ag-conn.on .ag-txt small{color:#2f7a52}
.ag-conn.on .ag-dot{background:#2f9e6b}
.ag-pill.sm{height:32px;padding:0 14px;font-size:13px}
.ag-pill.solid.sm{background:#1f1a24;color:#fff}
.ag-pill.sm:disabled{opacity:.55}
.ag-note{margin:2px 6px 0;font-size:12px;color:rgba(255,255,255,.7)}

/* browse all Composio apps */
.ag-browse-btn{display:flex;align-items:center;justify-content:center;gap:8px;height:46px;border-radius:22px;font-size:14.5px;font-weight:550;color:#fff;background:rgba(255,255,255,.16);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);box-shadow:inset 0 0 0 1px rgba(255,255,255,.22)}
.ag-browse-btn .i{width:17px;height:17px}
.ag-browse{padding:12px}
.ag-browse-top{display:flex;gap:8px;align-items:center}
.ag-browse-top input{flex:1;min-width:0;height:40px;border:0;border-radius:99px;padding:0 16px;font:inherit;font-size:16px;background:rgba(31,26,36,.06);color:var(--frost-ink);outline:none}
.ag-browse-top input:focus{box-shadow:0 0 0 2px #b9a3ff}
.ag-browse-note{margin:8px 4px 4px;font-size:12px;line-height:1.4;color:#7a7282}
.ag-browse-list{display:flex;flex-direction:column;max-height:420px;overflow-y:auto;margin:4px -4px 0;padding:0 4px;scrollbar-width:thin}
.ag-cat{display:flex;align-items:center;gap:12px;padding:9px 2px;border-top:1px solid rgba(31,26,36,.06)}
.ag-cat:first-child{border-top:0}
.ag-cat .ag-txt{flex:1}
.ag-cat .ag-txt small span{opacity:.5}

/* settings */
.ag-set{display:flex;align-items:center;gap:12px;padding:12px 12px 12px 11px}
.ag-set .ag-txt{flex:1}
.ag-set-btns{display:flex;gap:6px;align-items:center}

/* morning brief + evening wrap-up times */
.ag-briefs{padding:4px 12px 4px 16px}
.ag-bline{display:flex;align-items:center;gap:10px;padding:8px 0}
.ag-bline+.ag-bline{border-top:1px solid rgba(31,26,36,.06)}
.ag-bline .ag-txt{flex:1;min-width:0}
.ag-bline .ag-txt b,.ag-bline .ag-txt small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ag-time{flex:none;width:112px;height:34px;padding:0 8px 0 10px;border:0;border-radius:10px;background:rgba(31,26,36,.06);color:inherit;font:inherit;font-size:14px;font-variant-numeric:tabular-nums}
.ag-time:focus{outline:none;box-shadow:0 0 0 2px #b9a3ff}
.ag-time::-webkit-calendar-picker-indicator{display:none}
.ag-bline.off .ag-time{opacity:.45}
.ag-bline.off .ag-txt{opacity:.7}

/* people (admins) */
.ag-plabel{display:flex;gap:6px;align-items:baseline;margin:6px 6px 0;font-size:11.5px;font-weight:650;letter-spacing:.12em;text-transform:uppercase;color:rgba(255,255,255,.75)}
.ag-plabel span{opacity:.6}
.ag-person .ag-txt{min-width:0}
.ag-person .ag-txt b,.ag-person .ag-txt small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ag-person .ag-txt small span{opacity:.5;margin:0 4px}
.ag-person.st-blocked .ag-txt{opacity:.55}
/* agent token */
.ag-tok{flex-wrap:wrap}
.ag-token{flex-basis:100%;display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:4px 0 0 48px}
.ag-token>code{flex:1;min-width:0;padding:8px 12px;border-radius:12px;background:rgba(31,26,36,.06);font-family:var(--f-mono,ui-monospace,monospace);font-size:12.5px;word-break:break-all;user-select:all}
.ag-token small{flex-basis:100%;min-width:0;font-size:12px;line-height:1.4;color:#7a7282;overflow-wrap:anywhere}
.ag-token small code{font-size:11.5px}
/* Connect ChatGPT */
#ag-prefs{scroll-margin-top:calc(var(--top) + 60px)}
.ag-codex{padding:12px 12px 12px 11px;display:flex;flex-direction:column;gap:10px}
.ag-set.ag-codex{flex-direction:row;align-items:center;gap:12px}
.ag-codex .ag-pill:disabled{opacity:.45}
.cx-head{display:flex;align-items:center;gap:12px}
.cx-head .ag-txt{flex:1}
.ag-codex.on .ag-txt small{color:#2f7a52}
.ag-codex.on .ag-dot{background:#2f9e6b}
.ag-codex.bad .ag-ico{background:#fdebe5;color:#c9381a}
.cx-body{display:flex;flex-direction:column;gap:10px;margin-left:46px}
.cx-steps{margin:0;padding-left:18px;display:flex;flex-direction:column;gap:6px;font-size:14px;line-height:1.45;color:#3a3340}
.cx-steps a{color:#2f55c4;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
.cx-code{display:flex;align-items:center;gap:10px;padding:12px 12px 12px 16px;border-radius:16px;background:rgba(31,26,36,.06)}
.cx-code code{flex:1;min-width:0;font-family:var(--f-mono,ui-monospace,monospace);font-size:clamp(24px,8vw,32px);font-weight:600;letter-spacing:.08em;color:#1f1a24;user-select:all;overflow-wrap:anywhere}
.cx-wait{display:flex;align-items:center;flex-wrap:wrap;gap:8px 10px;font-size:13.5px;color:#6f6877}
.cx-wait b{font-variant-numeric:tabular-nums;color:#a86412;font-weight:600}
.cx-wait .ag-set-btns{margin-left:auto}
.cx-wait a.ag-pill{text-decoration:none}
.cx-acts{display:flex;gap:8px}
.cx-err{margin:0;font-size:13.5px;line-height:1.45;color:#c9381a;overflow-wrap:anywhere}
.cx-alt{font-size:13px;color:#6f6877}
.cx-alt summary{cursor:pointer;width:max-content;max-width:100%;padding:2px 0;color:#4a4252;text-decoration:underline;text-decoration-color:rgba(31,26,36,.25);text-underline-offset:3px}
.cx-alt[open] summary{margin-bottom:8px}
.cx-keyform{display:flex;gap:8px}
.cx-keyform input{flex:1;min-width:0;height:34px;border:0;border-radius:99px;padding:0 14px;font:inherit;font-size:16px;background:rgba(31,26,36,.06);color:var(--frost-ink);outline:none;font-family:var(--f-mono,ui-monospace,monospace)}
.cx-keyform input:focus{box-shadow:0 0 0 2px #b9a3ff}
.cx-alt small{display:block;margin-top:6px;font-size:12px;line-height:1.4;color:#7a7282}
@media (max-width:380px){.cx-body{margin-left:0}}
/* Banks: SimpleFIN or Era (a picker) */
#ag-banks{scroll-margin-top:calc(var(--top) + 60px)}
#ag-banks .ag-logo svg{width:18px;height:18px}
.bank-body{display:flex;flex-direction:column;gap:10px;margin:10px 0 2px 48px}
.bank-acts{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
#ag-banks.on .bank-acts{margin:10px 0 0 48px}
.bank-acts a.ag-pill,.ag-set a.ag-pill{text-decoration:none}
.bank-msgs{list-style:none;margin:10px 0 0 48px;padding:10px 12px;border-radius:14px;background:#fff6e6;color:#7a4a08;font-size:13px;line-height:1.45;display:flex;flex-direction:column;gap:4px;overflow-wrap:anywhere}
.bank-body .bank-msgs{margin:0}
.bank-fine{font-size:12px;line-height:1.4;color:#7a7282}
.bank-note{color:#7a7282;margin:8px 0 0 48px}
#ag-banks .ag-pill:disabled{opacity:.45}
.bank-pick{display:flex;flex-direction:column;gap:8px;margin:10px 0 0 48px}
.bank-src{padding:10px 10px 10px 12px;border-radius:16px;background:rgba(31,26,36,.045);box-shadow:inset 0 0 0 1px rgba(31,26,36,.06);min-width:0}
.bank-src.on{background:rgba(47,158,107,.07);box-shadow:inset 0 0 0 1px rgba(47,158,107,.18)}
.bank-src-top{display:flex;align-items:flex-start;gap:10px}
.bank-src-top .ag-txt{flex:1}
.bank-src-top .ag-txt b{font-size:15px;font-weight:600}
#ag-banks .bank-src-line{display:block;white-space:normal;overflow:visible;font-size:12.5px;line-height:1.4;color:#6f6877}
.bank-src-top .ag-pill{flex:none}
.bank-src-status{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin:8px 0 0;font-size:13px;color:#2f7a52;font-variant-numeric:tabular-nums}
.bank-src-status span{opacity:.5}
.bank-src.on .ag-dot{background:#2f9e6b}
.bank-src-body{display:flex;flex-direction:column;gap:10px;margin-top:10px}
.bank-src-body .cx-steps code{font-family:var(--f-mono,ui-monospace,monospace);font-size:12.5px}
#ag-banks .bank-src .ag-accts,#ag-banks .bank-src .bank-msgs,#ag-banks.on .bank-src .bank-acts{margin:8px 0 0}
.bank-src-body .bank-msgs{margin:0}
.bank-orgs li{padding:6px 10px}
.bank-both{margin:10px 0 0 48px}
.bank-both-h{margin:0 0 6px 2px;font-size:12px;font-weight:600;color:#6f6877}
#ag-banks .bank-both .ag-accts{margin:0}
.bank-both .ag-accts li{flex-wrap:wrap}
.bank-foot{display:block;margin:10px 0 2px 48px}
@media (max-width:380px){.bank-body,#ag-banks.on .bank-acts,.bank-msgs,#ag-banks .ag-accts,.bank-pick,.bank-both,.bank-foot{margin-left:0}}
/* Health: Oura and Apple Health (reuses the Banks picker's cards) */
#ag-health{scroll-margin-top:calc(var(--top) + 60px)}
#ag-health .ag-logo svg{width:18px;height:18px}
#ag-health .ag-pill:disabled{opacity:.45}
#ag-health .bank-src-line{display:block;white-space:normal;overflow:visible;font-size:12.5px;line-height:1.4;color:#6f6877}
#ag-health .bank-src .bank-msgs,#ag-health .bank-src .bank-acts{margin:8px 0 0}
#ag-health .bank-src-status.off{color:#7a7282}
#ag-health .hl-wait{display:block;margin-top:8px}
.ag-switch-gap{flex:none;width:51px}
