@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,500;1,6..72,400&family=Inter:wght@400;500;600&display=swap');
html, body { margin: 0; background: #F8F4EE; }
.pd { --paper: #F8F4EE; --stone: #D7CEC4; --ink: #141414; --gray: #4A4A4A; --gold: #C8A27D; --gold-dark: #7E5F3D; --pink: #FEAFB4; --pink-light: #FFE3E5; --green: #2F6B4F; --red: #A23B32;
      --serif: 'Newsreader', Georgia, serif; --sans: 'Inter', system-ui, sans-serif;
      --r: 16px; --r-sm: 10px; --shadow: 0 1px 2px rgba(20,20,20,.04), 0 8px 24px rgba(20,20,20,.06); --shadow-up: 0 2px 4px rgba(20,20,20,.05), 0 14px 32px rgba(20,20,20,.10); --line: rgba(215,206,196,.7); --ease: cubic-bezier(.2,.8,.2,1);
      max-width: 76rem; margin-inline: auto; background: var(--paper); color: var(--ink); font-family: var(--sans); padding-bottom: 12px; position: relative; min-height: 100vh; }

/* Header */
.pd-head { background: var(--ink); color: var(--paper); padding: 18px 32px; position: relative; display: grid; gap: 4px; }
.pd-refresh { position: absolute; top: 16px; right: 20px; min-height: 36px; padding: 6px 16px; background: transparent; color: var(--paper); border: 1px solid var(--gold); border-radius: 999px; font: 600 14px var(--sans); cursor: pointer; transition: background .2s var(--ease), color .2s var(--ease); }
.pd-refresh:hover { background: var(--gold); color: var(--ink); }
.pd-refresh:disabled { opacity: .5; cursor: progress; }
.pd-eyebrow { display: flex; align-items: center; gap: 16px; font-size: 16px; letter-spacing: 5px; text-transform: uppercase; font-weight: 600; color: var(--gold); margin: 0; padding-right: 120px; }
.pd-eyebrow::before { content: ""; width: 56px; height: 2px; background: var(--gold); }
.pd-updated { color: var(--stone); font-size: 12px; margin: 2px 0 0; }
.pd-updated a { color: var(--stone); }
.pd-clocks { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 20px; margin: 10px 0 0; }
.pd-clock { display: grid; gap: 2px; text-align: right; }
.pd-clock small { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; font-weight: 600; color: var(--gold); }
.pd-clock b { font-family: var(--serif); font-weight: 500; font-size: 18px; line-height: 1; font-variant-numeric: tabular-nums; color: var(--paper); }
.pd-clock span { font-size: 11px; color: var(--stone); }
@media (min-width: 56rem) {
  .pd-head { min-height: 96px; padding-right: 520px; box-sizing: border-box; align-content: center; }
  .pd-clocks { position: absolute; right: 150px; top: 50%; transform: translateY(-50%); margin: 0; }
  .pd-refresh { top: 50%; transform: translateY(-50%); }
}

/* Settings */
.pd-settings { display: grid; gap: 12px; max-width: 40rem; }
.pd-setting-row { display: grid; grid-template-columns: 2rem minmax(0, 1fr) minmax(0, 1.4fr); gap: 10px; align-items: center; }
.pd-setting-row b { font-family: var(--serif); font-size: 20px; color: var(--gold); }

/* Controls */
.pd-input, .pd-select, .pd-textarea { min-height: 40px; padding: 6px 10px; font: 500 14px var(--sans); color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); width: 100%; box-sizing: border-box; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.pd-textarea { min-height: 72px; font-weight: 400; background: var(--paper); resize: vertical; padding: 8px 10px; }
.pd-input:focus, .pd-select:focus, .pd-textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200,162,125,.25); }
.pd-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.pd-btn { min-height: 40px; padding: 8px 18px; font: 600 14px var(--sans); cursor: pointer; border: 1px solid var(--ink); background: var(--ink); color: var(--paper); border-radius: 999px; transition: background .2s var(--ease), color .2s var(--ease), transform .15s var(--ease); }
.pd-btn.pd-btn-ghost { background: transparent; color: var(--ink); }
.pd-btn.pd-btn-ghost:hover { background: var(--ink); color: var(--paper); }
.pd-btn:active { transform: scale(.97); }
.pd-btn-small { min-height: 32px; padding: 4px 12px; font-size: 13px; }
.pd-btn:disabled { opacity: .5; cursor: progress; }
.pd-btn-link { display: inline-flex; align-items: center; text-decoration: none; }
.pd-saved { font-size: 13px; color: var(--green); align-self: center; display: inline-flex; align-items: center; gap: 6px; }
.pd-saved:not(:empty)::before { content: "✓"; display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--green); color: #fff; font-size: 11px; font-weight: 700; animation: pdPop .4s cubic-bezier(.3,1.6,.5,1) both; }
.pd-err { font-size: 13px; color: var(--red); }
.pd-titlebtn { all: unset; cursor: pointer; font: 500 15px var(--sans); line-height: 1.4; text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.pd-titlebtn:hover { text-decoration-color: var(--ink); }
.pd-titlebtn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.pd-side { display: grid; justify-items: end; gap: 8px; }
.pd-linkbtn { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-align: left; }
.pd-linkbtn.pd-link { display: inline; }

/* Modal */
.pd-overlay { position: absolute; inset: 0; z-index: 20; background: rgba(20, 20, 20, .55); display: none; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.pd-overlay.is-open { display: block; }
.pd-modal { box-sizing: border-box; min-width: 0; overflow-wrap: anywhere; position: absolute; left: 0; right: 0; margin: 0 auto; background: var(--paper); color: var(--ink); width: min(36rem, calc(100% - 32px)); max-height: min(85vh, 680px); overflow: auto; padding: 28px 28px 24px; display: grid; gap: 14px; border-radius: 22px; box-shadow: 0 24px 60px rgba(20,20,20,.25); }
.pd-modal::before { content: ""; position: absolute; left: 28px; right: 28px; top: 0; height: 4px; border-radius: 0 0 4px 4px; background: var(--pink); }
.pd-overlay.is-open .pd-modal { animation: pdRise .3s var(--ease) both; }
.pd-overlay.is-open .pd-modal.pd-still { animation: none; }
.pd-modal h3 { margin: 0; padding-right: 32px; font-family: var(--serif); font-weight: 500; font-size: 24px; line-height: 1.2; }
.pd-modal-body { display: grid; gap: 10px; font-size: 15px; line-height: 1.5; }
.pd-modal-body p { margin: 0; }
.pd-modal-x { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border: 0; background: transparent; font-size: 26px; line-height: 1; cursor: pointer; color: var(--ink); }

/* Layout */
.pd-bar { position: sticky; top: 0; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; background: rgba(248,244,238,.78); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); border-bottom: 1px solid var(--line); padding: 10px 32px; min-width: 0; }
.pd-tabs { display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 4px; min-width: 0; }
.pd-tab { min-height: 40px; padding: 8px 14px; background: transparent; border: 0; border-radius: 999px; font: 600 14px var(--sans); color: var(--gray); cursor: pointer; white-space: nowrap; display: inline-flex; align-items: center; gap: 10px; transition: background .2s var(--ease), color .2s var(--ease); }
.pd-tab:hover { color: var(--ink); background: rgba(255,255,255,.7); }
.pd-tab.is-on { color: var(--ink); background: var(--pink-light); }
.pd-tab .pd-ico { opacity: .7; }
.pd-tab.is-on .pd-ico { opacity: 1; }
.pd-tab.has-dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 2px var(--paper); margin-left: auto; }
.pd-filter { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--gold-dark); min-width: 0; }
.pd-filter-label { font-size: 12px; font-weight: 600; color: var(--gold-dark); }
.pd-view { min-width: 0; }
@media (min-width: 60rem) {
  .pd-shell { display: grid; grid-template-columns: 14rem minmax(0, 1fr); align-items: start; }
  .pd-bar { flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 18px; padding: 24px 14px; border-bottom: 0; border-right: 1px solid var(--line); min-height: 70vh; box-sizing: border-box; width: 14rem; overflow: hidden; }
  .pd-tabs { flex-direction: column; overflow: visible; gap: 2px; }
  .pd-tab { text-align: left; padding: 10px 14px; width: 100%; box-sizing: border-box; overflow: hidden; text-overflow: ellipsis; }
  .pd-tab.is-on { box-shadow: inset 3px 0 0 var(--pink); }
  .pd-filter { flex-direction: column; align-items: stretch; gap: 6px; }
}
@media (max-width: 60rem) {
  .pd-find { flex: 1 1 100%; order: -1; }
  .pd-filter { flex: 1 1 14rem; }
  .pd-tab { padding: 8px 12px; font-size: 13px; }
}

