/* ---------- Activity: Runs (web/runs.js), Schedules (web/schedules.js) and Money (web/money.js) ----------
   The card list's look on the Activity background: Newsreader title, white filter chips, uppercase day-style labels,
   frosted rows (the Agent tab's run and schedule rows, which already are). Money adds a frosted month card, three
   small tiles, and one big white button into the app. */

/* runs */
.rn-list,.sc-list,.mn-body{display:flex;flex-direction:column;gap:8px;margin-top:10px}
.rn-list>.arc-day:first-child,.sc-list>.arc-day:first-child{padding-top:6px}
.rn-sub span,.sc-sub span,.mn-sub span{opacity:.6;margin:0 5px}
.rn-live{font-weight:600;color:#ffd27a}
.rn-more{margin:6px 0 0;text-align:center;font-size:13px;opacity:.75}
.rn-row .ag-txt b{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
.rn-row.fresh{animation:rnFresh 1.6s var(--ease)}
@keyframes rnFresh{0%{box-shadow:inset 0 0 0 1px rgba(255,255,255,.5),0 0 0 2px rgba(185,163,255,.9)}100%{box-shadow:inset 0 0 0 1px rgba(255,255,255,.5),0 0 0 2px rgba(185,163,255,0)}}
.dl-empty .dl-new{display:inline-flex}

/* schedules */
.sc-group,.mn-body .arc-day{display:flex;align-items:baseline;gap:7px}
.sc-group span,.mn-body .arc-day span{font-size:11px;opacity:.65;font-variant-numeric:tabular-nums}
.sc-row .ag-txt small.sc-next{font-size:12.5px;color:#8a8190}
.sc-row .ag-txt small{white-space:normal;line-height:1.35}

/* money: this month */
.mn-card{padding:16px 18px 18px;border-radius:24px;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}
.mn-lbl{display:flex;align-items:center;gap:7px;font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:#6f6877;font-weight:550}
.mn-lbl i{width:7px;height:7px;border-radius:2px;background:#3f9e4f}
.mn-off .mn-lbl i{background:#b3abb9}
.mn-big{display:flex;align-items:baseline;gap:8px;margin-top:10px}
.mn-big span{font-family:var(--f-display);font-weight:400;font-size:44px;line-height:1;letter-spacing:-.02em;font-variant-numeric:tabular-nums}
.mn-big small{font-size:14px;color:#6f6877}
.mn-bar{height:8px;margin-top:14px;border-radius:99px;background:rgba(31,26,36,.08);overflow:hidden}
.mn-bar i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#2f9e6b,#5fd38d);transform-origin:left;animation:mnGrow .9s var(--ease) .15s backwards}
.mn-bar.over i{background:linear-gradient(90deg,#e0533d,#c9381a)}
@keyframes mnGrow{from{transform:scaleX(0)}}
.mn-line{margin:10px 0 0;font-size:14.5px;color:#5e5766;font-variant-numeric:tabular-nums}
.mn-line b{color:#256b40;font-weight:600}
.mn-line b.mn-over{color:#c9381a}
.mn-off-t{margin:10px 0 0;font-family:var(--f-display);font-size:28px;line-height:1.1;letter-spacing:-.01em}
.mn-off-s{margin:8px 0 0;font-size:14.5px;line-height:1.45;color:#5e5766}
.mn-sum p{margin:0;font-size:14.5px;line-height:1.45;color:#3a3340;overflow-wrap:anywhere}
.mn-sum p+p{margin-top:8px}

/* money: three small tiles */
.mn-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(0,1fr));gap:8px}
.mn-tile{min-width:0;display:flex;flex-direction:column;gap:3px;padding:12px 12px 11px 14px;border-radius:20px;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) .05s backwards}
.mn-tile b{font-size:19px;font-weight:600;letter-spacing:-.01em;font-variant-numeric:tabular-nums;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mn-tile small{font-size:12px;color:#6f6877;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mn-tile.hot b{color:#a86412}
.mn-tile.good b{color:#256b40}

/* money: the big button into the app */
.mn-open{display:flex;align-items:center;justify-content:center;gap:10px;height:56px;margin-top:2px;border-radius:99px;background:#fff;color:#1f1a24;font-size:16.5px;font-weight:600;box-shadow:0 12px 30px rgba(0,0,0,.2);transition:transform .2s var(--spring);animation:dIn .45s var(--ease) .1s backwards;position:relative}
.mn-open:active{transform:scale(.97)}
.mn-open svg{width:19px;height:19px;stroke-width:2.2}
.mn-open-ico{font-size:20px;line-height:1}
.mn-open-go{position:absolute;right:8px;top:8px;width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:#1f1a24;color:#fff}
.mn-open-go svg{width:18px;height:18px}

/* money: card payments due soon */
.mn-group{border-radius:24px;overflow:hidden;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}
.mn-due{display:flex;align-items:center;gap:12px;padding:12px 16px 12px 12px}
.mn-due+.mn-due{border-top:1px solid rgba(31,26,36,.08)}
.mn-due .ag-txt{flex:1}
.mn-due .ag-logo svg{width:18px;height:18px}
.mn-due.soon .ag-txt small{color:#a86412;font-weight:550}
.mn-amt{flex:none;font-size:15.5px;font-weight:600;font-variant-numeric:tabular-nums}
.mn-skel{margin-top:2px}

.settled .mn-card,.settled .mn-tile,.settled .mn-open,.settled .mn-group,.settled .mn-bar i{animation:none}
@media (prefers-reduced-motion:reduce){.mn-card,.mn-tile,.mn-open,.mn-group,.mn-bar i,.rn-row.fresh{animation:none}}

/* Settings: after giving it a task, a small link to where it shows up */
.ag-seeit{align-self:flex-end;display:inline-flex;align-items:center;gap:6px;margin:-6px 8px 0;padding:6px 4px;font-size:13.5px;font-weight:550;color:rgba(255,255,255,.88);text-decoration:underline;text-decoration-color:rgba(255,255,255,.35);text-underline-offset:3px;animation:dIn .35s var(--ease) backwards}
.ag-seeit svg{width:15px;height:15px}
