
/* v20 recurrence editor, templates, builder, and exact modifier visuals */
#addRecurringTaskBtn svg,#addIntervalTimerBtn svg{display:none!important}
#addRecurringTaskBtn,#addIntervalTimerBtn{grid-template-columns:1fr!important;gap:0!important;text-align:center!important}
.recur-text-tools{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr) minmax(0,1fr)!important;gap:7px!important;align-items:stretch!important}
.recur-text-tools>.text-btn,.recur-text-tools>a{min-width:0!important;width:100%!important;justify-content:center!important;text-align:center!important}
.recur-gpt-btn{order:2!important}
#simpleRecurrenceBuilderBtn{order:1!important}
#recurVisualizeBtn{order:3!important}
.recur-templates-btn{min-height:34px!important;min-width:0!important;width:auto!important;padding:6px 11px!important;font-size:11px!important;font-weight:800!important}
.recur-template-tools{justify-content:flex-end!important;gap:7px!important}
.recur-now-btn{font-size:11px!important;font-weight:900!important;line-height:1!important;padding:6px 9px!important;min-height:29px!important;color:#4b3b00!important;background:#ffd75a!important;border-color:#d8aa16!important}
.recur-clear-all-btn{color:#d84a4a!important;border-color:rgba(216,74,74,.48)!important;background:rgba(216,74,74,.08)!important}
.recur-empty-state,.seq-empty-state{min-height:130px;display:grid;place-items:center;border:1px dashed var(--border-strong);border-radius:10px;color:var(--muted);font-size:12px;text-align:center;padding:20px;background:color-mix(in srgb,var(--surface-2) 74%,transparent)}
.v20-recur-row{padding:9px!important;display:grid!important;gap:8px!important}
.v20-recur-row .recur-row-head{margin:0!important}
.v20-recur-main{display:grid;grid-template-columns:minmax(150px,1.25fr) 74px 118px auto minmax(220px,2fr) auto;gap:7px;align-items:end}
.v20-recur-main .modal-field{min-width:0}
.v20-recur-main .recur-anchor-wrap{height:36px;white-space:nowrap;padding:0 4px}
.v20-lane-summary-wrap{display:flex;align-items:center;gap:7px;min-width:0;min-height:36px;border:1px solid var(--border);border-radius:9px;padding:6px 8px;background:var(--surface-2)}
.v20-lane-summary{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted);font-size:10.5px;line-height:1.25}
.v20-lane-schedule-btn{flex:0 0 auto;min-height:28px!important;padding:4px 8px!important;font-size:10px!important}
.v20-hidden-field{display:none!important}
.v20-lane-schedule-modal .modal-card{width:min(690px,calc(100vw - 30px));max-height:88vh;overflow:auto}
.v20-lane-schedule-grid{display:grid;grid-template-columns:150px minmax(0,1fr);gap:9px 12px;align-items:center}
.v20-lane-schedule-grid>.modal-label{margin:0}
.v20-rule-fields{display:grid;gap:8px}
.v20-inline-fields{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.v20-lane-preview{margin-top:10px;padding:9px 10px;border:1px solid var(--border);border-radius:9px;background:var(--surface-2);font-size:11px;color:var(--muted)}
.v20-lane-preview strong{color:var(--text)}
.seq-group-head [data-seq-remove]{display:none!important}
.seq-group-tools .text-btn{min-height:39px!important;padding:9px 15px!important;font-size:12px!important;font-weight:850!important}
.seq-group-tools{gap:8px!important}
#recurLoopGroupBtn:not(:disabled){background:rgba(88,145,230,.17)!important;border-color:rgba(88,145,230,.58)!important;color:var(--text)!important}
#recurLoopGroupBtn:disabled{opacity:.35!important}
.schedule-template-card h4{font-size:14px!important;line-height:1.25!important}
.schedule-template-preview{font-size:12px!important;line-height:1.45!important}
.schedule-template-type,.schedule-template-builtin{font-size:10px!important}
.template-type-toggle{position:relative;display:grid!important;grid-template-columns:1fr 1fr!important;overflow:hidden;border:1px solid var(--border);border-radius:9px}
.template-type-toggle::after{content:"";position:absolute;top:5px;bottom:5px;left:50%;width:1px;background:var(--border-strong);pointer-events:none}
.template-type-toggle .text-btn{border:0!important;border-radius:0!important;min-width:0!important}
.simple-builder-body [hidden],#simpleBuilderOnSection [hidden]{display:none!important}
.v20-simple-target-grid{display:grid;grid-template-columns:160px minmax(0,1fr);gap:8px;align-items:center}
.v20-simple-summary{padding:8px 10px;border:1px solid var(--border);border-radius:9px;background:var(--surface-2);font-size:11px;color:var(--muted)}
.v20-month-target-fields{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.v20-month-target-fields.three{grid-template-columns:1fr 1fr 1fr}
/* Exactly one recurrence icon may be visible at a time. */
.refresh-action>span{display:none!important}
body:not(.ctrl-held):not(.alt-held):not(.shift-held) .refresh-action .refresh-normal-icon{display:inline-flex!important}
body.ctrl-held:not(.alt-held):not(.shift-held) .refresh-action .refresh-catchup-icon{display:inline-flex!important}
body.ctrl-held.shift-held:not(.alt-held) .refresh-action .refresh-anchor-cyan{display:inline-flex!important}
body.ctrl-held.alt-held:not(.shift-held) .refresh-action:not(.unanchored-current) .refresh-anchor-red{display:inline-flex!important}
body.ctrl-held.alt-held:not(.shift-held) .refresh-action.unanchored-current .refresh-anchor-green{display:inline-flex!important}
body.alt-held:not(.ctrl-held):not(.shift-held) .refresh-action .refresh-edit-icon{display:inline-flex!important}
body.shift-held:not(.ctrl-held):not(.alt-held) .refresh-action .refresh-archive-icon{display:inline-flex!important}
body.ctrl-held.alt-held.shift-held .refresh-action .refresh-archive-icon{display:inline-flex!important}
body:not(.ctrl-held):not(.alt-held):not(.shift-held) .refresh-action{color:#1b9c55!important;border-color:rgba(43,174,98,.55)!important;background:rgba(45,190,105,.12)!important}
body.ctrl-held:not(.alt-held):not(.shift-held) .refresh-action{color:#30d879!important;border-color:rgba(48,216,121,.72)!important;background:rgba(48,216,121,.17)!important}
body.ctrl-held.shift-held:not(.alt-held) .refresh-action{color:#49cbd7!important;border-color:rgba(73,203,215,.72)!important;background:rgba(73,203,215,.16)!important}
body.ctrl-held.alt-held:not(.shift-held) .refresh-action:not(.unanchored-current){color:#d84a4a!important;border-color:rgba(216,74,74,.72)!important;background:rgba(216,74,74,.16)!important}
body.ctrl-held.alt-held:not(.shift-held) .refresh-action.unanchored-current{color:#28b866!important;border-color:rgba(40,184,102,.72)!important;background:rgba(40,184,102,.16)!important}
body.alt-held:not(.ctrl-held):not(.shift-held) .refresh-action{color:#d0a821!important;border-color:rgba(208,168,33,.72)!important;background:rgba(208,168,33,.16)!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,.72)!important;background:rgba(168,116,73,.16)!important}
@media(max-width:1000px){.v20-recur-main{grid-template-columns:minmax(130px,1fr) 68px 110px auto;}.v20-lane-summary-wrap{grid-column:1 / -1}.recur-text-tools{grid-template-columns:1fr!important}.recur-gpt-btn,#simpleRecurrenceBuilderBtn,#recurVisualizeBtn{order:initial!important}}
