/* Styles for the social value calculator, 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 {
 #topbar, header#header, footer#footer,
 #wpadminbar, 
 #ll-svc .svc-bar { display: none !important; }
 a::after { content: none !important; }
 #primary main.content { margin-top: 0 !important; }
 #primary .row > .col-md-3 { display: 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-svc .svc-print-brand-a { color: #0058a2 !important; }
 #ll-svc .svc-print-brand-b { color: #d2460a !important; }
 #ll-svc .svc-print-head h2 { color: #0a2240 !important; }
 #ll-svc .svc-print-head p { color: #5b6b7c !important; }
 #ll-svc .svc-print-foot a { color: #0a2240 !important; }
 #ll-svc .svc-result { background: #0a2240 !important; color: #fff !important; }
 #ll-svc .svc-result .svc-big { color: #fff !important; }
 #ll-svc .svc-result .svc-big-lab, #ll-svc .svc-result .svc-cvf label { color: #9fb3c8 !important; }
 #ll-svc .svc-result .svc-pct { color: #d3e0ec !important; }
 #ll-svc .svc-result .svc-pct strong, #ll-svc .svc-result .svc-cv input,
 #ll-svc .svc-result .svc-pre, #ll-svc .svc-result .svc-chip { color: #fff !important; }
 #ll-svc .svc-result .svc-chip { background: rgba(255,255,255,.12) !important; }
 #ll-svc .svc-result .svc-chip b { color: #9fb3c8 !important; }
 #ll-svc tr.svc-group th { background: #eef4fa !important; color: #0058a2 !important; }
 #ll-svc .svc-label { color: #0a2240 !important; }
 #ll-svc td.svc-out { color: #0a2240 !important; }
 #ll-svc td input.svc-val { color: #5b6b7c !important; }
 #ll-svc .svc-code { background: #f1f5f9 !important; color: #5b6b7c !important; }
} 
 #ll-svc *, #ll-svc *::before, #ll-svc *::after { box-sizing: border-box; }
#ll-svc {
 --orange: #d2460a;
 --blue: #0058a2;
 --ink: #0a2240;
 --muted: #5b6b7c;
 --line: #e4eaf1;
 font-family: var(--font);
 color: #3e3e3e; font-size: 16px; line-height: 1.7; max-width: 900px; margin: 0 auto;
}
/* The theme styles th, label, b and form controls with its own typeface, and those
 rules win over the font set on the wrapper. Without this the uppercase headings
 render in a different font from everything around them, which is exactly what they
 were doing on the live page. */
#ll-svc th, #ll-svc td, #ll-svc label, #ll-svc input,
#ll-svc button, #ll-svc b, #ll-svc strong, #ll-svc blockquote {
 font-family: inherit;
}
#ll-svc p { margin: 0 0 18px; padding: 0; font-size: 1rem; line-height: 1.75; }
#ll-svc 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-svc 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-svc a { color: var(--blue); text-decoration: underline; }
#ll-svc a:hover { color: var(--orange); }
#ll-svc ul { margin: 0 0 18px; padding: 0 0 0 22px; }
#ll-svc li { margin: 0 0 8px; }
#ll-svc.has-bar { padding-bottom: 78px; }
/* ---- filter and example ---- */
#ll-svc .svc-tools {
 display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
 padding: 16px 20px; margin: 26px 0 0; background: #f4f8fc;
 border: 1px solid var(--line); border-bottom: none; border-radius: 14px 14px 0 0;
}
#ll-svc .svc-tools-lab {
 font-size: .78rem; font-weight: 700; color: var(--muted); text-transform: uppercase;
 letter-spacing: .05em; margin-right: 3px;
}
#ll-svc .svc-fchip {
 border: 1.5px solid #d5e0ea; background: #fff; color: var(--muted); border-radius: 99px;
 padding: 6px 14px; font: inherit; font-size: .84rem; font-weight: 600; cursor: pointer;
 transition: all .13s ease;
}
#ll-svc .svc-fchip:hover { border-color: var(--blue); color: var(--blue); }
#ll-svc .svc-fchip[aria-pressed="true"] {
 background: var(--blue); border-color: var(--blue); color: #fff;
}
#ll-svc .svc-example {
 margin-left: auto; border: none; background: none; color: var(--blue); font: inherit;
 font-size: .87rem; font-weight: 600; cursor: pointer; text-decoration: underline;
 padding: 6px 2px;
}
#ll-svc .svc-example:hover { color: var(--orange); }
/* ---- the measures table ---- */
#ll-svc .svc-tw {
 overflow-x: auto; border: 1px solid var(--line); border-radius: 0 0 14px 14px;
 background: #fff;
}
#ll-svc table { border-collapse: collapse; width: 100%; min-width: 640px; }
#ll-svc thead th {
 background: #fff; border-bottom: 2px solid var(--line); padding: 13px 14px;
 text-align: left; font-size: .84rem; font-weight: 700; color: var(--muted);
 text-transform: uppercase; letter-spacing: .04em; white-space: nowrap;
}
#ll-svc thead th.svc-num, #ll-svc td.svc-num { text-align: right; }
#ll-svc .svc-th-sub {
 display: block; font-weight: 600; text-transform: none; letter-spacing: 0;
 font-size: .8rem; color: #93a5b6;
}
#ll-svc tr.svc-group th {
 background: #eef4fa; color: var(--blue); font-size: .88rem; font-weight: 800;
 text-transform: uppercase; letter-spacing: .05em; padding: 11px 14px; text-align: left;
 border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
