.pco-tools{--pink:#d86c96;--purple:#7560a8;--ink:#403847;--muted:#776d7b;max-width:1100px;margin:24px auto;padding:clamp(14px,3vw,30px);color:var(--ink);font-family:inherit}.pco-tools *{box-sizing:border-box}.pco-tools__hero{background:linear-gradient(120deg,#fff0f6,#f2edff);padding:clamp(24px,4vw,42px);border-radius:24px;margin-bottom:22px}.pco-tools__hero span{letter-spacing:.15em;font-size:11px;font-weight:700;color:var(--purple)}.pco-tools__hero h2{font-size:clamp(27px,4vw,38px);margin:10px 0;color:#51405e;line-height:1.15}.pco-tools__hero p,.pco-tools__muted{color:var(--muted);line-height:1.6}.pco-tools__cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.pco-tools__card{display:flex;flex-direction:column;gap:10px;padding:22px;border:1px solid #efdce8;border-radius:18px;background:#fff;text-decoration:none!important;color:var(--ink)!important;box-shadow:0 6px 22px #5336580b;transition:transform .15s,box-shadow .15s}.pco-tools__card:hover{transform:translateY(-2px);box-shadow:0 10px 28px #53365814}.pco-tools__icon{display:grid;place-items:center;width:44px;height:44px;background:#fff0f6;border-radius:14px;font-size:23px}.pco-tools__card strong{font-size:17px}.pco-tools__card small{font-size:13px;line-height:1.5;color:var(--muted);flex:1}.pco-tools__link{font-size:13px;color:var(--purple);font-weight:700}.pco-tools__section{scroll-margin-top:30px;margin-top:24px;padding:clamp(20px,3vw,30px);border:1px solid #efdeea;border-radius:20px;background:#fff}.pco-tools__section h3{margin:0 0 10px;font-size:24px;color:#594568}.pco-tools__section p{line-height:1.6}.pco-tools__form{max-width:760px;display:grid;gap:14px}.pco-tools__form label{font-size:13px;font-weight:600;display:grid;gap:7px}.pco-tools input:not([type=checkbox]),.pco-tools select{width:100%;min-width:0;min-height:44px;padding:10px 12px;border:1px solid #e5d8e4;border-radius:10px;background:#fff;color:var(--ink);font:inherit}.pco-tools__fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.pco-tools__unit{display:flex;gap:7px}.pco-tools__unit input{flex:1}.pco-tools__unit select{width:85px;flex:0 0 85px}.pco-tools__form button{justify-self:start;border:0;border-radius:999px;padding:12px 20px;background:linear-gradient(100deg,var(--pink),var(--purple));color:#fff;font:inherit;font-weight:700;cursor:pointer}.pco-tools__form button.pco-tools__secondary{background:#f5edf8;color:var(--purple)}.pco-tools output{display:block;min-height:42px;padding:13px 15px;border-radius:12px;background:#faf6fc;color:#634d87;font-weight:600;line-height:1.6;overflow-wrap:anywhere}.pco-tools__note,.pco-tools__disclaimer{font-size:12px;color:var(--muted);line-height:1.65}.pco-tools__disclaimer{padding:16px;background:#fff8ed;border:1px solid #f0dfc2;border-radius:14px;margin-top:22px}.pco-tools__quiz label{display:flex;align-items:flex-start;gap:10px;font-weight:500;line-height:1.5}.pco-tools__quiz input[type=checkbox]{margin-top:3px;accent-color:var(--purple)}.pco-conc{padding:0;margin:10px 0}.pco-conc .pco-tools__form{max-width:none}@media(max-width:760px){.pco-tools__cards{grid-template-columns:repeat(2,minmax(0,1fr))}.pco-tools__fields{grid-template-columns:1fr}.pco-tools__card{padding:17px}}@media(max-width:460px){.pco-tools__cards{grid-template-columns:1fr}.pco-tools__hero{border-radius:18px}}
/* Click-to-open tool panels */
.pco-tools__card{width:100%;text-align:left;font:inherit;cursor:pointer}
.pco-tools__card:focus-visible{outline:3px solid #9b87d2;outline-offset:3px}
.pco-tools__tool-panel[hidden]{display:none!important}
.pco-tools__tool-panel{animation:pcoToolReveal .18s ease-out}
.pco-tools__back{display:inline-flex;align-items:center;gap:6px;margin:0 0 16px;border:1px solid #e6d7e8;background:#fff;color:var(--purple);border-radius:999px;padding:9px 14px;font:inherit;font-size:13px;font-weight:700;cursor:pointer}
@keyframes pcoToolReveal{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}

.pco-tools [hidden]{display:none!important}

.pco-tools [hidden]{display:none!important}

/* Inline mode: keep the tool cards visible above the selected calculator. */
.pco-tools__cards[hidden], .pco-tools__hero[hidden]{display:block!important}
.pco-tools__tool-panel[hidden]{display:none!important}
.pco-tools__tool-panel{margin-top:24px}

.pco-tools #pco-bmi-result{line-height:1.7}

/* DEE results layout inspired by the provided maintenance-calorie example */
.pco-tools .pco-dee-results{display:grid;grid-template-columns:minmax(220px,.8fr) minmax(0,1.7fr);gap:clamp(22px,4vw,42px);align-items:start;color:#383838;font-weight:400}
.pco-tools .pco-dee-summary h4{font-size:20px;text-align:center;margin:0 0 20px;color:#383838}
.pco-tools .pco-dee-stat{display:flex;min-height:180px;flex-direction:column;justify-content:center;align-items:center;gap:4px;background:#fcf6e8;border:1px solid #eee2b1;padding:24px 12px;text-align:center}
.pco-tools .pco-dee-stat:first-of-type{border-radius:28px 28px 0 0}
.pco-tools .pco-dee-week{border-top:0;border-radius:0 0 28px 28px}
.pco-tools .pco-dee-stat strong{font-size:clamp(38px,5vw,64px);line-height:1.15;color:#2c4055}
.pco-tools .pco-dee-stat em{font-size:18px;font-weight:400}
.pco-tools .pco-dee-details p{font-size:clamp(16px,2vw,22px);line-height:1.5;margin:0 0 20px;font-weight:400;color:#383838}
.pco-tools .pco-dee-table{border-top:1px solid #ddd}
.pco-tools .pco-dee-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;padding:11px 10px;border-bottom:1px solid #ddd;font-size:clamp(14px,1.6vw,18px);font-weight:400;color:#383838}
.pco-tools .pco-dee-row span:last-child{text-align:left}
.pco-tools .pco-dee-row.is-selected{font-weight:700;background:#fff8ed}
.pco-tools .pco-dee-row.is-selected span{font-weight:700}
.pco-tools #pco-dee-result{background:transparent;padding:0;color:inherit;font-weight:400}
@media(max-width:760px){.pco-tools .pco-dee-results{grid-template-columns:1fr}.pco-tools .pco-dee-summary{max-width:440px;width:100%;margin:0 auto}.pco-tools .pco-dee-stat{min-height:135px}.pco-tools .pco-dee-row{grid-template-columns:1fr;gap:3px}.pco-tools .pco-dee-row span:last-child{text-align:left}}

/* Reconstitution calculator layout inspired by the user's reference, without injection-dose outputs. */
.pco-tools .pco-recon-heading{text-align:center;margin:0 auto 34px;max-width:900px}
.pco-tools .pco-recon-heading h2{font-family:Georgia,'Times New Roman',serif;font-weight:400;font-size:clamp(36px,5.8vw,68px);line-height:1.08;letter-spacing:-.025em;color:#ce668b;margin:0 0 16px}
.pco-tools .pco-recon-heading p{font-size:clamp(15px,2vw,21px);line-height:1.65;color:#8f6b7b;margin:0}
.pco-tools .pco-recon-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px;align-items:stretch}
.pco-tools .pco-recon-input-card{border:1px solid #f2bfd0;border-radius:30px;padding:clamp(20px,3vw,42px);background:#fff}
.pco-tools .pco-recon-input-card .pco-tools__form{max-width:none;gap:22px}
.pco-tools .pco-recon-input-card .pco-tools__form label{font-size:16px;gap:10px}
.pco-tools .pco-recon-input-card input:not([type=checkbox]),.pco-tools .pco-recon-input-card select{min-height:58px;border-radius:22px;border-color:#f1bfd0;padding:14px 18px}
.pco-tools .pco-recon-input-card .pco-tools__unit select{width:90px;flex-basis:90px}
.pco-tools .pco-recon-results{border:1px solid #f2bfd0;border-radius:30px;padding:clamp(20px,3vw,42px);background:#fff4f7;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-content:start}
.pco-tools .pco-recon-result-card{border:1px solid #f2bfd0;border-radius:24px;background:#fff;padding:22px 20px;min-height:145px;display:flex;flex-direction:column;gap:8px}
.pco-tools .pco-recon-result-card span{font-size:12px;letter-spacing:.18em;font-weight:700;color:#d35d86}
.pco-tools .pco-recon-result-card strong{font-family:Georgia,'Times New Roman',serif;font-size:clamp(21px,2.5vw,30px);line-height:1.2;color:#ce668b;overflow-wrap:anywhere}
.pco-tools .pco-recon-result-card small{font-size:14px;color:#8f6b7b;line-height:1.5}
.pco-tools .pco-recon-result-note{grid-column:1/-1;border:1px solid #f2bfd0;border-radius:22px;background:#fff;padding:18px;color:#8f6b7b;font-size:13px;line-height:1.65}
.pco-tools .pco-recon-input-card output{margin-top:2px}
.pco-tools .pco-recon-input-card .pco-tools__form button{border-radius:18px}
@media(max-width:760px){.pco-tools .pco-recon-layout{grid-template-columns:1fr}.pco-tools .pco-recon-results{grid-template-columns:1fr}.pco-tools .pco-recon-heading{margin-bottom:22px}.pco-tools .pco-recon-input-card,.pco-tools .pco-recon-results{border-radius:22px}}

/* v1.3.8 reconstitution input labels and decorative syringe */
.pco-tools .pco-recon-input-card .pco-tools__form>label{position:relative;display:grid;gap:10px;font-size:16px;font-weight:700;color:#503740}
.pco-tools .pco-recon-unit-label{position:absolute;right:12px;top:38px;min-width:76px;min-height:48px;display:grid;place-items:center;border-radius:16px;background:#fbf2f5;color:#8f6b7b;font-weight:700}
.pco-tools .pco-recon-input-card #pco-amount,.pco-tools .pco-recon-input-card #pco-volume{padding-right:98px}
.pco-tools .pco-recon-syringe{grid-column:1/-1;border:1px solid #f2bfd0;border-radius:22px;background:#fff;padding:20px;display:flex;flex-direction:column;gap:12px;min-width:0}
.pco-tools .pco-recon-syringe>span{font-size:12px;letter-spacing:.18em;font-weight:700;color:#d35d86}
.pco-tools .pco-recon-syringe svg{display:block;width:100%;height:auto;max-height:180px}
.pco-tools .pco-recon-syringe small{font-size:12px;line-height:1.5;color:#8f6b7b}
@media(max-width:760px){.pco-tools .pco-recon-syringe{padding:14px}}

/* v1.4.0 interactive reconstitution calculator */
.pco-tools .pco-recon-input-card .pco-tools__unit{display:flex;gap:8px;align-items:stretch}
.pco-tools .pco-recon-input-card .pco-tools__unit input{flex:1;min-width:0}
.pco-tools .pco-recon-input-card .pco-tools__unit select{width:100px;flex:0 0 100px}
.pco-tools .pco-recon-results{align-content:start}
#pco-recon-syringe-svg{width:100%;height:auto;overflow:visible}
#pco-recon-syringe-fill{transition:width .18s ease}
#pco-syringe-mark-line,#pco-syringe-mark-dot{transition:all .18s ease}
