/* Projects Home and the Projects-focused Home (2026-10-17 design preview). 18px base, generous spacing. */
.ph-page { max-width: 1240px; font-size: 18px; color: #0f172a; }
.ph-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.ph-head h1:focus { outline: none; }
.ph-head h1 { font-size: 30px; font-weight: 700; margin: 0; line-height: 1.2; }
.ph-sub { margin: 4px 0 0; color: #475569; font-size: 17px; }
.ph-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.ph-page .btn { font-size: 17px; border-radius: 999px; padding: 8px 18px; }
.ph-page .btn-outline-primary { border: 1.5px solid #1d4ed8; color: #1d4ed8; background: #fff; }
.ph-page .btn-outline-primary:hover { background: #1d4ed8; color: #fff; }
.ph-card { background: #fff; border: 1px solid #dfe3ea; border-radius: 14px; padding: 18px 20px; margin-bottom: 16px; min-width: 0; }
.ph-card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.ph-card-head h2 { font-size: 21px; font-weight: 700; margin: 0; }
.ph-card-head a, .ph-more { font-size: 16px; font-weight: 600; }
.ph-lanes { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; }
.ph-lane { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border-radius: 12px; background: #f8fafc; border: 1px solid #e2e8f0; border-top: 5px solid var(--lane); color: #0f172a; text-decoration: none; }
.ph-lane:hover, .ph-lane:focus-visible { background: #eef2ff; }
.ph-lane-n { font-size: 30px; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.ph-lane-t { font-size: 16px; color: #334155; font-weight: 600; }
.ph-lane-active { background: #f0fdfa; }
.ph-note { font-size: 15px; color: #64748b; margin: 10px 0 0; }
.ph-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; align-items: start; }
.ph-list { list-style: none; margin: 0; padding: 0; }
.ph-list li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 9px 0; border-top: 1px solid #eef0f4; }
.ph-list li:first-child { border-top: 0; }
.ph-list a { font-weight: 600; color: #1d4ed8; text-decoration: none; }
.ph-list a:hover { text-decoration: underline; }
.ph-meta { font-size: 16px; color: #475569; }
.ph-date { font-size: 15px; font-weight: 700; color: #1e3a8a; background: #e0e7ff; border-radius: 6px; padding: 1px 8px; font-variant-numeric: tabular-nums; }
.ph-date.late, .ph-pill.late { background: #fee2e2; color: #991b1b; }
.ph-pill { font-size: 14px; font-weight: 700; border-radius: 999px; padding: 1px 10px; }
.ph-pill.soon { background: #fef3c7; color: #92400e; }
.ph-empty { color: #64748b; margin: 0; }
.ph-big { font-size: 40px; font-weight: 700; margin: 0; line-height: 1; color: #b45309; }
.ph-recon p { margin: 6px 0 12px; }
@media (max-width: 1100px) { .ph-lanes { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 820px) { .ph-grid { grid-template-columns: minmax(0, 1fr); } .ph-lanes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .ph-page { font-size: 17px; } .ph-head h1 { font-size: 26px; } .ph-card { padding: 14px; } .ph-actions .btn { flex: 1; text-align: center; } }
/* 2026-10-18: the Projects dashboard (Pipeline Report metrics) — scope toggle, period chips, lane doors, stat tiles. */
.ph-scope { display: inline-flex; border: 1.5px solid #1d4ed8; border-radius: 999px; overflow: hidden; }
.ph-seg { border: 0; background: #fff; color: #1d4ed8; font-size: 17px; font-weight: 600; padding: 7px 18px; cursor: pointer; }
.ph-seg.on { background: #1d4ed8; color: #fff; }
.ph-seg:disabled { color: #94a3b8; cursor: not-allowed; background: #f8fafc; }
.ph-seg:focus-visible, .ph-chip:focus-visible { outline: 3px solid #93c5fd; outline-offset: 2px; }
.ph-presets { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0 2px; }
.ph-chip { border: 1px solid #cbd5e1; background: #fff; color: #334155; border-radius: 999px; font-size: 15px; padding: 4px 12px; cursor: pointer; }
.ph-chip.on { background: #e0e7ff; border-color: #1d4ed8; color: #1e3a8a; font-weight: 700; }
.ph-lane-d { font-size: 14px; color: #64748b; }
.ph-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-top: 10px; }
.ph-stat { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border: 1px solid #e2e8f0; border-radius: 12px; background: #fff; color: #0f172a; text-decoration: none; }
.ph-stat:hover, .ph-stat:focus-visible { background: #eef2ff; }
.ph-stat b { font-size: 24px; font-variant-numeric: tabular-nums; }
.ph-stat span { font-size: 15px; color: #475569; }
.ph-lanes { grid-template-columns: repeat(6, minmax(0, 1fr)); }
@media (max-width: 1100px) { .ph-lanes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 480px) { .ph-scope { display: flex; } .ph-seg { flex: 1; } }