#ll-svc tbody td {
 border-bottom: 1px solid #f0f4f8; padding: 13px 14px; vertical-align: middle;
 font-size: 1rem;
}
#ll-svc tr.is-hidden { display: none; }
#ll-svc .svc-label { font-weight: 600; color: var(--ink); display: block; font-size: 1.02rem; }
#ll-svc .svc-hint { font-size: .88rem; color: var(--muted); display: block; margin-top: 4px; }
#ll-svc .svc-code {
 font-size: .76rem; color: var(--muted); font-weight: 700; letter-spacing: .04em;
 background: #f1f5f9; border-radius: 4px; padding: 2px 7px; margin-left: 7px;
 white-space: nowrap;
}
#ll-svc td input {
 width: 100px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 7px;
 font: inherit; font-size: 1rem; text-align: right; color: var(--ink); background: #fff;
}
#ll-svc td input:focus { outline: none; border-color: var(--blue); }
#ll-svc td input.svc-qty { border-color: #b9cbdb; border-width: 2px; }
#ll-svc td input.svc-val {
 width: 94px; color: var(--muted); font-size: .95rem; background: #f7f9fb;
 border-color: #eef2f6; border-style: dashed;
}
#ll-svc td input.svc-val:focus { color: var(--ink); background: #fff; border-style: solid; }
#ll-svc td.svc-out { font-weight: 700; color: var(--ink); white-space: nowrap; font-size: 1.05rem; }
#ll-svc td.svc-out.is-zero { color: #c7d0d9; font-weight: 500; }
#ll-svc .svc-unit { font-size: .85rem; color: var(--muted); display: block; margin-top: 4px; }
/* The unit sits under the box the user actually types in, so "your number" of what is
 answered where the question is asked rather than one column across. */
