/* The AgentCenter app, drawn in HTML to match its "Studio" screens (App/Views/Studio.swift): the same
   colours in light and dark, Geist and Geist Mono, the sidebar, the screen header, readouts, cards and rows.
   Every value here mirrors the app; the page never shows a screen the app doesn't have. */

.acw {
  --a-ground: #f4f5f7; --a-side: #ebecef; --a-surface: #ffffff; --a-raised: #f7f8fa; --a-well: #f4f5f7;
  --a-line: rgb(15 20 30 / .08); --a-line2: rgb(15 20 30 / .14); --a-sel: #ffffff;
  --a-ink: #16181c; --a-ink2: #52565e; --a-ink3: #656971;
  /* a shade darker than the app's #c9560c, #16803c, and #6b6f77, so small text passes 4.5:1 on the tinted fills */
  --a-accent: #a8480a; --a-green: #157a39; --a-red: #b3322a; --a-blue: #2f66d0; --a-on: #ffffff;
  --a-shadow: rgb(20 25 40 / .30); --a-hi: rgb(255 255 255 / .8);
  position: relative; display: grid; grid-template-columns: 208px minmax(0, 1fr);
  background: var(--a-ground); color: var(--a-ink); text-align: left;
  border-radius: 12px; overflow: hidden; isolation: isolate;
  font: 400 13px/1.38 "Geist", system-ui, sans-serif; letter-spacing: -0.003em;
  box-shadow: 0 0 0 1px var(--a-line2), 0 50px 100px -40px var(--a-shadow), 0 18px 36px -18px var(--a-shadow), inset 0 1px 0 var(--a-hi);
}
.acw--bare { grid-template-columns: minmax(0, 1fr); }
html[data-theme="dark"] :is(.acw, .ac-note) {
  --a-ground: #0d0e10; --a-side: #111215; --a-surface: #15171a; --a-raised: #1d2024; --a-well: rgb(0 0 0 / .25);
  --a-line: rgb(255 255 255 / .07); --a-line2: rgb(255 255 255 / .13); --a-sel: rgb(255 255 255 / .075);
  --a-ink: #f3f1ec; --a-ink2: #a4a7ad; --a-ink3: #8a8e95;
  --a-accent: #ff8a3d; --a-green: #5be38a; --a-red: #ff6b5e; --a-blue: #8ab4ff; --a-on: #16181c;
  --a-shadow: rgb(0 0 0 / .7); --a-hi: rgb(255 255 255 / .06);
}
@media (prefers-color-scheme: dark) { html:not([data-theme="light"]) :is(.acw, .ac-note) {
  --a-ground: #0d0e10; --a-side: #111215; --a-surface: #15171a; --a-raised: #1d2024; --a-well: rgb(0 0 0 / .25);
  --a-line: rgb(255 255 255 / .07); --a-line2: rgb(255 255 255 / .13); --a-sel: rgb(255 255 255 / .075);
  --a-ink: #f3f1ec; --a-ink2: #a4a7ad; --a-ink3: #8a8e95;
  --a-accent: #ff8a3d; --a-green: #5be38a; --a-red: #ff6b5e; --a-blue: #8ab4ff; --a-on: #16181c;
  --a-shadow: rgb(0 0 0 / .7); --a-hi: rgb(255 255 255 / .06);
} }
.acw img { display: inline-block; }
.acw svg.i { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.a-mono { font-family: "Geist Mono", ui-monospace, monospace; letter-spacing: 0; }

/* sidebar */
.acw__side { background: var(--a-side); border-right: 1px solid var(--a-line); padding: 12px 12px 12px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.acw__lights { display: flex; gap: 8px; padding: 2px 4px 18px; } .acw__lights i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; box-shadow: inset 0 0 0 .5px rgb(0 0 0 / .15); }
.acw__lights i:nth-child(2) { background: #febc2e; } .acw__lights i:nth-child(3) { background: #28c840; }
.acw__brand { display: flex; align-items: center; gap: 10px; padding: 0 4px 18px; }
.acw__brand img { width: 30px; height: 30px; border-radius: 8px; box-shadow: 0 2px 6px -2px rgb(201 86 12 / .5); }
.acw__brand b { display: block; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.acw__brand span { display: block; color: var(--a-ink3); font: 400 11.5px/1.3 "Geist Mono", monospace; }
.acw__nav { position: relative; display: flex; align-items: center; gap: 10px; height: 34px; padding: 0 10px; border-radius: 9px; font-size: 14px; font-weight: 500; color: var(--a-ink); }
.acw__nav .i { color: var(--a-ink2); }
.acw__nav b { margin-left: auto; font: 400 12px/1 "Geist Mono", monospace; color: var(--a-ink3); }
.acw__nav.is-on { background: var(--a-sel); box-shadow: 0 0 0 1px var(--a-line2), 0 1px 2px rgb(0 0 0 / .05); }
.acw__nav.is-on .i { color: var(--a-ink); }
.acw__nav.is-on::before { content: ""; position: absolute; left: -12px; top: 9px; width: 3px; height: 16px; border-radius: 0 2px 2px 0; background: var(--a-ink); }
.acw__watch { margin-top: auto; padding: 10px 12px; border-radius: 10px; background: color-mix(in oklab, var(--a-ink) 3.5%, transparent); border: 1px solid var(--a-line); display: grid; gap: 9px; }
.acw__watch p { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
.acw__marks { display: flex; gap: 9px; } .acw__marks img { width: 13px; height: 13px; }
.a-live { width: 8px; height: 8px; border-radius: 50%; background: var(--a-green); box-shadow: 0 0 0 3px color-mix(in oklab, var(--a-green) 22%, transparent); flex: none; }

/* a screen: the header with its title, the segmented control in the middle, the action on the right */
.acw__main { padding: 20px 26px 22px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.a-bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--a-line); }
.a-bar h4 { margin: 0; font: 600 22px/1.15 "Geist", sans-serif; letter-spacing: -0.02em; }
.a-bar p { margin: 3px 0 0; color: var(--a-ink2); font-size: 13px; }
.a-bar > :last-child { justify-self: end; }
.a-seg { display: inline-flex; padding: 3px; border-radius: 10px; background: color-mix(in oklab, var(--a-ink) 5%, transparent); border: 1px solid var(--a-line); }
.a-seg span { padding: 5px 13px; border-radius: 7px; font-size: 13px; font-weight: 500; color: var(--a-ink2); }
.a-seg span.is-on { background: var(--a-sel); color: var(--a-ink); box-shadow: 0 0 0 1px var(--a-line2), 0 1px 2px rgb(0 0 0 / .06); }
.a-btn { display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 12px; border-radius: 8px; font-size: 13px; font-weight: 500; white-space: nowrap;
  background: var(--a-surface); color: var(--a-ink); box-shadow: 0 0 0 1px var(--a-line2), 0 1px 2px rgb(0 0 0 / .05); }
.a-btn .i { width: 14px; height: 14px; }
.a-btn--ink { background: var(--a-ink); color: var(--a-ground); box-shadow: none; }
.a-btn--accent { background: var(--a-accent); color: var(--a-on); box-shadow: none; }
.a-btn--ghost { background: none; box-shadow: none; color: var(--a-ink2); padding: 0 6px; }

/* cards, readouts, chips */
.a-card { background: var(--a-surface); border: 1px solid var(--a-line); border-radius: 16px; }
.a-ros { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.a-ros--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.a-ro { padding: 14px 16px 15px; border-radius: 18px; position: relative; }
.a-ro.is-accent { border-color: color-mix(in oklab, var(--a-accent) 35%, transparent); }
.a-ro small { display: block; font: 600 10.5px/1 "Geist", sans-serif; letter-spacing: .09em; text-transform: uppercase; color: var(--a-ink2); }
.a-ro .viz { position: absolute; right: 14px; top: 11px; width: 64px; height: 18px; color: var(--a-ink3); display: flex; justify-content: flex-end; }
.a-ro .viz svg { width: 100%; height: 100%; overflow: visible; }
.a-ro b { display: flex; align-items: baseline; gap: 4px; margin: 12px 0 6px; font: 500 30px/1 "Geist Mono", monospace; letter-spacing: -0.04em; }
.a-ro b em { font-style: normal; font-size: 13px; color: var(--a-ink3); letter-spacing: 0; }
.a-ro b.is-accent { color: var(--a-accent); }
.a-ro > span:not(.viz) { color: var(--a-ink2); font-size: 12.5px; }
.a-pill { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 9px; border-radius: 99px; font-size: 12.5px; font-weight: 500; white-space: nowrap;
  color: var(--a-ink2); background: color-mix(in oklab, var(--a-ink) 6%, transparent); box-shadow: inset 0 0 0 1px var(--a-line); }
.a-pill--accent { color: var(--a-accent); background: color-mix(in oklab, var(--a-accent) 12%, transparent); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--a-accent) 28%, transparent); }
.a-pill--green { color: var(--a-green); background: color-mix(in oklab, var(--a-green) 11%, transparent); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--a-green) 26%, transparent); }
.a-pill--blue { color: var(--a-blue); background: color-mix(in oklab, var(--a-blue) 11%, transparent); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--a-blue) 24%, transparent); }
.a-pill--red { color: var(--a-red); background: color-mix(in oklab, var(--a-red) 11%, transparent); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--a-red) 24%, transparent); }
.a-pill .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.a-chip { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; font-size: 12.5px; font-weight: 500; white-space: nowrap; color: var(--a-ink2); background: color-mix(in oklab, var(--a-ink) 7%, transparent); }
.a-chip--accent { color: var(--a-accent); background: color-mix(in oklab, var(--a-accent) 13%, transparent); }
.a-chip--green { color: var(--a-green); background: color-mix(in oklab, var(--a-green) 12%, transparent); }
.a-chip--blue { color: var(--a-blue); background: color-mix(in oklab, var(--a-blue) 12%, transparent); }
.a-chip--out { background: none; box-shadow: inset 0 0 0 1px var(--a-line2); font-family: "Geist Mono", monospace; font-size: 12px; }
.a-tile { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; background: var(--a-raised); box-shadow: inset 0 0 0 1px var(--a-line2); color: var(--a-ink2); }
.a-tile img { width: 17px; height: 17px; }
.a-tile--sm { width: 28px; height: 28px; border-radius: 8px; } .a-tile--sm img { width: 14px; height: 14px; }
.a-tile--green { color: var(--a-green); background: color-mix(in oklab, var(--a-green) 12%, var(--a-surface)); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--a-green) 24%, transparent); }
.a-tile--accent { color: var(--a-accent); background: color-mix(in oklab, var(--a-accent) 12%, var(--a-surface)); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--a-accent) 26%, transparent); }
.a-tile--red { color: var(--a-red); background: color-mix(in oklab, var(--a-red) 11%, var(--a-surface)); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--a-red) 24%, transparent); }
.a-tile--blue { color: var(--a-blue); background: color-mix(in oklab, var(--a-blue) 11%, var(--a-surface)); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--a-blue) 22%, transparent); }
.a-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--a-green); flex: none; box-shadow: 0 0 0 3px color-mix(in oklab, currentColor 0%, color-mix(in oklab, var(--a-green) 20%, transparent)); }
.a-dot--accent { background: var(--a-accent); box-shadow: 0 0 0 3px color-mix(in oklab, var(--a-accent) 20%, transparent); }

