:root{--ink:#162c34;--muted:#71828a;--green:#0d6e62;--green2:#e7f4ef;--bg:#f4f7f7;--line:#e4ebeb;--nav:#102b32;--shadow:0 5px 18px #12303b05;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #67baa9;outline-offset:3px}a{color:var(--green)}h1,h2,h3,p{margin-top:0}h1{font-size:30px;letter-spacing:-1px;margin-bottom:7px}h2{font-size:18px;letter-spacing:-.3px}h3{font-size:15px}.muted{color:var(--muted)}small,.small{font-size:12px}.eyebrow{font-size:10px;text-transform:uppercase;letter-spacing:1.8px;font-weight:800}.shell{display:grid;grid-template-columns:235px 1fr;min-height:100vh}.sidebar{background:var(--nav);color:#c0d3d5;padding:30px 18px;position:sticky;height:100vh;top:0;display:flex;flex-direction:column}.brand{font-size:23px;font-weight:750;letter-spacing:-.8px;color:white;display:flex;align-items:center;gap:10px}.brand b{background:#ffffff16;color:#b3e3d6;border-radius:5px;font-size:10px;letter-spacing:.5px;padding:5px}.brandmark{width:34px;height:34px}.sidebar .eyebrow{font-size:9px;color:#78989e;margin:35px 12px 15px}.nav{display:grid;gap:4px}.nav button{display:flex;align-items:center;gap:12px;border:0;background:none;color:inherit;padding:12px 13px;text-align:left;border-radius:8px;font-size:12px}.nav button.active{background:#24504f;color:#fff}.nav button:hover{background:#ffffff0b}.nav button.active:hover{background:#24504f}.nav-icon{width:18px;text-align:center;font-size:16px;color:#86bab3}.side-bottom{margin-top:auto;padding:30px 10px 0}.avatar{display:inline-grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#ffffff14;font-size:11px;color:#bfe4d9;margin-right:7px}.side-bottom p{font-size:12px;line-height:1.7;margin:10px 0}.switch{padding:0;background:none;color:#8fc5ba;border:0;font-size:11px}.main{min-width:0}.topbar{height:75px;padding:0 35px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;background:white;gap:15px;font-size:12px;color:var(--muted)}.topbar strong{color:var(--ink)}.status-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#36a185;margin-right:6px}.demo-pill{color:#8c6b2f;background:#faf3e3;padding:6px 9px;border-radius:6px;font-size:10px;margin-left:12px}.content{padding:30px 35px 45px;max-width:1640px;margin:auto}.pagehead{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:25px}.pagehead p{font-size:13px;color:var(--muted);margin-bottom:0}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--green);background:var(--green);color:white;padding:10px 16px;border-radius:8px;font-size:12px;font-weight:650;text-decoration:none;white-space:nowrap}.btn.secondary{background:white;color:var(--ink);border-color:#d8e2e2}.btn.ghost{background:transparent;color:var(--green);border-color:transparent;padding:6px 0}.btn.danger{background:#ad3842;border-color:#ad3842}.btn.small{padding:7px 10px;font-size:11px}.btn:hover{filter:brightness(.95)}.actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.grid{display:grid;gap:18px}.kpis{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:24px}.kpi{border:1px solid var(--line);border-radius:12px;background:white;padding:20px;box-shadow:var(--shadow)}.kpi span{display:block;color:var(--muted);font-size:12px}.kpi strong{display:block;font-size:30px;font-weight:650;letter-spacing:-1px;margin:13px 0 7px;font-variant-numeric:tabular-nums}.kpi small{color:var(--muted);font-size:11px}.kpi.accent{background:var(--green);border-color:var(--green);color:white}.kpi.accent span,.kpi.accent small{color:#c2ded5}.two{grid-template-columns:1.4fr 1fr}.card{background:white;border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow);padding:22px;margin-bottom:20px;min-width:0}.cardhead{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:16px}.cardhead h2{margin:0}.table-card{padding:0;overflow:hidden}.table-card .cardhead{padding:20px 22px 0}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:12px}th{color:#7b8b91;text-transform:uppercase;letter-spacing:.8px;font-size:9px;text-align:left;background:#f8fafb;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:13px 16px;white-space:nowrap}td{padding:16px;border-bottom:1px solid #f0f3f3;vertical-align:middle}td strong{font-weight:650}td small{display:block;color:var(--muted);margin-top:5px;font-size:10px}tr:last-child td{border-bottom:0}.badge{display:inline-block;font-size:10px;background:#eaf0f8;color:#47617b;border-radius:5px;padding:5px 7px;white-space:nowrap}.badge.good{background:#e9f6ef;color:#258365}.badge.amber{background:#fbf3e4;color:#a6782d}.badge.bad{background:#fdecef;color:#ae4551}.filter{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin-bottom:20px}.filter label{min-width:130px}.filter .search{flex:1;min-width:220px}.filter input,.filter select{font-size:12px}label{display:flex;flex-direction:column;gap:7px;font-size:11px;color:#4f636b;font-weight:650}input,select,textarea{width:100%;border:1px solid #dce5e6;border-radius:7px;padding:10px 11px;color:var(--ink);background:white;font-size:13px;min-height:40px}textarea{resize:vertical;min-height:90px}input[type=checkbox]{width:auto;min-height:unset;accent-color:var(--green)}.checkbox{flex-direction:row;align-items:center;gap:10px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.span2{grid-column:1/-1}.form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:25px;border-top:1px solid var(--line);padding-top:18px}.form-error{color:#a5313f;background:#fdeef0;padding:10px 12px;border-radius:6px;margin-top:15px;font-size:12px}.form-error:empty{display:none}.queue{display:grid;grid-template-columns:repeat(4,minmax(200px,1fr));gap:14px;overflow:auto}.column{background:#eaf0f0;padding:13px;border-radius:11px;min-height:360px}.column-title{font-size:11px;font-weight:750;display:flex;justify-content:space-between;margin:2px 0 15px}.column-title span{background:white;padding:2px 6px;border-radius:5px;color:var(--muted)}.ticket{background:#fff;border:1px solid #dfe8e8;border-radius:9px;padding:15px;margin-bottom:10px;box-shadow:var(--shadow)}.ticket strong{display:block;font-size:13px;margin:10px 0 5px}.ticket p{font-size:11px;color:var(--muted);line-height:1.8}.token{color:var(--green);font-size:11px;font-weight:700}.ticket .actions{margin-top:12px}.empty{text-align:center;padding:35px 20px;color:var(--muted)}.empty h3{color:#647c84;margin-top:12px;margin-bottom:8px}.empty p{font-size:12px;line-height:1.7;margin:0;max-width:360px;margin-inline:auto}.empty-mark{font-size:24px;color:#aac8c0}.info{background:#edf6f2;border:1px solid #d5e9e0;border-radius:8px;color:#466c60;font-size:12px;line-height:1.7;padding:13px 16px;margin-bottom:20px}.warning{background:#fdf6e8;border-color:#f4e1b6;color:#8c6b37}.row{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid var(--line);font-size:12px}.row:last-child{border-bottom:0}.row span{color:var(--muted)}.bar-row{margin-top:19px}.bar-label{display:flex;justify-content:space-between;font-size:12px;margin-bottom:9px}.bar{background:#f0f4f3;border-radius:5px;height:7px;overflow:hidden}.bar i{display:block;background:#78b7a5;height:100%;border-radius:5px}.hero{background:#e5f1eb;border:1px solid #d1e5da;border-radius:12px;padding:24px;margin-bottom:22px;display:flex;justify-content:space-between;gap:20px}.hero h2{font-size:23px;margin:10px 0}.hero p{color:#527468;margin:0;font-size:12px}.hero-token{font-size:30px;font-weight:700;color:var(--green)}.journey{display:flex;gap:8px;flex-wrap:wrap;padding:12px 0}.journey span{font-size:10px;padding:7px 9px;border:1px solid var(--line);border-radius:6px;color:var(--muted)}.journey .current{background:var(--green);color:white;border-color:var(--green)}dialog{border:0;border-radius:15px;padding:0;width:min(780px,calc(100vw - 28px));max-height:90vh;box-shadow:0 35px 100px #102b3240;color:var(--ink)}dialog::backdrop{background:#122f3a77;backdrop-filter:blur(3px)}.modalhead{padding:24px 26px 15px;display:flex;align-items:center;justify-content:space-between}.modalhead h2{font-size:22px;margin:0}.close{border:0;background:#f1f5f5;border-radius:50%;width:30px;height:30px;font-size:20px;color:#4f636b}.modalbody{padding:8px 26px 26px}.order-picker{display:grid;grid-template-columns:1fr 1fr;gap:8px}.pick{padding:10px;border:1px solid var(--line);border-radius:8px;display:grid;grid-template-columns:20px 1fr 60px;gap:7px;align-items:center}.pick input[type=number]{padding:7px;min-height:30px;font-size:11px}.pick span{font-size:11px}.pick small{display:block;font-size:10px;color:var(--muted);margin-top:3px}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#163e38;color:white;border-radius:9px;padding:14px 20px;box-shadow:0 12px 40px #0002;font-size:12px;z-index:100;display:none;max-width:90vw}#toast.visible{display:block}.login{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.login-story{background:#113b3b;color:white;padding:60px 70px;display:flex;flex-direction:column;justify-content:space-between}.login-story h1{font-size:48px;letter-spacing:-2px;line-height:1.16;max-width:470px;margin:60px 0 20px;font-weight:600}.login-story p{font-size:15px;line-height:1.9;color:#adc9c3;max-width:430px}.login-line{height:1px;background:#ffffff20;margin:40px 0}.login-stat{display:flex;gap:40px}.login-stat b{display:block;font-size:25px;font-weight:500;color:#d0e7df}.login-stat small{display:block;font-size:11px;margin-top:8px;color:#89b1a7}.login-form{padding:45px;display:grid;place-items:center;background:#f6f9f8}.login-box{max-width:400px;width:100%}.login-box h2{font-size:30px;margin-bottom:12px}.login-box p{font-size:13px;line-height:1.7;color:var(--muted)}.login-box label{margin:20px 0}.login-box .btn{width:100%;padding:14px}.login-note{margin-top:20px;font-size:11px!important}.metric-note{font-size:11px;color:var(--muted);line-height:1.7}.tag{display:inline-block;border:1px solid #d8e5de;padding:5px 8px;border-radius:5px;font-size:10px;color:#558271}.footnote{font-size:10px;color:#8a9b9e;margin-top:22px}.print-title{display:none}@media(max-width:1100px){.shell{grid-template-columns:200px 1fr}.sidebar{padding:24px 12px}.content{padding:25px 22px}.topbar{padding:0 22px}.two{grid-template-columns:1fr}.kpi strong{font-size:23px}.login-story{padding:45px}.login-story h1{font-size:38px}}@media(max-width:900px){.shell{grid-template-columns:1fr}.sidebar{height:auto;position:relative;padding:18px}.sidebar .eyebrow,.side-bottom{display:none}.nav{display:flex;overflow:auto;margin-top:18px}.nav button{white-space:nowrap;font-size:11px;padding:9px}.nav-icon{display:none}.topbar{height:auto;padding:14px 18px;font-size:10px}.content{padding:22px 16px}.pagehead{align-items:flex-start}h1{font-size:25px}.pagehead p{font-size:11px}.kpis{grid-template-columns:1fr 1fr;gap:10px}.kpi{padding:16px}.kpi strong{font-size:23px}.kpi small{font-size:10px}.form-grid{grid-template-columns:1fr}.span2{grid-column:auto}.order-picker{grid-template-columns:1fr}.login{grid-template-columns:1fr}.login-story{padding:25px}.login-story h1{font-size:30px;margin:30px 0 10px}.login-stat,.login-line,.login-story>small{display:none}.login-form{padding:30px 24px}.hero{padding:18px}.hero-token{font-size:23px}.filter{gap:10px}.filter label{min-width:120px;flex:1}.card{padding:18px}.table-card{padding:0}.demo-pill{margin-left:5px}.modalhead{padding:20px}.modalbody{padding:5px 20px 20px}}@media print{.sidebar,.topbar,.pagehead .btn,.filter,.actions,.btn,#toast,dialog{display:none!important}.shell{display:block}.content{padding:0}.card,.kpi{box-shadow:none;break-inside:avoid}.print-title{display:block}.table-wrap{overflow:visible}body{background:white}.footnote{display:block}}

[hidden]{display:none!important}

.account-card {max-width:560px;margin:40px auto;}
#login-form .btn, #password-form .btn {margin-top:20px;}
#password-form label {margin-bottom:16px;}
.form-error {color:#a72d35;min-height:20px;margin:12px 0;}
button:disabled {opacity:.55;cursor:wait;}

/* ---- Sign in: practice code, username, password. Modelled on the reference screenshot (light panel, 38px inputs,
   pill button, blue text link). Button text is dark rather than white: white on #56c5eb is about 2:1 contrast. ---- */
.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.login-form{background:linear-gradient(180deg,#f5f6f8 0%,#f5fcfe 45%,#f5fcfe 100%);position:relative;overflow:hidden}
.login-form::before,.login-form::after{content:"";position:absolute;background:#fff;pointer-events:none}
.login-form::before{width:420px;height:420px;right:-130px;top:-70px;clip-path:polygon(50% 0,100% 100%,0 100%);opacity:.9}
.login-form::after{width:360px;height:360px;left:-150px;bottom:-130px;clip-path:polygon(50% 0,100% 100%,0 100%);opacity:.7}
.auth-box{max-width:303px;width:100%;position:relative;z-index:1;font-family:Lato,"Helvetica Neue",Arial,sans-serif}
.auth-field{display:block;margin:0 0 22px;min-width:0}
.auth-field span{display:block;font-size:15px;font-weight:400;color:#414042;margin-bottom:12px;line-height:20px}
.auth-field input{height:38px;min-height:38px;padding:6px 12px;border:1px solid #ced4da;border-radius:5px;font-size:15px;color:#414042;background:#fff}
.auth-field input::placeholder{color:#abacae;font-style:italic;opacity:1}
.auth-field input:focus-visible{border-color:#56c5eb;outline:3px solid #56c5eb55;outline-offset:0}
.auth-row{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:41px}
.auth-link{background:none;border:0;padding:0;color:#0057a6;font-size:14px;font-family:inherit;cursor:pointer}
.auth-link:hover{text-decoration:underline}
.auth-submit{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:40px;min-width:91px;padding:0 16px;border:0;border-radius:20px;background:#56c5eb;color:#0b3a4d;font-size:16px;font-weight:500;font-family:inherit;white-space:nowrap}
.auth-submit:hover{filter:brightness(.96)}
.auth-submit:disabled{opacity:.6}
.auth-title{font-size:22px;letter-spacing:-.3px;margin:0 0 10px;color:#414042}
.auth-note{font-size:14px;line-height:1.5;color:#414042;margin:0 0 22px}
.auth-notice{background:#e6f6fb;border:1px solid #bfe6f3;color:#0b3a4d;padding:10px 12px;border-radius:6px;font-size:14px;margin:0 0 22px}
.auth-back{margin:22px 0 0}
.auth-box .form-error{margin:0}
.context-form{display:inline-flex;gap:8px;align-items:center;margin-left:12px}
.context-form select{width:auto;min-height:32px;padding:4px 8px;font-size:12px}
.credentials{display:grid;grid-template-columns:150px 1fr;gap:10px 12px;margin:18px 0}
.credentials dt{color:var(--muted);font-size:12px;align-self:center}
.credentials dd{margin:0;font-weight:600}
.credentials .secret{font-family:ui-monospace,Menlo,Consolas,monospace;font-size:18px;letter-spacing:1px;background:#fff8e1;border:1px solid #e6cf83;padding:8px 10px;border-radius:6px;user-select:all;word-break:break-all}
.branch-pick{border:1px solid #dce5e6;border-radius:7px;padding:10px 14px;margin:16px 0}
.branch-pick legend{font-size:12px;color:#4f636b;padding:0 6px}
.branch-pick .checkbox{margin:6px 0}
@media(max-width:760px){.login-form::before,.login-form::after{opacity:.5}.credentials{grid-template-columns:1fr}.context-form{margin:8px 0 0}}
.auth-box .auth-note,.auth-box .auth-notice{color:#414042;font-size:14px;line-height:1.5}
.auth-box .auth-notice{color:#0b3a4d}

/* ---- Demo hospital: always-visible banner ---- */
.demo-banner{background:#fff3cd;color:#6b4e00;border-bottom:1px solid #ecd58a;padding:7px 16px;font-size:13px;text-align:center;letter-spacing:.2px}
.demo-banner strong{letter-spacing:1.5px}

/* ---- Tablets ---- */
button,a,select,summary{touch-action:manipulation}
@media(max-width:1100px){.queue{grid-template-columns:repeat(4,minmax(150px,1fr));gap:10px}.column{padding:10px}}
@media(max-width:900px){.queue{grid-template-columns:repeat(2,minmax(0,1fr))}.nav button{padding:11px 12px;font-size:12px}.topbar{flex-wrap:wrap;gap:8px}.context-form{margin:6px 0 0}}
/* Touch screens: 44px tap targets, and 16px text in fields so iPads do not zoom in when a field is focused. */
@media(pointer:coarse){
 .btn{min-height:44px;padding:10px 16px;font-size:13px}
 .btn.small{min-height:40px;font-size:12px}
 .nav button{min-height:44px;font-size:13px}
 input,select,textarea{min-height:44px;font-size:16px}
 input[type=checkbox]{min-height:unset;width:22px;height:22px}
 .auth-field input{height:46px;min-height:46px}
 .auth-submit{height:46px;font-size:17px}
 .auth-link{padding:12px 0;font-size:15px}
 .context-form select{min-height:44px;font-size:14px}
 .close{min-width:44px;min-height:44px}
}

/* Tablet portrait: tables fit without sideways scrolling where possible, and action buttons may wrap. */
@media(max-width:900px){.table-wrap th,.table-wrap td,.table-card th,.table-card td{padding-left:9px;padding-right:9px}.table-wrap td .btn,.table-card td .btn{white-space:normal;padding:8px 10px;line-height:1.25}.table-wrap td small,.table-card td small{display:block}}

/* ---- Loading placeholder and pager. The placeholder is in index.html too, so something shows before the script has loaded. ---- */
.sk{display:block;background:linear-gradient(90deg,#e8eeee 25%,#f3f7f7 50%,#e8eeee 75%);background-size:200% 100%;border-radius:8px;animation:sk-shimmer 1.4s linear infinite}
@keyframes sk-shimmer{from{background-position:200% 0}to{background-position:-200% 0}}
.skeleton .sk-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:24px}
.skeleton .sk-kpis .sk{height:92px;border-radius:12px}
.skeleton .sk-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:22px;display:grid;gap:14px}
.skeleton .sk-title{height:20px;width:30%}
.skeleton .sk-line{height:14px}
.skeleton .sk-line.short{width:55%}
@media(max-width:700px){.skeleton .sk-kpis{grid-template-columns:1fr 1fr;gap:10px}}
@media(prefers-reduced-motion:reduce){.sk{animation:none}}
.pager{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-top:16px;color:var(--muted);font-size:13px}
.pager>div{display:flex;align-items:center;gap:10px}
.pager-page{min-width:92px;text-align:center}

/* ---- Legibility, from the Lighthouse audit: every piece of text at least 12px, and text colours with enough contrast
   (4.5:1 or better) on tablets in bright rooms. These come last so they also apply at tablet and phone widths. ---- */
:root{--muted:#586b73}
th{font-size:12px;letter-spacing:.5px;color:#586b73}
td small,.kpi small,.metric-note,.badge,.demo-pill,.footnote{font-size:12px}
.topbar,.pagehead p{font-size:13px}
.footnote{color:#5d7077}
.demo-pill{color:#6f5217}
:root{--muted:#4f636b}
label{font-size:12px}
.kpi.accent span,.kpi.accent small{color:#e6f4ef}
.badge.good{color:#17624a}

/* At tablet and phone widths the menu is a row that scrolls sideways. A grid column sizes itself to its content unless told
   it may shrink, so without these two lines the whole page was as wide as the menu (1,341px on an 820px iPad). */
@media(max-width:900px){.shell{grid-template-columns:minmax(0,1fr)}.sidebar{min-width:0}}

/* ---- Search-as-you-type pickers, favourites, report files and the care-conversion screen ---- */
.picker h3{margin:6px 0 8px;font-size:14px}
.picker input[type=search]{width:100%}
.favrow{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 8px}
.favrow:empty{display:none}
.chip{display:inline-flex;align-items:center;border:1px solid var(--line);border-radius:999px;background:#fff;font-size:13px;max-width:100%}
.chip.starred{border-color:#e6cf83;background:#fffaf0}
.chip>button:first-child{border:0;background:none;padding:6px 8px 6px 12px;cursor:pointer;color:var(--ink);font:inherit;max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.chip .star,.suggest .star{border:0;background:none;cursor:pointer;font-size:16px;color:#a47a14;padding:4px 8px}
.picked-chip{padding:5px 8px 5px 12px;gap:6px;margin:2px 4px 2px 0}
.picked-chip button{border:0;background:none;cursor:pointer;font-size:16px;color:var(--muted)}
.suggest{list-style:none;margin:6px 0 0;padding:0;border:1px solid var(--line);border-radius:10px;background:#fff;max-height:280px;overflow:auto}
.suggest:empty{display:none}
.suggest li{display:flex;align-items:center;border-bottom:1px solid #f0f3f3}
.suggest li:last-child{border-bottom:0}
.suggest-item{flex:1;text-align:left;border:0;background:none;padding:10px 12px;cursor:pointer;font:inherit;color:var(--ink);display:flex;flex-direction:column;gap:2px}
.suggest-item:hover,.suggest-item:focus-visible{background:var(--green2)}
.suggest-item small,.suggest-empty{color:var(--muted);font-size:12px}
.suggest-empty{padding:10px 12px}
.pickedrow{display:flex;align-items:center;gap:12px;padding:8px 0;border-bottom:1px solid #f0f3f3}
.pickedrow>span{flex:1;display:flex;flex-direction:column}
.pickedrow small{color:var(--muted);font-size:12px}
.pickedrow .qty{flex-direction:row;align-items:center;gap:6px;font-size:12px}
.pickedrow .qty input{width:70px}
.pickedrow>button{border:0;background:none;font-size:20px;cursor:pointer;color:var(--muted);min-width:32px}
.report{margin:2px 0}
.report small,.prior-reports small{display:block;color:var(--muted);font-size:12px}
.prior-reports .report{margin-top:6px}
.upload{display:grid;gap:6px;margin-top:8px}
.upload input[type=file]{font-size:12px}
.link{font-weight:700;text-align:left;padding:0}
.warn{color:#a72d35}
.grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:1100px){.grid.three{grid-template-columns:1fr}}
.subhead{font-size:13px;margin:16px 0 6px}
.conv-tabs{margin:20px 0 14px}
.conv-tabs .btn[aria-pressed=true]{pointer-events:none}

/* ---- care conversion: clearer figures, clearing items, refunds and report removal ---- */
.funnel-pct{font-weight:400;color:var(--muted);font-size:12px;margin-left:2px}
.subhead.first{margin-top:0}
.small-link{font-size:12px;margin-top:2px;color:#a72d35;font-weight:600}
.refund-link{margin:10px 2px 0;text-align:right}
.refund-link .btn{font-size:12px}
.card .cardhead .actions{gap:6px}