#ll-svc .svc-qunit {
 font-size: .85rem; color: var(--blue); font-weight: 600; display: block; margin-top: 4px;
}
#ll-svc .svc-undo {
 display: none; border: none; background: none; color: var(--orange); font: inherit;
 font-size: .74rem; font-weight: 600; cursor: pointer; text-decoration: underline;
 padding: 2px 0 0; margin: 0;
}
#ll-svc tr.is-overridden .svc-undo { display: inline; }
#ll-svc tr.is-overridden .svc-unit { display: none; }
/* ---- result ---- */
#ll-svc .svc-result {
 margin: 26px 0 0; padding: 26px 24px; border-radius: 14px;
 background: var(--ink); color: #fff; scroll-margin-top: 90px;
}
#ll-svc .svc-big {
 font-size: clamp(34px, 6vw, 52px); font-weight: 800; line-height: 1; margin: 0;
 letter-spacing: -.02em;
}
#ll-svc .svc-big-lab {
 font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
 color: #9fb3c8; margin: 0 0 8px;
}
#ll-svc .svc-cv {
 display: flex; flex-wrap: wrap; gap: 14px; margin: 20px 0 0; padding: 18px 0 0;
 border-top: 1px solid rgba(255,255,255,.14);
}
#ll-svc .svc-cvf { flex: 1 1 170px; }
#ll-svc .svc-cvf label {
 display: block; font-size: .76rem; font-weight: 700; color: #9fb3c8;
 text-transform: uppercase; letter-spacing: .05em; margin: 0 0 6px;
}
#ll-svc .svc-cvw { position: relative; }
#ll-svc .svc-cvw .svc-pre {
 position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
 color: #9fb3c8; font-weight: 600; pointer-events: none;
}
#ll-svc .svc-cv input {
 width: 100%; padding: 10px 12px; border: 1.5px solid rgba(255,255,255,.2);
 border-radius: 8px; font: inherit; font-size: .97rem; color: #fff;
 background: rgba(255,255,255,.07);
}
#ll-svc .svc-cv input.has-pre { padding-left: 26px; }
#ll-svc .svc-cv input:focus { outline: none; border-color: var(--orange); }
#ll-svc .svc-cv input::placeholder { color: #7d93a8; }
#ll-svc .svc-pct { margin: 16px 0 0; font-size: .97rem; color: #d3e0ec; }
#ll-svc .svc-pct strong { color: #fff; }
#ll-svc .svc-themes { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; }
#ll-svc .svc-chip {
 background: rgba(255,255,255,.1); border-radius: 8px; padding: 8px 13px; font-size: .86rem;
}
#ll-svc .svc-chip b { display: block; font-size: .72rem; color: #9fb3c8; font-weight: 700;
 text-transform: uppercase; letter-spacing: .05em; margin-bottom: 2px; }
