/* Branch activity: independent touch target, not a button nested in the row. */
.branch-activity-row{display:grid;grid-template-columns:76px minmax(0,1fr);align-items:center;border-bottom:1px solid #edf0ed;background:#fff}
.branch-activity-row:last-child{border-bottom:0}.branch-activity-row .branches-ops-row{border-bottom:0}.branch-activity-row.is-paused{background:#f6f7f8}.branch-activity-row.is-paused .branches-ops-row{background:transparent}.branch-activity-row.is-paused .branch-row-identity strong{color:#69736f}
.branch-activity-control{display:grid;justify-items:center;gap:2px;padding:4px 5px}.branch-activity-control small{font-size:9px;color:#69736f;line-height:1.2;text-align:center}
.branch-activity-switch{position:relative;display:inline-flex;align-items:center;justify-content:center;width:64px;height:44px;padding:0;border:0;background:transparent;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.branch-activity-switch::before{content:"";position:absolute;width:48px;height:28px;border-radius:999px;background:#c7cbd0;transition:background .18s ease}
.branch-activity-switch>span{position:relative;display:block;width:24px;height:24px;border-radius:50%;background:#fff;box-shadow:0 1px 4px #0003;transform:translateX(-10px);transition:transform .18s ease}
.branch-activity-switch[aria-checked="true"]::before{background:#34c759}.branch-activity-switch[aria-checked="true"]>span{transform:translateX(10px)}
.branch-activity-switch:focus-visible{outline:3px solid #237b64;outline-offset:0;border-radius:12px}.branch-activity-switch:disabled{opacity:.55;cursor:wait}.branch-activity-switch:disabled:not([aria-busy="true"]){cursor:not-allowed}
.branches-ops-table-head{margin-left:76px}.branches-ops-table-head::before{content:"Обновления";position:absolute;left:-76px;width:76px;text-align:center;font-size:9px}
.branches-ops-notice{margin:8px 0;padding:10px 12px;border:1px solid #cadcd3;border-radius:10px;background:#f1f8f4;font-size:13px;color:#205d49}
@media(max-width:760px){.branch-activity-row{grid-template-columns:62px minmax(0,1fr);border:1px solid var(--branch-line,#dfe5df);border-radius:12px;overflow:hidden}.branch-activity-row .branches-ops-row{border:0;border-radius:0;padding-left:6px;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"identity chevron" "city chevron" "status status" "yclient amo"}.branch-activity-row .branches-ops-row>:nth-child(3){justify-self:start}.branch-activity-control{padding:3px 0}.branch-activity-switch{width:60px}.branch-activity-control small{font-size:9px}.branches-ops-table-head{margin-left:0}}
@media(prefers-reduced-motion:reduce){.branch-activity-switch::before,.branch-activity-switch>span{transition:none}}