/* Sections */
.pd-sec { padding: 36px 36px 30px; }
.pd-sec h2 { font-family: var(--serif); font-weight: 500; font-size: 28px; line-height: 1.15; margin: 0; position: relative; padding-left: 16px; }
.pd-sec h2::before { content: ""; position: absolute; left: 0; top: .2em; bottom: .2em; width: 4px; background: var(--pink); }
.pd-sec .pd-note { color: var(--gray); font-size: 14.5px; margin: 6px 0 20px; }
.pd-dark { background: var(--ink); color: var(--paper); margin: 8px 28px; border-radius: 22px; }
.pd-dark .pd-note { color: var(--stone); }
.pd-dark .pd-list li { border-bottom-color: #3A3A3A; align-items: center; }
.pd-dark .pd-sub { color: var(--stone); font-size: 13px; }
.pd-dark .pd-right { color: var(--stone); font-weight: 400; }
.pd-sec-tiles { padding-top: 4px; padding-bottom: 28px; }
@media (max-width: 40rem) { .pd-head, .pd-sec, .pd-bar { padding-left: 18px; padding-right: 18px; } .pd-dark { margin: 8px 12px; } }

.pd-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pd-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--stone); }
.pd-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.pd-main { display: grid; gap: 6px; font-size: 15.5px; line-height: 1.4; min-width: 0; }
.pd-link { color: inherit; text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.pd-link:hover { text-decoration-color: var(--ink); }
.pd-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.pd-tag { justify-self: start; background: var(--pink-light); color: var(--ink); font-size: 12px; font-weight: 500; padding: 3px 10px; border-radius: 999px; }
.pd-tag.pd-tag-plain { background: transparent; border: 1px solid var(--stone); }
.pd-pill { font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--stone); color: var(--ink); white-space: nowrap; }
.pd-pill.pd-ok { background: #DCEBE2; color: var(--green); }
.pd-pill.pd-bad { background: #F6DAD7; color: var(--red); }
.pd-pill.pd-wait { background: var(--pink-light); }
.pd-pill.pd-new { background: #FBEFC4; color: #7A5B00; }
.pd-right { font-variant-numeric: tabular-nums; white-space: nowrap; font-size: 14px; font-weight: 600; color: var(--gold-dark); }
.pd-empty { color: var(--gray); font-size: 14px; font-style: italic; margin: 0; }
.pd-seeall { margin: 18px 0 0; font-size: 15px; font-weight: 600; }
.pd-big { font-family: var(--serif); font-size: 40px; line-height: 1; color: var(--gold); margin-right: 6px; }
.pd-meta { font-size: 13px; color: var(--gray); line-height: 1.5; overflow-wrap: anywhere; }
.pd-late { color: var(--red); }

/* Today strip */
.pd-today { background: var(--stone); border-radius: 22px; margin: 8px 28px 20px; padding: 18px 22px; }
@media (max-width: 40rem) { .pd-today { margin: 8px 12px 16px; } }
.pd-update-line { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 15px; }
.pd-update-label { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; font-weight: 600; color: var(--gold-dark); }
.pd-update-all { margin-left: auto; font-size: 13px; color: var(--gray); }

/* Goals and trends */
.pd-goals { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr)); gap: 24px 16px; }
.pd-goal { display: grid; gap: 6px; justify-items: center; align-content: start; text-align: center; }
.pd-ring { width: 100%; max-width: 9rem; min-height: 6rem; margin-bottom: 4px; }
.pd-label { font-size: 14px; font-weight: 500; }
.pd-of { font-size: 13px; color: var(--gray); font-variant-numeric: tabular-nums; }
.pd-key { display: inline-block; width: 8px; height: 8px; margin-right: 5px; vertical-align: middle; }
.pd-key-pink { background: var(--pink); } .pd-key-gold { background: var(--gold); } .pd-key-ink { background: var(--gray); }
.pd-trends { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: 12px; }
.pd-trend { background: #fff; padding: 14px 16px; display: grid; gap: 6px; position: relative; }
.pd-trend h3 { margin: 0; font-size: 14px; font-weight: 600; }
.pd-trend-chart { min-height: 90px; position: relative; }
.pd-tip { position: absolute; top: 0; pointer-events: none; background: var(--ink); color: var(--paper); font-size: 12px; padding: 3px 7px; white-space: nowrap; transform: translateX(-50%); }
.pd-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr)); gap: 8px; margin: 0 0 18px; }
.pd-stat { background: var(--ink); color: var(--paper); padding: 14px 16px; display: grid; gap: 4px; border-radius: var(--r); }
.pd-stat .pd-big { margin: 0; }
.pd-stat small { color: var(--stone); font-size: 13px; }
.pd-day { margin: 18px 0 8px; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; font-weight: 600; color: var(--gold-dark); }
.pd-day:first-child { margin-top: 0; }

