/* The real app's own pieces, on top of the validated mockup styles. */

/* Sign-in */
.signin-error { min-height: 18px; margin: 0; color: #f87171; font-size: 13px; }
.signin-error:empty { min-height: 0; }
.boot-error { margin: 40px auto; max-width: 480px; color: var(--muted); text-align: center; }

/* Toasts that carry an error */
.toast.is-error > .ico { color: #f87171; }

/* Settings: people's roles, agent tokens */
.grant-row { display: flex; align-items: center; gap: 12px; padding: 10px 14px; }
.grant-row + .grant-row { border-top: 1px solid var(--line); }
.grant-row > span { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; }
.grant-row > span .ico { color: var(--accent-text); flex: none; }
.grant-row small { color: var(--muted); }
.copy-row { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 40px; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--input); color: var(--text); font: 12.5px/1.5 var(--mono); text-align: left; word-break: break-all; transition: border-color .15s, background-color .15s; }
.copy-row:hover { border-color: var(--line-3); }
.copy-row > .ico { flex: none; color: var(--muted); }
.copy-row.is-copied { border-color: #4ac578; }
.copy-row.is-copied > .ico { color: #4ac578; }
.refuse-why { margin-top: 14px; }
.refuse-why[hidden] { display: none; }
.refuse-why textarea { width: 100%; resize: vertical; }

/* Details panel: read-only values, the delete row */
.gi-static { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; color: var(--text-2); }
.gi-danger { justify-content: flex-start; border-top: 1px solid var(--line); padding-top: 14px; }

/* Documents: code blocks and quotes */
.g-code { margin: 8px 0; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--code); font: 13px/1.6 var(--mono); color: var(--text-2); overflow-x: auto; white-space: pre; }
.blk blockquote { margin: 8px 0; padding: 4px 0 4px 14px; border-left: 3px solid var(--line-3); color: var(--text-2); }

/* Menus */
.dd-sep { margin: 4px 6px; border: 0; border-top: 1px solid var(--line); }
.bv-acts { display: flex; align-items: center; gap: 10px; justify-content: flex-end; }
a.bv-file { transition: border-color .15s; }
a.bv-file:hover { border-color: var(--line-3); }
a.g-tname { color: var(--text); text-decoration: none; }
.g-trow.is-files { grid-template-columns: minmax(200px, 1.6fr) minmax(120px, 1fr) 80px 70px 110px 44px; }

/* Proposal diffs: long rows wrap, the diff keeps its height when the refuse box opens */
.diff { overflow: visible; }
.diff span { white-space: pre-wrap; overflow-wrap: anywhere; padding-left: 30px; text-indent: -16px; }

/* Documents: the one-line description under the meta line, and its field in Details */
.g-desc { margin: -12px 0 20px; color: var(--text-2); font-size: 15px; line-height: 1.5; }
.g-desc.is-empty { color: var(--muted); font-size: 13px; font-style: italic; }
.gi-input { width: 100%; min-height: 34px; padding: 6px 10px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--input); color: var(--text); font: 13px/1.4 "Noto Sans", sans-serif; transition: border-color .15s; }
.gi-input:hover { border-color: var(--line-3); }
.gi-input:focus { outline: none; border-color: var(--accent); }

/* Curators and agents: the same columns in both lists; the main curator's chip where others have actions */
.cur-row { display: grid; grid-template-columns: 36px minmax(0, 1fr) 160px 240px; align-items: center; gap: 16px; }
.cur-row.is-main { background: color-mix(in srgb, var(--accent) 6%, transparent); }
.cur-last { font-size: 12.5px; white-space: nowrap; }
.cur-act { display: flex; align-items: center; gap: 6px; justify-content: flex-end; }
.main-chip { display: inline-flex; align-items: center; gap: 5px; height: 22px; margin-right: 10px; padding: 0 9px; border-radius: 11px; background: var(--accent); color: #fff; font: 700 10.5px var(--mono); text-transform: uppercase; letter-spacing: .06em; cursor: default; white-space: nowrap; }
.main-chip .ico { width: 12px; height: 12px; }

/* Add-ons: a switch each; a notice is a strip of its own under its row */
.addon-row { display: grid; grid-template-columns: 36px minmax(0, 1fr) 130px 32px 40px; align-items: center; gap: 14px; padding: 14px 16px; }
.addon-fold { position: relative; }
.addon-fold .ico { transition: transform .22s var(--ease); }
.addon-fold.is-open .ico { transform: rotate(180deg); }
.addon-dot { position: absolute; top: 3px; right: 3px; width: 7px; height: 7px; border-radius: 50%; background: var(--warn); box-shadow: 0 0 0 2px var(--panel); }
.addon-under { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .24s var(--ease); }
.addon-under.is-open { grid-template-rows: 1fr; }
.addon-under-in { min-height: 0; overflow: hidden; }
.list-card .rows > .addon-under { border-top-style: dashed; }
.list-card .rows > .addon-under:not(.is-open) { border-top-color: transparent; }
.addon-under-in > * + * { border-top: 1px dashed var(--line); }
.addon-opt { display: grid; grid-template-columns: minmax(0, 1fr) 40px; align-items: center; gap: 14px; padding: 12px 16px 12px 66px; background: color-mix(in srgb, var(--text) 2.5%, transparent); }
.addon-opt .person-main b { font-size: 13px; }
.addon-opt .person-main small { white-space: normal; }
.addon-opt .switch.sm { justify-self: end; width: 32px; height: 18px; border-radius: 9px; }
.addon-opt .switch.sm span { top: 2px; left: 2px; width: 14px; height: 14px; }
.addon-opt .switch.sm[aria-checked="true"] span { transform: translateX(14px); }
.addon-row.is-unfit { opacity: .55; }
.addon-row .person-main small { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.addon-runs { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12.5px; white-space: nowrap; }
.addon-runs .ico { width: 15px; height: 15px; }
.addon-strip { display: flex; align-items: flex-start; gap: 6px; padding: 9px 16px 9px 66px; font-size: 12.5px; font-weight: 600; }
.addon-strip > .ico { width: 15px; height: 15px; flex: none; margin-top: 1px; }
.addon-strip-in { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.addon-strip.is-warn { background: color-mix(in srgb, var(--warn) 8%, transparent); color: var(--warn); }
.addon-strip.is-ok { background: color-mix(in srgb, #4ac578 7%, transparent); color: #4ac578; }
.text-link { display: inline-flex; align-items: center; gap: 5px; color: var(--accent-text); font-weight: 700; font-size: 12.5px; transition: color .15s; }
.text-link .ico { width: 14px; height: 14px; transition: transform .2s var(--ease); }
.text-link:hover .ico:last-child { transform: translateX(3px); }
.switch[disabled] { opacity: .5; cursor: not-allowed; }

/* People: a disabled one stays listed, muted */
.person.is-muted > :not(.icon-btn) { opacity: .5; }

/* The person dialog */
.avatar.lg { width: 44px; height: 44px; font-size: 17px; border-radius: 12px; }
.role-rows { display: grid; gap: 8px; }
.role-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line-2); }
.role-row-ico, .acct-ico { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; flex: none; }
.role-row-ico { background: var(--accent-soft); color: var(--accent-text); }
.role-row-ico .ico, .acct-ico .ico { width: 16px; height: 16px; }
.role-row-main, .acct-txt { display: grid; flex: 1; min-width: 0; }
.role-row-main b, .acct-txt b { font-size: 13.5px; }
.role-row-main small, .acct-txt small { color: var(--muted); font-size: 12px; }
.role-none { margin: 0; }
.give-line { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.give-line .dd { width: auto; }
.give-line .dd-btn { min-width: 140px; height: 34px; }
.acct-acts { display: grid; gap: 8px; }
.acct-act { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line-2); text-align: left; transition: border-color .15s, background-color .15s; }
.acct-act:hover:not([disabled]) { border-color: var(--line-3); background: var(--hover); }
.acct-act[disabled] { opacity: .5; cursor: not-allowed; }
.acct-act > .ico { width: 15px; height: 15px; color: var(--muted); flex: none; }
.acct-ico { background: var(--hover); color: var(--text-2); }
.acct-act.is-danger b, .acct-act.is-danger .acct-ico { color: var(--danger); }
.acct-act.is-danger .acct-ico { background: color-mix(in srgb, var(--danger) 12%, transparent); }
.acct-act.is-armed { border-color: color-mix(in srgb, var(--danger) 50%, var(--line-2)); }
.acct-act.is-armed b { color: var(--danger); }

/* The token dialog's two kinds */
.tk-kinds { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tk-kind { display: grid; gap: 4px; justify-items: start; align-content: start; padding: 14px; border-radius: 12px; border: 1px solid var(--line-2); text-align: left; transition: border-color .15s, background-color .15s; }
.tk-kind:hover { border-color: var(--line-3); }
.tk-kind.is-on { border-color: color-mix(in srgb, var(--accent) 60%, transparent); background: var(--accent-soft); }
.tk-kind-ico { display: grid; place-items: center; width: 32px; height: 32px; margin-bottom: 4px; border-radius: 9px; background: var(--hover); color: var(--text-2); transition: background-color .15s, color .15s; }
.tk-kind.is-on .tk-kind-ico { background: var(--accent); color: #fff; }
.tk-kind-ico .ico { width: 16px; height: 16px; }
.tk-kind b { font-size: 14px; }
.tk-kind small { color: var(--muted); font-size: 12.5px; line-height: 1.45; }

@media (max-width: 760px) {
	.cur-row { grid-template-columns: 36px minmax(0, 1fr); grid-template-areas: 'ico main' 'ico last' 'ico act'; row-gap: 6px; align-items: start; }
	.cur-row > .prop-ico { grid-area: ico; }
	.cur-row > .person-main { grid-area: main; }
	.cur-row > .cur-last { grid-area: last; order: 0; width: auto; padding-left: 0; }
	.cur-row > .cur-act { grid-area: act; justify-content: flex-start; margin-left: -10px; }
	.cur-row .btn { margin-left: 0; }
	.main-chip { margin: 4px 0 4px 10px; }
	.addon-row { grid-template-columns: 36px minmax(0, 1fr) 32px 40px; }
	.addon-row .person-main small { white-space: normal; }
	.addon-runs { grid-column: 2; grid-row: 2; }
	.addon-row .addon-fold { grid-column: 3; grid-row: 1; }
	.addon-row .switch { grid-column: 4; grid-row: 1; }
	.addon-opt { padding-left: 16px; }
	.addon-strip { padding-left: 16px; }
	.tk-kinds { grid-template-columns: 1fr; }
}

/* Agents on this PC (the desktop app): an agent switched off is dimmed, one not installed is quieter */
.pc-agent { display: grid; grid-template-columns: 36px minmax(0, 1fr) 40px; align-items: center; gap: 14px; }
.pc-agent .person-main small { white-space: normal; line-height: 1.45; }
.pc-agent.is-paused > .prop-ico, .pc-agent.is-paused > .person-main { opacity: .55; transition: opacity .2s; }
.pc-agent.is-missing > .prop-ico { color: var(--muted); }
.pc-ver { margin-left: 4px; color: var(--muted); font: 500 11px var(--mono); }
.switch.is-ph { opacity: .35; }
.pc-note { margin: 10px 0 0; color: var(--muted); font-size: 12.5px; line-height: 1.5; }
.pc-note > .ico { width: 14px; height: 14px; margin-right: 6px; vertical-align: -2px; }

/* A PC's profile: renamed in place */
.pf-card { display: flex; align-items: center; gap: 14px; padding: 16px 18px; }
.pf-main { display: grid; gap: 3px; flex: 1; min-width: 0; }
.pf-main small { color: var(--muted); font-size: 12.5px; }
.pf-name { display: inline-flex; align-items: center; gap: 8px; justify-self: start; margin-left: -6px; padding: 2px 6px; border-radius: 8px; font-size: 16px; font-weight: 700; transition: background-color .15s; }
.pf-name .ico { width: 15px; height: 15px; color: var(--muted); opacity: 0; transition: opacity .15s; }
.pf-name:hover { background: var(--hover); }
.pf-name:hover .ico, .pf-name:focus-visible .ico { opacity: 1; }
.pf-input { justify-self: start; width: min(320px, 100%); height: 32px; margin-left: -6px; padding: 0 8px; border-radius: 8px; border: 1px solid color-mix(in srgb, var(--accent) 60%, transparent); background: var(--input); color: var(--text); font-size: 16px; font-weight: 700; }
.pf-input:focus { outline: 0; box-shadow: 0 0 0 3px var(--accent-soft); }

/* The red end of the profile menu: Sign out, or Close Basecamp */
.dd-item.is-danger, .dd-item.is-danger .ico, .icon-btn.is-danger { color: var(--danger); }
.dd-item.is-danger:hover, .icon-btn.is-danger:hover { background: var(--danger-soft); }
.addons-path { font: 12px var(--mono); color: var(--text-2); word-break: break-all; }
.set-menu a[hidden] { display: none; }

/* The Curator tab's dot when its health check fails */
.nav-cur { position: relative; }
.nav-down { position: absolute; top: 6px; left: 17px; width: 7px; height: 7px; border-radius: 50%; background: var(--danger); box-shadow: 0 0 0 2px var(--bg); }
.nav-down[hidden] { display: none; }

/* About this Basecamp: one row per fact, its name on the left */
.ab-card { padding: 4px 0; }
.ab-row { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 16px; padding: 12px 18px; }
.ab-row + .ab-row { border-top: 1px solid var(--line); }
.ab-k { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; }
.ab-k .ico { width: 16px; height: 16px; }
.ab-v { display: grid; gap: 2px; min-width: 0; font-size: 13.5px; color: var(--text); }
.ab-v small { color: var(--muted); font-size: 12px; }
.ab-v code { font: 12.5px var(--mono); color: var(--text-2); word-break: break-all; }
.ab-ok { color: #4ac578; font-weight: 600; }
.ab-bad { color: var(--danger); font-weight: 600; }
@media (max-width: 640px) { .ab-row { grid-template-columns: 1fr; gap: 4px; } }

/* The space picker (spacepicker.js): its button, and its panel in the top layer */
/* Its button's chevron turns while the panel is open */
.sp-btn > .ico:last-child { transition: transform .2s var(--ease); }
.sp-btn.is-open > .ico:last-child { transform: rotate(180deg); }

/* The panel: in the top layer, by its button (above it when there is more room there) */
.sp-pop { position: fixed; inset: auto; margin: 0; display: flex; flex-direction: column; padding: 8px; border-radius: var(--r-card); border: 1px solid var(--line-2); background: var(--menu); color: var(--text); box-shadow: var(--shadow); overflow: hidden; }
.sp-pop:not(:popover-open) { display: none; }
.sp-pop:popover-open { animation: sp-in .16s var(--ease); }
.sp-pop.is-up:popover-open { animation-name: sp-in-up; }
@keyframes sp-in { from { opacity: 0; transform: translateY(-4px) scale(.98); } }
@keyframes sp-in-up { from { opacity: 0; transform: translateY(4px) scale(.98); } }
.sp-search { flex: none; }
.sp-head { flex: none; display: flex; align-items: center; gap: 8px; padding: 2px 2px 8px; }
.sp-head b { font-size: 13.5px; }

/* The tree: each space with its kind, nested under its parent; context rows (a match's parent) dimmed */
.sp-list { flex: 1; min-height: 0; overflow-y: auto; margin: 0 -2px; padding: 0 2px; }
.sp-row { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 36px; padding: 6px 10px 6px calc(10px + var(--d, 0) * 22px); border-radius: calc(var(--r-card) - 4px); text-align: left; color: var(--text); font-size: 14px; }
.sp-row > .ico:first-child { width: 17px; height: 17px; flex: none; color: var(--muted); }
.sp-row > span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sp-row > small { flex: none; color: var(--muted); font-size: 11.5px; }
.sp-row > .ico:last-child { width: 16px; height: 16px; flex: none; color: var(--accent-text); opacity: 0; }
.sp-row.is-on > .ico:last-child { opacity: 1; }
.sp-row:hover:not(:disabled), .sp-row.is-lit { background: var(--hover); }
.sp-row.is-context { color: var(--muted); cursor: default; }
.sp-row.is-context > small { visibility: hidden; }
.sp-row mark { background: none; color: var(--accent-text); font-weight: 700; }
.sp-none { display: grid; place-items: center; height: 100%; min-height: 80px; padding: 14px 10px; color: var(--muted); font-size: 13px; text-align: center; }

/* New space, at the foot: lit (and Enter makes it) when nothing matches */
.sp-new { flex: none; display: flex; align-items: center; gap: 10px; width: 100%; min-height: 40px; margin-top: 6px; padding: 6px 10px; border-top: 1px solid var(--line); border-radius: 0 0 calc(var(--r-card) - 4px) calc(var(--r-card) - 4px); color: var(--accent-text); font-size: 14px; font-weight: 600; text-align: left; }
.sp-new > .ico { width: 17px; height: 17px; flex: none; }
.sp-new > span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sp-new b { color: var(--text); }
.sp-new:hover, .sp-new.is-lit { background: var(--accent-soft); }
.sp-new kbd { display: grid; place-items: center; width: 24px; height: 22px; border-radius: 6px; border: 1px solid var(--line-2); color: var(--muted); }
.sp-new kbd .ico { width: 13px; height: 13px; }
.sp-keys { flex: none; display: flex; gap: 14px; padding: 8px 8px 2px; color: var(--muted); font-size: 11.5px; }
.sp-keys span { display: inline-flex; align-items: center; gap: 4px; }
.sp-keys .ico { width: 12px; height: 12px; }
.sp-keys kbd { font: 600 10.5px var(--mono); }

/* The new space form */
.sp-form { flex: 1; min-height: 0; overflow-y: auto; display: grid; gap: 14px; align-content: start; padding: 2px 2px 4px; }
.sp-form .field { margin: 0; }
.sp-form .v2-type { height: 38px; padding: 0 10px; font-size: 13px; }
.sp-inside { display: flex; align-items: center; gap: 10px; width: 100%; height: 40px; padding: 0 12px; border-radius: var(--r-in); border: 1px solid var(--line-2); background: var(--input); color: var(--text); text-align: left; font-size: 14px; }
.sp-inside:hover { border-color: var(--line-3); }
.sp-inside > .ico { width: 17px; height: 17px; flex: none; color: var(--muted); }
.sp-inside > span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sp-form-foot { flex: none; display: flex; justify-content: space-between; gap: 8px; margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--line); }

/* On a phone: a sheet from the bottom, the full width */
.sp-pop.is-sheet { left: 0; right: 0; bottom: 0; top: auto; width: auto; max-height: 78vh; height: 78vh; border-radius: 16px 16px 0 0; border-bottom: 0; padding: 12px 12px calc(12px + env(safe-area-inset-bottom)); }
.sp-pop.is-sheet:popover-open { animation: sp-sheet .22s var(--ease); }
@keyframes sp-sheet { from { transform: translateY(24px); opacity: 0; } }
.sp-pop.is-sheet .sp-keys { display: none; }
.sp-pop.is-sheet .sp-row { min-height: 44px; }
/* A field picker's button: the chosen space with its kind's icon, like a dropdown */
.sp-field { max-width: 100%; }
.field > .sp-field { width: 100%; }
.sp-field-in { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.sp-field-in > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sp-field.is-open > .ico:last-child { transform: rotate(180deg); }

/* Updates (update.js): the main bar's Update button, as tall as Search; an icon alone when Search is one too */
.up-chip { display: inline-flex; align-items: center; gap: 7px; height: 34px; margin-left: auto; margin-right: 4px; padding: 0 12px 0 10px; border-radius: var(--r-btn); background: var(--accent-soft); color: var(--accent-text); font-size: 13px; font-weight: 600; white-space: nowrap; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 40%, transparent); }
.up-chip[hidden] { display: none; }
.up-chip:hover { background: color-mix(in srgb, var(--accent) 28%, transparent); color: var(--text); }
.up-chip .ico { width: 17px; height: 17px; }
.up-chip:not([hidden]) + .top-right { margin-left: 0; }
@media (max-width: 1204px) {
	.up-chip { width: 34px; padding: 0; justify-content: center; }
	.up-chip span { display: none; }
}
@media (max-width: 900px) { .up-chip:not([hidden]) + .top-right + .menu-btn { margin-left: 0; } }
/* About's Updates row: its button at the end */
.ab-row.up-row { grid-template-columns: 180px minmax(0, 1fr) auto; align-items: center; }
.ab-row.up-row.is-new { background: color-mix(in srgb, var(--accent) 7%, transparent); }
@media (max-width: 640px) {
	.ab-row.up-row { grid-template-columns: minmax(0, 1fr) auto; }
	.ab-row.up-row .ab-k { grid-column: 1 / -1; }
}
/* The update dialog: what is new, what it downloads, the download's bar */
.up-notes { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.up-notes li { display: flex; align-items: flex-start; gap: 10px; color: var(--text-2); font-size: 13.5px; line-height: 1.45; }
.up-notes .ico { width: 15px; height: 15px; margin-top: 2px; color: var(--muted); flex: none; }
.up-parts { display: grid; border-radius: var(--r-card); border: 1px solid var(--line-2); }
.up-part { display: flex; align-items: center; gap: 12px; padding: 10px 14px; }
.up-part + .up-part { border-top: 1px solid var(--line); }
.up-part > .ico { width: 18px; height: 18px; color: var(--muted); flex: none; }
.up-part > span { display: grid; gap: 1px; flex: 1; min-width: 0; }
.up-part b { font-size: 13.5px; }
.up-part small { color: var(--muted); font-size: 12px; }
.up-part em { color: var(--text-2); font: 500 12px var(--mono); font-style: normal; }
.up-progress { display: grid; gap: 8px; margin-bottom: 18px; }
.up-bar { height: 8px; border-radius: 4px; background: var(--line-2); overflow: hidden; }
.up-bar i { display: block; height: 100%; border-radius: 4px; background: var(--accent); transition: width .3s linear; }
.up-progress-line { display: flex; justify-content: space-between; color: var(--muted); font-size: 12.5px; }
.up-progress-line span:first-child { display: inline-flex; align-items: center; gap: 6px; color: var(--text-2); }
.up-progress-line .ico { width: 14px; height: 14px; animation: spin .8s linear infinite; }
/* The window while the files are swapped */
.up-restart { position: fixed; inset: 0; z-index: 100; display: grid; place-content: center; justify-items: center; gap: 8px; background: var(--bg); text-align: center; }
.up-restart > .ico { width: 64px; height: 64px; margin-bottom: 10px; padding: 16px; border-radius: 16px; background: var(--accent-soft); color: var(--accent-text); }
.up-restart b { font-size: 18px; }
.up-restart small { color: var(--muted); font-size: 13.5px; }
.up-dots { display: flex; gap: 6px; margin-top: 10px; }
.up-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: up-dot 1s ease-in-out infinite; }
.up-dots i:nth-child(2) { animation-delay: .15s; }
.up-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes up-dot { 50% { opacity: .25; transform: translateY(-3px); } }

/* Settings, Agents on a PC: whether each agent's connector was heard from, and what to restart */
.pc-agent { grid-template-columns: 36px minmax(0, 1fr) auto 40px; }
.pc-agent > .switch { grid-column: -2; grid-row: 1; }
.pc-conn { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.pc-conn .ico { width: 15px; height: 15px; }
.pc-conn.is-ok { color: #4ac578; }
.pc-conn.is-wait { color: var(--warn); }
@media (max-width: 640px) {
	.pc-agent { grid-template-columns: 36px minmax(0, 1fr) 40px; }
	.pc-agent .pc-conn { grid-column: 2; grid-row: 2; }
}

/* Settings, Add-ons: one just added is marked New until it is switched on */
.addon-row.is-new { background: color-mix(in srgb, var(--accent) 6%, transparent); }
.addon-new { display: inline-flex; align-items: center; height: 18px; margin-left: 8px; padding: 0 7px; border-radius: 9px; background: var(--accent-soft); color: var(--accent-text); font-size: 11px; font-weight: 700; vertical-align: 2px; }
