/* Plan: the selection's totals, Tell Me in the title bar, the recurring
   task dialog, inactive tasks and Task Path. Read after the page's own
   rules, which it builds on. */
#pnSelSum { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--pn-ink); }
#pnSelSum[hidden] { display: none; }

/* Tell Me, in the title bar, as Project has it. */
.pn-tell { position: relative; flex: 0 1 260px; min-width: 120px; margin-right: 84px; }
.pn-tell input { width: 100%; height: 22px; padding: 0 8px; border: 1px solid transparent; border-radius: var(--radius-sm); background: var(--pn-title-hover); color: var(--pn-title-ink); font: inherit; font-size: var(--text-2xs); }
.pn-tell input::placeholder { color: var(--pn-title-ink); opacity: .7; }
.pn-tell input:focus { outline: none; border-color: var(--pn-accent); background: var(--pn-panel); color: var(--pn-ink); }
.pn-tell-list { position: absolute; top: 26px; left: 0; right: 0; z-index: 60; display: flex; flex-direction: column; padding: 4px 0; border: 1px solid var(--pn-line); border-radius: var(--radius-sm); background: var(--pn-panel); color: var(--pn-ink); }
.pn-tell-list[hidden] { display: none; }
.pn-titlebar .pn-tell-list button { display: block; width: 100%; height: auto; min-height: 28px; padding: 4px 10px; border-radius: 0; text-align: left; color: var(--pn-ink); font-size: var(--text-2xs); }
.pn-titlebar .pn-tell-list button[aria-selected="true"], .pn-titlebar .pn-tell-list button:hover { background: var(--pn-sel); }
.pn-tell-list small { color: var(--pn-soft); margin-left: 6px; }
.pn-tell-none { padding: 6px 10px; color: var(--pn-soft); }
.pn-title { padding-right: 12px; }
.rc-dayrow { display: flex; flex-wrap: wrap; gap: 4px 12px; }
.rc-dayrow label { display: inline-flex; align-items: center; gap: 4px; }
.dlg-note { color: var(--pn-soft); margin: 6px 0 0; }
.dlg-table .num { text-align: right; font-variant-numeric: tabular-nums; }
tr.is-inactive td { color: var(--pn-faint); text-decoration: line-through; }
.gc-row.is-inactive rect[data-id], .gc-row.is-inactive path[data-id] { fill: none; stroke: var(--pn-faint); stroke-dasharray: 3 2; }
.gc-row.is-pathp rect.gc-bar, .gc-row.is-pathp rect.gc-crit, .gc-row.is-pathp path.gc-ms, .gc-row.is-pathp path.gc-mscrit { fill: var(--pn-today); stroke: var(--pn-today); }
.gc-row.is-paths rect.gc-bar, .gc-row.is-paths rect.gc-crit, .gc-row.is-paths path.gc-ms, .gc-row.is-paths path.gc-mscrit { fill: var(--pn-deadline); stroke: var(--pn-deadline); }
@media (max-width: 700px) { .pn-tell { display: none; } }

/* Rows are dragged by their number; a line shows where they will go. */
#pnSheet th.sh-id { cursor: grab; }
#pnSheet.is-row-dragging, #pnSheet.is-row-dragging th.sh-id { cursor: grabbing; }
#pnSheet.is-no-drop, #pnSheet.is-no-drop th.sh-id { cursor: no-drop; }
.sh-drop { position: absolute; z-index: 3; height: 2px; background: var(--pn-accent); pointer-events: none; }