/* Cards and project page */
.pd-cards { display: grid; grid-template-columns: 1fr; gap: 12px; }
.pd-card { background: #fff; padding: 16px; display: grid; gap: 10px; align-content: start; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.pd-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-up); }
.pd-card p { margin: 0; font-size: 14px; line-height: 1.45; }
.pd-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14px; }
.pd-card li { display: flex; justify-content: space-between; gap: 10px; }
.pd-card-links { display: flex; flex-wrap: wrap; gap: 14px; font-size: 14px; font-weight: 600; }
.pd-subhead { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; font-weight: 600; color: var(--gold-dark); margin: 0 0 10px; }
.pd-cardbtn { all: unset; cursor: pointer; font-family: var(--serif); font-weight: 500; font-size: 20px; line-height: 1.2; }
.pd-cardbtn:hover { text-decoration: underline; text-decoration-color: var(--pink); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.pd-cardbtn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.pd-card h3 { margin: 0; }
.pd-back { min-height: 40px; padding: 6px 14px; margin: 0 0 16px; background: transparent; border: 1px solid var(--ink); border-radius: 999px; font: 600 14px var(--sans); cursor: pointer; }
.pd-back:hover { background: var(--ink); color: var(--paper); }
.pd-detail-head { display: grid; gap: 10px; margin-bottom: 22px; }
.pd-detail-head h2 { font-size: 32px; }
.pd-detail-head p { margin: 0; font-size: 15px; line-height: 1.5; max-width: 50rem; }
.pd-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: 12px; margin-bottom: 26px; }
.pd-col { background: #fff; padding: 14px 16px; display: grid; gap: 10px; align-content: start; }
.pd-col h3 { margin: 0; font-size: 14px; font-weight: 600; }
.pd-col .pd-list li { font-size: 14px; }
.pd-col .pd-list.pd-scroll { overflow-y: auto; padding-right: 6px; overscroll-behavior: contain; -webkit-mask-image: linear-gradient(to bottom, #000 88%, transparent); mask-image: linear-gradient(to bottom, #000 88%, transparent); }
.pd-col .pd-list.pd-scroll.at-end { -webkit-mask-image: none; mask-image: none; }
.pd-stage { display: grid; gap: 6px; }
.pd-row { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.pd-row span:last-child { color: var(--gold-dark); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pd-track { height: 10px; background: var(--stone); border-radius: 999px; }
.pd-fill { height: 100%; background: var(--ink); border-radius: 999px; }
.pd-parcels { margin-bottom: 26px; }
.pd-track-btn { justify-self: start; display: inline-flex; align-items: center; min-height: 40px; font-size: 15px; font-weight: 600; }
.pd-card, .pd-col, .pd-trend, .pd-answer, .pd-update-sec, .pd-ideaform { border-radius: var(--r); border: 1px solid var(--line); box-shadow: var(--shadow); }

/* Tables */
.pd-table-wrap { overflow-x: auto; }
.pd-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.pd-table th { text-align: left; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--gold-dark); padding: 8px 10px; border-bottom: 2px solid var(--ink); white-space: nowrap; }
.pd-table td { padding: 10px; border-bottom: 1px solid var(--stone); vertical-align: top; }
.pd-table td.pd-n { font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Answers */
.pd-answer { display: grid; gap: 8px; padding: 10px 12px; background: #fff; }
.pd-answer-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pd-answer-label { font-size: 12px; letter-spacing: 1px; text-transform: uppercase; font-weight: 600; color: var(--gold-dark); }
.pd-answer-pick { flex: 1 1 12rem; max-width: 16rem; min-width: 0; }
.pd-pick-list.pd-ans-float { position: absolute; z-index: 30; margin: 0; box-sizing: border-box; max-height: 18rem; }
.pd-choices { display: flex; flex-wrap: wrap; gap: 6px; }
.pd-choice { min-height: 36px; padding: 6px 12px; border: 1px solid var(--stone); background: var(--paper); font: 500 13px var(--sans); cursor: pointer; color: var(--ink); border-radius: 999px; }
.pd-choice:hover { border-color: var(--ink); }
.pd-choice[aria-pressed=true] { background: var(--pink); border-color: var(--pink); font-weight: 600; }
.pd-brief-label { font-weight: 600; color: var(--gold-dark); }
.pd-review-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.pd-review-actions .pd-input { flex: 1 1 12rem; min-height: 36px; width: auto; }

/* Ideas */
.pd-ideaform { display: grid; gap: 12px; max-width: 46rem; background: #fff; padding: 16px; }
.pd-ideaform-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: 10px; }
.pd-field { display: grid; gap: 4px; font-size: 12px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; color: var(--gold-dark); min-width: 0; }
.pd-ideacols { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.pd-idea { display: grid; gap: 4px; padding-bottom: 10px; border-bottom: 1px solid var(--stone); font-size: 14px; line-height: 1.4; }
.pd-idea:last-child { border-bottom: 0; padding-bottom: 0; }
.pd-loose { margin-bottom: 14px; border-left: 4px solid var(--pink); }
.pd-igrid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.pd-idea-head { display: flex; align-items: baseline; gap: 6px 10px; flex-wrap: wrap; min-width: 0; }
.pd-igroup h3 { margin: 0; }
.pd-igroup-btn { all: unset; box-sizing: border-box; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 32px; cursor: pointer; font-size: 14px; font-weight: 600; }
.pd-igroup-btn .pd-ico { transition: transform .2s var(--ease); }
.pd-igroup-btn[aria-expanded=false] .pd-ico { transform: rotate(-90deg); }
.pd-ideabar { display: flex; justify-content: flex-end; margin: 0 0 12px; }
.pd-switch { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 4px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); font-size: 13px; font-weight: 600; cursor: pointer; }
.pd-switch input { width: 16px; height: 16px; margin: 0; accent-color: var(--ink); cursor: pointer; }
.pd-closed { margin-top: 16px; }
.pd-closed summary { cursor: pointer; font-size: 14px; font-weight: 600; color: var(--gray); min-height: 32px; }
.pd-wempty { font-size: 12px; color: var(--gray); font-style: italic; margin: 0; }

/* EODR */
.pd-update-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.pd-update-sec { background: #fff; padding: 14px 16px; min-width: 0; overflow-wrap: anywhere; }
.pd-update-sec h3 { margin: 0 0 6px; font-size: 14px; font-weight: 600; }
.pd-update-sec ul { margin: 0; list-style: disc; padding-left: 22px; display: grid; gap: 6px; font-size: 14px; line-height: 1.45; }
.pd-update-sec li::marker { color: var(--gold-dark); }
.pd-eodr { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.pd-eodr-list { display: grid; gap: 6px; align-content: start; width: 13rem; max-width: 100%; position: relative; z-index: 3; }
.pd-eodr-days { position: absolute; top: calc(100% + 6px); left: 0; width: 100%; box-sizing: border-box; display: grid; gap: 2px; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-up); max-height: 22rem; overflow: auto; animation: pdRise .2s var(--ease) both; }
.pd-eodr-item { box-sizing: border-box; display: grid; text-align: left; padding: 6px 10px; border: 0; border-radius: 10px; background: transparent; font: inherit; color: var(--ink); cursor: pointer; }
.pd-eodr-item:hover { background: var(--paper); }
.pd-eodr-item[aria-current=true] { background: var(--pink-light); }
.pd-eodr-item b { font-size: 13px; font-weight: 500; }
.pd-eodr-view { display: grid; gap: 14px; min-width: 0; }
.pd-eodr-head { display: grid; gap: 8px; }
.pd-eodr-head h3 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 24px; }
.pd-eodr-pick { min-height: 36px; padding: 6px 12px; font-size: 13px; }
.pd-shimmer { height: 180px; border-radius: var(--r); background: linear-gradient(90deg, rgba(215,206,196,.30) 25%, rgba(215,206,196,.60) 37%, rgba(215,206,196,.30) 63%); background-size: 400% 100%; animation: pdShimmer 1.4s ease infinite; }
.pd-loading:empty { display: block; min-height: 76px; border-radius: var(--r); background: linear-gradient(90deg, rgba(215,206,196,.30) 25%, rgba(215,206,196,.60) 37%, rgba(215,206,196,.30) 63%); background-size: 400% 100%; animation: pdShimmer 1.4s ease infinite; }
.pd-newreport { padding: 24px 36px 0; }
.pd-newreport:empty { display: none; }
@media (max-width: 40rem) { .pd-newreport { padding: 16px 18px 0; } }
.pd-newreport-bar { box-sizing: border-box; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 18px; border-radius: var(--r); border: 1px solid var(--pink); background: var(--pink-light); color: var(--ink); font: 400 15px var(--sans); text-align: left; cursor: pointer; box-shadow: var(--shadow); animation: pdRise .35s var(--ease) both; }
.pd-newreport-bar b { font-weight: 600; }
.pd-newreport-go { font-weight: 600; text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.pd-banner { margin: 16px 36px 0; padding: 12px 18px; border-radius: var(--r); background: #F6DAD7; color: var(--red); font-size: 14px; }
.pd-banner:empty { display: none; }

/* Icons, find, project picker, tiles */
.pd-ico { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pd-find { position: relative; min-width: 0; }
.pd-find-field { position: relative; display: flex; align-items: center; }
.pd-find-field .pd-ico { position: absolute; left: 13px; color: var(--gray); pointer-events: none; }
.pd-find-field .pd-input { border-radius: 999px; padding-left: 38px; padding-right: 46px; box-shadow: var(--shadow); -webkit-appearance: none; appearance: none; }
.pd-find-field kbd { position: absolute; right: 10px; font: 600 11px var(--sans); color: var(--gray); background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; pointer-events: none; }
.pd-find-results { margin-top: 8px; display: grid; gap: 2px; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-up); max-height: 22rem; overflow: auto; }
.pd-find-results[hidden] { display: none; }
.pd-find-item { display: flex; align-items: flex-start; gap: 10px; padding: 8px 10px; border-radius: 10px; color: var(--ink); text-decoration: none; background: transparent; border: 0; text-align: left; font: inherit; cursor: pointer; min-width: 0; }
.pd-find-item:hover, .pd-find-item:focus-visible { background: var(--pink-light); outline: none; }
.pd-find-item .pd-ico { margin-top: 2px; color: var(--gold-dark); }
.pd-find-text { display: grid; gap: 1px; min-width: 0; }
.pd-find-text b { font-size: 13.5px; font-weight: 500; overflow-wrap: anywhere; }
.pd-find-text small { font-size: 11.5px; color: var(--gray); }
.pd-projpick { min-width: 0; }
.pd-pick-btn { box-sizing: border-box; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 40px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); font: 500 14px var(--sans); color: var(--ink); cursor: pointer; text-align: left; }
.pd-pick-btn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pd-pick-btn:hover { border-color: var(--gold); }
.pd-pick-btn.is-set { background: var(--pink-light); border-color: var(--pink); }
.pd-pick-btn .pd-ico { transition: transform .2s var(--ease); }
.pd-pick-btn[aria-expanded=true] .pd-ico { transform: rotate(180deg); }
.pd-pick-list { margin-top: 8px; display: grid; gap: 2px; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-up); max-height: 20rem; overflow: auto; animation: pdRise .2s var(--ease) both; }
.pd-pick-opt { box-sizing: border-box; width: 100%; text-align: left; padding: 8px 10px; border: 0; border-radius: 10px; background: transparent; font: 500 13.5px var(--sans); color: var(--ink); cursor: pointer; }
.pd-pick-opt:hover, .pd-pick-opt:focus-visible { background: var(--paper); outline: none; }
.pd-pick-opt[aria-selected=true] { background: var(--pink-light); font-weight: 600; }
.pd-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 52rem) { .pd-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pd-tile { box-sizing: border-box; display: grid; gap: 8px; align-content: start; text-align: left; padding: 16px 18px; border-radius: var(--r); background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow); cursor: pointer; font: inherit; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.pd-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-up); }
.pd-tile b { font-family: var(--serif); font-weight: 500; font-size: 38px; line-height: 1; font-variant-numeric: tabular-nums; }
.pd-tile span { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--gray); }
.pd-tile.is-accent { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pd-tile.is-accent span { color: var(--stone); }
.pd-tile.is-accent b { color: var(--pink); }

/* Needs you cards */
#needs-you .pd-list { grid-template-columns: 1fr; }
@media (min-width: 44rem) { #needs-you .pd-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
#needs-you .pd-list li { flex-direction: column; justify-content: flex-start; align-items: stretch; gap: 12px; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); transition: transform .25s var(--ease), box-shadow .25s var(--ease); touch-action: pan-y; }
#needs-you .pd-list li:hover { transform: translateY(-3px); box-shadow: var(--shadow-up); }
#needs-you .pd-list li.is-swiping { background: #DCEBE2; }
#needs-you .pd-side { grid-auto-flow: column; justify-content: space-between; align-items: center; justify-items: stretch; }
@media (hover: none) { #needs-you .pd-note::after { content: " On your phone, swipe a card left to mark it done."; } }

.pd-panel:not([hidden]) { animation: pdFade .32s var(--ease) both; }
@keyframes pdFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes pdRise { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes pdPop { 0% { transform: scale(0); } 70% { transform: scale(1.2); } 100% { transform: scale(1); } }
@keyframes pdShimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }
@media (prefers-reduced-motion: reduce) { .pd *, .pd *::before { animation: none !important; transition: none !important; } }
