/* Calendar events (events.js, 2026-11-21): a diamond on the month cell, a list + small form in the day view. Uses the app's own tokens. */
.cal-day .ev-dot{ position:absolute; left:6px; bottom:5px; width:7px; height:7px; transform:rotate(45deg); border-radius:1.5px; background:var(--text-dim); box-shadow:0 0 0 1px var(--panel); pointer-events:none; }
.cal-day .ev-dot.ev-goal{ background:var(--gold); }
.cal-day .ev-dot.ev-match{ background:var(--ember); }
.cal-day .ev-dot.ev-event{ background:var(--text); opacity:.8; }
.cal-legend .ev-key .ev-dot.ev-lg{ position:static; display:inline-block; width:7px; height:7px; transform:rotate(45deg); border-radius:1.5px; background:var(--text); opacity:.8; margin:0 3px 0 1px; }

.ev-day{ display:flex; flex-direction:column; gap:8px; margin:0 0 14px; }
.ev-row{ display:flex; align-items:flex-start; gap:12px; padding:11px 12px 11px 14px; border-radius:10px; background:var(--panel); border:1px solid var(--line); }
.ev-row .ev-dot{ flex:none; width:9px; height:9px; margin-top:6px; transform:rotate(45deg); border-radius:2px; background:var(--text); opacity:.85; }
.ev-row .ev-dot.ev-goal{ background:var(--gold); opacity:1; }
.ev-row .ev-dot.ev-match{ background:var(--ember); opacity:1; }
.ev-body{ flex:1; min-width:0; }
.ev-title{ font:700 15px/1.3 var(--font-ui, 'Manrope', sans-serif); color:var(--text); overflow-wrap:anywhere; }
.ev-meta{ margin-top:2px; font:600 12px/1.35 var(--font-ui, 'Manrope', sans-serif); color:var(--text-dim); letter-spacing:.01em; }
.ev-note{ margin-top:4px; font-size:13px; line-height:1.45; color:var(--text-dim); overflow-wrap:anywhere; }
.ev-del{ flex:none; width:32px; height:32px; margin:-4px -4px 0 0; border:0; border-radius:50%; background:transparent; color:var(--text-dim); font-size:20px; line-height:1; cursor:pointer; }
.ev-del:hover{ color:var(--ember); }
.ev-add{ align-self:flex-start; padding:9px 14px; border-radius:999px; border:1px dashed var(--line); background:transparent; color:var(--text-dim); font:700 12.5px/1 var(--font-ui, 'Manrope', sans-serif); cursor:pointer; }
.ev-add:hover, .ev-add[aria-expanded="true"]{ color:var(--text); border-color:var(--gold-dim); }
.ev-form{ display:flex; flex-direction:column; gap:10px; padding:14px; border-radius:12px; background:var(--panel); border:1px solid var(--line); }
.ev-input{ width:100%; box-sizing:border-box; min-height:42px; padding:9px 12px; border-radius:8px; border:1px solid var(--line); background:var(--panel-2, var(--panel)); color:var(--text); font:600 14px/1.2 var(--font-ui, 'Manrope', sans-serif); }
.ev-input:focus-visible, .ev-save:focus-visible, .ev-add:focus-visible, .ev-del:focus-visible{ outline:2px solid var(--gold); outline-offset:2px; }
.ev-row2{ display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.ev-share{ display:flex; align-items:flex-start; gap:9px; font-size:12.5px; line-height:1.4; color:var(--text-dim); }
.ev-share input{ margin-top:2px; accent-color:var(--gold); }
.ev-save{ min-height:42px; border:0; border-radius:8px; background:var(--gold); color:#14110a; font:800 13.5px/1 var(--font-ui, 'Manrope', sans-serif); cursor:pointer; }
.ev-save:disabled{ opacity:.6; }
.ev-msg{ min-height:0; font-size:12.5px; color:var(--ember); }
.ev-msg:empty{ display:none; }

/* the exact training time on the session card */
.sx-time{ font-variant-numeric:tabular-nums; }

/* plan editor: exact time next to "time of day" */
.pe-sess-opts .pe-time{ height:38px; font-size:16px; font-weight:600; padding:0 8px; }