/* the banner */
.a-banner { display: flex; align-items: center; gap: 16px; padding: 16px 18px; }
.a-banner .a-tile { width: 42px; height: 42px; border-radius: 12px; }
.a-banner .a-tile .i { width: 20px; height: 20px; }
.a-banner strong { display: block; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.a-banner > div > span { color: var(--a-ink2); font-size: 13.5px; }
.a-banner .sp { flex: 1; }
.a-banner.is-accent { background: linear-gradient(90deg, color-mix(in oklab, var(--a-accent) 5%, var(--a-surface)), var(--a-surface) 60%); border-color: color-mix(in oklab, var(--a-accent) 26%, transparent); }

/* "Agents right now" on Overview */
.a-agents { display: flex; align-items: center; padding: 12px 18px; }
.a-agents > div:first-child { padding-right: 20px; } .a-agents strong { display: block; font-size: 14px; font-weight: 600; } .a-agents > div:first-child span { color: var(--a-ink2); }
.a-agent { display: flex; align-items: center; gap: 12px; padding: 0 20px; border-left: 1px solid var(--a-line); }
.a-agent b { display: block; font-size: 14px; font-weight: 600; margin-bottom: 3px; }

/* Overview's three cards */
.a-ov { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.a-ov > .a-card { padding: 16px 18px; display: flex; flex-direction: column; }
.a-ov__head { display: flex; align-items: center; gap: 11px; font-size: 15px; font-weight: 600; }
.a-ov__num { margin: 16px 0 8px; font: 500 40px/1 "Geist Mono", monospace; letter-spacing: -0.05em; display: flex; align-items: baseline; gap: 5px; }
.a-ov__num em { font-style: normal; font-size: 15px; color: var(--a-ink3); letter-spacing: 0; }
.a-ov__desc { margin: 0; color: var(--a-ink2); font-size: 13px; min-height: 36px; }
.a-ov__list { margin: 12px 0 0; padding: 10px 0 0; border-top: 1px solid var(--a-line); display: grid; gap: 10px; list-style: none; }
.a-ov__list li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; }
.a-ov__list li .v { margin-left: auto; font: 400 12.5px/1 "Geist Mono", monospace; color: var(--a-ink2); }
.a-ov__list .i { color: var(--a-ink3); width: 14px; height: 14px; }
.a-ov__link { margin-top: 16px; font-size: 13.5px; font-weight: 600; display: flex; align-items: center; gap: 4px; }
.a-meter { display: flex; gap: 3px; height: 7px; margin-top: 10px; }
.a-meter i { height: 100%; border-radius: 99px; background: color-mix(in oklab, var(--a-ink) 20%, transparent); }
.a-meter i.is-safe { background: var(--a-green); }
.a-foot { margin: 2px 0 0; color: var(--a-ink2); font-size: 12.5px; } .a-foot b { color: var(--a-ink); font-weight: 600; } .a-foot .a-mono { color: var(--a-ink); }

/* Projects */
.a-proj { display: flex; align-items: center; gap: 14px; padding: 12px 16px; }
.a-proj + .a-proj { margin-top: 8px; }
.a-proj .a-tile { width: 36px; height: 36px; }
.a-proj b { display: block; font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.a-proj .path { color: var(--a-ink2); font: 400 12px/1.3 "Geist Mono", monospace; }
.a-proj .chips { margin-left: auto; display: flex; gap: 6px; }
.a-chev { width: 14px; height: 14px; color: var(--a-ink3); margin-left: 6px; }
.a-search { display: flex; align-items: center; gap: 9px; height: 32px; padding: 0 12px; border-radius: 9px; background: var(--a-surface); box-shadow: inset 0 0 0 1px var(--a-line2); color: var(--a-ink3); font-size: 13px; min-width: 240px; }
.a-search .i { width: 14px; height: 14px; }
.a-search kbd { margin-left: auto; font: 400 11px/1 "Geist Mono", monospace; padding: 3px 5px; border-radius: 5px; box-shadow: inset 0 0 0 1px var(--a-line2); color: var(--a-ink3); }

/* Sessions */
.a-filters { display: flex; align-items: center; gap: 8px; }
.a-filters .sp { flex: 1; } .a-filters .note { color: var(--a-ink2); font-size: 12.5px; }
.a-fpill { display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 12px; border-radius: 99px; font-size: 13px; font-weight: 500; box-shadow: inset 0 0 0 1px var(--a-line2); color: var(--a-ink); }
.a-fpill i { font-style: normal; color: var(--a-ink3); font-family: "Geist Mono", monospace; font-size: 12px; }
.a-fpill.is-on { background: var(--a-ink); color: var(--a-ground); box-shadow: none; } .a-fpill.is-on i { color: color-mix(in oklab, var(--a-ground) 70%, transparent); }
.a-fpill img { width: 13px; height: 13px; }
.a-sess { padding: 16px 18px; display: grid; gap: 14px; }
.a-sess.is-waiting { border-color: color-mix(in oklab, var(--a-accent) 45%, transparent); }
.a-sess__head { display: flex; align-items: center; gap: 12px; }
.a-sess__head .a-tile { width: 40px; height: 40px; border-radius: 11px; } .a-sess__head .a-tile img { width: 20px; height: 20px; }
.a-sess__head b { display: block; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.a-sess__head .path { color: var(--a-ink2); font: 400 12px/1.3 "Geist Mono", monospace; }
.a-sess__head .a-pill { margin-left: auto; }
.a-chart { background: var(--a-well); border-radius: 10px; box-shadow: inset 0 0 0 1px var(--a-line); padding: 10px 12px 0; height: 84px; display: flex; flex-direction: column; }
.a-chart small { font: 600 10px/1 "Geist", sans-serif; letter-spacing: .09em; text-transform: uppercase; color: var(--a-ink2); }
.a-chart svg { flex: 1; width: 100%; margin-top: 6px; }
.a-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.a-stats small { display: block; font: 600 10px/1 "Geist", sans-serif; letter-spacing: .09em; text-transform: uppercase; color: var(--a-ink2); margin-bottom: 6px; }
.a-stats span { font: 400 13.5px/1 "Geist Mono", monospace; }
.a-sess__foot { display: flex; align-items: center; justify-content: space-between; }
.a-sess__foot .wait { color: var(--a-accent); font-weight: 500; font-size: 13.5px; }

/* Ports */
.a-group { overflow: hidden; }
.a-group__head { display: flex; align-items: center; gap: 10px; padding: 11px 16px; border-bottom: 1px solid var(--a-line); }
.a-group__head b { font-size: 14px; font-weight: 600; } .a-group__head .path { color: var(--a-ink3); font: 400 12px/1 "Geist Mono", monospace; }
.a-group__head .a-chip { margin-left: auto; } .a-group__head .i { color: var(--a-ink3); }
.a-group + .a-group { margin-top: 10px; }
.a-srv { display: grid; grid-template-columns: 84px minmax(0, 1fr) 70px 34px 66px auto; align-items: center; gap: 16px; padding: 12px 16px; }
.a-srv + .a-srv { border-top: 1px solid var(--a-line); }
.a-srv.is-stray { background: linear-gradient(90deg, color-mix(in oklab, var(--a-accent) 7%, transparent), transparent 55%); }
.a-port { position: relative; height: 32px; display: flex; align-items: center; justify-content: center; font: 600 15px/1 "Geist Mono", monospace; letter-spacing: -0.02em;
  background: var(--a-raised); border-radius: 0 9px 9px 0; box-shadow: inset 0 0 0 1px var(--a-line2); }
.a-port span { color: var(--a-ink3); }
.a-port::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--edge, var(--a-green)); }
.a-srv .cmd b { display: block; font: 400 13.5px/1.3 "Geist Mono", monospace; margin-bottom: 4px; }
.a-srv .cmd > span { display: flex; align-items: center; gap: 6px; color: var(--a-ink2); font-size: 12.5px; }
.a-srv .cmd span img { width: 12px; height: 12px; }
.a-srv.is-stray .cmd span { color: var(--a-accent); }
.a-srv svg.spark { width: 100%; height: 18px; overflow: visible; }
.a-srv .num { font: 400 12.5px/1 "Geist Mono", monospace; color: var(--a-ink2); text-align: right; }
.a-srv .acts { display: flex; align-items: center; gap: 4px; }
.a-srv .acts .i { width: 15px; height: 15px; color: var(--a-ink2); margin: 0 6px; }
.a-srv .lock { display: inline-flex; align-items: center; gap: 5px; color: var(--a-ink3); font-size: 12.5px; width: 66px; justify-content: flex-end; }
.a-srv .lock .i { width: 12px; height: 12px; margin: 0; }

/* Disk */
.a-hero { padding: 18px 20px; }
.a-hero small, .a-freed small { font: 600 10.5px/1 "Geist", sans-serif; letter-spacing: .09em; text-transform: uppercase; color: var(--a-ink2); }
.a-hero b { display: flex; align-items: baseline; gap: 6px; margin: 12px 0 8px; font: 500 46px/1 "Geist Mono", monospace; letter-spacing: -0.05em; }
.a-hero b em { font-style: normal; font-size: 17px; color: var(--a-ink3); letter-spacing: 0; }
.a-hero p { margin: 0; font-size: 13.5px; } .a-hero p strong { font-weight: 600; }
.a-legend { display: flex; gap: 18px; margin-top: 10px; font-size: 12.5px; color: var(--a-ink2); }
.a-legend span { display: flex; align-items: center; gap: 6px; } .a-legend span::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--c, var(--a-ink3)); }
.a-legend b { font: 400 12.5px/1 "Geist Mono", monospace; color: var(--a-ink); }
.a-freed { padding: 16px 18px; display: grid; gap: 10px; }
.a-freed__top { display: flex; justify-content: space-between; align-items: baseline; }
.a-freed__top b { font: 500 26px/1 "Geist Mono", monospace; color: var(--a-green); letter-spacing: -0.04em; } .a-freed__top b em { font-style: normal; font-size: 12px; color: var(--a-ink3); }
.a-bars { display: flex; align-items: flex-end; gap: 5px; height: 70px; }
.a-bars i { flex: 1; height: var(--h); min-height: 3px; border-radius: 3px 3px 1px 1px; background: color-mix(in oklab, var(--a-ink) 12%, transparent); }
.a-bars i.is-on { background: linear-gradient(var(--a-green), color-mix(in oklab, var(--a-green) 55%, transparent)); }
.a-dgroup__head { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--a-line); }
.a-dgroup__head b { display: block; font-size: 14px; font-weight: 600; } .a-dgroup__head div > span { color: var(--a-ink2); font-size: 12.5px; }
.a-dgroup__head .sz { margin-left: auto; font: 400 12.5px/1 "Geist Mono", monospace; color: var(--a-ink2); }
.a-sq { width: 10px; height: 10px; border-radius: 3px; background: color-mix(in oklab, var(--a-ink) 22%, transparent); flex: none; }
.a-item { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 12px 16px; }
.a-item + .a-item { border-top: 1px solid var(--a-line); }
.a-item .t { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; margin-bottom: 3px; }
.a-item .path { color: var(--a-ink2); font: 400 12px/1.4 "Geist Mono", monospace; }
.a-item .d { color: var(--a-ink2); font-size: 12.5px; }
.a-item .sz { font: 500 15px/1 "Geist Mono", monospace; letter-spacing: -0.02em; }
.a-radio { width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--a-line2); display: grid; place-items: center; }
.a-radio.is-on { background: var(--a-ink); box-shadow: none; }
.a-radio.is-on::after { content: ""; width: 8px; height: 4.5px; border: solid var(--a-ground); border-width: 0 0 1.8px 1.8px; transform: rotate(-45deg) translate(1px, -1px); }
.a-action { display: flex; align-items: center; gap: 16px; padding: 12px 14px 12px 18px; border-radius: 14px; background: var(--a-surface); box-shadow: 0 0 0 1px var(--a-line2), 0 16px 32px -16px var(--a-shadow); }
.a-action b { display: block; font-size: 14px; font-weight: 600; } .a-action > div > span { color: var(--a-ink2); font-size: 12.5px; }
.a-action .sp { flex: 1; }

