/* PCH Toolbox: tools, rail, prev/next, hub journey. Scoped to .pcht. */
.pcht{--pcht-ink:#172F40;--pcht-muted:#4F6672;--pcht-line:#E3E8EB;--pcht-soft:#F1F4F6;--pcht-blue:#2F5BC4;--pcht-teal:#0E7FA6;--pcht-purple:#7A4BC4;--pcht-clay:#B4530E;--pcht-green:#0E9F6E;color:var(--pcht-ink);font-size:15px;line-height:1.5;box-sizing:border-box}
.pcht *,.pcht *::before,.pcht *::after{box-sizing:border-box}
.pcht p{margin:0}
.pcht button{font-family:inherit;cursor:pointer}
.pcht .screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}
.pcht-loading{color:var(--pcht-muted);padding:24px 0}

/* Tool card */
.pcht-tool{background:#fff;border:1px solid var(--pcht-line);border-radius:20px;padding:26px}
.pcht-tool-head{margin-bottom:18px}
.pcht-eyebrow{font-size:13px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--pcht-teal)}
.pcht-tool h2.pcht-h{margin:4px 0 0;font-size:26px;line-height:1.2;font-weight:700;color:var(--pcht-ink);font-family:inherit}
.pcht-tool h3.pcht-h3{margin:0 0 10px;font-size:16px;font-weight:700;font-family:inherit;color:var(--pcht-ink)}
.pcht-cols{display:flex;flex-wrap:wrap;gap:30px}
.pcht-col{flex:1 1 380px;min-width:0;display:flex;flex-direction:column;gap:16px}
.pcht-col-wide{flex:1.4 1 460px}
.pcht-note{font-size:12.5px;line-height:1.5;color:var(--pcht-muted)}

