
  .timer-bulk-update,.clear-alerts-btn{padding:5px 8px;font-size:11px;white-space:nowrap}
  .timer-bulk-update{background:rgba(76,196,210,.14);border-color:rgba(76,196,210,.48)}
  .clear-alerts-btn{background:rgba(220,70,70,.12);border-color:rgba(220,70,70,.45)}
  #timerFilterBtn.expired-attention{background:rgba(220,60,60,.17);border-color:rgba(220,60,60,.55)}
  @keyframes expiredFilterFlash{0%,49%{background:rgba(218,50,50,.52);color:#fff}50%,100%{background:transparent;color:inherit}}
  #filterExpiredSelect.expired-filter-attention{animation:expiredFilterFlash 2s steps(1,end) infinite;border-color:#d33}
  @keyframes subtreeExpiredFlash{0%,49%{color:#f4c542;font-weight:900}50%,100%{color:inherit;font-weight:inherit}}
  .subtask-indicator.subtree-expired-alert{animation:subtreeExpiredFlash 2s steps(1,end) infinite}
  .archive-action{color:#9a7400!important;border-color:rgba(206,162,30,.48)!important;background:rgba(230,185,44,.12)!important}
  .archive-action.recently-restored{color:#1f8f88!important;border-color:rgba(76,199,190,.55)!important;background:rgba(93,214,204,.16)!important}
  .archive-action .recur-hover-icon{display:none}.alt-held .archive-action .archive-default-icon{display:none}.alt-held .archive-action .recur-hover-icon{display:block}.alt-held .archive-action{color:#b68b00!important;background:rgba(241,197,52,.20)!important}
  .refresh-action{color:#1b9c55!important;border-color:rgba(43,174,98,.55)!important;background:rgba(45,190,105,.12)!important}
  .refresh-action .refresh-anchor-icon{display:none}.ctrl-held .refresh-action .refresh-normal-icon{display:none}.ctrl-held:not(.shift-held) .refresh-action .refresh-anchor-cyan{display:block;color:#49cbd7}.ctrl-held.shift-held .refresh-action .refresh-normal-icon{display:none}.ctrl-held.shift-held .refresh-action .refresh-anchor-green{display:block;color:#28b866}.ctrl-held.shift-held .refresh-action.unanchored-current .refresh-anchor-green{display:none}.ctrl-held.shift-held .refresh-action.unanchored-current .refresh-anchor-yellow{display:block;color:#e1b52c}
  .reload-expired-btn{color:#5b8dd8!important;border-color:rgba(74,127,205,.5)!important}
  .recur-mini{font-size:10px;line-height:1.15;color:var(--muted);margin-bottom:2px;display:flex;gap:4px;align-items:center;min-height:11px}.recur-mini svg{width:11px;height:11px;stroke:currentColor;fill:none;stroke-width:1.8}
  .overdue-text{color:#d63e3e;font-weight:800;margin-left:5px}.overdue-exp-time{color:#d63e3e}
  .clock-adjust-btn{border:1px solid rgba(74,202,214,.55);background:rgba(74,202,214,.12);color:inherit;border-radius:7px;padding:3px 6px;font-size:10px;font-weight:750}
  .filter-advanced-body{display:grid;gap:10px;max-height:58vh;overflow:auto;padding-right:3px}.filter-block{border:1px solid var(--border);border-radius:10px;padding:10px;display:grid;gap:9px}.filter-block-title{font-weight:850;font-size:12px}.filter-excludes{background:rgba(200,80,80,.035)}.filter-two-col{display:grid;grid-template-columns:1fr 1fr;gap:8px}.filter-inline{display:grid;grid-template-columns:70px 1fr;gap:6px}.modal-input.compact{min-width:0}
  .archived-tasks-head-btn{margin-left:auto;margin-right:6px;background:rgba(227,184,47,.13);border-color:rgba(227,184,47,.45);color:#9a7400}
  .archive-modal .modal-card{width:min(760px,calc(100vw - 40px));height:min(72vh,720px);display:flex;flex-direction:column}.archive-filter-grid{display:grid;grid-template-columns:1.4fr 1.2fr repeat(2,minmax(110px,.8fr));gap:7px}.archive-search-wide{grid-column:span 2}.archive-toolbar{display:flex;justify-content:space-between;align-items:center;margin:8px 0;font-size:11px;color:var(--muted)}.archive-list{overflow:auto;display:grid;gap:7px;padding-right:3px;flex:1}.archive-card{border:1px solid var(--border);border-radius:10px;padding:8px 9px;background:var(--surface-2);display:grid;gap:6px}.archive-card.archive-selected{outline:2px solid rgba(68,130,226,.7);outline-offset:1px}.archive-card-head{display:flex;gap:8px;align-items:center}.archive-card-main{min-width:0;flex:1}.archive-title{font-weight:800;overflow-wrap:anywhere}.archive-meta{font-size:10px;color:var(--muted);margin-top:2px}.archive-actions{display:flex;gap:5px}.archive-restore-btn{background:rgba(75,205,190,.15);border-color:rgba(75,205,190,.5)}.archive-old-structure-btn{background:rgba(116,91,201,.13);border-color:rgba(116,91,201,.45);color:inherit}.archive-old-structure{border-left:3px solid rgba(116,91,201,.45);padding:5px 8px;background:rgba(116,91,201,.08);font-size:11px;display:grid;gap:4px}.archive-old-parent{color:#7767b8}.archive-old-child{padding-left:12px}.archive-branch{margin-left:18px;display:grid;gap:4px}.archive-branch-node{font-size:11px;padding:4px 6px;border:1px dashed var(--border);border-radius:7px}.archive-branch[hidden]{display:none}
  .recur-modal .modal-card{width:min(980px,calc(100vw - 36px));max-height:88vh;overflow:auto}.recur-text-input{resize:vertical;min-height:72px}.syntax-error{border-color:#d22!important;box-shadow:0 0 0 1px rgba(210,30,30,.28)}.recur-divider{display:flex;align-items:center;gap:8px;margin:10px 0;color:var(--muted);font-size:11px}.recur-divider:before,.recur-divider:after{content:"";height:1px;background:var(--border);flex:1}.recur-manual-rows{display:grid;gap:7px}.recur-row{display:grid;grid-template-columns:90px 120px 130px minmax(150px,1fr) 110px 95px 32px;gap:6px;align-items:end;padding:7px;border:1px solid var(--border);border-radius:9px}.recur-row .tiny{font-size:9px;color:var(--muted);margin-top:3px}.recur-anchor-wrap{display:flex;align-items:center;gap:5px;height:34px;font-size:11px}.recur-remove-row{height:34px}.recur-manual-tools{display:flex;justify-content:space-between;gap:8px;margin-top:8px}.recur-visualize-btn{background:rgba(59,194,211,.15);border-color:rgba(59,194,211,.5)}
  .history-type-toggle{width:100%;justify-content:flex-start;font-weight:800}.history-type-filters-body{margin-top:7px}.history-type-list{display:block!important;column-count:4;column-gap:18px}.history-type-option{break-inside:avoid;display:flex!important;width:100%;margin:0 0 4px;gap:5px}.history-type-count{margin-left:auto;color:var(--muted);font-size:10px}
  body.dark{--page-bg-force:#0D0E10}
  @media(max-width:900px){.filter-two-col,.archive-filter-grid{grid-template-columns:1fr}.archive-search-wide{grid-column:auto}.recur-row{grid-template-columns:1fr 1fr}.history-type-list{column-count:2}}
