/* Cost guide: step strip, screenshots, video, colour key, tips (cost_guide.py). */
.prose .lead{font-size:1.15em;line-height:1.6}
.guide-steps{list-style:none;padding:0;margin:24px 0 8px;display:grid;grid-template-columns:repeat(3,1fr);gap:12px;counter-reset:none}
.guide-steps li{margin:0}
.guide-steps a{display:flex;flex-direction:column;gap:4px;height:100%;padding:14px 16px;border:1px solid var(--line,#E5E7EB);border-radius:10px;background:#fff;color:inherit;text-decoration:none}
.guide-steps a:hover{border-color:#9CA3AF;background:#F6F7F9}
.guide-steps .n{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background:var(--ink,#111827);color:var(--lime,#E4611B);font-weight:700;font-size:14px}
.guide-steps b{font-size:1.02em}.guide-steps span:last-child{font-size:.9em;color:var(--muted,#5B6475)}
.guide-shot{margin:14px 0 18px}
.guide-shot img{display:block;max-width:100%;height:auto;border:1px solid var(--line,#E5E7EB);border-radius:8px;box-shadow:0 1px 3px rgba(23,45,39,.08);background:#fff}
.guide-shot figcaption,.guide-video figcaption{margin-top:6px;font-size:.88em;color:var(--muted,#5B6475)}
.guide-video{margin:16px 0 20px}
.guide-video video{display:block;width:100%;height:auto;border:1px solid var(--line,#E5E7EB);border-radius:8px;background:#F6F7F9}
.guide-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;align-items:start;margin:8px 0 20px}
.guide-grid .guide-shot{margin:0}
.colour-key{list-style:none;padding:0;margin:8px 0 14px;display:flex;flex-wrap:wrap;gap:8px 20px}
.colour-key li{display:flex;align-items:center;gap:8px;margin:0}
.colour-key .sw{display:inline-block;width:22px;height:16px;border-radius:3px;border:1px solid #D1D5DB}
.colour-key .needed{background:#fde59a}.colour-key .formula{background:#dbe8f5}.colour-key .example{background:#fff3cc}
.guide-tip{margin:6px 0 22px;padding:10px 14px;background:#fff8e6;border-left:4px solid #e3a008;border-radius:4px;font-size:.95em}
.guide-checklist{list-style:none;padding-left:0}
.guide-checklist li{position:relative;padding-left:30px;margin:8px 0}
.guide-checklist li::before{content:'';position:absolute;left:2px;top:3px;width:16px;height:16px;border:2px solid #4f7a55;border-radius:4px}
@media (max-width:760px){.guide-steps,.guide-grid{grid-template-columns:1fr}}
.guide-steps a,.guide-steps a *{text-decoration:none!important;border-bottom:0!important}
.guide-shot .swipe{display:none;font-size:.85em;color:var(--muted,#5B6475);margin-bottom:4px}
.guide-shot .shot-frame{max-width:100%}
@media (max-width:760px){.guide-shot.scroll .swipe{display:block}.guide-shot.scroll .shot-frame{overflow-x:auto;-webkit-overflow-scrolling:touch;border-radius:8px}.guide-shot.scroll img{max-width:none;width:720px}}
.prose{min-width:0}.guide-shot{min-width:0;max-width:100%}.guide-shot .shot-frame{width:100%}
.prose h3.guide-group{margin-top:34px;padding-bottom:6px;border-bottom:1px solid var(--line,#E5E7EB);text-transform:uppercase;letter-spacing:.06em;font-size:.85em;color:var(--muted,#5B6475)}
.prose h4{margin:22px 0 6px;font-size:1.12em}
.guide-terms{margin:14px 0 22px;padding:12px 16px;background:#f3f7ee;border:1px solid #d6e2cf;border-radius:8px}.guide-terms p{margin:0 0 4px}.guide-terms ul{margin:4px 0}
/* SEO: FAQ, popular topics, topic pages (seo.py) */
.faq{margin:32px 0}.faq details{border:1px solid #E5E7EB;border-radius:8px;padding:12px 16px;margin:8px 0;background:#FFFFFF}.faq summary{cursor:pointer;font-weight:700}.faq details p{margin:8px 0 0}
.topics{margin:40px 0}.topic-links{display:grid;gap:10px;grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}.topic-links a{display:block;padding:16px 18px;border:1px solid #E5E7EB;border-radius:8px;background:#fff;color:inherit;text-decoration:none;font-weight:700}.topic-links a:hover{border-color:#B5410F}
.topic-table{width:100%;border-collapse:collapse;font-size:15px}.topic-table th,.topic-table td{border:1px solid #E5E7EB;padding:8px 10px;text-align:left;vertical-align:top}.topic-table th{background:#f3f6ee}
.s-curve{margin:20px 0}.s-curve svg{width:100%;max-width:640px;height:auto;display:block}.sc-grid{stroke:#e2e8dc;stroke-width:1}.sc-label{font-size:11px;fill:#5B6475}.sc-plan{fill:none;stroke:#1E40AF;stroke-width:3}.sc-actual{fill:none;stroke:#E4611B;stroke-width:3}.sc-dot{fill:#E4611B}.sc-note{font-size:11px;fill:#3b4a37}.s-curve figcaption{font-size:14px;color:#5B6475}.sc-key{display:inline-block;width:18px;height:3px;vertical-align:middle;margin:0 4px 0 8px}.sc-key-plan{background:#1E40AF}.sc-key-actual{background:#E4611B}
.prose.topic .button.secondary{background:transparent;color:inherit;border:1px solid currentColor;margin-left:8px}
.pilot{margin:36px 0;padding:22px 24px;border-radius:10px;background:#111827;color:#F6F7F9}.pilot h2{margin-top:0;color:#fff}.pilot p{color:#dfe8da}.pilot .button{background:#E4611B;color:#111827;border-color:#E4611B}.pilot .small{font-size:13px;color:#b7c6b1}
.pilot-actions{display:flex;flex-wrap:wrap;gap:10px}.pilot .button.secondary{background:transparent;color:#F6F7F9;border:1px solid #9fb59a}

.cf-bar{fill:#1E40AF}.cf-low{fill:#E4611B}.cf-min{stroke:#E4611B;stroke-width:2;stroke-dasharray:6 4}.cf-key-bar{background:#1E40AF;height:10px}.cf-key-min{background:repeating-linear-gradient(90deg,#E4611B 0 6px,transparent 6px 10px)}

.topic-cards{display:grid;gap:14px;grid-template-columns:repeat(auto-fill,minmax(250px,1fr))}
.topic-card{display:flex;flex-direction:column;border:1px solid #E5E7EB;border-radius:10px;background:#fff;color:inherit;text-decoration:none;overflow:hidden;transition:border-color .15s,box-shadow .15s}
.topic-card:hover,.topic-card:focus-visible{border-color:#B5410F;box-shadow:0 4px 14px rgba(23,45,39,.10)}
.tc-thumb{display:block;background:#eef3ea;border-bottom:1px solid #E5E7EB}.tc-thumb svg{display:block;width:100%;height:auto;aspect-ratio:16/9}
.tc-body{display:flex;flex-direction:column;gap:4px;padding:12px 16px 16px}.tc-cat{font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:#5B6475}
.topic-card b{font-size:16px;line-height:1.3}.tc-desc{font-size:14px;line-height:1.45;color:#5B6475;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.th-line{stroke:#D1D5DB;stroke-width:1}.th-head{fill:#E4611B}.th-card{fill:#fff;stroke:#D1D5DB}.th-a{fill:#E4611B}.th-b{fill:#9db4c8}.th-b2{fill:#B5410F}.th-bar{fill:#1E40AF}.th-empty{fill:#dde5d7}
.th-plan{fill:none;stroke:#1E40AF;stroke-width:4;stroke-linecap:round}.th-actual{fill:none;stroke:#E4611B;stroke-width:4;stroke-linecap:round}.th-dot{fill:#E4611B}
.th-min{stroke:#E4611B;stroke-width:2;stroke-dasharray:5 4}.th-t{font:700 11px system-ui,sans-serif;fill:#1F2937}.th-w{fill:#fff}.th-s{font:600 10px system-ui,sans-serif;fill:#5B6475}
.th-big{font-size:18px}
@media (max-width:600px){.tc-thumb svg{height:120px;aspect-ratio:auto}}
.gt-plan{fill:#cfe0ea}.gt-done{fill:#1E40AF}.gt-late{fill:#E4611B}.gt-today{stroke:#c0392b;stroke-width:2;stroke-dasharray:4 3}.gt-key-plan{background:#cfe0ea;height:10px}.gt-key-done{background:#1E40AF;height:10px}.gt-key-late{background:#E4611B;height:10px}
.bb-pct{font:700 11px system-ui,sans-serif;fill:#fff}
.bb-key{list-style:none;padding:0;margin:6px 0;display:flex;flex-wrap:wrap;gap:4px 14px;font-size:14px}.bb-key span{display:inline-block;width:12px;height:12px;border-radius:2px;margin-right:6px;vertical-align:-1px}
.co-in{fill:#cfe0ea}.co-next{fill:#EEF0F3}.co-cut{stroke:#c0392b;stroke-width:2;stroke-dasharray:5 3}.co-cut-label{font:700 11px system-ui,sans-serif;fill:#c0392b}.co-dot-in{fill:#1E40AF}.co-dot-next{fill:#9CA3AF}
.refs{margin:28px 0}.refs ol{padding-left:22px}.refs li{margin:6px 0;font-size:15px;color:#4B5563}.refs a{font-weight:600}
.tc-shot img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;object-position:left top;background:#fff}@media (max-width:600px){.tc-shot img{aspect-ratio:16/7}}
.th-cell{fill:#fff;stroke:#e6d9a6}.th-c{font:500 7px system-ui,sans-serif;fill:#1F2937}.th-cb{font-weight:700}#finance-tabs .section-heading{display:block}#finance-tabs .section-heading p{margin:6px 0 16px;color:#5B6475}
.th-c.th-w{fill:#fff}
.fl-box{fill:#F6F7F9;stroke:#B5410F}.fl-doc{fill:#fff;stroke:#9db4c8}.fl-key{fill:#1E40AF}.fl-key+text{fill:#fff}.fl-t{font:600 11px system-ui,sans-serif;fill:#1F2937}.fl-arrow{stroke:#5B6475;stroke-width:1.5}.fl-head{fill:#5B6475}.pl-wall{stroke:#1F2937;stroke-width:6;stroke-linecap:square}.pl-axis{stroke:#E4611B;stroke-width:1;stroke-dasharray:6 4}.pl-gap{stroke:#f9faf7;stroke-width:8}.pl-tag{fill:#fff;stroke:#E4611B}.pl-t{font:600 11px system-ui,sans-serif;fill:#1F2937}.pl-op{font:700 10px system-ui,sans-serif;fill:#1E40AF}.pl-room{font:500 10px system-ui,sans-serif;fill:#9CA3AF}.pl-dim{stroke:#5B6475;stroke-width:1}.sec-dig{fill:#f3ead7;stroke:#b89b5e;stroke-dasharray:5 3}.sec-found{fill:#9CA3AF;stroke:#5B6475}.sec-beam{fill:#5B6475}.sec-ground{stroke:#B5410F;stroke-width:2}
.fl-w{fill:#fff}.wip-gap{fill:none;stroke:#E4611B;stroke-width:2;stroke-dasharray:4 3}
/* Home and library redesign (owner, 9 Oct 2026: report filling first, supporting articles elsewhere, an easy way back to the pilot). */
.home-steps{list-style:none;display:flex;flex-wrap:wrap;gap:8px;padding:0;margin:20px 0 0}.home-steps a{display:inline-flex;align-items:center;gap:8px;padding:8px 14px 8px 8px;border:1px solid #D1D5DB;border-radius:999px;background:#fff;color:inherit;text-decoration:none;font-weight:600;font-size:14px}.home-steps a:hover{border-color:#B5410F}.home-steps b{display:inline-grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#111827;color:#E4611B;font-size:12px}
.home-articles{margin:40px 0}.home-articles .section-heading{display:flex;justify-content:space-between;align-items:baseline;gap:12px;flex-wrap:wrap}
.all-articles{font-weight:700;color:#1E40AF;text-decoration:none}.related .all-articles{border-top:none}
.art-list{display:grid;gap:8px;grid-template-columns:repeat(auto-fill,minmax(320px,1fr))}
.art-row{display:flex;align-items:center;gap:12px;padding:8px;border:1px solid #E5E7EB;border-radius:10px;background:#fff;color:inherit;text-decoration:none}.art-row:hover{border-color:#B5410F}
.art-row .tc-thumb{flex:0 0 96px;border:none;border-radius:6px;overflow:hidden}.art-row .tc-thumb svg{width:96px;height:54px;aspect-ratio:auto}
.art-row small{display:block;font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:#5B6475}.art-row b{font-size:15px;line-height:1.3}
.lib-filter{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 20px}.lib-filter button{padding:7px 14px;border:1px solid #D1D5DB;border-radius:999px;background:#fff;font:inherit;font-size:14px;cursor:pointer}.lib-filter button[aria-pressed="true"]{background:#111827;color:#fff;border-color:#111827}
.lib-group{margin:0 0 28px}.lib-group h2{font-size:20px;margin:0 0 10px}
.nav-pilot{padding:6px 12px;border-radius:999px;background:#E4611B;color:#111827!important;font-weight:700;text-decoration:none}
.pilot-bar{position:fixed;left:50%;bottom:16px;transform:translateX(-50%);z-index:50;display:flex;align-items:center;gap:12px;max-width:calc(100% - 32px);padding:10px 10px 10px 16px;border-radius:12px;background:#111827;color:#fff;box-shadow:0 8px 24px rgba(0,0,0,.18);font-size:14px}.pilot-bar[hidden]{display:none}.pilot-bar .button{white-space:nowrap;background:#E4611B;color:#111827;padding:8px 14px}.pilot-bar button{background:none;border:none;color:#fff;font-size:20px;cursor:pointer;padding:0 6px}
@media (max-width:600px){.pilot-bar span{display:none}.art-list{grid-template-columns:1fr}.home-steps a{font-size:13px}}
@media (max-width:600px){#guides .cards{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:12px;padding-bottom:6px}#guides .cards>.card{flex:0 0 84%;scroll-snap-align:start}}
.nav-pilot{white-space:nowrap}
.byline{margin:-18px 0 18px;font-size:14px;color:#5B6475}.toc-inline{margin:0 0 26px;padding:14px 18px;border:1px solid #E5E7EB;border-radius:10px;background:#fff;max-width:900px}.toc-inline b{display:block;margin-bottom:6px}.toc-inline ol{margin:0;padding-left:20px;columns:2;column-gap:28px;font-size:15px}.toc-inline li{margin:3px 0;break-inside:avoid}.toc-inline a{color:inherit}.agent-box{margin:28px 0;padding:18px 22px;border-radius:12px;background:#111827;color:#fff}.agent-box .eyebrow{color:#E4611B}.agent-box p{color:#fff;margin:8px 0}.agent-box .button{background:#E4611B;color:#111827}.agent-box .button.secondary{background:transparent;color:#fff;border-color:#fff}@media (max-width:600px){.toc-inline ol{columns:1}}
/* Free calculators (calc.js). */
.calc-wrap{margin:26px 0;padding:18px 20px;border:1px solid #D1D5DB;border-radius:12px;background:#fff}.calc h3{margin:0 0 6px;font-size:20px}
.calc-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch}.calc-table{width:100%;border-collapse:collapse;font-size:14px;margin:10px 0}.calc-table th,.calc-table td{padding:6px 8px;border-bottom:1px solid #e6ebe2;text-align:left;vertical-align:middle}
.calc-table thead th{background:#F6F7F9;font-size:13px}.calc-table td.out{font-weight:700;white-space:nowrap;text-align:right}.calc-table tfoot th{text-align:right;font-weight:600}.calc-table tfoot td.out{color:#1E40AF}
.calc input{width:100%;min-width:90px;box-sizing:border-box;padding:7px 9px;border:1px solid #D1D5DB;border-radius:6px;font:inherit;font-size:14px;background:#fffbea}.calc input.num{text-align:right}
.calc-del{border:none;background:none;font-size:18px;color:#9CA3AF;cursor:pointer}.calc-add{margin:4px 0}.calc-note{font-size:13px;color:#5B6475;margin:8px 0 0}
.calc-field{display:block;font-size:14px;font-weight:600;margin:8px 0}.calc-field input{margin-top:4px}.calc-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:4px 16px}
.calc-result{max-width:560px}.calc-result th{font-weight:500}.calc-total th,.calc-total td{font-size:16px;font-weight:800!important;color:#111827;border-top:2px solid #111827}
.chip{padding:7px 14px;border:1px solid #D1D5DB;border-radius:999px;background:#fff;color:inherit;text-decoration:none;font-size:14px}.calc-section{scroll-margin-top:20px}
/* Webinar and template sign-up (signup.py). */
.signup-box{display:grid;grid-template-columns:1fr 1.1fr;gap:24px;margin:30px 0;padding:24px;border:1px solid #D1D5DB;border-radius:14px;background:#F6F7F9}.signup-box h2{margin:6px 0 8px;font-size:26px}
.signup label span{display:block;font-size:13px;font-weight:600;margin-bottom:4px}.signup input[type=email],.signup input:not([type]){width:100%;box-sizing:border-box;padding:9px 11px;border:1px solid #D1D5DB;border-radius:8px;font:inherit;background:#fff}
.signup-grid{display:grid;gap:10px;margin-bottom:10px}.signup-check{display:flex;gap:8px;align-items:center;font-size:14px;margin:6px 0}.signup .button{margin-top:10px}
.signup-status{font-weight:700;color:#9A3412;margin:8px 0 0}.signup-note{font-size:12px;color:#5B6475;margin:8px 0 0}.signup.done .signup-grid,.signup.done .signup-check,.signup.done .signup-row,.signup.done>.button{display:none}
.signup-slim{margin:26px 0;padding:16px 18px;border:1px solid #D1D5DB;border-radius:12px;background:#F6F7F9}.signup-slim .signup-lead{margin:0 0 8px}.signup-row{display:flex;gap:10px;align-items:end}.signup-row .signup-email{flex:1}.signup-row .button{margin:0;white-space:nowrap}
@media (max-width:700px){.signup-box{grid-template-columns:1fr}.signup-row{flex-direction:column;align-items:stretch}}
.btn-row{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.btn-row .button{margin:0}@media (max-width:600px){.btn-row .button{flex:1 1 100%;text-align:center;justify-content:center}}
.btn-row .button,.btn-row .button.secondary,.btn-row .button+.button{margin:0!important}
.ev-ev{fill:none;stroke:#B5410F;stroke-width:3}.ev-key{background:#B5410F}
/* Articles by project phase (home journey and library groups). */
.phase-journey{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.phase-card{position:relative;padding:16px 16px 14px;border:1px solid #E5E7EB;border-radius:12px;background:#fff;display:flex;flex-direction:column;gap:4px}
.phase-card b{font-size:17px}.phase-card small{color:#5B6475;font-size:13px}.phase-card ul{margin:8px 0;padding-left:18px;font-size:14px;flex:1}.phase-card li{margin:4px 0}.phase-card li a{color:inherit}
.phase-no{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#111827;color:#E4611B;font-weight:800;font-size:14px;margin-bottom:4px}
.phase-card.phase-finance-tab{background:#F6F7F9}.phase-card.phase-finance-tab .phase-no{background:#1E40AF;color:#fff}
.lib-group h2{display:flex;align-items:center;gap:10px}.lib-group>p.small{margin:-4px 0 12px;color:#5B6475}
@media (max-width:900px){.phase-journey{grid-template-columns:1fr 1fr}}@media (max-width:600px){.phase-journey{grid-template-columns:1fr}}
.all-articles{white-space:nowrap}
.ph-t{font:500 9px system-ui,sans-serif;fill:#1F2937}.ph-b{font-weight:800}
/* Phase colours: 1 before = blue, 2 during = green, 3 end = orange, company finance = dark. */
.ph-tag{display:inline-block;margin:0 8px 4px 0;padding:2px 8px;border-radius:999px;font-size:11px;font-weight:700;letter-spacing:.03em;text-transform:none;color:#fff;vertical-align:middle}
.ph-pre{background:#1E40AF}.ph-during{background:#B5410F}.ph-post{background:#B5410F}.ph-finance-tab{background:#1F2937}
.lib-head{display:flex;align-items:center;gap:12px;padding:14px 16px;border-radius:12px;margin:0 0 8px;color:#fff}.lib-head h2{margin:0!important;font-size:22px;color:#fff}.lib-head p{margin:2px 0 0;font-size:14px;opacity:.9}
.lib-head .phase-no{margin:0;background:#fff;flex:0 0 32px;width:32px;height:32px;font-size:16px}
.lib-group.phase-pre .lib-head{background:#1E40AF}.lib-group.phase-pre .phase-no{color:#1E40AF}
.lib-group.phase-during .lib-head{background:#B5410F}.lib-group.phase-during .phase-no{color:#B5410F}
.lib-group.phase-post .lib-head{background:#B5410F}.lib-group.phase-post .phase-no{color:#B5410F}
.lib-group.phase-finance-tab .lib-head{background:#1F2937}.lib-group.phase-finance-tab .phase-no{color:#1F2937}
.lib-group{margin:0 0 40px}.lib-step{font-size:15px;margin:18px 0 8px;padding-left:10px;border-left:4px solid #D1D5DB;color:#1F2937}
.lib-group.phase-pre .lib-step{border-color:#1E40AF}.lib-group.phase-during .lib-step{border-color:#B5410F}.lib-group.phase-post .lib-step{border-color:#B5410F}
.phase-card.phase-pre{border-top:5px solid #1E40AF}.phase-card.phase-during{border-top:5px solid #B5410F}.phase-card.phase-post{border-top:5px solid #B5410F}.phase-card.phase-finance-tab{border-top:5px solid #1F2937}
.phase-card.phase-pre .phase-no{background:#1E40AF;color:#fff}.phase-card.phase-during .phase-no{background:#B5410F;color:#fff}.phase-card.phase-post .phase-no{background:#B5410F;color:#fff}.phase-card.phase-finance-tab .phase-no{background:#1F2937;color:#fff}
.lib-filter button[data-filter="pre"]{border-color:#1E40AF;color:#1E40AF}.lib-filter button[data-filter="during"]{border-color:#B5410F;color:#B5410F}.lib-filter button[data-filter="post"]{border-color:#B5410F;color:#B5410F}
.lib-filter button[data-filter="pre"][aria-pressed="true"]{background:#1E40AF;color:#fff}.lib-filter button[data-filter="during"][aria-pressed="true"]{background:#B5410F;color:#fff}.lib-filter button[data-filter="post"][aria-pressed="true"]{background:#B5410F;color:#fff}
.art-row small .ph-tag{display:table;margin:0 0 4px}.article-head .eyebrow .ph-tag{font-size:12px}
.eyebrow .ph-tag{color:#fff!important;letter-spacing:.03em;text-transform:none}
