/* The link between a PC's Basecamp and the server's: the top bar's state, Settings (Server, Sync, Clients), the conflicts. */

/* The link's dot */
.sy-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #4ac578; box-shadow: 0 0 0 3px rgba(74, 197, 120, .18); flex: none; }


/* The top bar: the name and where this Basecamp stands, one width on a PC and on the server */
.logo-ctx { width: calc(var(--files, 270px) - 32px); }
.logo-ctx .logo-name { min-width: 0; }
.hd-ctx { display: flex !important; align-items: center; gap: 5px; min-width: 0; white-space: nowrap; overflow: hidden; }
.hd-ctx i { font-style: normal; }
.hd-ctx b { display: inline-flex; align-items: center; gap: 3px; min-width: 0; overflow: hidden; text-overflow: ellipsis; color: var(--text-2); font-weight: 500; cursor: pointer; transition: color .15s; }
.hd-ctx b:hover { color: var(--text); }
.hd-ctx b span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.logo-ctx .logo-mark { flex: none; }
.hd-ctx b .ico { width: 12px; height: 12px; flex: none; color: #4ac578; }
.hd-ctx b.is-off .ico { color: var(--muted); }
.hd-ctx b.is-warn .ico { color: var(--warn); }
.hd-ctx .sy-dot { width: 6px; height: 6px; box-shadow: 0 0 0 2px rgba(74, 197, 120, .18); }
.top .top-right { gap: 6px; }
.top .jump { height: 36px; }
.profile-chip { gap: 4px; height: 36px; padding: 0 6px 0 3px; }
.profile-chip .avatar { width: 28px; height: 28px; }
.side-ctx { display: grid; gap: 2px; min-width: 0; }
.side-ctx small { font: 500 11px var(--mono); color: var(--muted); }

/* Sync: making spaces on either side */
.sy-make { align-items: flex-start; white-space: normal; }
.sy-make > .ico { margin-top: 2px; color: var(--accent-text) !important; }
.sy-make > span { display: grid; gap: 2px; }
.sy-make small { color: var(--muted); font-size: 12px; line-height: 1.4; }
.sy-dd .dd-menu { min-width: 300px; }
.sy-dd-search { margin: 0 0 6px; }
.sy-dd-search .ico { width: 16px; height: 16px; flex: none; }
.sy-dd-list { max-height: 260px; overflow-y: auto; display: grid; gap: 2px; }
.sy-dd-list .dd-item[hidden], .sy-dd-list .dd-none[hidden] { display: none; }
.sy-bulk-name { display: grid; justify-items: start; gap: 4px; }
.sy-bulk-name small { color: var(--muted); font-size: 12px; }
.sub-head .help { margin-left: 6px; }

/* Home and Review: the conflict's warning colour */
.hm-need.is-warn .hm-need-ico { background: var(--warn-soft); color: var(--warn); }
.cu-row.is-conflict .cu-kind { background: var(--warn-soft); color: var(--warn); }
.cu-state.is-warn { color: var(--warn); }
.cu-state.is-refused { color: var(--danger); }
.cu-filters .sy-n { display: inline-grid; place-items: center; min-width: 16px; height: 16px; margin-left: 4px; padding: 0 4px; border-radius: 8px; background: var(--warn); color: #121212; font-size: 10.5px; font-weight: 700; vertical-align: 1px; }

/* Settings, Server: the linked server and its numbers */
.sy-ico { background: var(--ok-soft); color: #4ac578; }
.sy-ico.is-open { background: var(--warn-soft); color: var(--warn); }
.sy-ico.is-refused { background: var(--danger-soft); color: var(--danger); }
.sy-health { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12.5px; white-space: nowrap; }
.sy-health .ico { width: 15px; height: 15px; }
.sy-health.is-warn { color: var(--warn); }
.sy-health.is-bad { color: var(--danger); }
.sy-key { display: flex; gap: 8px; padding: 4px 12px 10px; }
.sy-key input { flex: 1; min-width: 0; height: 32px; padding: 0 10px; border-radius: var(--r-in); border: 1px solid var(--line-2); background: var(--input); }
.sy-key input:focus { border-color: var(--accent); }
.sy-conflict-dlg.dlg-compact { width: min(760px, calc(100vw - 32px)); }
.sy-conflict-dlg .cu-dlg-body { gap: 12px; }
.cd-head i.sy-warn-ico { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; }
.cd-head i.sy-warn-ico .ico { width: 15px; height: 15px; }
.sy-map.is-ph { min-height: 60px; }
.sy-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sy-facts > div { display: grid; gap: 2px; padding: 14px 18px; }
.sy-facts > div + div { border-left: 1px solid var(--line); }
.sy-facts span { color: var(--muted); font-size: 12px; font-weight: 600; }
.sy-facts b { font-size: 20px; font-weight: 600; font-variant-numeric: lining-nums tabular-nums; }
.sy-facts b.is-warn { color: var(--warn); }
.sy-facts small { color: var(--muted); font-size: 12px; }
.sy-facts a { display: inline-flex; align-items: center; gap: 4px; color: var(--accent-text); font-weight: 600; transition: color .15s; }
.sy-facts a .ico { width: 13px; height: 13px; transition: transform .2s var(--ease); }
.sy-facts a:hover .ico[data-ico="arrow-right"], .sy-facts a:hover .ico[data-ico="chevron-right"] { transform: translateX(2px); }
.sy-form { display: grid; gap: 14px; padding: 18px; }
.sy-form .field input { max-width: 460px; }
.sy-form-foot { display: flex; }

/* Settings, Sync: one row per local space */
.sy-head, .sy-map { display: grid; grid-template-columns: minmax(170px, 1fr) 24px minmax(240px, 1.4fr) 130px; align-items: center; gap: 12px; }
.sy-head { padding: 10px 18px; border-bottom: 1px solid var(--line); color: var(--muted); font: 600 11px var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.sy-map { min-height: 60px; padding: 10px 18px; transition: opacity .2s; }
.sy-local { display: flex; align-items: center; gap: 6px; min-width: 0; }
.sy-map.is-kid .sy-local { padding-left: 14px; }
.sy-local > .ico { width: 15px; height: 15px; color: var(--muted); flex: none; }
.sy-arrow { display: grid; place-items: center; color: var(--muted); }
.sy-arrow .ico { width: 16px; height: 16px; }
.sy-map.is-local .sy-arrow { opacity: .35; }
.sy-target { display: flex; align-items: center; gap: 8px; min-width: 0; }
.sy-follow { flex: 0 1 auto; min-width: 0; color: var(--muted); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sy-dd .dd-btn { min-width: 230px; height: 36px; }
.sy-dd .dd-btn > span { display: inline-flex; align-items: center; gap: 8px; }
.sy-dd .dd-btn > span .ico { color: var(--muted); }
.sy-dd .dd-menu { min-width: 250px; }
.sy-map.is-local .sy-dd .dd-btn > span { color: var(--muted); }
.sy-st { display: inline-flex; align-items: center; justify-content: flex-end; gap: 5px; color: var(--muted); font-size: 12.5px; font-weight: 500; white-space: nowrap; }
.sy-st .ico { width: 14px; height: 14px; }
.sy-st.is-ok { color: #4ac578; }
.sy-st.is-up, .sy-st.is-down { color: var(--accent-text); }
.sy-st.is-warn { color: var(--warn); }
.sy-maps.is-off { opacity: .45; pointer-events: none; }
.sy-view { margin-bottom: 14px; }
.sy-view button .ico { width: 16px; height: 16px; }
.sy-off { margin-bottom: 12px; }

/* The conflict dialog: each overlap, the server's side and this PC's */
.sy-warn-ico { background: var(--warn-soft); color: var(--warn); }
.cu-chips > .ico { width: 15px; height: 15px; color: var(--muted); align-self: center; }
.sy-hunk { display: grid; gap: 10px; padding: 14px; border-radius: var(--r-card); border: 1px solid var(--line-2); }
.sy-hunk-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sy-hunk-head b { font-size: 13px; }
.sy-sides { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sy-side { display: grid; align-content: start; gap: 6px; padding: 10px; border-radius: calc(var(--r-card) - 2px); border: 1px solid var(--line); transition: opacity .2s, border-color .2s, background-color .2s; }
.sy-side.is-kept { border-color: color-mix(in srgb, var(--accent) 50%, transparent); background: var(--accent-soft); }
.sy-side.is-dropped { opacity: .45; }
.sy-side.is-dropped .cu-diff .d-add { background: rgba(248, 113, 113, .08); text-decoration: line-through; text-decoration-color: rgba(248, 113, 113, .5); color: var(--muted); }
.sy-side.is-dropped .cu-diff i { color: var(--danger); }
.sy-side-head { display: flex; align-items: center; gap: 7px; min-height: 22px; font-size: 12.5px; }
.sy-side-head .ico { width: 15px; height: 15px; color: var(--muted); }
.sy-side-head .badge { margin-left: auto; }
.sy-side .cu-diff { margin-top: 0; }

/* What the curator settled, folded; what it was not sure about, with its reason */
.sy-hunk-wrap { display: grid; gap: 10px; }
.sy-unsure { padding: 12px 14px; }
.sy-unsure b { font-size: 13px; }
.sy-unsure p { font-size: 13px; line-height: 1.5; }
.sy-settled { border-radius: var(--r-card); border: 1px solid var(--line); }
.sy-settled-row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; text-align: left; border-radius: var(--r-card); transition: background-color .15s; }
.sy-settled-row:hover { background: var(--hover); }
.sy-settled-row > .ico { width: 17px; height: 17px; color: #4ac578; flex: none; }
.sy-settled-row > span:nth-child(2) { display: grid; gap: 2px; flex: 1; min-width: 0; }
.sy-settled-row b { font-size: 13px; font-weight: 600; }
.sy-settled-row small { color: var(--muted); font-size: 12.5px; line-height: 1.45; }
.sy-settled-act { display: inline-flex; align-items: center; gap: 4px; color: var(--accent-text); font-size: 12.5px; font-weight: 600; flex: none; }
.sy-settled-act .ico { width: 14px; height: 14px; transition: transform .2s var(--ease); }
.sy-settled.is-open .sy-settled-act .ico { transform: rotate(180deg); }
.sy-settled .grow-swap { margin-top: 0; }
.sy-settled .sy-hunk { border: 0; border-top: 1px solid var(--line); border-radius: 0; }

/* Server, Clients: the auto-accept chip, lit when on */
.sy-auto { flex: none; height: 30px; }
.sy-auto:disabled { opacity: .45; cursor: not-allowed; }
.sy-client.is-paused .person-main, .sy-client.is-paused .sy-auto { opacity: .5; }
.sy-client.is-paused .sy-ico { background: var(--hover); color: var(--muted); }
.switch:disabled { cursor: not-allowed; }

/* The danger rows arm before they act */
.do-row.is-armed { background: var(--danger); color: #fff; }
.do-row.is-armed .help { color: rgba(255, 255, 255, .8); }


@media (max-width: 900px) {
	.sy-head { display: none; }
	.sy-map { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "local st" "target target"; gap: 8px 12px; padding: 12px 16px; }
	.sy-local { grid-area: local; }
	.sy-arrow { display: none; }
	.sy-target { grid-area: target; padding-left: 0; }
	.sy-map.is-kid .sy-target { padding-left: 14px; }
	.sy-st { grid-area: st; }
	.sy-dd, .sy-dd .dd-btn { width: 100%; min-width: 0; }
}
@media (max-width: 640px) {
	.sy-facts { grid-template-columns: 1fr; }
	.sy-facts > div + div { border-left: 0; border-top: 1px solid var(--line); }
	.sy-sides { grid-template-columns: 1fr; }
	.sy-hunk-head { flex-wrap: wrap; }
	.sy-server { flex-wrap: wrap; }
	.sy-server .sy-health { order: 3; flex-basis: 100%; padding-left: 50px; }
	.sy-client { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; grid-template-areas: "ico main dots" ". auto auto"; gap: 8px 14px; }
	.sy-client > .sy-ico { grid-area: ico; }
	.sy-client > .person-main { grid-area: main; }
	.sy-client > .icon-btn { grid-area: dots; }
	.sy-client > .sy-auto { grid-area: auto; justify-self: start; }
	dialog .dp-text { white-space: normal; }
	.sy-follow { white-space: normal; }
}
.sy-settled .sy-hunk-head b { visibility: hidden; }
dialog.dlg:focus { outline: none; }

/* The Server card */
.sv-card { display: grid; gap: 14px; padding: 18px; }
.sv-top { display: flex; align-items: center; gap: 14px; }
.sv-ico { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: color-mix(in srgb, #4ac578 12%, transparent); color: #4ac578; flex: none; }
.sv-ico .ico { width: 22px; height: 22px; }
.sv-ico.is-off { background: var(--hover); color: var(--muted); }
.sv-ico.is-warn { background: var(--warn-soft); color: var(--warn); }
.sv-ico.is-bad { background: var(--danger-soft); color: var(--danger); }
.sv-dot { position: absolute; right: -3px; bottom: -3px; width: 12px; height: 12px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px var(--panel); }
.sv-main { display: grid; gap: 3px; flex: 1; min-width: 0; }
.sv-main b { font-size: 16px; }
.sv-main small { color: var(--muted); font-size: 12.5px; line-height: 1.45; }
.sv-main code { font: 12.5px var(--mono); color: var(--text-2); }
.sv-acts { display: flex; align-items: center; gap: 6px; flex: none; }
.sv-meta { display: flex; flex-wrap: wrap; gap: 6px; padding-left: 58px; }
.sv-chip { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 13px; background: var(--hover); color: var(--text-2); font-size: 12px; font-weight: 600; white-space: nowrap; }
.sv-chip .ico { width: 13px; height: 13px; }
.sv-chip.is-ok { background: color-mix(in srgb, #4ac578 12%, transparent); color: #4ac578; }
.sv-chip.is-ok i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.sv-chip.is-warn { background: var(--warn-soft); color: var(--warn); }
.sv-chip.is-bad { background: var(--danger-soft); color: var(--danger); }
.sv-nums { display: grid; grid-template-columns: repeat(3, 1fr); margin: 2px -18px -18px; border-top: 1px solid var(--line); }
.sv-nums > span { display: grid; gap: 2px; align-content: start; padding: 12px 18px; color: var(--text-2); font-size: 13px; }
.sv-nums > span + span { border-left: 1px solid var(--line); }
.sv-nums b { margin-right: 4px; color: var(--text); font-size: 18px; }
.sv-nums b.is-warn { color: var(--warn); }
.sv-nums small { color: var(--muted); font-size: 12px; }
.sv-nums small a { display: inline-flex; align-items: center; gap: 3px; color: var(--accent-text); font-weight: 700; }
.sv-nums small a .ico { width: 12px; height: 12px; }
.sv-form { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto; align-items: end; gap: 12px; padding-left: 58px; }
.sv-form .field { margin: 0; }
.sv-form .btn { height: 40px; }

/* Sync shows once the PC is linked, sliding open (and closed on unlink) */
.sy-grow { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .45s var(--ease), opacity .3s; }
.sy-grow > div { min-height: 0; overflow: hidden; }
.sy-grow.is-open { grid-template-rows: 1fr; opacity: 1; }
.sy-grow.is-open > div { overflow: visible; }
@media (prefers-reduced-motion: reduce) { .sy-grow { transition: none; } }

@media (max-width: 760px) {
	.sv-meta, .sv-form { padding-left: 0; }
	.sv-form { grid-template-columns: 1fr; }
	.sv-nums { grid-template-columns: 1fr; }
	.sv-nums > span + span { border-top: 1px solid var(--line); border-left: 0; }
}

/* The "Every space" row: a switch in place of the space menu */
.sy-every .sy-target { gap: 10px; }
.sy-every-line { color: var(--text-2); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Sync history: the button in the section's head with its count, and the dialog */
.sh-btns { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.sh-count { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; margin-left: 2px; border-radius: 9px; background: var(--warn-soft); color: var(--warn); font-size: 11px; font-weight: 700; }
dialog.sh-dlg { width: min(720px, calc(100vw - 24px)); }
.sh-filters { flex: none; padding: 12px 20px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.sh-filters .seg button { height: 28px; padding: 0 12px; font-size: 12.5px; white-space: nowrap; flex: none; }
.sh-filters .seg button.is-on { background: var(--hover); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.sh-dlg .dlg-body { overflow: auto; }
.sh-dlg .rows > .act + .act { border-top: 1px solid var(--line); }
.sh-dlg .person-main { min-width: 0; flex: 1; }
.sh-dlg .person-main small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sh-addon { background: var(--accent-soft); color: var(--accent-text); }
.sh-note { color: var(--muted); font-size: 12px; }
@media (max-width: 640px) {
	.sh-dlg .act { display: grid; grid-template-columns: 36px minmax(0, 1fr); align-items: start; padding: 12px 16px; }
	.sh-dlg .person-main small { white-space: normal; }
	.sh-dlg .cu-state { grid-column: 2; min-width: 0; justify-content: flex-start; }
	.sh-filters { padding: 12px 16px; }
}

/* The server's curator down, under the Server card */
.sv-curator { margin-top: 12px; }

/* The next sync: a card with a ring that empties, the seconds in its middle, Pause and Sync now */
.sy-clock { display: flex; align-items: center; gap: 16px; margin: 4px 0 22px; padding: 14px 16px; border-radius: var(--r-card); border: 1px solid var(--line); background: var(--panel); }
.sy-ring-box { position: relative; display: grid; place-items: center; width: 52px; height: 52px; flex: none; }
.sy-ring { position: absolute; inset: 0; width: 52px; height: 52px; transform: rotate(-90deg); }
.sy-ring circle { fill: none; stroke-width: 4; }
.sy-ring-bg { stroke: var(--line-2); }
.sy-ring-fg { stroke: var(--accent); stroke-linecap: round; transition: stroke-dashoffset 1s linear; }
.sy-ring.is-spin { animation: sy-ring-spin 1s linear infinite; }
@keyframes sy-ring-spin { to { transform: rotate(270deg); } }
.sy-ring-in { position: relative; display: inline-flex; align-items: baseline; gap: 1px; color: var(--text); }
.sy-ring-in b { font: 700 16px var(--mono); font-variant-numeric: tabular-nums; }
.sy-ring-in small { color: var(--muted); font-size: 10.5px; }
.sy-ring-in .ico { width: 18px; height: 18px; color: var(--muted); }
.sy-clock-main { display: grid; gap: 3px; flex: 1; min-width: 0; }
.sy-clock-main > b { font-size: 14px; font-weight: 600; }
.sy-clock-main > b b { font-variant-numeric: tabular-nums; }
.sy-clock-main small { color: var(--muted); font-size: 12.5px; }
.sy-clock.is-paused .sy-clock-main > b { color: var(--warn); }
.sy-clock-btns { display: flex; gap: 8px; flex: none; }
@media (prefers-reduced-motion: reduce) { .sy-ring-fg { transition: none; } .sy-ring.is-spin { animation: none; } }
@media (max-width: 640px) {
	.sy-clock { flex-wrap: wrap; }
	.sy-clock-btns { width: 100%; }
	.sy-clock-btns .btn { flex: 1; justify-content: center; }
}

/* Settings, Downloads (a server): the app for each system, its steps, the add-ons */
.dl-app { display: grid; padding: 18px; min-width: 0; }
/* Both systems' cards in one cell: the card is as tall as the taller, the other one hidden, crossfading */
.dl-pane { grid-area: 1 / 1; display: grid; grid-template-rows: auto 1fr; gap: 14px; min-width: 0; opacity: 0; visibility: hidden; transition: opacity .2s, visibility 0s .2s; }
.dl-pane.is-on { opacity: 1; visibility: visible; transition: opacity .2s .05s, visibility 0s; }
/* Each system in its brand colour: Windows blue, Apple's own white */
.is-win .dl-mark { background: color-mix(in srgb, #0078d4 22%, transparent); color: #4cc2ff; }
.is-mac .dl-mark { background: color-mix(in srgb, #f5f5f7 12%, transparent); color: #f5f5f7; }
.dl-pane .dl-mark.is-off { background: var(--hover); color: var(--muted); }
.dl-os [data-dl-os="win"].is-on .ico { color: #4cc2ff; }
.dl-os [data-dl-os="mac"].is-on .ico { color: #f5f5f7; }
.dl-os button { height: 30px; padding: 0 12px; font-size: 12.5px; }
.dl-os .seg-marker { height: 30px; }
.dl-top { display: flex; align-items: center; gap: 14px; }
.dl-mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; flex: none; }
.dl-mark .ico { width: 24px; height: 24px; }
.dl-top .person-main { flex: 1; min-width: 0; }
.dl-top .person-main b { font-size: 15px; }
.dl-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.dl-steps li { display: flex; gap: 10px; padding: 12px; border-radius: 10px; background: var(--hover); }
.dl-steps li > span:last-child { display: grid; gap: 3px; align-content: start; justify-items: start; }
.dl-steps b { font-size: 13px; }
.dl-steps small { color: var(--muted); font-size: 12px; line-height: 1.45; }
.dl-n { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; flex: none; }
.dl-key { margin-top: 7px; }
.dl-sub { display: flex; align-items: center; gap: 8px; margin-top: 22px; }
.dl-sub .btn { margin-left: auto; }
/* Every add-on row the same height (room for the name and two lines of description), its text centred in it; a longer description is cut with an ellipsis */
.dl-addon { display: grid; grid-template-columns: 36px minmax(0, 1fr) 130px auto; align-items: center; align-content: center; gap: 14px; min-height: 84px; padding: 14px 16px; border-top: 1px solid transparent; }
.dl-addon + .dl-addon { border-top-color: var(--line); }
.dl-addon .person-main { align-self: center; }
.dl-addon .person-main small { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; white-space: normal; line-height: 1.45; }
.dl-v { color: var(--muted); font: 500 11px var(--mono); margin-left: 4px; }
.dl-note { display: flex; align-items: flex-start; gap: 8px; margin-top: 12px; color: var(--muted); font-size: 12.5px; line-height: 1.5; }
.dl-note .ico { width: 15px; height: 15px; flex: none; margin-top: 2px; }
.dl-note code, .dl-empty code { font: 12px var(--mono); color: var(--text-2); }
.dl-empty { display: flex; align-items: center; gap: 14px; padding: 18px; }
@media (max-width: 760px) {
	.dl-steps { grid-template-columns: minmax(0, 1fr); grid-auto-rows: 1fr; }
	.dl-top { flex-wrap: wrap; }
	.dl-top .btn { width: 100%; justify-content: center; }
	.dl-addon { grid-template-columns: 36px minmax(0, 1fr) auto; min-height: 118px; }
	.dl-addon .addon-runs { grid-column: 2; grid-row: 2; align-self: start; }
	.dl-addon .prop-ico, .dl-addon > .btn { grid-row: 1 / span 2; align-self: center; }
	.dl-addon .person-main { align-self: end; }
}

/* Import from the server: each space's state where its switch was, a thin bar, the total under the list; the Sync card while hidden */
.sy-imp-row { min-height: 62px; }
.sy-imp { display: inline-flex; align-items: center; gap: 7px; flex: none; color: var(--muted); font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.sy-imp .ico { width: 15px; height: 15px; }
.sy-imp.is-ok { color: #4ac578; }
.sy-imp.is-now { display: grid; justify-items: end; gap: 6px; color: var(--accent-text); }
.sy-imp-line { display: inline-flex; align-items: center; gap: 7px; }
.sy-imp.is-now .ico { animation: sy-spin 1s linear infinite; }
@keyframes sy-spin { to { transform: rotate(360deg); } }
.sy-bar { display: block; width: 120px; height: 4px; border-radius: 2px; background: var(--line-2); overflow: hidden; }
.sy-bar i { display: block; height: 100%; border-radius: inherit; background: var(--accent); transition: width .3s var(--ease); }
.sy-bar.is-big { width: 100%; height: 6px; border-radius: 3px; }
.sy-imp-foot { display: inline-flex; align-items: center; gap: 6px; color: var(--text-2); font-size: 13px; }
.sy-imp-foot.is-ok .ico { width: 16px; height: 16px; color: #4ac578; }
.sy-imp-ring { display: grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: 50%; border: 3px solid var(--accent); color: var(--accent-text); }
.sy-imp-ring .ico { width: 22px; height: 22px; }
.sy-clock.is-import .sy-clock-main { display: grid; gap: 6px; }
.sy-clock.is-import .sy-bar { width: min(360px, 100%); }
@media (max-width: 640px) { .sy-imp.is-now .sy-bar { width: 80px; } .sy-imp-ring { width: 44px; height: 44px; } }
@media (prefers-reduced-motion: reduce) { .sy-imp.is-now .ico { animation: none; } }

/* A table row while its space is in the import queue: coming down or waiting, at the menu's size so the row keeps its height */
.sy-map.is-now { background: color-mix(in srgb, var(--accent) 6%, transparent); }
.sy-busy, .sy-queued { box-sizing: border-box; width: 230px; max-width: 100%; height: 36px; }
.sy-busy { position: relative; display: flex; align-items: center; padding: 0 12px; border-radius: var(--r-in); border: 1px solid color-mix(in srgb, var(--accent) 40%, var(--line)); overflow: hidden; }
.sy-busy-line { display: flex; align-items: center; gap: 8px; width: 100%; font-size: 13px; }
.sy-busy-line .ico { width: 16px; height: 16px; color: var(--accent-text); animation: sy-spin 1s linear infinite; }
.sy-busy-line b { font-weight: 600; }
.sy-busy-line span { margin-left: auto; color: var(--muted); font: 500 12px var(--mono); }
.sy-busy .sy-bar { position: absolute; left: 0; right: 0; bottom: 0; width: auto; height: 3px; border-radius: 0; background: transparent; }
.sy-queued { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 4px 0 12px; border-radius: var(--r-in); border: 1px dashed var(--line-3); color: var(--text-2); font-size: 13px; }
.sy-queued > span { display: inline-flex; align-items: center; gap: 8px; }
.sy-queued .ico { width: 15px; height: 15px; color: var(--muted); }
.sy-st-now { color: var(--accent-text); }
.sy-make small { display: block; color: var(--muted); font-size: 11.5px; font-weight: 500; }
.sy-imp .icon-btn { margin-left: 2px; }
@media (max-width: 640px) { .sy-busy, .sy-queued { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .sy-busy-line .ico { animation: none; } }
