/* WardFlow Insights: discharge research visuals (v2.81).
   Scoped to Article 1. Standalone figures with useful static content. */
.wf60-article-body .wf81-panel{margin:36px 0 42px;scroll-margin-top:96px;overflow:hidden;border-radius:2px;line-height:1.6;border:1px solid #d5e3e1}
.wf81-panel h3{font:750 clamp(23px,2.35vw,30px)/1.25 var(--heading);letter-spacing:normal;margin:13px 0 9px;color:#173a46}
.wf81-panel p{font-size:14px;line-height:1.75;margin:0;color:#527079}
.wf81-kicker{font:800 10px/1.4 var(--bodyfont);letter-spacing:.12em;color:#176f74;display:inline-flex;align-items:center;gap:7px}
.wf81-tiny-star{font-size:15px;line-height:1;color:#259d97}
.wf81-panel figcaption{font:400 13px/1.75 var(--bodyfont);color:#425f68;border-top:1px solid #d7e5e1;margin:0;padding:16px clamp(18px,3vw,30px) 18px}
.wf81-panel figcaption a{font-weight:750;color:#126b75}
/* Research chart */
.wf81-data{background:#eff6f4}
.wf81-panel-head{padding:27px clamp(18px,3vw,30px) 21px}
.wf81-data .wf81-panel-head h3{max-width:590px}
.wf81-study{padding:0 clamp(18px,3vw,30px) 23px}
.wf81-study-row{display:grid;grid-template-columns:1fr;gap:9px;margin:0 0 20px}
.wf81-study-label{display:flex;align-items:baseline;justify-content:space-between;gap:12px;font-size:13px}
.wf81-study-label strong{color:#254850;font-weight:750}
.wf81-study-label span{font-size:13px;color:#3c5962;text-align:right;white-space:nowrap}
.wf81-study-track{height:18px;border-radius:4px;background:repeating-linear-gradient(to right,rgba(26,77,85,.09) 0 1px,transparent 1px 25%),#dceae8;overflow:hidden;position:relative}
.wf81-study-track:after{content:'';position:absolute;inset:0;border:1px solid rgba(36,89,96,.13);border-radius:4px;pointer-events:none}
.wf81-study-fill{height:100%;display:block;border-radius:3px}
.wf81-study-fill-active{background:#32aaa0}
.wf81-study-fill-elapsed{background:#1d526c}
.wf81-study-ticks{display:flex;justify-content:space-between;font:600 10.5px/1.4 var(--bodyfont);color:#425f68;margin-top:-7px;letter-spacing:.01em}
.wf81-study-counts{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:#cddfdd;margin:1px clamp(18px,3vw,30px) 23px;border:1px solid #cddfdd;border-radius:2px;overflow:hidden}
.wf81-study-counts>div{background:#f8fbfa;padding:15px 18px;display:flex;align-items:center;gap:15px}
.wf81-study-number{font:750 29px/1 var(--heading);letter-spacing:normal;color:#176d75;white-space:nowrap}
.wf81-study-counts>div>span:last-child{font-size:11.5px;line-height:1.5;color:#496b76}
/* Equipment handoff interaction */
.wf81-flow{background:#f9f7f1;border-color:#e0ddd1!important}
.wf81-flow-head{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:30px clamp(18px,3vw,30px) 24px}
.wf81-flow-head h3{max-width:570px}
.wf81-flow-head p{max-width:610px}
.wf81-handwritten{font:italic 500 14px/1.35 Georgia,serif;color:#307b83;transform:rotate(-7deg);white-space:nowrap;position:relative;margin-top:18px}
.wf81-handwritten-underline{display:block;height:12px;border-bottom:2px solid #54a8a7;border-radius:50%;transform:rotate(-4deg);margin-top:-3px}
.wf81-route{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:0 clamp(18px,3vw,30px) 21px;position:relative}
.wf81-route:before{content:'';position:absolute;top:31px;left:calc(clamp(18px,3vw,30px) + 30px);right:calc(clamp(18px,3vw,30px) + 30px);border-top:2px dashed #bfd1c9;pointer-events:none}
.wf81-stop{font:inherit;line-height:1.35;min-width:0;display:flex;align-items:flex-start;flex-direction:column;text-align:left;gap:7px;background:rgba(255,255,255,.75);border:1px solid #dedfd6;border-radius:2px;padding:12px 11px 13px;position:relative;cursor:pointer;min-height:177px;color:#274753;transition:background .18s,border-color .18s,transform .18s}
.wf81-stop:hover{background:#fff;border-color:#8bbbb8;transform:none}
.wf81-stop:focus-visible{outline:3px solid #329c9f;outline-offset:2px}
.wf81-stop-active{background:#fff;border-color:#b67854;box-shadow:inset 0 -2px #b67854;transform:none}
.wf81-stop-head{display:flex;align-items:center;justify-content:space-between;width:100%;gap:6px;margin-bottom:3px}
.wf81-stop-number{display:grid;place-items:center;min-width:34px;height:34px;border:1px solid #a2bcb8;border-radius:50%;background:#e7f2ef;color:#237576;font:750 11px/1 var(--heading);letter-spacing:.03em}
.wf81-stop-active .wf81-stop-number{background:#f8e8d9;color:#935433;border-color:#c99a79}
.wf81-stop-icon{height:27px;color:#789d9e}.wf81-stop-icon svg{width:24px;height:24px}
.wf81-stop strong{font:750 12.5px/1.35 var(--heading);letter-spacing:normal;color:#1b434f}
.wf81-stop small{font:400 11px/1.25 var(--bodyfont);color:#425f68}
.wf81-status{font:750 11px/1.3 var(--bodyfont);padding:5px 7px;border-radius:3px;margin-top:auto;letter-spacing:.025em;color:#276e61;background:#e4f3eb}
.wf81-status-warning{color:#95512a;background:#fff0dd}
.wf81-status-later{color:#425f68;background:#e8eef0}
.wf81-note{margin:0 clamp(18px,3vw,30px) 22px;background:#fff;border:1px solid #d5dfdb;border-left:4px solid #bf7d51;border-radius:2px;padding:18px 20px;min-height:155px}
.wf81-note-top{display:flex;align-items:center;justify-content:space-between;gap:8px;font:800 10px/1.4 var(--bodyfont);letter-spacing:.10em;color:#425f68;margin-bottom:10px}
.wf81-note-tag{font-weight:750;color:#97623d;letter-spacing:0;text-align:right}
.wf81-note>strong{display:block;font:750 16px/1.4 var(--heading);letter-spacing:normal;color:#254a56;margin-bottom:7px}
.wf81-note>p{font-size:12.5px;line-height:1.7;margin:0 0 11px}
.wf81-note-source{border-top:1px solid #e9eeee;padding-top:9px;font:650 11px/1.55 var(--bodyfont);color:#2e7277}
@media (max-width:680px){.wf81-flow-head{padding:25px 19px 19px}.wf81-handwritten{display:none}.wf81-route{grid-template-columns:repeat(2,minmax(0,1fr));padding:0 18px 19px;gap:9px}.wf81-route:before{display:none}.wf81-stop{min-height:153px;padding:12px}.wf81-note{margin:0 18px 18px}.wf81-panel-head{padding:23px 19px 20px}.wf81-study{padding:0 19px 21px}.wf81-study-counts{margin:0 19px 18px}.wf81-panel figcaption{padding:16px 19px 19px}}
@media (max-width:410px){.wf81-study-counts>div{padding:12px 10px;flex-direction:column;align-items:flex-start;gap:6px}.wf81-study-number{font-size:25px}.wf81-stop strong{font-size:12px}.wf81-stop small{font-size:12px}.wf81-study-label{align-items:start;flex-direction:column;gap:2px}.wf81-study-label span{text-align:left}}
@media (prefers-reduced-motion:reduce){.wf81-stop{transition:none}.wf81-stop:hover{transform:none}}

/* WardFlow Insights Article 3, original evidence diagrams (November 2026). Scoped to wf97 components. */
.wf97-figure{border:1px solid #d5e4e3;background:#f5f8f7;border-radius:2px;padding:27px 28px 21px;margin:37px 0 42px;box-shadow:none}
.wf97-figure-top{border-bottom:1px solid #d4e5e5;padding-bottom:19px;margin-bottom:22px}
.wf97-figure-kicker{display:block;font:800 10px/1.35 var(--bodyfont);color:#18767f;letter-spacing:.13em;margin:0 0 7px}
.wf97-figure-top h3{font:760 clamp(19px,2vw,24px)/1.25 var(--heading);color:#143c48;letter-spacing:normal;margin:0 0 6px}
.wf97-figure-top p{font:400 12px/1.65 var(--bodyfont);color:#57737b;margin:0}
.wf97-timeline{margin:0!important;padding:0!important;list-style:none!important;display:grid;gap:0;counter-reset:none}
.wf97-timeline li{margin:0!important;padding:16px 0 18px!important;display:grid;grid-template-columns:76px minmax(0,1fr) 133px;gap:18px;border-bottom:1px solid #dce8e7;align-items:start}
.wf97-timeline li:first-child{padding-top:4px!important}
.wf97-timeline li:last-child{border-bottom:0;padding-bottom:2px!important}
.wf97-time{font:800 12px/1.45 var(--heading);color:#1b7380;letter-spacing:normal;padding-top:4px;white-space:nowrap}
.wf97-timeline li>div{min-width:0}
.wf97-timeline strong{font:760 13px/1.5 var(--heading);color:#203f4b;display:block}
.wf97-timeline p{font:400 12px/1.65 var(--bodyfont);color:#5c747c;margin:4px 0 0!important}
.wf97-status{justify-self:end;font:750 12px/1.35 var(--bodyfont);padding:7px 9px;border-radius:5px;white-space:normal;text-align:center;max-width:126px}
.wf97-status.status-open{background:#e8eff9;color:#285d96}
.wf97-status.status-neutral{background:#e9f3f5;color:#2a6879}
.wf97-status.status-done{background:#e3f2ec;color:#247361}
.wf97-status.status-reconcile{background:#fff3df;color:#805017}
.wf97-figure-foot{font:500 11px/1.7 var(--bodyfont);color:#425f68;border-top:1px solid #d4e5e5;padding-top:16px;margin:20px 0 0!important}
.wf97-status-guide{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin:29px 0 34px}
.wf97-status-guide>div{background:#f4f8f8;border:1px solid #dce7e7;border-radius:2px;padding:17px 19px 15px;min-width:0}
.wf97-status-guide b{display:block;color:#1e5c69;font:780 13px/1.4 var(--heading);padding-left:12px;border-left:3px solid #65aaae;margin:0 0 10px}
.wf97-status-guide p{font:400 13px/1.75 var(--bodyfont);color:#526f77;margin:0!important}
@media(max-width:720px){.wf97-figure{padding:21px 20px;margin:30px 0}.wf97-timeline li{grid-template-columns:72px minmax(0,1fr);gap:8px 12px}.wf97-status{grid-column:2;justify-self:start;margin-top:0}.wf97-status-guide{gap:9px}}
@media(max-width:480px){.wf97-figure{padding:18px 14px}.wf97-figure-top h3{font-size:20px}.wf97-timeline li{grid-template-columns:67px minmax(0,1fr);gap:5px 10px}.wf97-time{font-size:10px;padding-top:4px}.wf97-timeline strong{font-size:12px}.wf97-timeline p{font-size:12px}.wf97-status-guide{grid-template-columns:1fr}.wf97-status-guide>div{padding:15px 16px}.wf97-figure-foot{font-size:11px}}

/* Referral sequence: a numbered reading sequence, not a decorative card grid. */
.wf-referral-figure{margin:32px 0;padding:24px 0;border-block:1px solid var(--line)}
.wf-referral-figure figcaption{display:grid;gap:5px;margin-bottom:18px;color:var(--ink)}
.wf-referral-figure figcaption span{font-size:14px;line-height:1.6;color:var(--body)}
.wf-referral-steps{list-style:none;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;counter-reset:progress}
.wf-referral-steps li{counter-increment:progress;display:grid;grid-template-columns:30px 1fr;gap:4px 8px;padding:14px 12px 14px 0;border-top:1px solid var(--line);margin:0;min-width:0}
.wf-referral-steps li:before{content:counter(progress,decimal-leading-zero);grid-row:span 2;color:var(--accent);font-size:14px;font-weight:600}
.wf-referral-steps li b{font-size:15px;color:var(--ink)} .wf-referral-steps li small{grid-column:2;font-size:13px;color:var(--body)}
@media(max-width:540px){.wf-referral-steps{grid-template-columns:1fr}}
