.pd-results { max-width: 900px; margin: 24px auto 80px; color: var(--text); }
.pd-intro { padding: 24px 0 30px; border-bottom: 1px solid var(--line-strong); }
.pd-eyebrow { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.pd-intro h2 { max-width: 720px; font: 550 clamp(28px, 4vw, 42px)/1.2 var(--font-display); margin: 12px 0; }
.pd-intro p, .pd-section > p, .pd-contact > p { color: var(--text-2); line-height: 1.6; }
.pd-again { margin: 14px 0 0; }
.pd-value { display: flex; flex-direction: column; gap: 6px; margin-top: 24px; padding: 18px 20px; background: var(--bg-raised); border-radius: 12px; }
.pd-value strong { font-size: 26px; color: var(--value); }
.pd-value span { font-size: 15px; }
.pd-value small, .pd-contact small { color: var(--text-2); line-height: 1.5; }
.pd-section { margin-top: 32px; }
.pd-section > h2, .pd-contact h2 { font: 550 25px/1.3 var(--font-display); margin: 0 0 10px; }
.pd-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; margin-top: 18px; }
.pd-card { padding: 22px; background: var(--bg-raised); border: 1px solid var(--line-strong); border-radius: 14px; }
.pd-card.pd-lead { grid-column: 1 / -1; border-color: var(--accent); }
/* A card left alone on its row stretches across it (2026-09-11). The lead
   grid holds the full-width lead first, so its lone card is an even child. */
.pd-grid:not(.pd-grid-lead) > .pd-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
.pd-grid-lead > .pd-card:last-child:nth-child(even) { grid-column: 1 / -1; }
.pd-react { display: flex; align-items: center; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.pd-react-q { font-size: 14px; color: var(--text-2); margin-right: 4px; }
.pd-thumb { font: inherit; font-size: 13px; line-height: 1; padding: 7px 12px; border-radius: var(--radius); border: 1px solid var(--line-strong); background: var(--bg); cursor: pointer; transition: transform .1s ease, border-color .15s ease, background .15s ease; }
.pd-thumb { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 34px; padding: 0; color: var(--text-2); }
.pd-mark { display: block; }
.pd-thumb:hover { transform: translateY(-1px); border-color: var(--accent); color: var(--text); }
.pd-thumb[aria-pressed="true"] { background: var(--accent-soft); border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }
/* A pressed check reads as "yes" in the value colour, a pressed X as "no". */
.pd-thumb[data-reaction="up"][aria-pressed="true"] { color: var(--value); border-color: var(--value); background: color-mix(in srgb, var(--value) 14%, transparent); box-shadow: none; }
.pd-thumb[data-reaction="down"][aria-pressed="true"] { color: var(--danger); border-color: var(--danger); background: color-mix(in srgb, var(--danger) 12%, transparent); box-shadow: none; }
.pd-thumb:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.pd-react-note { font-size: 13px; color: var(--text-2); min-height: 1em; }
.pd-badge { color: var(--text-2); font-size: 12px; }
.pd-lead .pd-badge { color: var(--accent); }
.pd-card h3 { font-size: 19px; line-height: 1.35; margin: 8px 0 10px; }
.pd-card p { font-size: 15px; line-height: 1.6; color: var(--text-2); margin: 8px 0 12px; }
.pd-card .pd-if { color: var(--text); }
.pd-card .pd-does strong, .pd-card .pd-fact strong { color: var(--text); font-weight: 600; }
.pd-card .pd-fact { font-size: 14px; margin: 6px 0; }
.pd-card .pd-hours { margin: 10px 0; font-size: 15px; }
.pd-card .pd-hours strong { color: var(--value); font-size: 17px; }
.pd-card details p { margin: 8px 0 0; font-size: 14px; }
.pd-card details { font-size: 14px; margin: 12px 0; }
.pd-card summary { cursor: pointer; color: var(--accent); }
.pd-interest { display: flex; align-items: flex-start; gap: 9px; margin-top: 18px; font-size: 14px; cursor: pointer; }
.pd-interest input { margin-top: 3px; accent-color: var(--accent); width: 17px; height: 17px; }
.pd-simple { display: block; font-size: 13px; color: var(--text-2); }
.pd-contact { padding: 26px; margin-top: 32px; border-radius: 14px; border: 1px solid var(--line-strong); background: var(--bg-raised); }
.pd-contact label { display: block; margin: 20px 0 8px; font-size: 14px; }
.pd-contact-row { display: flex; gap: 10px; }
.pd-contact input { flex: 1; min-width: 0; padding: 12px; color: var(--text); background: var(--bg); border: 1px solid var(--line-strong); border-radius: 8px; font-size: 16px; }
.pd-contact-row button { white-space: nowrap; }
/* The enquiry status line ("Give a thumbs up…", "Sent.") reads in the full text colour, not the muted one, so it is not lost under the fixed feedback drawer. */
.pd-contact #build-request-status { color: var(--text); margin: 10px 0 0; line-height: 1.5; }
.pd-contact #build-request-status:empty { display: none; }
@media(max-width: 600px) { .pd-grid { grid-template-columns: 1fr; } .pd-contact-row { flex-direction: column; } .pd-card, .pd-contact { padding: 18px; } .pd-results { margin-bottom: 100px; } }
/* Closest match (2026-09-11): a full card with a typical, uncounted figure. */
.pd-card.pd-closest { border-style: dashed; }
.pd-card .pd-typical { color: var(--text-2); font-size: 13px; margin: 6px 0; }
.pd-card .pd-hours.pd-typical { font-size: 14px; }
.pd-card .pd-hours.pd-typical strong { color: var(--text); }
.pd-card .pd-closest-note { color: var(--text-2); }
/* Make this number yours (2026-09-14). */
.pd-card .pd-mine { margin: 8px 0 4px; }
.pd-card .pd-mine summary { cursor: pointer; color: var(--accent); font-size: 14px; }
.pd-card .pd-mine-hint { color: var(--text-2); font-size: 13px; margin: 6px 0; }
.pd-card .pd-mine-row { display: grid; gap: 10px; margin-top: 6px; }
.pd-card .pd-mine-row label { display: grid; gap: 4px; font-size: 13px; color: var(--text-2); }
.pd-card .pd-mine-row select { font: inherit; padding: 6px 8px; border-radius: 8px; border: 1px solid var(--line-strong); background: var(--bg-raised); color: var(--text); }
.pd-card .pd-mine-note { font-size: 13px; color: var(--text-2); }
.pd-card .pd-mine-tag { font-style: normal; font-size: 12px; color: var(--value); margin-left: 6px; }
.pd-value .pd-total-source { display: block; font-size: 12px; color: var(--text-2); }
/* Idea hours (2026-09-15): an idea's typical figure stays muted until the
   owner ticks "This fits"; counted, it reads like a matched card's figure. */
.pd-card .pd-idea-hours strong { color: var(--text-2); }
.pd-card .pd-idea-hours[data-counted="true"] strong { color: var(--value); }
.pd-card .pd-idea-hours .pd-count-hint { color: var(--text-2); }
.pd-value [data-total-plus] { display: block; font-size: 15px; font-weight: 400; color: var(--text-2); }
.pd-value [data-total-plus]:empty { display: none; }

/* On the analyze page: a quiet line under fresh results for visitors who
   are not signed in. */
.pd-keep { margin: 18px 0 0; font-size: 0.9rem; color: var(--text-2); text-align: center; }
.pd-keep a { color: var(--accent-strong); text-decoration: underline; text-underline-offset: 0.15em; }
