
/* Final v20 layout corrections, loaded after every legacy patch. */
.recur-template-tools{display:flex!important;grid-template-columns:none!important;justify-content:flex-end!important;align-items:center!important;gap:7px!important}
.recur-template-tools>.text-btn{width:auto!important;min-width:0!important;flex:0 0 auto!important}
#recurSaveTemplateBtn{padding:6px 10px!important;font-size:11px!important;min-height:34px!important}
#recurTemplatesBtn{padding:6px 11px!important;font-size:11px!important;min-height:34px!important;width:auto!important;min-width:120px!important}
.v20-recur-row{grid-template-columns:minmax(0,1fr)!important;grid-auto-flow:row!important}
.v20-recur-row>.recur-row-head{grid-column:1/-1!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;width:100%!important}
.v20-recur-row>.v20-recur-main{grid-column:1/-1!important;width:100%!important}
.v20-recur-row .recur-row-head-actions{display:flex!important;align-items:center!important;gap:6px!important}
.recur-now-btn{font-size:11px!important;font-weight:900!important;letter-spacing:.01em!important;min-width:76px!important}
.schedule-template-card h4{font-size:14px!important;line-height:1.3!important;margin:4px 0!important}
.schedule-template-card .schedule-template-preview{font-size:12px!important;line-height:1.45!important}
.schedule-template-card{min-height:102px!important}
.template-type-toggle::after{background:var(--border-strong)!important;opacity:.9!important}
.seq-group-tools .text-btn{min-width:128px!important}
.seq-stage-row,.seq-group-head{cursor:pointer}
/* Exact single recurrence icon and matching button theme, overriding all older modifier rules. */
body .refresh-action>span{display:none!important;visibility:hidden!important;opacity:0!important}
body:not(.ctrl-held):not(.alt-held):not(.shift-held) .refresh-action>.refresh-normal-icon,
body.ctrl-held:not(.alt-held):not(.shift-held) .refresh-action>.refresh-catchup-icon,
body.ctrl-held.shift-held:not(.alt-held) .refresh-action>.refresh-anchor-cyan,
body.ctrl-held.alt-held:not(.shift-held) .refresh-action:not(.unanchored-current)>.refresh-anchor-red,
body.ctrl-held.alt-held:not(.shift-held) .refresh-action.unanchored-current>.refresh-anchor-green,
body.alt-held:not(.ctrl-held):not(.shift-held) .refresh-action>.refresh-edit-icon,
body.shift-held:not(.ctrl-held):not(.alt-held) .refresh-action>.refresh-archive-icon,
body.ctrl-held.alt-held.shift-held .refresh-action>.refresh-archive-icon{display:inline-flex!important;visibility:visible!important;opacity:1!important}
body:not(.ctrl-held):not(.alt-held):not(.shift-held) .refresh-action{color:#1b9c55!important;border-color:rgba(43,174,98,.70)!important;background:rgba(45,190,105,.16)!important}
body.ctrl-held:not(.alt-held):not(.shift-held) .refresh-action{color:#30d879!important;border-color:rgba(48,216,121,.82)!important;background:rgba(48,216,121,.20)!important}
body.ctrl-held.shift-held:not(.alt-held) .refresh-action{color:#49cbd7!important;border-color:rgba(73,203,215,.82)!important;background:rgba(73,203,215,.20)!important}
body.ctrl-held.alt-held:not(.shift-held) .refresh-action:not(.unanchored-current){color:#d84a4a!important;border-color:rgba(216,74,74,.82)!important;background:rgba(216,74,74,.20)!important}
body.ctrl-held.alt-held:not(.shift-held) .refresh-action.unanchored-current{color:#28b866!important;border-color:rgba(40,184,102,.82)!important;background:rgba(40,184,102,.20)!important}
body.alt-held:not(.ctrl-held):not(.shift-held) .refresh-action{color:#d0a821!important;border-color:rgba(208,168,33,.82)!important;background:rgba(208,168,33,.20)!important}
body.shift-held:not(.ctrl-held):not(.alt-held) .refresh-action,
body.ctrl-held.alt-held.shift-held .refresh-action{color:#a87449!important;border-color:rgba(168,116,73,.82)!important;background:rgba(168,116,73,.20)!important}
@media(max-width:1000px){
  .v20-recur-main{grid-template-columns:minmax(130px,1fr) 72px 116px auto!important}
  .v20-lane-summary-wrap{grid-column:1/-1!important}
}
