/* Styles for the PPN 026 checker, from the WordPress page, with the new site's colours and typeface. */
/* llt print cleanup: when someone prints or saves a PDF, only the tool breakdown and its
 own footer should come out. The theme otherwise prints the top bar, header, hero and
 site footer, and expands every link into a bracketed URL. All scoped to this page. */
@media print {
 #ll-pv .pv-acts { display: none !important; }
 a::after { content: none !important; }
 /* Bootstrap ships a print reset that forces every element to black text on a
 transparent background with !important. It wins over the tool stylesheet, which is
 why the printed sheet came out entirely black. These put the brand back. */
 #ll-pv .pv-print-head h2 { color: #0a2240 !important; }
 #ll-pv .pv-print-head p { color: #5b6b7c !important; }
 #ll-pv .pv-print-foot a { color: #0a2240 !important; }
 #ll-pv .pv-weight { color: #0058a2 !important; }
 #ll-pv .pv-weight small { color: #5b6b7c !important; }
 #ll-pv .pv-title { color: #0a2240 !important; }
 #ll-pv .pv-badge.is-026 { background: #fff1ec !important; color: #d2460a !important; }
 #ll-pv .pv-badge.is-002 { background: #e9f2fa !important; color: #0058a2 !important; }
 #ll-pv .pv-badge.is-none { background: #f1f3f5 !important; color: #5b6b7c !important; }
 #ll-pv .pv-facts li::before { background: #0058a2 !important; }
 #ll-pv .pv-facts li.is-warn::before { background: #b3261e !important; }
 #ll-pv .pv-facts li.is-good::before { background: #0f7b3e !important; }
 #ll-pv .pv-flag { background: #fdf3f2 !important; border-left-color: #b3261e !important; }
 #ll-pv .pv-flag strong { color: #b3261e !important; }
 #ll-pv th { background: #f4f8fc !important; }
 #ll-pv td.pv-gone { color: #b3261e !important; }
} 
 #ll-pv *, #ll-pv *::before, #ll-pv *::after { box-sizing: border-box; }
#ll-pv {
 --orange: #d2460a;
 --blue: #0058a2;
 --ink: #0a2240;
 --muted: #5b6b7c;
 --line: #e4eaf1;
 --warn: #b3261e;
 --good: #0f7b3e;
 font-family: var(--font);
 color: #3e3e3e; font-size: 16px; line-height: 1.7; max-width: 860px; margin: 0 auto;
}
/* The theme styles th, label, b and form controls with its own typeface, and those
 rules beat the font set on the wrapper, so uppercase headings end up in a different
 font from the text around them. */
#ll-pv th, #ll-pv td, #ll-pv label, #ll-pv input,
#ll-pv button, #ll-pv b, #ll-pv strong, #ll-pv blockquote {
 font-family: inherit;
}
#ll-pv p { margin: 0 0 18px; padding: 0; font-size: 1rem; line-height: 1.75; }
#ll-pv h2 {
 font-family: var(--font); font-weight: 800; color: var(--ink);
 font-size: clamp(22px, 3vw, 30px); line-height: 1.25; margin: 42px 0 14px; padding: 0;
 scroll-margin-top: 96px;
}
#ll-pv h3 {
 font-family: var(--font); font-weight: 700; color: var(--ink);
 font-size: clamp(18px, 2.2vw, 21px); line-height: 1.3; margin: 28px 0 10px; padding: 0;
}
#ll-pv a { color: var(--blue); text-decoration: underline; }
#ll-pv a:hover { color: var(--orange); }
#ll-pv ul { margin: 0 0 18px; padding: 0 0 0 22px; }
#ll-pv li { margin: 0 0 8px; line-height: 1.7; }
/* ---- the checker ---- */
#ll-pv .pv-tool {
 border: 1px solid var(--line); border-radius: 14px; background: #fff;
 padding: 26px 24px; margin: 26px 0 34px; box-shadow: 0 2px 14px rgba(26,26,46,.05);
}
#ll-pv .pv-step { margin: 0 0 22px; }
/* Steps only appear once they can change the answer. Someone buying for a council never
 sees the contract value question, because it makes no difference to their result. */
