
:root{--navy:#102437;--navy2:#172f43;--navy3:#244357;--ink:#172a3c;--ink2:#30475b;--muted:#708294;--teal:#087e83;--teal2:#0b9e9d;--teal-soft:#e7f5f4;--surface:#f4f7f9;--line:#e3e9ee;--white:#fff;--shadow:0 3px 18px rgba(22,43,61,.035);--orange:#b76a1b;--orange-bg:#fff3e3;--red:#bf4d49;--red-bg:#fff0ee;--blue:#3268b2;--blue-bg:#edf3fc;--green:#25785d;--green-bg:#e9f6ef;--radius:14px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;overflow-x:hidden;background:var(--surface);font:14px/1.48 Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:var(--ink);-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button{cursor:pointer}a{color:var(--teal)}:focus-visible{outline:3px solid #70c9c2!important;outline-offset:2px}button:disabled{cursor:not-allowed;opacity:.5}.app{min-height:100vh;display:grid;grid-template-columns:245px minmax(0,1fr)}.aside{background:var(--navy);color:#dbe7ee;display:flex;flex-direction:column;padding:24px 14px 16px;position:sticky;top:0;height:100vh}.identity{padding:1px 11px 25px;margin-bottom:17px;border-bottom:1px solid #2b455a}.logo-wrap{display:flex;align-items:center;gap:10px}.logo-mark{width:37px;height:37px;border-radius:11px;background:linear-gradient(135deg,#12c2b5,#0b7e87);display:grid;place-items:center;color:#fff;font-size:21px;font-weight:850;letter-spacing:-1.4px;box-shadow:0 6px 15px rgba(0,0,0,.12)}.logo{font-size:22px;font-weight:780;letter-spacing:-.8px;line-height:1}.sublogo{font-size:10px;color:#86a2b6;letter-spacing:1.35px;text-transform:uppercase;margin:8px 0 0 47px}.navcap{font-weight:780;text-transform:uppercase;font-size:10px;letter-spacing:1.3px;color:#7792a6;margin:17px 12px 8px}.nav-item{width:100%;display:flex;align-items:center;gap:12px;color:#b9ccda;padding:11px 13px;border:0;border-radius:9px;background:transparent;text-align:left;font-size:13px;font-weight:550;margin:2px 0;transition:background .15s,color .15s}.nav-item:hover{background:#1b374c;color:#fff}.nav-item.active{background:#244558;color:#fff;font-weight:730;box-shadow:inset 3px 0 #31d1bd}.ico{width:18px;height:18px;display:inline-flex;flex-shrink:0;align-items:center;justify-content:center}.ico svg{height:18px;width:18px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linejoin:round;stroke-linecap:round}.nav-item .ico{color:#85aabd}.nav-item.active .ico{color:#6ce4d5}.nav-count{margin-left:auto;color:#bdcad4;font-size:11px;border:1px solid #496378;border-radius:99px;padding:1px 6px}.aside-bottom{margin-top:auto;border-top:1px solid #28465a;padding:18px 11px 2px;display:flex;flex-direction:column;gap:8px}.side-meta{display:flex;justify-content:space-between;align-items:center;color:#9bb4c4;font-size:11px}.side-meta strong{color:#e4f1f6;font-weight:600}.side-link{display:flex;align-items:center;gap:7px;color:#adc2d0;background:none;border:0;padding:0;text-align:left;font-size:11px}.workspace{min-width:0}.top{height:70px;display:flex;align-items:center;gap:12px;justify-content:space-between;background:#fff;border-bottom:1px solid var(--line);padding:0 34px}.top-left{min-width:0;flex:1;font-size:12px;color:#7b8c9b;display:flex;align-items:center;gap:8px}.top-left strong{color:var(--ink);font-weight:700}.chevron{color:#c0cbd2}.top-right{flex-shrink:0;display:flex;align-items:center;gap:13px}.demo-tag{display:inline-flex;align-items:center;gap:6px;border:1px solid #d8e6e6;background:#f4faf9;border-radius:7px;padding:6px 9px;color:#477b7a;font-weight:680;font-size:11px;white-space:nowrap}.demo-tag:before{content:'';width:6px;height:6px;border-radius:50%;background:#35b6a4}.top-view{display:flex;gap:8px;align-items:center;color:#7e8b98;font-size:12px}.top-select{background:white;border:1px solid #d9e3e9;padding:8px 11px;border-radius:8px;min-width:160px;color:#263f52;font-size:12px;font-weight:650}.body{max-width:1510px;padding:32px 34px 70px;margin:0 auto}.head{display:flex;align-items:start;justify-content:space-between;gap:16px;margin-bottom:22px}.eyebrow{text-transform:uppercase;color:var(--teal);font-size:10px;letter-spacing:1.45px;font-weight:830;margin:0 0 5px}.headline{font-size:30px;font-weight:780;letter-spacing:-1.1px;line-height:1.16;margin:0}.lede{color:var(--muted);font-size:13px;margin:9px 0 0;max-width:800px}.actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.btn{display:inline-flex;align-items:center;gap:8px;justify-content:center;border:1px solid #d6e2e8;background:#fff;color:#354e61;border-radius:8px;min-height:36px;padding:8px 12px;font-size:12px;font-weight:690;transition:background .14s,border-color .14s}.btn:hover{background:#f5fafb;border-color:#a9c5cc}.btn.teal{background:var(--teal);color:#fff;border-color:var(--teal)}.btn.teal:hover{background:#076b6f}.btn.ghost{background:transparent;border:0;padding:7px}.btn.sm{min-height:30px;padding:5px 9px;font-size:11px}.btn.narrow{padding:7px 8px}.btn svg{width:15px;height:15px}.panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);min-width:0}.panelpad{padding:20px}.kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:18px}.kpi{padding:20px;display:flex;align-items:start;justify-content:space-between;gap:9px}.kpi-name{font-size:12px;font-weight:550;color:#65798b}.kpi-val{font-size:33px;letter-spacing:-1.4px;font-weight:760;line-height:1.2;margin-top:6px}.kpi-hint{color:#90a0ad;font-size:11px;margin-top:5px}.kpi-icon{width:37px;height:37px;background:#ecf5f6;border-radius:10px;color:#268187;display:grid;place-items:center}.kpi-icon.warn{background:#fff1ea;color:#c36b4c}.kpi-icon.blue{background:#eef3fb;color:#4977b6}.kpi-icon.green{background:#edf6f1;color:#399276}.grid>div,.grid>section{min-width:0}.grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(310px,.85fr);gap:18px}.block+.block{margin-top:18px}.blockhead{display:flex;align-items:start;justify-content:space-between;gap:10px;margin-bottom:16px}.blockhead h2{font-size:15px;letter-spacing:-.25px;margin:0;font-weight:755}.blockhead p{font-size:12px;color:var(--muted);margin:4px 0 0}.link-btn{color:var(--teal);border:0;background:none;font-size:12px;font-weight:725;white-space:nowrap;padding:3px 0}.link-btn:hover{text-decoration:underline}.table-scroll{overflow-x:auto;max-width:100%}.table{width:100%;border-collapse:collapse;white-space:nowrap}.table th{text-transform:uppercase;font-size:10px;letter-spacing:.7px;color:#8191a0;background:#f8fafb;font-weight:750;text-align:left;padding:13px 17px;border-bottom:1px solid var(--line)}.table td{padding:14px 17px;border-bottom:1px solid #ecf0f3;font-size:12px;vertical-align:middle}.table tr:last-child td{border-bottom:0}.table tbody tr{transition:background .13s}.table tbody tr:hover{background:#f9fcfc}.table .tdwrap{white-space:normal;min-width:180px;max-width:310px}.tag{display:inline-flex;align-items:center;gap:5px;border-radius:6px;padding:4px 7px;font-size:10px;font-weight:740;background:#f0f4f6;color:#526677;white-space:nowrap}.tag.teal{background:var(--teal-soft);color:#0a797b}.tag.red{background:var(--red-bg);color:var(--red)}.tag.amber{background:var(--orange-bg);color:var(--orange)}.tag.blue{background:var(--blue-bg);color:var(--blue)}.tag.green{background:var(--green-bg);color:var(--green)}.tag.neutral{background:#f2f5f7;color:#627486}.dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:currentColor}.ident{font-weight:780;color:#176277;cursor:pointer;text-align:left;background:none;border:0;padding:0}.ident:hover{text-decoration:underline}.task-name{font-weight:700;color:#263d50;line-height:1.35}.secondary{color:var(--muted);font-size:11px;margin-top:3px}.muted{color:var(--muted)}.empty{padding:32px;color:#8794a0;text-align:center;font-size:13px}.taskstack{display:flex;flex-direction:column;gap:10px}.attention{border:1px solid #e7edef;border-radius:10px;padding:13px;display:flex;flex-direction:column;gap:9px}.attrow{display:flex;justify-content:space-between;gap:8px;align-items:flex-start}.attname{font-size:12px;font-weight:720}.attmeta{font-size:11px;color:#7a8b98;margin-top:4px}.attbottom{display:flex;justify-content:space-between;gap:8px;align-items:center}.mutedline{font-size:11px;color:#8d9ca8}.distribution{display:flex;flex-direction:column;gap:16px}.distrow{display:flex;align-items:center;gap:10px;font-size:12px}.distname{width:120px;flex-shrink:0;color:#607486}.distbar{flex:1;height:8px;background:#edf2f4;border-radius:99px;overflow:hidden}.distbar div{background:#58a9a7;height:100%;border-radius:99px}.distcount{width:18px;text-align:right;color:#607486;font-size:11px}.activity{display:flex;flex-direction:column}.event{display:flex;gap:10px;padding:13px 0;border-bottom:1px solid #edf1f4}.event:last-child{border-bottom:0;padding-bottom:0}.eventicon{width:28px;height:28px;background:#ebf5f4;color:#0f8d84;border-radius:8px;display:grid;place-items:center;flex-shrink:0}.eventtitle{font-size:12px;font-weight:650}.eventsmall{font-size:11px;color:#8998a4;margin-top:3px}.filterbar{display:flex;gap:9px;flex-wrap:wrap;justify-content:space-between;align-items:center;margin-bottom:17px}.seg{display:flex;align-items:center;gap:4px;flex-wrap:wrap;background:#edf2f5;border-radius:9px;padding:4px}.segment{border:0;background:transparent;font-weight:680;color:#778999;padding:7px 10px;border-radius:7px;font-size:11px}.segment.active{background:white;color:#126e74;box-shadow:0 1px 5px rgba(15,38,52,.07)}.search{display:flex;gap:7px;align-items:center;background:#fff;border:1px solid #dce5eb;border-radius:8px;padding:0 10px;min-width:225px}.search input{outline:0!important;border:0;background:transparent;padding:9px 0;width:100%;font-size:12px;color:#1e3446}.search input::placeholder{color:#a1afba}.case-row{display:flex;align-items:center;gap:12px;cursor:pointer}.case-icon{display:grid;place-items:center;border-radius:10px;background:#eaf3f5;color:#187983;height:38px;width:38px;font-weight:750;font-size:12px;flex-shrink:0}.case-title{font-size:12px;font-weight:760}.case-sub{color:#7d8e9c;font-size:11px;margin-top:3px}.meter{height:6px;min-width:80px;width:95px;background:#edf1f3;border-radius:50px;overflow:hidden}.meter>div{height:100%;background:#269f92;border-radius:50px}.case-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.case-tile{border:1px solid var(--line);background:#fff;border-radius:13px;padding:17px;text-align:left;cursor:pointer}.case-tile:hover{border-color:#83bdbb;box-shadow:0 7px 20px rgba(18,65,69,.06)}.case-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.case-detail{color:#7b8b99;font-size:12px;line-height:1.5;min-height:38px;margin:12px 0}.case-foot{display:flex;align-items:center;justify-content:space-between;margin-top:13px;color:#798a99;font-size:11px}.case-progress{height:6px;background:#eaf1f1;border-radius:10px;overflow:hidden}.case-progress div{height:100%;background:#28a393;border-radius:10px}.callout{padding:13px 15px;border:1px solid #e1ebed;background:#f7fbfb;border-radius:10px;color:#51707c;font-size:12px;margin-bottom:17px;display:flex;align-items:start;gap:10px}.callout .ico{color:#1c8788}.section-tabs{display:flex;gap:9px;margin:17px 0}.mini-stat{display:flex;gap:7px;align-items:center;padding:10px 12px;border:1px solid var(--line);border-radius:9px;background:white;color:#6a7e8d;font-size:12px}.mini-stat strong{color:#213e53}.drawer-overlay{position:fixed;inset:0;background:rgba(11,30,45,.44);z-index:20;opacity:0;pointer-events:none;transition:opacity .2s}.drawer-overlay.open{opacity:1;pointer-events:auto}.drawer{position:fixed;right:0;top:0;bottom:0;width:min(645px,100vw);background:#fff;z-index:21;transform:translateX(102%);transition:transform .22s ease;box-shadow:-12px 0 38px rgba(10,30,45,.13);overflow-y:auto;visibility:hidden;pointer-events:none}.drawer.open{transform:translateX(0);visibility:visible;pointer-events:auto}.drawer-head{padding:23px 26px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:10px;align-items:flex-start}.drawer-body{padding:23px 26px 130px}.drawer-head h2{margin:1px 0 6px;font-size:23px;letter-spacing:-.7px}.drawer-head p{margin:0;font-size:12px;color:#80919f}.drawer-section{margin:17px 0 25px}.drawer-section h3{font-size:13px;font-weight:770;margin:0 0 12px}.workflow-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.workflow-part{padding:12px;background:#f5f8fa;border:1px solid #e8eef2;border-radius:10px}.workflow-part span{display:block;font-size:10px;color:#8a9aa6;text-transform:uppercase;letter-spacing:.5px}.workflow-part strong{display:block;font-size:12px;margin-top:5px}.item-card{padding:16px;border:1px solid #e1e8ed;border-radius:11px;margin:11px 0;background:#fff}.item-card:target{outline:2px solid #71bfbd}.item-titlebar{display:flex;gap:10px;justify-content:space-between;align-items:start}.item-title{font-size:13px;font-weight:780}.item-desc{font-size:11px;color:#6e8392;margin:7px 0 11px;line-height:1.5}.fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.field label{font-size:10px;font-weight:750;letter-spacing:.6px;text-transform:uppercase;color:#8698a5;display:block;margin-bottom:6px}.field select,.field textarea,.field input{width:100%;border-radius:8px;border:1px solid #d9e4ea;background:white;padding:9px 10px;font-size:12px;color:#304759}.item-details{font-size:11px;color:#7e8d9b;display:flex;flex-wrap:wrap;gap:10px;margin:12px 0}.item-actions{display:flex;align-items:center;flex-wrap:wrap;gap:7px}.tiny-info{font-size:11px;color:#8b9ba6}.subhead{font-size:12px;font-weight:760;margin:18px 0 10px}.timeline{border-left:2px solid #e5edf0;margin-left:8px;padding-left:16px}.timelineitem{position:relative;padding:0 0 16px;font-size:11px;color:#5d7382}.timelineitem:before{content:"";position:absolute;left:-21px;top:3px;width:7px;height:7px;border:2px solid #fff;background:#0b9492;border-radius:50%;box-shadow:0 0 0 1px #cde7e4}.timelineitem strong{color:#334f62}.timelineitem small{display:block;margin-top:4px;color:#91a0aa}.toast{position:fixed;bottom:23px;right:26px;background:#183849;color:#fff;border-radius:10px;padding:12px 15px;font-size:12px;box-shadow:0 10px 30px rgba(10,25,40,.18);z-index:50;transition:opacity .25s}.hidden{display:none!important}.feedback-grid{display:grid;grid-template-columns:1.1fr .8fr;gap:17px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.form-field{display:flex;flex-direction:column;gap:6px}.form-field.full{grid-column:1/-1}.form-field label{font-weight:690;font-size:12px}.form-field input,.form-field select,.form-field textarea{padding:10px 11px;border:1px solid #d7e2e8;border-radius:8px;color:#2b4356}.form-field textarea{resize:vertical;min-height:90px}.checkline{display:flex;gap:9px;align-items:start;font-size:11px;color:#697d8b}.checkline input{margin-top:3px}.criterion{padding:12px;border:1px solid #e5ebef;border-radius:9px}.criterion strong{font-size:12px;display:block}.criterion p{font-size:11px;margin:4px 0 0;color:#7d8e9b}.criterion+.criterion{margin-top:10px}.score{display:flex;gap:7px;margin-top:9px}.score button{background:#f8fafb;border:1px solid #e0e8ed;border-radius:7px;width:31px;height:31px;font-size:12px;color:#657b8d}.score button.active{background:var(--teal);color:#fff;border-color:var(--teal)}.no-patient{border-top:1px solid var(--line);padding-top:13px;font-size:11px;color:#8697a4;margin-top:16px}.about-overlay{position:fixed;inset:0;z-index:40;background:rgba(11,30,45,.55);display:flex;align-items:center;justify-content:center;padding:18px}.about{width:min(495px,100%);background:#fff;border-radius:16px;padding:28px;box-shadow:0 30px 100px rgba(0,0,0,.25)}.about h2{font-size:21px;letter-spacing:-.5px;margin:0 0 10px}.about p{font-size:13px;color:#5e7485;line-height:1.62}.about ul{font-size:12px;color:#5e7485;line-height:1.7;padding-left:18px}.about-actions{display:flex;justify-content:flex-end;margin-top:21px}.footer{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:11px;color:#a0aeb9;margin:24px 2px 0}
@media(max-width:1180px){.kpis{grid-template-columns:repeat(2,1fr)}.grid{grid-template-columns:1fr}.case-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:820px){.app{display:block}.aside{height:auto;position:static;padding:14px}.identity{margin-bottom:7px;padding:0 7px 9px}.sublogo,.aside-bottom,.navcap{display:none}.nav{display:flex;overflow:auto;gap:5px}.nav-item{white-space:nowrap;width:auto;flex-shrink:0}.nav-count{display:none}.top{padding:10px 18px;min-height:60px;height:auto}.body{padding:22px 18px 55px}.head{flex-direction:column}.feedback-grid{grid-template-columns:1fr}}
@media(max-width:560px){.top{gap:5px;padding:10px 12px}.top-left{font-size:10px}.top-right{gap:6px}.demo-tag{padding:5px 6px;font-size:10px}.top-select{min-width:110px!important;max-width:110px!important;font-size:11px}.kpis{gap:9px}.kpi{padding:15px}.kpi-val{font-size:27px}.kpi-icon{width:29px;height:29px}.headline{font-size:25px}.top-view span{display:none}.top-select{min-width:135px;max-width:135px}.case-grid{grid-template-columns:1fr}.fields,.workflow-row,.form-grid{grid-template-columns:1fr}.form-field.full{grid-column:auto}.drawer-head,.drawer-body{padding:19px}.panelpad{padding:16px}}
@media print{.aside,.top,.actions,.footer,.btn,.feedback-side{display:none!important}.app{display:block}.body{padding:0}.panel{box-shadow:none}.head{margin:0 0 10px}}

/* WardFlow Solutions unified product branding: WardFlow Relay v0.2.5 */
:root{
  --navy:#071b2a;--navy2:#0b293a;--navy3:#153f50;--ink:#112d3d;--ink2:#29495b;
  --teal:#0c8d84;--teal2:#13a89d;--teal-soft:#e7f8f5;--surface:#f6f9fa;
  --line:#e1e9eb;--shadow:0 5px 24px rgba(9,35,50,.035);--radius:14px;
}
body{font-family:'DM Sans',Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;background:var(--surface)}
.app{grid-template-columns:252px minmax(0,1fr)}
.aside{background:radial-gradient(ellipse 270px 210px at 120% 5%,rgba(23,176,165,.12),transparent 75%),linear-gradient(155deg,#081e2e,#071b2a 67%);padding-top:26px;border-right:1px solid #1c3d4b}
.identity{padding:0 11px 24px;margin-bottom:15px;border-color:#294454}
.logo-wrap{gap:12px}
.logo-mark{width:48px;height:48px;object-fit:cover;display:block;background:#071b2a;border-radius:13px;box-shadow:0 0 0 1px rgba(79,203,189,.18),0 7px 18px rgba(0,0,0,.17);flex-shrink:0}
.brand-copy{display:flex;flex-direction:column;gap:5px;min-width:0}
.logo{font-family:Manrope,'DM Sans',sans-serif;color:white;font-weight:800;font-size:21px;letter-spacing:-.95px;line-height:1.1}
.brand-byline{color:#89adba;font-size:8px;letter-spacing:1.45px;font-weight:800;white-space:nowrap}
.navcap{color:#7799ab;letter-spacing:1.75px;font-size:9px;margin-top:21px}
.nav-item{border-radius:10px;color:#bdd2dc;font-weight:600;padding:11px 13px;transition:background .18s ease,color .18s ease,transform .18s ease}
.nav-item:hover{background:rgba(68,139,150,.18);color:white}
.nav-item.active{background:linear-gradient(95deg,rgba(35,198,178,.16),rgba(56,131,148,.19));box-shadow:inset 3px 0 #25cbbb;color:#fff}
.nav-item.active .ico{color:#38dac8}
.nav-item .ico{color:#8bb8c4}
.aside-bottom{border-top-color:#2a4554;gap:10px}
.brand-website{display:flex;gap:8px;align-items:center;margin:5px 0 4px;padding:10px 11px;border:1px solid #305464;border-radius:10px;background:#102b3b;color:#bfdcd9;text-decoration:none;font-size:11px;font-weight:700;transition:background .15s,border-color .15s}
.brand-website:hover{color:white;background:#164353;border-color:#368d8a}
.brand-website span:last-child{margin-left:auto;font-size:14px}
.brand-website-dot{height:6px;width:6px;border-radius:50%;background:#28cfc1;box-shadow:0 0 10px rgba(28,212,193,.7)}
.top{height:76px;border-bottom-color:#e6edef;padding:0 38px;background:rgba(255,255,255,.97)}
.top-left{font-size:12px;gap:13px}
.top-workspace{font-family:Manrope,'DM Sans',sans-serif;font-size:11px;letter-spacing:1.1px;font-weight:900;color:#204351}
.top-workspace-accent{color:#109a92}
.chevron{color:#b9c7cd;font-size:16px}
.top-left strong{font-weight:730}
.demo-tag{border-radius:99px;background:#eefaf6;border-color:#cfeee7;color:#16796c;padding:7px 10px;font-size:10px}
.top-select{border-radius:9px;font-weight:700}
.body{max-width:1530px;padding:36px 38px 76px}
.head{margin-bottom:24px}
.headline{font-family:Manrope,'DM Sans',sans-serif;letter-spacing:-1.2px;font-weight:800;font-size:30px}
.eyebrow{letter-spacing:1.65px;font-size:9px;color:#168e85}
.lede{font-size:13px;color:#728491}
.panel{border-color:#e3ebed;box-shadow:var(--shadow)}
.btn{border-radius:9px;font-weight:750;transition:background .15s,border-color .15s,transform .15s}
.btn:active,.nav-item:active{transform:translateY(1px)}
.btn.teal{background:linear-gradient(120deg,#0d9088,#0b777a);border-color:#0d9088}
.btn.teal:hover{background:linear-gradient(120deg,#0a7772,#076d71)}
.kpi{padding:22px}
.kpi-name{font-size:11px;font-weight:700;letter-spacing:.1px}
.kpi-val{font-family:Manrope,'DM Sans',sans-serif;font-weight:800}
.kpi-icon{background:#eaf8f5;color:#148e85}
.blockhead h2{font-family:Manrope,'DM Sans',sans-serif;font-weight:800}
.task-name,.attname{font-weight:750}
.attention{border-color:#e4ecee}
.attention:hover{border-color:#badedc;background:#fbfffe}
.table tbody tr:hover{background:#f5fbfa}
.tag.teal{background:#e8f7f4;color:#087c75}
.link-btn{color:#087e79}
.footer{padding-top:12px;border-top:1px solid #e7eeef}
.footer a{color:#6e8994;text-decoration:none}
.footer a:hover{color:#07877e;text-decoration:underline}
.drawer-head{background:linear-gradient(135deg,#f8fbfa,#fff)}
.drawer-head h2{font-family:Manrope,'DM Sans',sans-serif;font-weight:800}
.feedback-contact{display:inline-block;margin-top:9px;font-weight:750}
/* Branded hero is a concise product moment, not an additional workflow or fake chart. */
.brand-hero{min-height:155px;margin:0 0 22px;border-radius:16px;background:radial-gradient(ellipse 350px 240px at 76% 26%,rgba(20,184,166,.17),transparent 77%),linear-gradient(110deg,#071c2b 0%,#0b2c3d 100%);border:1px solid #1d4855;overflow:hidden;display:flex;justify-content:space-between;position:relative;box-shadow:0 12px 28px rgba(7,32,44,.09);color:#fff}
.brand-hero:before{content:'';position:absolute;inset:0;pointer-events:none;background-image:linear-gradient(rgba(129,224,208,.09) 1px,transparent 1px),linear-gradient(90deg,rgba(129,224,208,.09) 1px,transparent 1px);background-size:36px 36px;opacity:.24;mask-image:linear-gradient(90deg,transparent 12%,#000 90%)}
.brand-hero-content{position:relative;z-index:2;padding:26px 31px 24px;max-width:670px}
.brand-hero-kicker{font-size:9px;font-weight:850;letter-spacing:1.9px;color:#8fdcd3;display:flex;align-items:center;gap:10px}
.brand-hero-pulse{width:7px;height:7px;border-radius:50%;background:#30d1c2;box-shadow:0 0 10px rgba(34,214,200,.55)}
.brand-hero-title{font-family:Manrope,'DM Sans',sans-serif;font-size:clamp(21px,2.2vw,29px);font-weight:800;letter-spacing:-1.05px;margin:12px 0 7px;line-height:1.24}
.brand-hero-title em{font-style:normal;color:#53dacb}
.brand-hero p{font-size:12px;color:#a8c6d2;margin:0;line-height:1.5}
.brand-hero-art{position:absolute;width:310px;right:12px;top:-70px;bottom:-80px;display:grid;place-items:center;overflow:hidden;pointer-events:none}
.brand-hero-art img{position:relative;width:170px;height:170px;object-fit:cover;border-radius:50%;opacity:.16;mix-blend-mode:screen;transform:rotate(-12deg)}
.brand-hero-art .ring{position:absolute;display:block;border:1px solid rgba(76,204,191,.17);border-radius:50%;width:250px;height:250px}
.brand-hero-art .ring-two{width:360px;height:360px;opacity:.65}
@media(max-width:1180px){.app{grid-template-columns:235px minmax(0,1fr)}.body{padding:25px 25px 56px}.top{padding:0 25px}}
@media(max-width:820px){.app{display:block}.aside{position:static;height:auto;padding:13px 15px 10px;border-right:0}.identity{padding:0 5px 12px;margin-bottom:9px}.logo-mark{width:40px;height:40px;border-radius:11px}.logo{font-size:18px}.brand-byline{font-size:7px}.nav{display:flex;overflow-x:auto}.nav-item{white-space:nowrap}.brand-hero-art{right:-90px}.top{height:auto;min-height:64px;padding:8px 19px}.body{padding:24px 19px 50px}.head{gap:11px}}
@media(max-width:560px){.top{padding:9px 14px}.top-left{gap:5px}.top-workspace{font-size:9px;letter-spacing:.4px}.top-right{gap:6px}.body{padding:20px 12px 50px}.brand-hero{min-height:156px;border-radius:12px}.brand-hero-content{padding:21px 18px}.brand-hero-title{font-size:22px;margin:10px 0 7px;max-width:260px}.brand-hero p{max-width:265px;font-size:11px}.brand-hero-art{right:-180px}.brand-byline{letter-spacing:1px}.kpi{padding:15px}.headline{font-size:25px}}
@media print{.brand-hero{display:none}}


/* WardFlow design system: DM Sans UI + Manrope headings/wordmark */
body,button,input,select,textarea{font-family:'DM Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif}
.logo,.headline,.kpi-val,.blockhead h2,.drawer-head h2,.brand-hero-title,.top-workspace{font-family:Manrope,'DM Sans',sans-serif}
.identity .brand-copy{min-width:0;overflow:hidden}
.identity .brand-byline{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;letter-spacing:1.2px}

/* WardFlow product usability pass: inline help and visible next steps */
.wf-term{position:relative;display:inline-flex;align-items:center;gap:3px;cursor:help;border-bottom:1px dotted currentColor;outline-offset:3px}
.wf-term::after{content:attr(data-help);display:block;visibility:hidden;opacity:0;position:absolute;bottom:calc(100% + 9px);left:0;width:max-content;max-width:min(300px,78vw);white-space:normal;line-height:1.45;font-size:12px;font-weight:500;letter-spacing:normal;text-transform:none;background:#102a3b;color:#fff;padding:10px 12px;border-radius:9px;box-shadow:0 12px 30px rgba(3,23,34,.23);z-index:200;pointer-events:none;transition:opacity .12s}
.wf-term:hover::after,.wf-term:focus-visible::after{visibility:visible;opacity:1}
.wf-status-help{font-size:12px;line-height:1.5;color:#536c7d;padding:9px 11px;background:#f2f8f8;border-radius:7px;margin-top:9px}
.wf-next-action{font-size:14px!important;font-weight:750!important;line-height:1.5!important;color:#0a6571!important;padding-top:5px;margin-top:5px!important}
.wf-update-form{margin-top:10px;padding:14px;background:#eef7f7;border-radius:10px;border:1px solid #cce4e3}
.wf-update-form label{display:block;font-weight:740;color:#254457;margin-bottom:7px;font-size:12px}
.wf-update-form textarea{width:100%;resize:vertical;min-height:66px;border-radius:7px;border:1px solid #bdd2d7;padding:9px 11px;color:#163d52;background:white}
.wf-update-note{margin:7px 0 0;color:#31546a;font-size:12px;line-height:1.5}
.wf-return{display:inline-flex;align-items:center;gap:6px;color:#bce5e4;font-size:12px;font-weight:680;text-decoration:none;padding:8px 11px;border:1px solid #305163;border-radius:7px;margin:8px 0 0 10px;max-width:max-content}
.wf-return:hover{background:#23475a;color:white}
.wf-top-return{font-size:12px;font-weight:730;color:#127c82;text-decoration:none;white-space:nowrap;padding:6px 9px;border-radius:7px}
.wf-top-return:hover{background:#e9f5f4}

.toast{top:82px!important;bottom:auto!important;right:20px!important;z-index:90!important}
.item-card .criterion:has(.wf-next-action){border-left:3px solid #17a5a1!important;background:#f3fbfa!important}
@media(max-width:720px){.toast{top:70px!important;right:12px!important;left:12px!important}.wf-top-return{font-size:11px}}

/* v0.2.5: After-rounds planning and department availability */
.rounds-head{display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;align-items:flex-end;margin-bottom:17px}
.rounds-head h2{font-size:17px;letter-spacing:-.4px;margin:0 0 5px}
.rounds-sub{font-size:12px;color:#63798a;margin:0;max-width:760px}
.rounds-clock{display:flex;align-items:center;gap:10px;border:1px solid #d9e7e9;background:#f7fbfa;padding:10px 12px;border-radius:11px;flex-wrap:wrap}
.rounds-clock label{color:#536b79;font-weight:700;font-size:11px}
.rounds-clock input{border:1px solid #c8d8df;border-radius:8px;padding:7px;color:#1d3e51;background:#fff;font-weight:700}
.rounds-layout{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(285px,.85fr);gap:18px}
.rounds-card{background:#fff;border:1px solid #dce6e9;border-radius:12px;padding:17px;box-shadow:0 5px 20px rgba(18,52,67,.04)}
.rounds-card h3{margin:0;font-size:14px;color:#213a4c}
.rounds-card .small{font-size:12px;color:#63798a;margin:5px 0 13px;line-height:1.55}
.rounds-tasks{display:flex;flex-direction:column;gap:9px}
.rounds-item{border:1px solid #e4edef;border-radius:10px;padding:12px;background:#fff}
.rounds-item.hot{border-color:#eccd9e;background:#fffdfa}
.rounds-row{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}
.rounds-title{font-weight:760;color:#243d4d;font-size:12px;line-height:1.5}
.rounds-meta{font-size:11px;color:#657c8a;margin-top:4px}
.rounds-action{font-weight:650;color:#264759;font-size:12px;margin:9px 0}
.rounds-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-top:10px}
.rounds-alert{padding:12px;background:#fff7ed;border:1px solid #efd2a8;border-radius:9px;color:#8a531e;margin-bottom:9px}
.rounds-alert b{display:block;font-size:12px;color:#8d4b0c}
.rounds-alert span{font-size:11px;line-height:1.5;display:block;margin-top:3px}
.rounds-alert.after{background:#f7f7f7;border-color:#dfe3e7;color:#526475}
.rounds-alert.after b{color:#526475}
.rounds-quiet{background:#f4faf7;padding:12px;border-radius:9px;border:1px solid #d9e9e2;color:#386f60;font-size:12px}
.rounds-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.rounds-form label,.dept-form label{display:flex;flex-direction:column;gap:5px;font-size:11px;font-weight:740;color:#506878}
.rounds-form input,.rounds-form select,.rounds-form textarea,.dept-form input{min-width:0;width:100%;border:1px solid #d4e1e6;border-radius:8px;padding:9px 10px;background:#fff;color:#223e50;font-size:12px}
.rounds-form .wide{grid-column:1/-1}
.rounds-form button{grid-column:1/-1;justify-self:start}
.rounds-footnote{color:#7b909c;font-size:11px;line-height:1.5;margin:12px 0 0}
.dept-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.dept-item{border:1px solid #dde8eb;border-radius:11px;background:white;padding:16px}
.dept-item h3{font-size:14px;margin:0 0 8px}
.dept-form{display:grid;grid-template-columns:1fr 1fr;gap:11px;margin-top:10px}
.dept-form .wide{grid-column:1/-1}
.dept-caption{font-size:11px;color:#718799;line-height:1.5}
.rounds-contact{font-size:11px;color:#1d6670;margin-top:5px}
.rounds-contact strong{font-weight:750}
.rounds-status{font-size:11px;color:#6b7f8d}
.rounds-action-button{font-size:11px}
@media(max-width:1050px){.rounds-layout{grid-template-columns:1fr}}
@media(max-width:740px){.dept-grid{grid-template-columns:1fr}.rounds-form{grid-template-columns:1fr}.rounds-row{flex-direction:column}.rounds-head{align-items:stretch}}
@media(max-width:600px){.top .top-left .top-workspace,.top .top-left .chevron,.top .top-left strong{display:none!important}.top{padding:0 12px!important}.top-right{gap:6px!important}.top-select{min-width:95px!important}.rounds-clock{gap:8px}}

/* v2.7: viewport-positioned tooltips: never clipped by scroll panes or drawers */
.wf-term::after,.wf-term::before{display:none!important;content:none!important}
.wf-smart-tooltip{position:fixed;z-index:2147483000;pointer-events:none;max-width:min(330px,calc(100vw - 24px));width:max-content;background:#102b3d;color:#f8ffff;border:1px solid #3b6070;border-radius:10px;padding:11px 13px;font:500 12px/1.55 'DM Sans',sans-serif;box-shadow:0 18px 38px rgba(3,23,35,.26);white-space:normal;opacity:0;visibility:hidden;transition:opacity .1s;}
.wf-smart-tooltip.visible{opacity:1;visibility:visible}
.wf-term:focus-visible{outline:2px solid #139a95;outline-offset:3px}

/* Small, focused after-rounds return check-in */
.rounds-checkin{margin-top:17px}.checkin-stats{display:flex;gap:9px;flex-wrap:wrap;margin-bottom:12px}.checkin-stats span{background:#eef5f6;border-radius:8px;padding:7px 10px;color:#294c5d;font-size:12px}.checkin-stats strong{color:#0c6371;font-size:16px}
.checkin-event{display:flex;align-items:flex-start;gap:9px;border-top:1px solid #e8eff1;padding:10px 0;font-size:12px;color:#213c50}.checkin-event>b{flex:0 0 60px;color:#12747b}.checkin-event span{min-width:0;overflow-wrap:anywhere}.checkin-event small{display:block;color:#627989;font-size:11px;margin-top:3px}


/* WardFlow v0.2.9: clinician feedback on hierarchy, task urgency, and update history */
.rounds-contact{color:#31566a;font-size:12px;line-height:1.55;font-weight:570}
.rounds-contact strong{color:#284a5d;font-weight:720}
.attention .attbottom .mutedline{color:#2e4b5b;font-size:12px;font-weight:700;opacity:1}
.wf-time-sensitive{display:inline-flex;vertical-align:middle;white-space:nowrap;margin:0 0 0 5px;padding:3px 7px;border:1px solid #efc89a;background:#fff4e5;color:#985c19;font-size:10px;letter-spacing:.05px;font-weight:760}
.wf-check-label{flex-direction:row!important;align-items:center;gap:9px!important;padding:6px 0}
.wf-check-label input{width:16px!important;height:16px!important;min-width:16px!important;accent-color:#0c9e95}
.wf-dept-header{display:flex;justify-content:space-between;align-items:center;gap:12px}
.wf-dept-header h3{margin:0}
.wf-dept-edit{border-color:#bfd6d9;color:#205767;background:#f8fcfb}
.wf-dept-view{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:15px}
.wf-dept-view div{display:flex;flex-direction:column;gap:5px}
.wf-dept-view span{color:#627e8d;font-size:11px;font-weight:670}
.wf-dept-view strong{font-size:12px;font-weight:700;color:#254555}
.wf-dept-view p{grid-column:1/-1;margin:3px 0 1px;color:#536d7e;line-height:1.55;font-size:12px}
.wf-update-form select{display:block;width:100%;border:1px solid #bdd2d7;border-radius:7px;background:white;padding:8px 10px;margin-bottom:12px;color:#244858}
.wf-updates{margin-top:13px;border:1px solid #d8e6e9;background:#f9fcfc;border-radius:9px;overflow:hidden}
.wf-updates summary{padding:12px 14px;cursor:pointer;color:#146e73;font-size:12px;font-weight:760;list-style-position:inside}
.wf-updates summary:hover{background:#edf8f6}
.wf-history-list{padding:0 12px 12px}
.wf-history-row{background:white;border:1px solid #e0eaed;border-radius:8px;padding:12px;margin-top:9px}
.wf-history-head{display:flex;align-items:baseline;gap:7px;flex-wrap:wrap;justify-content:space-between}
.wf-history-head strong{font-size:12px;color:#25475a}
.wf-history-head time{font-size:11px;font-weight:590;color:#607a8b}
.wf-history-context{font-size:11px;color:#536e7e;margin-top:7px}
.wf-history-row p{font-size:12px;color:#294a5a;line-height:1.5;margin:9px 0 0}
@media(max-width:680px){.wf-dept-view{grid-template-columns:1fr}.wf-dept-view p{grid-column:auto}}

/* v0.3.1: Staff-selected task categories, isolated statuses, fast task creation */
.wf-task-type{display:inline-block;padding:6px 9px;border:1px solid #d8e7eb;border-radius:7px;background:#f6fafb;color:#31566a;font-size:11px;font-weight:760;white-space:nowrap}
.wf-type-cell{white-space:nowrap}
.wf-table-ack{font-size:10px;color:#557283;font-weight:620;margin-top:7px;white-space:normal;max-width:130px;line-height:1.35}
.wf-add-task-btn{width:49px;height:49px;min-width:49px;display:grid;place-items:center;border-radius:12px;border:1px solid #087e92;background:#087e92;color:#fff;box-shadow:0 5px 14px rgba(8,112,136,.19);cursor:pointer;transition:transform .15s,background .15s,box-shadow .15s}
.wf-add-task-btn span{font-size:33px;font-weight:370;line-height:1;position:relative;top:-2px}
.wf-add-task-btn:hover,.wf-add-task-btn:focus-visible{background:#086a7b;box-shadow:0 6px 18px rgba(8,112,136,.26);transform:translateY(-1px)}
.wf-add-task-btn:focus-visible{outline:3px solid #66c3d5;outline-offset:3px}
.wf-task-overlay{position:fixed;z-index:70;inset:0;background:rgba(11,30,45,.56);padding:20px;display:flex;align-items:center;justify-content:center;overflow:auto}
.wf-task-modal{width:min(650px,100%);max-height:min(91vh,850px);overflow:auto;background:white;border-radius:17px;border:1px solid #d7e7ea;box-shadow:0 28px 90px rgba(6,26,40,.32);padding:0}
.wf-task-modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;padding:24px 26px 17px;border-bottom:1px solid #e5ecee}
.wf-task-modal-head h2{font-size:25px;margin:1px 0 5px;letter-spacing:-.6px;color:#193b4b}
.wf-task-modal-head p{font-size:12px;line-height:1.5;color:#5a7481;margin:0}
.wf-modal-close{border:0;background:#f0f6f8;color:#4a6575;font-size:26px;width:36px;height:36px;border-radius:8px;cursor:pointer}
.wf-modal-close:hover{background:#e0eaed}
.wf-quick-form{padding:22px 26px 14px;grid-template-columns:repeat(2,minmax(0,1fr))}
.wf-quick-form label{font-size:12px;color:#2e5266;gap:7px}
.wf-quick-form input,.wf-quick-form select,.wf-quick-form textarea{font-size:13px;padding:10px 11px;min-height:40px}
.wf-quick-form textarea{resize:vertical;min-height:62px}
.wf-quick-form .wf-quick-check{display:flex;flex-direction:row;align-items:center;gap:9px;font-size:12px;align-self:center;min-height:38px}
.wf-quick-check input{width:auto;height:17px;min-height:17px;accent-color:#087e92}
.wf-required{color:#9a5a16;font-weight:570}
.wf-modal-foot{padding:13px 26px 21px;border-top:1px solid #edf0f2;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px}
.wf-modal-foot p{font-size:11px;line-height:1.45;color:#657e8d;max-width:340px;margin:0}
.wf-modal-actions{display:flex;gap:8px}
.wf-task-fields{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.wf-task-fields .field select{padding:9px 7px}
.wf-ack-label{display:inline-flex;align-items:center;gap:6px;flex-wrap:wrap}
.wf-modal-open{overflow:hidden}
@media(max-width:620px){.wf-task-overlay{padding:8px;align-items:flex-end}.wf-task-modal{width:100%;max-height:94vh;border-radius:15px 15px 0 0}.wf-task-modal-head{padding:19px 18px 12px}.wf-quick-form{padding:15px 18px;grid-template-columns:1fr 1fr;gap:11px}.wf-quick-form label{grid-column:1 / -1}.wf-quick-form label:first-child,.wf-quick-form label:nth-child(2),.wf-quick-form label:nth-child(4),.wf-quick-form label:nth-child(5){grid-column:auto}.wf-modal-foot{padding:12px 18px 16px}.wf-task-fields{grid-template-columns:1fr 1fr}.wf-task-fields .field:first-child{grid-column:1 / -1}.wf-add-task-btn{width:46px;height:46px;min-width:46px}}
@media(max-width:390px){.wf-quick-form label:first-child,.wf-quick-form label:nth-child(2),.wf-quick-form label:nth-child(4),.wf-quick-form label:nth-child(5){grid-column:1 / -1}}

/* Final ergonomics polish: compact Overview rows, fixed modal actions */
.wf-overview-task .wf-overview-next{font-size:10px;line-height:1.4;max-width:320px}
.wf-overview-task .wf-task-type{font-size:10px;padding:4px 6px}
.wf-task-modal{display:flex;flex-direction:column;overflow:hidden}
#quickTaskForm{display:flex;flex:1;min-height:0;flex-direction:column}
.wf-quick-form{overflow-y:auto;flex:1;min-height:0}
.wf-modal-foot{flex-shrink:0;background:#fff}
@media(max-width:620px){.wf-task-modal{max-height:94vh}.wf-modal-foot{padding-top:9px;padding-bottom:13px}.wf-modal-foot p{max-width:225px}.wf-quick-form{padding-bottom:9px}}

/* v2.15: Acknowledged tasks surface an action warning only while unfinished. */
.wf-ack-stack{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:7px;min-width:0}
.wf-action-required{appearance:none;border:1px solid #ebce95;background:#fff4e5;color:#96591a;font-size:11px;line-height:1.25;font-weight:780;padding:6px 9px;min-height:28px;border-radius:7px;cursor:help;white-space:normal;text-align:left;box-shadow:0 1px 3px rgba(127,85,33,.06)}
.wf-action-required:hover{background:#ffeed4;border-color:#dbaa64}
.wf-action-required:focus-visible{outline:2px solid #087e83;outline-offset:3px}
/* v0.3.5: Rounds Delta usability and state fixes */
.delta-lab-intro{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin:0 0 21px}
.delta-lab-intro h2{font-size:25px;letter-spacing:-.75px;font-weight:800;margin:7px 0 5px}.delta-lab-intro p{margin:0;max-width:670px;font-size:12px;line-height:1.7;color:#697f8c}
.delta-lab-kicker{font-size:10px;letter-spacing:1.1px;color:#0b8e87;font-weight:800}
.delta-lab-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:17px}
.delta-lab-summary>div{border:1px solid #dce9eb;background:#fff;padding:15px 17px;border-radius:10px;box-shadow:0 6px 25px rgba(22,50,65,.035)}
.delta-lab-summary b{display:block;font:800 26px Manrope,Inter,sans-serif;letter-spacing:-.8px;line-height:1.3;color:#143347}
.delta-lab-summary span{font-size:10px;color:#788e9b;font-weight:700}
.delta-lab-summary .delta-lab-time b{font-size:24px;color:#0b8d86}
.delta-lab-panel{overflow:hidden}
.delta-lab-toolbar{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:21px 22px;border-bottom:1px solid #e5edf0}
.delta-lab-eyebrow{font-size:9px;color:#0f918b;font-weight:800;letter-spacing:1px}
.delta-lab-toolbar h3{font-size:16px;margin:5px 0;letter-spacing:-.2px}
.delta-lab-toolbar p{font-size:11px;color:#7b909d;margin:0;max-width:475px;line-height:1.6}
.delta-controls{display:flex;align-items:center;gap:7px;flex-wrap:wrap;justify-content:flex-end}
.delta-segment{background:#f4f8fa;border:1px solid #e2ebef;padding:3px;border-radius:8px;display:flex;gap:2px}
.delta-segment button{font-weight:750;font-size:11px;border:0;background:transparent;color:#587382;white-space:nowrap;padding:7px 10px;border-radius:6px}
.delta-segment button.active{background:#0d7779;color:#fff;box-shadow:0 2px 6px rgba(8,68,72,.15)}
.delta-demo-actions{display:flex;gap:15px;justify-content:space-between;align-items:center;padding:12px 22px;background:#f8fbfa;border-bottom:1px solid #e6eff0}
.delta-scope{font-size:11px;color:#536e7b;max-width:300px;line-height:1.55}
.delta-action-buttons{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:7px}
.delta-case-list{min-height:175px}
.delta-case{display:grid;grid-template-columns:150px minmax(0,1fr) 185px;align-items:center;gap:16px;padding:16px 21px;border-bottom:1px solid #edf2f4}
.delta-case:last-child{border-bottom:none}.delta-case-ref strong{display:block;font-weight:800;color:#19394d;font-size:12px}.delta-case-ref span{font-size:10px;color:#92a0aa;display:block;margin-top:4px}
.delta-case-main b{display:block;color:#193648;font-size:12px;line-height:1.45;font-weight:760}
.delta-case-main small{font-size:11px;color:#7c91a0;display:block;line-height:1.5;margin-top:4px}
.delta-change-note{font-size:10px;font-weight:750;color:#0b8e82;display:block;margin-top:5px}
.delta-case-end{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px}
.delta-status{border-radius:7px;padding:5px 9px;background:#eff3f4;font-size:10px;font-weight:850;color:#5b7280;white-space:nowrap}
.delta-status.needs-review{background:#ffefdc;color:#95591f}.delta-status.finished{background:#e8f7ec;color:#217149}.delta-status.working{background:#e9f2ff;color:#365f9b}
.delta-case select{border:1px solid #dce6eb;background:#fff;color:#355468;font-size:10px;font-weight:700;max-width:150px;padding:7px 8px;border-radius:7px}
.delta-empty{color:#718596;padding:30px 24px;font-size:12px;line-height:1.7}
.delta-lab-foot{padding:14px 20px;background:#f8fbfb;border-top:1px solid #e5edef;font-size:11px;color:#607987;line-height:1.6}
.delta-lab-foot strong{color:#0c877d}
.delta-lab-lower{display:grid;grid-template-columns:1fr 1fr;gap:17px;margin-top:17px}
.delta-events{display:grid;gap:0}.delta-event{display:grid;grid-template-columns:55px 1fr;gap:11px;align-items:start;padding:11px 0;border-bottom:1px solid #edf1f3}
.delta-event:last-child{border:0}.delta-event span{font-size:10px;color:#169087;font-weight:800}.delta-event p{font-size:11px;line-height:1.5;color:#587181;margin:0}
.delta-value .criterion{margin-bottom:10px}
.delta-lab-preview{background:linear-gradient(120deg,#eaf7f3,#f6fcfa);border:1px solid #cfebe6;border-radius:11px;padding:18px;margin-bottom:17px}
.delta-lab-preview h3{font-size:13px;font-weight:800;color:#153a47;margin:0 0 5px}.delta-lab-preview p{font-size:11px;line-height:1.6;color:#587882;margin:0 0 11px}
.delta-lab-preview .btn{background:#0c7475;border-color:#0c7475;color:#fff}
@media(max-width:1280px){.delta-lab-toolbar,.delta-demo-actions{flex-wrap:wrap}.delta-controls,.delta-action-buttons{justify-content:flex-start}}
@media(max-width:780px){.delta-lab-summary{grid-template-columns:1fr 1fr}.delta-lab-lower{grid-template-columns:1fr}.delta-case{grid-template-columns:90px minmax(0,1fr);gap:10px}.delta-case-end{grid-column:2;justify-content:flex-start}.delta-lab-intro{display:block}.delta-lab-intro>.btn{margin-top:13px}}
@media(max-width:430px){.delta-case{grid-template-columns:70px minmax(0,1fr);padding:14px}.delta-lab-toolbar,.delta-demo-actions{padding:15px}.delta-lab-summary{gap:8px}.delta-lab-summary>div{padding:12px}.delta-segment button{font-size:10px;padding:7px}}


/* Rounds Delta: simplified add-item form and responsive controls */
.delta-new-form{padding:18px 22px 19px;border-bottom:1px solid #dfeceb;background:linear-gradient(115deg,#f5fbfa,#fff)}
.delta-new-head{display:flex;align-items:baseline;flex-wrap:wrap;gap:9px;margin-bottom:12px}
.delta-new-head strong{font:800 13px Manrope,'DM Sans',sans-serif;color:#153a47}
.delta-new-head span{font-size:11px;color:#67818c}
.delta-new-fields{display:grid;grid-template-columns:minmax(210px,2fr) minmax(140px,1fr) minmax(140px,1fr) auto;gap:10px;align-items:end}
.delta-new-fields label{display:flex;flex-direction:column;gap:5px;min-width:0;color:#405c68;font-size:11px;font-weight:750}
.delta-new-fields input,.delta-new-fields select{width:100%;min-height:38px;border:1px solid #cedfe2;background:white;border-radius:8px;padding:8px 10px;color:#163a4d;font:600 12px 'DM Sans',sans-serif}
.delta-new-fields input:focus-visible,.delta-new-fields select:focus-visible{outline:2px solid #0b9890;outline-offset:2px}
.delta-new-fields button{min-height:38px;white-space:nowrap}
.delta-form-help{font-size:10px;color:#7b8c96;margin:10px 0 0}
@media(max-width:1060px){.delta-new-fields{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.delta-new-fields .delta-new-task{grid-column:1/-1}.delta-new-fields button{grid-column:1/-1}}
@media(max-width:540px){.delta-new-form{padding:15px}.delta-new-fields{grid-template-columns:1fr}.delta-new-fields .delta-new-task,.delta-new-fields button{grid-column:auto}.delta-controls{width:100%;justify-content:flex-start}.delta-segment{flex-wrap:wrap}.delta-lab-toolbar{gap:13px}.delta-demo-actions{gap:10px}}


nav a.nav-item{display:flex;align-items:center;gap:10px;text-decoration:none;width:100%;box-sizing:border-box;text-align:left}
nav a.nav-item:hover{color:#fff}

/* v2.27: one integrated continuity review inside After rounds; existing product shell remains unchanged. */
.continuity{border:1px solid #d2e4e6;border-radius:18px;background:linear-gradient(140deg,#f6fbfb 0%,#fff 58%);padding:22px 23px 18px;margin:0 0 21px;box-shadow:0 10px 27px rgba(7,27,42,.035)}
.continuity-heading{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}
.continuity-heading h2{font-family:Manrope,'DM Sans',sans-serif;font-size:23px;letter-spacing:-.04em;color:#143c49;margin:4px 0 5px}
.continuity-heading p{font-size:13px;line-height:1.55;color:#58737e;margin:0;max-width:680px}
.continuity-kicker{font-size:10px;letter-spacing:.15em;color:#0d8c82;font-weight:800}
.continuity-sample{font-size:10px;color:#547480;background:#edf7f7;border:1px solid #d3e8e7;padding:7px 10px;border-radius:7px;white-space:nowrap;font-weight:700}
.continuity-phases{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:18px}
.continuity-phase{font:inherit;cursor:pointer;border:1px solid #d5e4e6;background:#fff;color:#3d5b67;text-align:left;padding:12px 13px;border-radius:10px;display:flex;flex-direction:column;gap:4px;transition:.16s ease}
.continuity-phase.active{background:#103748;color:#e5f7f7;border-color:#103748;box-shadow:0 3px 8px rgba(5,37,49,.13)}
.continuity-phase:focus-visible{outline:3px solid #60d4cc;outline-offset:2px}
.continuity-phase-time{font-size:10px;font-weight:800;letter-spacing:.06em;color:#158e85}.continuity-phase.active .continuity-phase-time{color:#63e1d7}
.continuity-phase b{font-size:12px}.continuity-phase small{color:#728996;font-size:10px}.continuity-phase.active small{color:#c5e7e6}
.continuity-context{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:5px 15px;padding:15px 0 12px}
.continuity-context strong{color:#264b57;font-size:12px}.continuity-context span{color:#6c8490;font-size:11px}
.continuity-items{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.continuity-item{min-width:0;border:1px solid #e0e9eb;border-radius:12px;padding:16px;background:#fff;display:flex;flex-direction:column;gap:7px}
.continuity-item.continuity-reviewed{background:#f6faf8;border-color:#c4ded6}
.continuity-item-top{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.continuity-case{font-size:10px;color:#087f78;font-weight:850;letter-spacing:.08em}.continuity-badge{font-size:10px;border-radius:5px;padding:4px 7px;background:#eef4f5;color:#58727b;font-weight:700}
.continuity-item h4{font:800 14px Manrope,'DM Sans',sans-serif;line-height:1.3;color:#183d4a;margin:0}.continuity-item p{font-size:12px;line-height:1.6;color:#5e7480;margin:0;flex:1}
.continuity-evidence{font-size:10px;color:#738b94;margin:1px 0 3px}.continuity-actions{display:flex;align-items:center;flex-wrap:wrap;gap:7px}
.continuity-actions .btn{font-size:11px;padding:7px 10px;min-height:31px;border-radius:7px}
.continuity-outcome{display:inline-flex;align-items:center;gap:6px;background:#e7f5f1;border-radius:7px;padding:8px;color:#13765f;font-size:11px;font-weight:800}
.continuity-note{margin-top:14px;border:1px solid #d6e6e7;background:#fff;border-radius:11px;overflow:hidden}
.continuity-note>summary{cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:8px;list-style:none;padding:14px;font-size:12px;color:#124350;font-weight:800}
.continuity-note>summary::-webkit-details-marker{display:none}.continuity-note>summary:before{content:'+';font-size:16px;color:#0e867d;margin-right:5px}.continuity-note[open]>summary:before{content:'−'}
.continuity-note>summary span:last-child{font-size:11px;color:#708997;font-weight:500;margin-left:auto}
.continuity-note-content{border-top:1px solid #edf2f3;padding:14px;display:grid;grid-template-columns:minmax(0,1fr);gap:6px}
.continuity-note-content label{font-size:11px;color:#355763;font-weight:800}
.continuity-note-content select,.continuity-note-content textarea{font:inherit;width:100%;max-width:100%;padding:10px;border-radius:8px;border:1px solid #cbdfe1;color:#234553;background:#fff;font-size:12px}
.continuity-note-content textarea{min-height:78px;resize:vertical}
.continuity-note-controls{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:7px}.continuity-note-controls .btn{min-height:34px;padding:8px 10px;font-size:11px}
.continuity-research-link{margin-left:auto;color:#0c827b;text-decoration:underline;font-size:11px;font-weight:750}
.continuity-note-content small{color:#738995;font-size:10px;line-height:1.5;margin-top:2px}
@media(max-width:760px){.continuity{padding:16px}.continuity-heading{display:block}.continuity-sample{display:inline-flex;margin-top:9px}.continuity-items{grid-template-columns:1fr}.continuity-phases{gap:5px}.continuity-phase{padding:10px 8px}.continuity-phase b{font-size:11px}.continuity-context{align-items:flex-start}.continuity-note>summary{align-items:flex-start}.continuity-note>summary span:last-child{font-size:10px}}
@media(max-width:440px){.continuity-heading h2{font-size:21px}.continuity-phase-time{font-size:9px}.continuity-phase b{font-size:10px}.continuity-phase small{font-size:9px}.continuity-note-controls .btn{width:100%;justify-content:center}.continuity-research-link{margin-left:0}}


/* v2.40: visually separate the feedback workspace */
body.wf-feedback-active .body{background:linear-gradient(143deg,#10364f 0%,#0b273e 75%);min-height:calc(100vh - 70px);color:#e8f6f8;}
body.wf-feedback-active .head h1,body.wf-feedback-active .head h2,body.wf-feedback-active .head strong{color:#f8ffff;}
body.wf-feedback-active .head p,body.wf-feedback-active .head .eyebrow{color:#b4e2e5;}
body.wf-feedback-active .panel{background:#f8fcfd;border-color:#b5d8df;color:#153547;box-shadow:0 15px 38px rgba(0,13,26,.14)}
body.wf-feedback-active .feedback-side{background:#e9f6f9;border-color:#9bcfd5;}
body.wf-feedback-active .feedback-side h2,body.wf-feedback-active .feedback-side p{color:#173d52;}
body.wf-feedback-active .footer,body.wf-feedback-active .footer span{color:#b0d2df;}
body.wf-feedback-active .footer a{color:#8ce7df;}
body.wf-feedback-active .no-patient{background:#eff8fa;}
body.wf-feedback-active #reviewForm .btn.teal{background:#087e83;color:white;}

/* v2.44: Action Capture uses Relay's existing shell and sidebar. */
.wf-capture-host[hidden]{display:none!important}
.wf-capture-host{width:100%;min-width:0}
.wf-capture-host iframe{display:block;width:100%;min-width:0;min-height:640px;height:850px;border:0;background:transparent;overflow:hidden}
.wf-capture-host .footer{margin-top:20px}