#ll-svc .svc-acts { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 0; }
#ll-svc .svc-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-svc .svc-btn:hover { background: var(--blue); color: #fff; }
#ll-svc .svc-btn.svc-reset { border-color: var(--line); color: var(--muted); }
#ll-svc .svc-btn.svc-reset:hover { background: #f1f3f5; color: var(--ink); border-color: var(--muted); }
/* ---- sticky running total ---- */
#ll-svc .svc-bar {
 position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: none;
 align-items: center; gap: 14px; padding: 12px 20px; background: var(--ink);
 color: #fff; box-shadow: 0 -3px 18px rgba(26,26,46,.22);
}
#ll-svc .svc-bar.is-on { display: flex; }
#ll-svc .svc-bar-lab {
 font-size: .7rem; font-weight: 700; color: #9fb3c8; text-transform: uppercase;
 letter-spacing: .07em; display: block;
}
#ll-svc .svc-bar-num { font-size: 1.3rem; font-weight: 800; line-height: 1.15; }
#ll-svc .svc-bar-pct { font-size: .85rem; color: #9fb3c8; margin-left: 2px; }
#ll-svc .svc-bar-jump {
 margin-left: auto; background: var(--orange); color: #fff; border-radius: 8px;
 padding: 9px 16px; font-size: .87rem; font-weight: 700; text-decoration: none;
 white-space: nowrap;
}
#ll-svc .svc-bar-jump:hover { color: #fff; background: #b03a07; text-decoration: none; }
/* ---- call to action ---- */
#ll-svc .svc-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-svc .svc-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-svc .svc-cta-react {
 display: none; margin: 0 0 10px; font-size: .97rem; color: var(--ink); font-weight: 600;
}
#ll-svc .svc-cta-react.is-on { display: block; }
#ll-svc .svc-cta p:last-of-type { margin-bottom: 18px; }
#ll-svc .svc-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-svc .svc-cta-btn:hover { background: #b03a07; color: #fff; text-decoration: none; }
#ll-svc .svc-note {
 background: #f4f8fc; border-radius: 10px; padding: 18px 20px; margin: 0 0 24px;
 font-size: .94rem;
}
#ll-svc .svc-note p:last-child { margin-bottom: 0; }
#ll-svc .svc-src { font-size: .88rem; color: var(--muted); }
#ll-svc blockquote {
 margin: 0 0 18px; padding: 2px 0 2px 18px; border-left: 3px solid var(--orange);
 font-style: normal; color: var(--ink);
}
/* ---- mobile: the table becomes cards, no sideways scrolling ---- */
@media (max-width: 620px) {
 #ll-svc .svc-tools { padding: 14px 14px; }
 #ll-svc .svc-example { margin-left: 0; }
 #ll-svc .svc-tw { overflow-x: visible; padding: 10px; }
 #ll-svc table { min-width: 0; }
 #ll-svc thead { position: absolute; left: -9999px; }
 #ll-svc tbody tr { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px;
 border: 1px solid var(--line); border-radius: 10px; padding: 13px; margin: 0 0 9px; }
 #ll-svc tbody tr.svc-group {
 display: block; border: none; border-radius: 0; padding: 14px 2px 4px; margin: 0;
 background: none;
 }
 #ll-svc tr.svc-group th {
 background: none; border: none; padding: 0; display: block;
 }
 #ll-svc tbody td { border: none; padding: 0; }
 #ll-svc tbody td:first-child { flex: 1 1 100%; }
 #ll-svc td.svc-num { text-align: left; }
 #ll-svc td.svc-num::before {
 content: attr(data-lab); display: block; font-size: .68rem; font-weight: 700;
 color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 4px;
 }
 #ll-svc td input, #ll-svc td input.svc-val { width: 88px; }
 #ll-svc td.svc-out { margin-left: auto; text-align: right; font-size: 1.05rem; }
 #ll-svc .svc-result { padding: 22px 18px; }
 #ll-svc .svc-cta { padding: 20px 18px; }
 #ll-svc .svc-bar { padding: 10px 14px; gap: 10px; }
 #ll-svc .svc-bar-num { font-size: 1.12rem; }
 #ll-svc .svc-bar-jump { padding: 8px 13px; font-size: .82rem; }
}
/* ---- print, which is also how people save a PDF ----
 The printed sheet is a BREAKDOWN, not a copy of the page. Everything explanatory is
 dropped: the intro, the filter, the article below the tool, the FAQ. What is left is
 a title, the rows they actually filled in, the total, and a repeating footer. */
#ll-svc .svc-print-head, #ll-svc .svc-print-foot, #ll-svc .svc-print-logo { display: none; }
@media print {
 @page { margin: 14mm 12mm 20mm; }
 #ll-svc .svc-acts, #ll-svc .svc-hint, #ll-svc .svc-tools, #ll-svc .svc-bar,
 #ll-svc .svc-cta, #ll-svc .svc-undo, #ll-svc .svc-prose, #ll-svc .svc-intro,
 #ll-svc .svc-qunit { display: none; }
 #ll-svc tbody tr.is-empty { display: none; }
 #ll-svc .svc-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-svc .svc-print-head h2 { margin: 0; font-size: 20pt; color: #0a2240; }
 #ll-svc .svc-print-logo { display: block; width: 46mm; height: auto; }
 #ll-svc .svc-print-head p { flex: 1 1 100%; margin: 6px 0 0; font-size: 9.5pt; color: #5b6b7c; }
 /* 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-svc .svc-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-svc .svc-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-svc { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
 #ll-svc .svc-result { page-break-inside: avoid; border-radius: 12px; }
 #ll-svc .svc-th-sub { display: none; }
 #ll-svc .svc-tw { border-radius: 12px; overflow: visible; }
 #ll-svc table { min-width: 0; }
 #ll-svc tbody tr { page-break-inside: avoid; }
 #ll-svc td input {
 border: none; background: none; padding: 0; width: auto; font-weight: 700; color: #0a2240;
 }
 #ll-svc td input.svc-val { font-weight: 400; color: #5b6b7c; }
 #ll-svc { max-width: none; font-size: 11pt; }
 #ll-svc.has-bar { padding-bottom: 0; }
}
