/* New plan (new.js) */
.dcp .newp { max-width: 660px; width: 100%; margin: 0 auto; padding: 14px 6px 8px; text-align: left; }
.dcp .newp .nhead { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; margin: 0 0 12px; }
.dcp .newp h2 { margin: 0; font-size: 20px; }
.dcp .newp .fl { grid-template-columns: 112px minmax(0, 1fr); align-items: start; margin: 0 0 12px; }
.dcp .newp .fl > span:first-child { padding-top: 7px; }
.dcp .newp .fl > .in, .dcp .newp .fl > select.in, .dcp .newp .fl > .seg, .dcp .newp .fl > .row { justify-self: start; max-width: 100%; }
.dcp .newp .fl > .in[type=text] { width: 22em; }
.dcp .newp .col { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.dcp .newp .parts .opt { margin: 0 0 4px; padding: 7px 10px; }
.dcp .newp .prow { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; align-items: baseline; }
.dcp .newp .prow b { display: inline; }
.dcp .newp .n { font-variant-numeric: tabular-nums; text-align: right; }
.dcp .newp .days { display: inline-flex; gap: 4px; }
.dcp .newp .dy { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--dc-line); background: var(--dc-bg); color: var(--dc-muted);
  font-weight: 650; cursor: pointer; padding: 0; margin: 0; box-shadow: none; }
.dcp .newp .dy.on { background: var(--dc-accent); border-color: var(--dc-accent); color: var(--dc-accent-ink); }
.dcp .newp .nsum { background: var(--dc-well); border-radius: 12px; padding: 10px 12px; margin: 4px 0 12px; display: grid; gap: 4px; }
.dcp .newp .nl { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto 56px; gap: 8px; font-size: 13.5px; }
.dcp .newp .bad { color: var(--dc-hours); }
/* 3.9.6, day one: the plan laid out set by set, as the board's path draws it (no Pip in the plan window) */
.dcp .newp .npath { display: flex; gap: 3px; align-items: center; height: 14px; margin: 8px 0 2px; }
.dcp .newp .npath.g2 { gap: 2px; } .dcp .newp .npath.g1 { gap: 1px; } .dcp .newp .npath.g0 { gap: 0; }
.dcp .newp .npath i { flex: 1 1 0; min-width: 0; height: 8px; border-radius: 3px; background: var(--dc-accent); opacity: .38;
  display: block; transform-origin: 0 50%; }
.dcp .newp .npath.g1 i, .dcp .newp .npath.g0 i { border-radius: 1px; }
.dcp .newp .npath i:first-child { opacity: 1; height: 12px; background: var(--dc-well); box-shadow: inset 0 0 0 2px var(--dc-accent); }
.dcp .newp .npath em { flex: none; box-sizing: border-box; width: 9px; height: 9px; margin: 0 2px 0 4px; transform: rotate(45deg);
  border: 2px solid var(--dc-ink); border-radius: 2px; }
.dcp .newp .nppl { display: flex; justify-content: space-between; gap: 10px; font-size: 11px; color: var(--dc-muted); margin: 0 0 6px; }
@media (prefers-reduced-motion: no-preference) {
  .dcp .newp .npath.jin i { animation: dcp-seg .34s cubic-bezier(.34, 1.56, .64, 1) var(--d, 0s) both; }
  .dcp .newp .npath.jin em { animation: dcp-dia .34s cubic-bezier(.34, 1.56, .64, 1) var(--d, 0s) both; }
  .dcp .newp .npath.jin + .nppl { animation: dcp-fade .3s ease-out var(--d, 0s) both; }
  @keyframes dcp-seg { from { opacity: 0; transform: scale(.2, .5); } }
  @keyframes dcp-dia { from { opacity: 0; transform: rotate(45deg) scale(.2); } to { transform: rotate(45deg); } }
  @keyframes dcp-fade { from { opacity: 0; transform: translateY(3px); } to { opacity: 1; transform: none; } }
}
.dcp .newp .nfoot { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; border-top: 1px solid var(--dc-line); padding-top: 12px; margin-top: 4px; }
.dcp .newp .nfoot .in { flex: 1 1 220px; }
.dcp .newp .nsaid { margin-top: 10px; color: var(--dc-muted); }
@media (max-width: 760px) { .dcp .newp .fl { grid-template-columns: minmax(0, 1fr); } .dcp .newp .fl > span:first-child { padding-top: 0; } }