/* Inputs */
.pcht-field label,.pcht-field .pcht-lab{display:flex;justify-content:space-between;gap:10px;font-size:14px;font-weight:500;margin-bottom:4px}
.pcht-field output,.pcht-field .pcht-val{font-weight:700}
.pcht input[type=range]{width:100%;height:28px;accent-color:var(--pcht-blue);margin:0;background:none}
.pcht input[type=number],.pcht input[type=text],.pcht input[type=date]{width:100%;min-height:44px;border:1px solid #C9D4D9;border-radius:8px;padding:0 10px;font:inherit;font-size:15px;color:var(--pcht-ink);background:#fff}
.pcht input[type=checkbox]{width:20px;height:20px;margin:2px 0 0;accent-color:var(--pcht-ink);flex:0 0 20px}
.pcht-grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.pcht-grid3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
@media(max-width:560px){.pcht-grid2,.pcht-grid3{grid-template-columns:1fr}}
.pcht-seg{display:flex;flex-wrap:wrap;gap:8px}
.pcht-seg button{min-height:44px;padding:0 15px;border-radius:10px;font-size:14px;font-weight:600;border:2px solid #C9D4D9;background:#fff;color:var(--pcht-ink)}
.pcht-seg button[aria-pressed=true]{background:var(--pcht-ink);border-color:var(--pcht-ink);color:#fff}
.pcht fieldset{border:0;margin:0;padding:0;min-width:0}
.pcht legend{font-size:15px;font-weight:700;margin-bottom:8px;padding:0}

/* Results */
.pcht-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px}
.pcht-kpi{border-radius:16px;padding:16px 18px;background:#E6F6FC}
.pcht-kpi small{display:block;font-size:13px;color:#34505E}
.pcht-kpi b{display:block;font-size:28px;line-height:1.2;margin-top:4px}
.pcht-kpi span{display:block;font-size:13px;color:#34505E;margin-top:4px}
.pcht-kpi.is-dark{background:var(--pcht-ink);color:#fff}
.pcht-kpi.is-dark small,.pcht-kpi.is-dark span{color:#C9D7DE}
.pcht-kpi.is-green{background:#EEF9F3}
.pcht-kpi.is-warm{background:#FFF6EC}
.pcht-kpi.is-purple{background:#F3EDFB}
.pcht-callout{border-radius:14px;padding:14px 16px;background:#FFF6EC;font-size:15px;line-height:1.55}
.pcht-callout.is-blue{background:#E6F6FC}
.pcht-callout.is-green{background:#EEF9F3}
.pcht-table-wrap{overflow-x:auto}
.pcht table{width:100%;border-collapse:collapse;font-size:14px;margin:0}
.pcht th{text-align:left;color:var(--pcht-muted);font-weight:700;padding:8px 6px;border:0;background:none}
.pcht td{padding:9px 6px;border:0;border-top:1px solid var(--pcht-line);background:none;vertical-align:middle}
.pcht tr.is-best td{background:#EEF9F3}
.pcht-swatch{display:inline-block;width:11px;height:11px;border-radius:3px;margin-right:8px;vertical-align:-1px}

/* Charts */
.pcht-legend{display:flex;flex-direction:column;gap:8px;font-size:14px;flex:1 1 200px}
.pcht-legend div{display:flex;align-items:center;gap:10px}
.pcht-legend div span:nth-child(2){flex:1}
.pcht-donut-row{display:flex;flex-wrap:wrap;gap:24px;align-items:center}
.pcht-donut{width:190px;height:190px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex:0 0 190px}
.pcht-donut>div{width:118px;height:118px;border-radius:50%;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}
.pcht-donut b{font-size:22px}
.pcht-donut small{font-size:12px;color:var(--pcht-muted)}
.pcht-gauge{position:relative;height:16px;border-radius:99px;background:linear-gradient(90deg,#0E9F6E 0 60%,#E8A317 60% 71.6%,#C2410C 71.6% 100%)}
.pcht-gauge i{position:absolute;top:-5px;width:4px;height:26px;background:var(--pcht-ink);border-radius:2px}
.pcht-scale{display:flex;justify-content:space-between;font-size:12px;color:var(--pcht-muted);margin-top:6px}
.pcht-vbars{display:flex;align-items:flex-end;gap:14px;height:210px;border-bottom:2px solid #C9D4D9;padding:0 6px}
.pcht-vbars>div{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;height:100%;gap:6px;font-size:13px;font-weight:700}
.pcht-vbars>div>i{display:block;width:100%;max-width:110px;border-radius:7px 7px 0 0}
.pcht-vlabels{display:flex;gap:14px;padding:7px 6px 0}
.pcht-vlabels p{flex:1;text-align:center;font-size:12px;font-weight:700}
.pcht-vlabels p span{display:block;font-weight:400;color:var(--pcht-muted)}
.pcht-hbars{display:flex;flex-direction:column;gap:10px}
.pcht-hbar{display:flex;align-items:center;gap:12px;font-size:14px}
.pcht-hbar>span:first-child{flex:0 0 160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pcht-hbar>div{flex:1;height:22px;background:var(--pcht-soft);border-radius:6px;position:relative}
.pcht-hbar>div>i{position:absolute;top:0;bottom:0;border-radius:6px}
.pcht-hbar>b{flex:0 0 92px;text-align:right}
@media(max-width:560px){.pcht-hbar>span:first-child{flex-basis:100px;white-space:normal;font-size:13px;line-height:1.25}.pcht-hbar>b{flex-basis:70px;font-size:13px}}
.pcht-svg{width:100%;height:auto;display:block}
.pcht-lines-legend{display:flex;flex-wrap:wrap;gap:18px;font-size:14px;margin-top:6px}
.pcht-lines-legend span{display:flex;align-items:center;gap:8px}
.pcht-lines-legend i{width:18px;height:4px;border-radius:2px;display:inline-block}

/* Checklists */
.pcht-checks{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:2px 18px}
.pcht-checks label{display:flex;gap:12px;align-items:flex-start;padding:10px 4px;min-height:44px;cursor:pointer;font-size:15px;line-height:1.45}
.pcht-checks label strong{display:block}
.pcht-checks label small{display:block;font-size:13px;color:var(--pcht-muted)}
.pcht-count{font-size:14px;font-weight:700;color:var(--pcht-clay)}
.pcht-bar{height:10px;background:var(--pcht-line);border-radius:99px;overflow:hidden;margin:10px 0}
.pcht-bar span{display:block;height:10px;background:var(--pcht-green);border-radius:99px}
.pcht-btn{display:inline-block;min-height:44px;line-height:44px;padding:0 18px;border-radius:10px;background:var(--pcht-ink);color:#fff!important;font-weight:700;font-size:15px;text-decoration:none!important;border:0}
.pcht-btn.is-soft{background:var(--pcht-soft);color:var(--pcht-ink)!important}
.pcht-btn.is-blue{background:var(--pcht-blue)}

/* Timeline (deposits) */
.pcht-track{position:relative;height:100px;margin:0 56px}
.pcht-track>hr{position:absolute;left:0;right:0;top:38px;height:6px;background:var(--pcht-line);border:0;border-radius:99px;margin:0}
.pcht-mark{position:absolute;top:0;transform:translateX(-50%);display:flex;flex-direction:column;align-items:center;gap:6px;width:110px;text-align:center}
.pcht-mark b{font-size:12px;white-space:nowrap}
.pcht-mark i{width:22px;height:22px;border-radius:50%;border:3px solid #fff;box-shadow:0 0 0 1px #C9D4D9}
.pcht-mark small{font-size:12px;color:var(--pcht-muted);line-height:1.3}

/* Gantt */
.pcht-gantt{min-width:720px;display:flex;flex-direction:column;gap:8px}
.pcht-gantt>div{display:flex;align-items:center;gap:14px}
.pcht-gantt>div>p{flex:0 0 250px;font-size:14px;font-weight:500}
.pcht-gantt>div>p small{display:block;font-size:12px;color:var(--pcht-muted);font-weight:400}
.pcht-gantt>div.is-mile>p{color:var(--pcht-purple);font-weight:700}
.pcht-gantt>div>div{flex:1;height:24px;background:#F7F9FA;border-radius:6px;position:relative}
.pcht-gantt>div>div>i{position:absolute;top:0;height:24px;border-radius:6px;background:#E9A46A}
.pcht-gantt>div.is-mile>div>i{top:4px;width:16px;height:16px;border-radius:3px;background:var(--pcht-purple);transform:translateX(-8px) rotate(45deg)}

/* Rail */
.pcht-rail{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;font-size:13px}
.pcht-rail-home{font-weight:700;color:var(--pcht-ink)!important;text-decoration:none!important}
.pcht-rail-label{color:var(--pcht-muted)}
.pcht-rail ol{display:flex;flex-wrap:wrap;gap:6px;list-style:none;margin:0 0 0 auto;padding:0}
.pcht-rail li{margin:0;padding:0}
.pcht-rail li a{width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:700;text-decoration:none!important;background:var(--pcht-soft);color:var(--pcht-ink)!important}
.pcht-rail li.is-done a{background:color-mix(in srgb,var(--pcht-c) 18%,#fff)}
.pcht-rail li.is-current a{background:var(--pcht-c);color:#fff!important}
@media(max-width:600px){.pcht-rail ol{margin-left:0}}

/* Prev / next */
.pcht-nav{display:flex;flex-wrap:wrap;gap:14px}
.pcht-nav a{flex:1 1 280px;border-radius:14px;padding:18px;text-decoration:none!important;display:flex;flex-direction:column;gap:2px}
.pcht-nav a span{font-size:13px}
.pcht-nav a strong{font-size:18px}
.pcht-nav-prev{background:#fff;border:1px solid var(--pcht-line);color:var(--pcht-ink)!important}
.pcht-nav-prev span{color:var(--pcht-muted)}
.pcht-nav-next{background:var(--pcht-ink);color:#fff!important;text-align:right}
.pcht-nav-next span{color:#C9D7DE}

/* Hub journey */
.pcht-journey{display:flex;flex-direction:column;gap:22px}
.pcht-progress{background:#fff;border:1px solid var(--pcht-line);border-radius:16px;padding:16px 18px}
.pcht-progress-bar{height:10px;background:var(--pcht-line);border-radius:99px;overflow:hidden}
.pcht-progress-bar span{display:block;height:10px;background:var(--pcht-green);border-radius:99px;transition:width .2s}
.pcht-progress-text{margin-top:8px!important;font-size:13px;color:var(--pcht-muted)}
.pcht-phase{background:#fff;border:1px solid var(--pcht-line);border-radius:18px;padding:22px}
.pcht-phase header{display:flex;flex-wrap:wrap;align-items:baseline;gap:12px;margin-bottom:16px}
.pcht-phase h3{margin:0;font-size:22px;font-weight:700;font-family:inherit;color:var(--pcht-ink)}
.pcht-chip{color:#fff;font-weight:700;font-size:13px;padding:5px 12px;border-radius:99px}
.pcht-muted{font-size:14px;color:var(--pcht-muted)}
.pcht-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:14px}
.pcht-step-card{border:1px solid var(--pcht-line);border-radius:14px;padding:16px;display:flex;flex-direction:column;gap:10px;background:#fff}
.pcht-step-card.is-done{background:#EEF9F3}
.pcht-step-top{display:flex;align-items:center;justify-content:space-between;gap:10px}
.pcht-num{width:38px;height:38px;border-radius:50%;background:var(--pcht-ink);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700}
.pcht-step-top button{min-height:44px;border:1px solid #C9D4D9;background:#fff;color:var(--pcht-ink);border-radius:8px;padding:0 12px;font-size:13px;font-weight:700}
.pcht-step-title{font-size:18px;font-weight:700;color:var(--pcht-ink)!important;text-decoration:none!important}
.pcht-step-card p{font-size:14px;line-height:1.5;color:var(--pcht-muted)}
.pcht-step-card .pcht-step-tool{font-size:13px;font-weight:700;color:var(--pcht-teal)}
.pcht-bonus{background:var(--pcht-ink);color:#fff;border-radius:18px;padding:20px 22px;display:flex;flex-wrap:wrap;gap:16px;align-items:center;justify-content:space-between}
.pcht-bonus strong{display:block;font-size:18px}
.pcht-bonus span{display:block;font-size:14px;color:#C9D7DE;margin-top:4px}
.pcht-bonus a{background:#fff;color:var(--pcht-ink)!important;text-decoration:none!important;padding:12px 18px;border-radius:8px;font-weight:700;font-size:14px}

/* Quiz */
.pcht-quiz-wrap{display:flex;flex-wrap:wrap;gap:30px}
.pcht-quiz-result{flex:1 1 320px;background:#E6F6FC;border-radius:16px;padding:20px;display:flex;flex-direction:column;gap:8px;align-self:flex-start}
.pcht-quiz-result b{font-size:26px;line-height:1.2}
.pcht-quiz-qs{flex:1.4 1 460px;display:flex;flex-direction:column;gap:18px}

/* Print */
@media print{.pcht-rail,.pcht-nav,.pcht-seg,.pcht input[type=range]{display:none}.pcht-tool{border:0;padding:0}}