/* Worktrees */
.a-wt { display: flex; align-items: center; gap: 14px; padding: 13px 16px; }
.a-wt + .a-wt { border-top: 1px solid var(--a-line); }
.a-wt .main { min-width: 0; flex: 1; display: grid; gap: 5px; }
.a-wt .name { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.a-wt .branch { display: flex; align-items: center; gap: 7px; color: var(--a-ink2); font: 400 12px/1.2 "Geist Mono", monospace; }
.a-wt .branch .i { width: 12px; height: 12px; color: var(--a-ink3); }
.a-wt .pr { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--a-ink2); }
.a-wt .when { color: var(--a-ink3); font-size: 12.5px; white-space: nowrap; }

/* Config */
.a-finding { position: relative; padding: 16px 18px 16px 22px; display: grid; gap: 12px; }
.a-finding::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 3px; background: var(--sev, var(--a-red)); }
.a-finding__head { display: flex; align-items: center; gap: 12px; }
.a-finding__head small { display: block; font: 700 10px/1 "Geist", sans-serif; letter-spacing: .09em; text-transform: uppercase; color: var(--sev, var(--a-red)); margin-bottom: 4px; }
.a-finding__head b { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.a-finding__head .tools { margin-left: auto; display: flex; gap: 6px; align-items: center; }
.a-in { margin-left: 46px; border-radius: 12px; background: var(--a-surface); box-shadow: inset 0 0 0 1px var(--a-line); padding: 11px 14px; display: grid; gap: 4px; }
.a-in .path { font: 400 12px/1.3 "Geist Mono", monospace; } .a-in .path span { color: var(--a-ink3); }
.a-in p { margin: 0; color: var(--a-ink2); font-size: 12.5px; } .a-in code { font: 400 12px/1 "Geist Mono", monospace; color: var(--a-ink); }
.a-fix { margin-left: 46px; border-radius: 12px; background: var(--a-well); padding: 12px 14px; display: grid; gap: 8px; }
.a-fix small { display: flex; align-items: center; gap: 6px; font: 700 10px/1 "Geist", sans-serif; letter-spacing: .09em; text-transform: uppercase; color: var(--a-ink3); }
.a-fix p { margin: 0; color: var(--a-ink2); font-size: 12.5px; } .a-fix code { font: 400 12px/1 "Geist Mono", monospace; color: var(--a-ink); }
.a-fix .acts { display: flex; gap: 6px; }
.a-code { font: 400 12.5px/1.8 "Geist Mono", monospace; border-radius: 10px; background: var(--a-well); box-shadow: inset 0 0 0 1px var(--a-line); padding: 8px 12px; }
.a-code .del { color: var(--a-red); } .a-code .add { color: var(--a-green); }
.a-mcp__row { display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 14px; }
.a-mcp__row + .a-mcp__row { border-top: 1px solid var(--a-line); }
.a-mcp__row .who { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; } .a-mcp__row .who img { width: 13px; height: 13px; }
.a-mcp__row code { font: 400 12px/1.3 "Geist Mono", monospace; color: var(--a-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.a-mcp__row .ok { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--a-green); }

/* a macOS notification */
.ac-note { --a-ink: #16181c; --a-ink2: #52565e; --a-ink3: #656971; --a-line2: rgb(15 20 30 / .14); --a-surface: #fff; --a-green: #157a39; --a-shadow: rgb(20 25 40 / .3);
  display: flex; gap: 12px; align-items: flex-start; width: 340px; padding: 12px 14px; border-radius: 18px;
  background: color-mix(in oklab, var(--a-surface) 88%, transparent); -webkit-backdrop-filter: blur(24px) saturate(1.6); backdrop-filter: blur(24px) saturate(1.6);
  box-shadow: 0 0 0 1px var(--a-line2), 0 24px 48px -20px var(--a-shadow); font: 400 13px/1.38 "Geist", system-ui, sans-serif; color: var(--a-ink); position: relative; text-align: left; }
.ac-note img { width: 32px; height: 32px; border-radius: 8px; flex: none; }
.ac-note strong { display: block; font-weight: 600; } .ac-note div > span { color: var(--a-ink2); }
.ac-note time { position: absolute; right: 14px; top: 12px; color: var(--a-ink3); font-size: 12px; }

/* the one-colour tool marks are black: light on a dark ground */
html[data-theme="dark"] img[src*="tools/"]:not([src*="claude"]) { filter: invert(1); }
@media (prefers-color-scheme: dark) { html:not([data-theme="light"]) img[src*="tools/"]:not([src*="claude"]) { filter: invert(1); } }

/* Inventory: a skill row (icon, name and chips, detail, path, then Share and Open on the right) */
.a-skill { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; }
.a-skill__body { flex: 1; min-width: 0; display: grid; gap: 3px; }
.a-skill__top { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.a-skill__top b { font-size: 14px; font-weight: 600; margin-right: 2px; }
.a-skill .d { color: var(--a-ink2); font-size: 13px; }
.a-skill .p { color: var(--a-ink3); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.a-skill__done { display: flex; gap: 6px; align-items: center; margin-top: 6px; color: var(--a-green); font-size: 12.5px; }
.a-skill__done .i { width: 13px; height: 13px; flex: none; }
.a-skill__done .a-btn { margin-left: auto; height: 24px; }
.a-skill__acts { display: flex; gap: 6px; align-items: center; flex: none; }
.a-btn--icon { width: 28px; padding: 0; justify-content: center; }

/* Inventory: an MCP server card */
.a-mcp { display: grid; gap: 12px; padding: 14px 16px; }
.a-mcp__head { display: flex; align-items: center; gap: 12px; }
.a-mcp__head > div { display: grid; gap: 1px; }
.a-mcp__head b { font-size: 14px; font-weight: 600; }
.a-mcp__head > div > span { color: var(--a-ink2); font-size: 12px; }
.a-mcp__head .sp { flex: 1; }
.a-mcp__rows { border-radius: 12px; background: var(--a-well); box-shadow: inset 0 0 0 1px var(--a-line2); }
.a-mcp .acts { display: flex; gap: 8px; align-items: center; }
.a-bar p { white-space: nowrap; }