#ll-pv .pv-step.is-off { display: none; }
#ll-pv .pv-q {
 display: block; font-weight: 700; color: var(--ink); font-size: 1rem; margin: 0 0 10px;
}
#ll-pv .pv-n {
 display: inline-block; width: 24px; height: 24px; line-height: 24px; text-align: center;
 border-radius: 50%; background: var(--blue); color: #fff; font-size: .8rem;
 font-weight: 700; margin-right: 9px; vertical-align: 1px;
}
#ll-pv .pv-opts { display: flex; flex-wrap: wrap; gap: 9px; }
#ll-pv .pv-opt {
 border: 1.5px solid var(--line); background: #f9fbfd; border-radius: 9px;
 padding: 11px 16px; font: inherit; font-size: .95rem; color: var(--ink);
 cursor: pointer; transition: all .14s ease; text-align: left;
}
#ll-pv .pv-opt:hover { border-color: var(--blue); background: #fff; }
#ll-pv .pv-opt[aria-pressed="true"] {
 border-color: var(--blue); background: var(--blue); color: #fff; font-weight: 600;
}
#ll-pv .pv-money { position: relative; max-width: 280px; }
#ll-pv .pv-money span {
 position: absolute; left: 13px; top: 50%; transform: translateY(-50%);
 color: var(--muted); font-weight: 600;
}
#ll-pv .pv-money input {
 width: 100%; padding: 12px 14px 12px 28px; border: 1.5px solid var(--line);
 border-radius: 9px; font: inherit; font-size: 1rem; color: var(--ink); background: #f9fbfd;
}
#ll-pv .pv-money input:focus { outline: none; border-color: var(--blue); background: #fff; }
#ll-pv .pv-hint { font-size: .85rem; color: var(--muted); margin: 7px 0 0; }
/* ---- the result ---- */
#ll-pv .pv-out { margin: 26px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); }
#ll-pv .pv-idle { color: var(--muted); font-size: .95rem; margin: 0; }
#ll-pv .pv-badge {
 display: inline-block; padding: 5px 12px; border-radius: 99px; font-size: .78rem;
 font-weight: 700; letter-spacing: .04em; text-transform: uppercase; margin: 0 0 12px;
}
#ll-pv .pv-badge.is-026 { background: #fff1ec; color: var(--orange); }
#ll-pv .pv-badge.is-002 { background: #e9f2fa; color: var(--blue); }
#ll-pv .pv-badge.is-none { background: #f1f3f5; color: var(--muted); }
#ll-pv .pv-title {
 font-family: var(--font); font-weight: 800; color: var(--ink);
 font-size: clamp(19px, 2.6vw, 24px); line-height: 1.3; margin: 0 0 6px;
}
#ll-pv .pv-weight { font-size: 2.4rem; font-weight: 800; color: var(--blue); line-height: 1.1; margin: 12px 0 2px; }
#ll-pv .pv-weight small { display: block; font-size: .82rem; font-weight: 600; color: var(--muted); letter-spacing: .02em; text-transform: uppercase; margin-top: 5px; }
#ll-pv .pv-facts { margin: 18px 0 0; padding: 0; list-style: none; }
#ll-pv .pv-facts li {
 padding: 0 0 0 26px; position: relative; margin: 0 0 11px; font-size: .97rem;
}
#ll-pv .pv-facts li::before {
 content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px;
 border-radius: 50%; background: var(--blue);
}
#ll-pv .pv-facts li.is-warn::before { background: var(--warn); }
#ll-pv .pv-facts li.is-good::before { background: var(--good); }
#ll-pv .pv-flag {
 border-left: 3px solid var(--warn); background: #fdf3f2; padding: 14px 16px;
 border-radius: 0 8px 8px 0; margin: 18px 0 0; font-size: .95rem;
}
#ll-pv .pv-flag strong { color: var(--warn); }
#ll-pv .pv-acts { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 0; }
#ll-pv .pv-btn {
 border: 1.5px solid var(--blue); background: #fff; color: var(--blue);
 border-radius: 9px; padding: 11px 20px; font: inherit; font-size: .93rem;
 font-weight: 600; cursor: pointer; transition: all .14s ease;
}
#ll-pv .pv-btn:hover { background: var(--blue); color: #fff; }
#ll-pv .pv-btn.pv-reset { border-color: var(--line); color: var(--muted); }
#ll-pv .pv-btn.pv-reset:hover { background: #f1f3f5; color: var(--ink); border-color: var(--muted); }
/* ---- comparison table ---- */
#ll-pv .pv-tw { overflow-x: auto; margin: 0 0 24px; }
#ll-pv table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: .95rem; }
#ll-pv th, #ll-pv td { border: 1px solid var(--line); padding: 11px 13px; text-align: left; vertical-align: top; }
#ll-pv th { background: #f4f8fc; font-weight: 700; color: var(--ink); }
#ll-pv td.pv-gone { color: var(--warn); font-weight: 600; }
#ll-pv .pv-src { font-size: .88rem; color: var(--muted); }
/* ---- call to action, matched to the calculator page ---- */
#ll-pv .pv-cta {
 margin: 26px 0 34px; padding: 24px 26px; background: #fff8f5;
 border: 1px solid #ffd9c7; border-left: 4px solid var(--orange); border-radius: 0 12px 12px 0;
}
#ll-pv .pv-cta-h {
 font-family: var(--font); font-weight: 800; color: var(--ink);
 font-size: clamp(18px, 2.4vw, 22px); line-height: 1.3; margin: 0 0 10px;
}
#ll-pv .pv-cta p:last-of-type { margin-bottom: 18px; }
#ll-pv .pv-cta-btn {
 display: inline-block; background: var(--orange); color: #fff; border-radius: 9px;
 padding: 13px 24px; font-size: .95rem; font-weight: 700; text-decoration: none;
}
#ll-pv .pv-cta-btn:hover { background: #b03a07; color: #fff; text-decoration: none; }
#ll-pv .pv-note {
 background: #f4f8fc; border-radius: 10px; padding: 18px 20px; margin: 24px 0;
 font-size: .96rem;
}
#ll-pv .pv-note p:last-child { margin-bottom: 0; }
@media (max-width: 600px) {
 #ll-pv .pv-tool { padding: 20px 16px; }
 #ll-pv .pv-opts { flex-direction: column; }
 #ll-pv .pv-opt { width: 100%; }
 #ll-pv .pv-cta { padding: 20px 18px; }
 /* The comparison table becomes stacked blocks. A three column table at 560px minimum
 forces sideways scrolling on every phone, which is the worst thing on the page. */
 #ll-pv .pv-tw { overflow-x: visible; }
 #ll-pv table { min-width: 0; }
 #ll-pv thead { position: absolute; left: -9999px; }
 #ll-pv table, #ll-pv tbody, #ll-pv tr, #ll-pv td { display: block; width: 100%; }
 #ll-pv tbody tr {
 border: 1px solid var(--line); border-radius: 10px; margin: 0 0 10px; padding: 12px 14px;
 }
 #ll-pv tbody td { border: none; padding: 4px 0; }
 #ll-pv tbody td:first-child {
 font-size: .78rem; text-transform: uppercase; letter-spacing: .05em;
 color: var(--muted); padding-bottom: 8px;
 }
 #ll-pv tbody td:first-child strong { color: var(--muted); font-weight: 700; }
 #ll-pv tbody td:not(:first-child)::before {
 content: attr(data-lab); display: block; font-size: .7rem; font-weight: 700;
 color: var(--blue); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 2px;
 }
 #ll-pv tbody td:nth-child(2) { padding-bottom: 10px; }
}
/* ---- print, which is also how people save a PDF ----
 The printed sheet is the ANSWER, not a copy of the page. The article, the comparison
 table and the FAQ all go, leaving the result and a repeating footer. */
