/**
 * todo-panel.css — the floating "Todo și alarme" panel (todo-panel.js; user, 21.10.2026, AGENTMOB D-082): over the
 * thread, in the page's palette (rag-ai.css variables, light and dark) and the menu's look (bands, cards, VOGO blue).
 * Laptop: the window's whole height against the right edge; phone: the full screen (user, 21.10.2026).
 * @file_version 1.0.3
 */
.tdp { position: fixed; z-index: 40; display: flex; flex-direction: column; background: var(--panel); color: var(--fg); border: 0; border-left: 1px solid var(--line); border-radius: 0; box-shadow: -8px 0 28px rgba(0, 0, 0, .22); overflow: hidden; }
/* Phone: the full screen, the bar under the status bar's notch */
.tdp.tdp--phone { border-left: 0; box-shadow: none; padding-top: env(safe-area-inset-top); padding-bottom: env(safe-area-inset-bottom); box-sizing: border-box; }
.tdp-bar { display: flex; align-items: center; gap: 6px; padding: 8px 10px; background: var(--vogo-icon-blue); color: #fff; }
.tdp-name { flex: 1; display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; letter-spacing: .3px; }
.tdp-bar .tdp-icon { color: #fff; border-color: rgba(255, 255, 255, .45); }
.tdp-bar .tdp-icon:hover { background: rgba(255, 255, 255, .15); }
.tdp-icon { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; padding: 0; font-size: 16px; color: var(--vogo-icon-blue); background: transparent; border: 1px solid var(--line); border-radius: 5px; cursor: pointer; text-decoration: none; }
.tdp-icon:hover { border-color: var(--acc); }
.tdp-add { display: flex; gap: 6px; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.tdp-new { flex: 1; min-width: 0; height: 34px; box-sizing: border-box; padding: 0 10px; font: inherit; font-size: 15px; color: var(--fg); background: var(--bg); border: 1px solid var(--line); border-radius: 5px; }
.tdp-new:focus { outline: none; border-color: var(--acc); }
.tdp-note { padding: 6px 12px; font-size: 13px; color: var(--muted); border-bottom: 1px solid var(--line); }
/* the anchors to the sections (user, 21.10.2026): a row of small buttons above the list */
.tdp-jump { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px 10px; border-bottom: 1px solid var(--line); }
.tdp-jump:empty { display: none; }
.tdp-anchor { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; font: inherit; font-size: 13px;
  font-weight: 700; text-transform: uppercase; letter-spacing: .4px; color: var(--vogo-icon-blue); background: transparent;
  border: 1px solid var(--line); border-radius: 5px; cursor: pointer; }
.tdp-anchor:hover { border-color: var(--acc); }
.tdp-lists { flex: 1; min-height: 0; overflow-y: auto; padding: 4px 10px 10px; position: relative; }
.tdp-section { margin-top: 8px; }
.tdp-head { padding: 4px 2px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; color: var(--vogo-icon-blue); }
.tdp-count { display: inline-block; min-width: 20px; padding: 0 6px; border-radius: 10px; font-size: 12px; text-align: center; color: #fff; background: var(--vogo-icon-blue); }
.tdp-empty { padding: 6px 2px; font-size: 14px; color: var(--muted); }
.tdp-row { display: flex; align-items: center; gap: 8px; margin-top: 6px; padding: 8px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); }
.tdp-row.late .tdp-meta { color: var(--off); }
.tdp-row.off { opacity: .55; }
.tdp-main { flex: 1; min-width: 0; }
.tdp-title { font-size: 15px; line-height: 1.3; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.tdp-meta { font-size: 12px; color: var(--muted); margin-top: 2px; }
.tdp-done { flex: none; width: 22px; height: 22px; padding: 0; border: 2px solid var(--muted); border-radius: 50%; background: transparent; cursor: pointer; }
.tdp-done:hover { border-color: var(--acc); background: var(--acc); }
.tdp-alarm-icon { flex: none; width: 22px; text-align: center; color: var(--vogo-icon-blue); font-size: 16px; }
/* The top bar's button (index.php), next to the theme switch */
.bar-btn .bi { font-size: 18px; }

/* The calendar of a todo's due date (user, 21.10.2026): an invisible date field next to its button; only its
   picker shows. */
.tdp-date-input { position: absolute; width: 1px; height: 1px; opacity: 0; border: 0; padding: 0; }
