.year-request-tools { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:5px 14px; margin:0 0 10px; color:var(--text-muted,#4b6575); font-size:12px; }
.year-request-tools[hidden], .year-range-cancel[hidden] { display:none; }
.year-range-cancel { font-size:12px; padding:5px 9px; }
.year-table .year-week-link { display:block; width:100%; padding:2px; border:0; background:transparent; color:inherit; text-align:inherit; font:inherit; cursor:pointer; }
.year-table .year-week-link:hover { color:var(--primary,#164b70); text-decoration:underline; }
.year-table .year-week-link:focus-visible { outline:2px solid var(--primary,#164b70); outline-offset:-1px; }
.year-table .year-request-plus { position:absolute; z-index:8; top:0; left:0; width:19px; height:19px; display:flex; align-items:center; justify-content:center; padding:0; border:0; border-radius:3px; background:transparent; box-shadow:none; color:var(--text-muted,#4b6575); line-height:0; cursor:pointer; opacity:0; transition:opacity .1s,color .1s; }
.year-table .year-request-plus svg { width:15px; height:15px; fill:currentColor; pointer-events:none; }
.year-table .year-cell:hover .year-request-plus, .year-table .year-request-plus:focus-visible, .year-table .year-touch-active .year-request-plus { opacity:.65; }
.year-table .year-cell:hover .year-request-plus[aria-pressed="true"], .year-table .year-touch-active .year-request-plus[aria-pressed="true"], .year-table .year-request-plus:active, .year-table .year-request-plus:focus-visible { opacity:1; color:var(--primary,#164b70); }
.year-range-picking .year-range-selected:hover .year-request-plus, .year-range-picking .year-range-selected.year-touch-active .year-request-plus { opacity:1; color:var(--primary,#164b70); }
.year-table .year-request-plus:focus-visible { outline:2px solid var(--primary,#164b70); outline-offset:-1px; }
.year-pending-requests { position:absolute; inset:0; z-index:1; display:flex; flex-direction:column; gap:1px; overflow:hidden; }
.year-table .year-pending-request { flex:1; min-height:0; width:100%; padding:0; border:0; background:repeating-linear-gradient(135deg,transparent 0 4px,rgba(32,62,89,.2) 4px 6px),color-mix(in srgb,var(--year-request-color,#bdd5e8) 38%,white); cursor:pointer; color:#16384f; font:inherit; }
.year-table .year-pending-request:focus-visible { outline:2px solid #173d5c; outline-offset:-2px; }
.year-table .year-cell .cell-note-btn { z-index:5; }
/* Keep thousands of note buttons in the accessibility tree while picking a
   range; visibility:hidden would rebuild that tree on every start/cancel. */
.year-range-picking .cell-note-btn { opacity:0 !important; pointer-events:none !important; }
.year-range-picking .year-pending-requests { pointer-events:none; }
.year-table .year-range-selected { background-image:repeating-linear-gradient(135deg,transparent 0 4px,rgba(32,62,89,.25) 4px 6px) !important; background-color:color-mix(in srgb,var(--year-selection-color,#bdd5e8) 38%,white) !important; box-shadow:inset 1px 0 #4f7e9e,inset -1px 0 #4f7e9e; }
.year-range-selected .year-pending-requests { opacity:.3; }
.year-table .year-range-endpoint { outline:2px solid #345f7f; outline-offset:-2px; }
.year-range-hours { position:absolute; z-index:9; right:1px; bottom:0; padding:0 2px; max-width:100%; font-size:9px; line-height:13px; font-weight:700; color:#10344e; background:rgba(255,255,255,.92); border-radius:2px; pointer-events:none; white-space:nowrap; }
.year-navigation-target { outline:2px solid #355f7f; outline-offset:-2px; }
@media (hover:none), (pointer:coarse) {
  .year-table .year-request-plus { width:28px; height:27px; }
  .year-table .year-request-plus svg { width:17px; height:17px; }
  .year-table .year-cell { min-width:48px; height:44px; }
  .year-table .year-week-link { min-height:40px; }
  .year-range-hours { font-size:10px; line-height:15px; }
  .year-request-tools { grid-template-columns:minmax(0,1fr); }
  .year-range-cancel { justify-self:start; }
}