#ll-pv .pv-print-head, #ll-pv .pv-print-foot, #ll-pv .pv-print-logo { display: none; }
@media print {
 @page { margin: 14mm 12mm 20mm; }
 #ll-pv .pv-opts, #ll-pv .pv-acts, #ll-pv .pv-idle, #ll-pv .pv-prose,
 #ll-pv .pv-intro, #ll-pv .pv-hint, #ll-pv .pv-step .pv-n { display: none; }
 #ll-pv .pv-tool { border: none; box-shadow: none; padding: 0; }
 #ll-pv .pv-step { margin: 0 0 8px; }
 #ll-pv .pv-q { font-size: 10pt; color: #444; }
 /* Static, at the end of the sheet. This was position fixed so it would repeat on every
 printed page, but Chrome dropped the element from the printed output altogether on
 this theme, taking the link annotation with it. In normal flow it always renders and
 the anchor stays clickable in the generated PDF. */
 #ll-pv .pv-print-foot {
 display: block; margin: 22px 0 0; border-top: 2px solid #d2460a; padding: 9px 0 0;
 text-align: center; font-size: 11pt; font-weight: 700; page-break-inside: avoid;
 }
 #ll-pv .pv-print-foot a { color: #0a2240; text-decoration: none; }
 /* Print in brand colour. print-color-adjust keeps backgrounds even when the browser
 print dialog has background graphics off. Chrome and Edge honour it; anything that
 does not simply prints the same content on white, still legible. */
 #ll-pv { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
 #ll-pv .pv-print-head {
 display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
 border-bottom: 3px solid #d2460a; padding: 0 0 10px; margin: 0 0 18px;
 }
 #ll-pv .pv-print-head h2 { margin: 0; font-size: 20pt; color: #0a2240; }
 #ll-pv .pv-print-logo { display: block; width: 46mm; height: auto; }
 #ll-pv .pv-print-head p { flex: 1 1 100%; margin: 6px 0 0; font-size: 9.5pt; color: #5b6b7c; }
 #ll-pv .pv-out { page-break-inside: avoid; }
 #ll-pv { max-width: none; font-size: 11pt; }
} 
/* ==== From the independent review, 23 Nov 2026 (see tools/generators/ppnfixes.py). Layout and colour only. ==== */
/* the tool: a card that stands out, and answer buttons that read as buttons, not as switched off */
#ll-pv .pv-tool { margin-top: 0; border-color: #dbe6f4; box-shadow: 0 2px 4px rgb(10 34 64/.06), 0 24px 48px -20px rgb(10 34 64/.35); }
#ll-pv .pv-opt { border: 2px solid var(--blue); background: #fff; color: var(--blue); font-weight: 700; }
#ll-pv .pv-opt:hover { background: #eef4fb; }
#ll-pv .pv-opt[aria-pressed="true"], #ll-pv .pv-opt[aria-pressed="true"]:hover { background: var(--blue); color: #fff; font-weight: 700; }
#ll-pv .pv-money input { border-color: #7f8c9b; background: #fff; }
#ll-pv .pv-money input::placeholder { color: #6b7887; }
#ll-pv .pv-money input:focus { outline: 3px solid var(--blue); outline-offset: 2px; }
#ll-pv label.pv-q { cursor: pointer; }
/* the result: its label is plain small capitals, and the note under it is calm, not an error */
#ll-pv .pv-badge { padding: 0; border-radius: 0; background: none !important; font-size: .8125rem; font-weight: 800; letter-spacing: .12em; margin-bottom: 8px; }
#ll-pv .pv-badge.is-026 { color: #b03a07; }
#ll-pv .pv-facts li { overflow-wrap: anywhere; }
#ll-pv .pv-flag { border-left-color: var(--blue); background: #eef4fb; border-radius: 0 10px 10px 0; }
#ll-pv .pv-flag strong { color: var(--ink); }
/* the enquiry box, now straight under the tool, centred as on the calculator page */
#ll-pv .pv-cta { margin: 0 0 2.5rem; padding: 28px 26px; text-align: center; background: #fff; border: 1px solid #dbe6f4; border-top: 4px solid var(--orange); border-radius: 14px; box-shadow: 0 2px 4px rgb(10 34 64/.06), 0 24px 48px -20px rgb(10 34 64/.3); }
#ll-pv .pv-cta p { max-width: 38rem; margin-inline: auto; }
#ll-pv .pv-cta-btn { border-radius: 4px; padding: 14px 28px; font-weight: 800; }
/* the guidance: each part in its own white card on the page's pale ground */
#ll-pv .pv-card { margin: 0 0 1.25rem; padding: clamp(1.25rem, 3.4vw, 2.25rem); border: 1px solid #dbe6f4; border-radius: 14px; background: #fff; box-shadow: 0 2px 4px rgb(10 34 64/.05), 0 18px 40px -22px rgb(10 34 64/.28); }
#ll-pv .pv-card > h2 { margin-top: 0; }
#ll-pv .pv-card > :last-child { margin-bottom: 0; }
#ll-pv .pv-card h3 { margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1px solid #e4eaf1; }
#ll-pv .pv-card h2 + h3 { margin-top: 0; padding-top: 0; border-top: 0; }
/* quotes from the guidance look like quotes */
#ll-pv blockquote { margin: 0 0 18px; padding: 4px 0 4px 22px; border-left: 3px solid var(--blue); color: var(--ink); }
#ll-pv blockquote p { margin: 0; font-size: 1.125rem; line-height: 1.6; font-weight: 600; }
/* the comparison table: no ruled lines, a navy heading row and shaded alternate rows */
#ll-pv .pv-tw { border-radius: 12px; }
#ll-pv table { border-radius: 12px; overflow: hidden; }
#ll-pv th, #ll-pv td { border: 0; }
#ll-pv thead th, #ll-pv thead td { background: var(--ink); color: #fff; }
#ll-pv tbody th { background: none; text-align: left; font-weight: 800; color: var(--ink); }
#ll-pv tbody tr:nth-child(odd) { background: #f4f8fd; }
@media (max-width: 600px) {
 #ll-pv tbody th { display: block; width: 100%; padding: 4px 0 8px; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
 #ll-pv tbody tr { border: 0; background: #f4f8fd; }
 #ll-pv .pv-acts { flex-direction: column; }
 #ll-pv .pv-acts .pv-btn { width: 100%; }
}
/* print: the answer on one sheet (the questions and the money box are left off) */
@media print {
 #ll-pv .pv-step, #ll-pv .pv-cta { display: none !important; }
 #ll-pv .pv-out { border-top: 0; margin-top: 0; padding-top: 0; }
 #ll-pv .pv-flag { background: #eef4fb !important; border-left-color: #0058a2 !important; }
 #ll-pv .pv-flag strong { color: #0a2240 !important; }
 #ll-pv .pv-badge.is-026 { color: #b03a07 !important; }
}
