/* ClearContexts visual family — shared across every EchoChecks workspace. */
:root{--navy:#173747;--ink:#173747;--teal:#146e78;--org-accent:#146e78;--bg:#dce5ef;--surface:#f2f6fb;--surface-2:#edf2f8;--muted:#496271;--line:#c8d5e0;--brand:#146e78;--brand-ink:#fff;--brand-soft:#e0efed;--clay-shadow:10px 12px 26px #a7b8ca38,-7px -7px 20px #f4f8fc99,inset 2px 2px 3px #fff,inset -3px -4px 8px #c1cfdf38;--clay-small:4px 5px 11px #9dafc438,-3px -3px 9px #f4f8fc99,inset 1px 1px 2px #fff,inset -2px -2px 4px #bdcadc33;--clay-inset:inset 3px 3px 7px #a7b9ce32,inset -3px -3px 7px #fff;font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:#dce5ef}
body{background:transparent!important;color:var(--ink);position:relative;isolation:isolate;min-height:100vh;font-family:Arial,Helvetica,sans-serif}
body::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(#f5f9fcc2,#f5f9fcd4),url('/assets/hospital-background.png') center/cover no-repeat}
body>header,body>.top{margin:16px 24px 0;padding:18px 28px!important;min-height:88px;background:#f8fbfff0!important;border:1px solid white!important;border-radius:26px;box-shadow:var(--clay-small);color:var(--ink)}
header nav{gap:20px;align-items:center}header nav a,header>a,header .organization-brand-name,.top a{color:#234b5b!important;font-size:14px;text-decoration:none}header nav a:hover,.top a:hover{color:#006b76!important;text-decoration:underline;text-underline-offset:5px}header img{height:48px!important;width:auto!important;max-width:200px;object-fit:contain;background:transparent;padding:0;border-radius:0}
main{max-width:1360px!important;margin:auto!important;padding:32px 38px 110px!important}h1,h2,h3{color:var(--ink);letter-spacing:-.035em}main>h1{font-family:Georgia,'Times New Roman',serif;font-size:clamp(32px,4vw,48px)!important;font-weight:400;line-height:1.15;margin:15px 0 10px!important}main>p{margin:8px 0 12px!important}h2{font-weight:600}p{line-height:1.65;color:#496271}.eyebrow{font-size:11px!important;letter-spacing:.15em!important;color:#42727b;text-transform:uppercase}#identity{font-size:13px;color:#496271}
.card,.metric,.panel{background:var(--surface)!important;border:1px solid #f5f8fc!important;border-radius:26px!important;box-shadow:var(--clay-shadow)!important}.card{padding:26px}.metric{padding:22px!important;border-radius:23px!important}.metric strong{font-size:2.2rem!important;font-weight:600;color:#21475a}.metric:nth-child(2){background:#e6f1f0!important}.metric:nth-child(3){background:#f8efe2!important}.metric:nth-child(4){background:#ececfa!important}
.org-banner{background:linear-gradient(125deg,#e0efed,#e7edf8)!important;border:1px solid white;border-radius:28px!important;box-shadow:var(--clay-shadow);padding:28px!important;min-height:0!important}.org-banner h2{font-family:Georgia,'Times New Roman',serif;font-size:1.85rem!important;font-weight:400;color:var(--ink)!important;margin:8px 0!important}.org-banner p{color:#496271!important;max-width:740px;margin:8px 0 0!important}.org-banner .eyebrow{color:#42727b!important}.org-directory{gap:22px!important}.org-directory .card{padding:25px!important;border-top:1px solid white!important}.org-directory .card p{margin:10px 0!important}.workspace-picker{padding:26px!important;margin:28px 0!important}.workspace-picker h2{font-size:21px}
button,.btn{border-radius:14px!important;min-height:42px;font-family:inherit;font-size:14px!important;border:1px solid white!important;background:linear-gradient(145deg,#fff,#eaf0f8);color:#234b5b;box-shadow:var(--clay-small)!important;transition:transform .18s,background .18s,box-shadow .18s}button:hover,.btn:hover{transform:translateY(-1px);background:#e4eef5}button:disabled{transform:none;opacity:.55}.primary,button.primary,.btn.primary{background:linear-gradient(145deg,#267e88,#126571)!important;color:white!important;border:1px solid #398591!important;box-shadow:6px 7px 14px #638e9a3d,inset 2px 2px 3px #79b6b987,inset -3px -4px 6px #073f5266!important}.primary:hover{background:linear-gradient(145deg,#247983,#0e5864)!important}.portal-tabs{display:flex;gap:8px!important;background:#e4ebf3;border:1px solid #d6e1e9;border-radius:22px;box-shadow:var(--clay-inset);padding:8px!important;margin:24px 0!important;width:fit-content;max-width:100%}.portal-tabs button:not(.primary){background:transparent!important;box-shadow:none!important;border-color:transparent!important}
input:not([type=checkbox]):not([type=radio]),select,textarea{background:#edf2f8!important;border:1px solid #c5d3e0!important;border-radius:14px!important;color:#183c50!important;box-shadow:var(--clay-inset);font:inherit;min-height:43px;padding:11px 13px}input::placeholder,textarea::placeholder{color:#667b8b}input[type=checkbox],input[type=radio]{accent-color:#126b77}.pill,.badge{border-radius:12px!important;padding:6px 11px;font-size:12px!important;box-shadow:inset 1px 1px 2px #fff9,inset -1px -2px 3px #668f9b1c}.notice{background:#fff1d3;border-radius:16px!important;border:1px solid #eee0bd;border-left:3px solid #d6b651;box-shadow:inset 1px 1px 2px #fff;color:#765d22}.notice p{color:inherit}th{background:#edf2f8!important;color:#456170!important}td{border-color:#dbe3ed}tr:hover td{background:#edf5f8}table{background:#fbfcff}table a{color:#146e78}
.demo-bar{max-width:1284px;margin:22px auto 0;padding:12px 18px;display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;background:#fff1d3e8;border:1px solid #eee0bd;border-radius:16px;color:#765d22;box-shadow:inset 1px 1px 2px #fff}.demo-bar select{width:auto;max-width:270px;display:inline;margin:0;min-height:36px;font-size:12px;background:#fff9ed!important;box-shadow:none}.demo-bar label{display:flex;align-items:center;gap:10px;font-size:12px;margin:0;white-space:nowrap}footer{font-size:12px!important;color:#496271;padding-bottom:35px}
.echo-launcher{background:linear-gradient(140deg,#fff,#e1edf5)!important;border:1px solid white!important;box-shadow:7px 9px 22px #7694aa45,inset 2px 2px 4px white,inset -3px -4px 8px #b5cbd966!important;border-radius:50px!important}.echo-guide{background:#f2f6fb;border:1px solid white;border-radius:26px;box-shadow:var(--clay-shadow)}.echo-guide-head{background:#e0eff0}.echo-guide .echo-topic{background:#f0f5fa;border-radius:15px!important}.echo-guide-body{background:#f2f6fb}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #c99728!important;outline-offset:3px}
@media(max-width:900px){.demo-bar{margin:18px 24px 0}header nav{gap:14px}main{padding:28px 24px 110px!important}}
@media(max-width:700px){body>header,body>.top{margin:10px 10px 0;padding:16px!important;border-radius:21px;gap:15px}header nav{flex-wrap:wrap;margin-left:0;gap:12px 18px}header nav a{font-size:12px}main{padding:26px 18px 100px!important}.demo-bar{margin:16px 10px 0;padding:12px;flex-direction:column;align-items:flex-start;gap:10px}.demo-bar select{max-width:230px}.card,.metric,.panel{border-radius:21px!important}.org-banner{padding:22px!important}.org-banner h2{font-size:1.55rem!important}.workspace-picker{padding:22px!important}.portal-tabs{width:100%;gap:5px!important}.portal-tabs button{padding:10px 12px}.org-directory{grid-template-columns:1fr}.echo-launcher{right:14px;bottom:14px}.echo-guide{right:12px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media print{body::before,.echo-launcher,.echo-guide,header,.top,.demo-bar{display:none!important}body{background:white!important}main{padding:0!important;max-width:none!important}.card,.metric,.panel,.org-banner,.notice{background:white!important;box-shadow:none!important;border:1px solid #aaa!important}button,.btn{box-shadow:none!important}}

.survey-intro{position:fixed;inset:0;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:0;border:0;background:#fff4cc;overflow:hidden}.survey-intro::backdrop{background:#fff4cc}.survey-intro iframe{width:100%;height:100%;border:0;display:block}.survey-intro .survey-skip{position:absolute;right:25px;bottom:22px;background:#ffffffaa!important;color:#234b5b!important}header img[src*="survey-checks-logo"]{height:auto!important;width:210px!important;max-width:100%}

.survey-intro[open]{display:grid;align-content:center;background:#f6f8fa}.survey-intro iframe{width:min(1100px,100vw);height:auto;aspect-ratio:890/350;margin:auto;background:#fff4cc;border-radius:20px;box-shadow:0 18px 48px #17374726}.survey-intro .survey-skip{position:fixed}

.survey-intro iframe{aspect-ratio:890/305;border-radius:0;transition:aspect-ratio .5s ease}.survey-intro[open]{background:#fff}@media(prefers-reduced-motion:reduce){.survey-intro iframe{transition:none}}

.survey-intro[open]{background:#000;transition:background 1s}.survey-intro[open].logo-settled{background:#fff}.survey-intro:not(.logo-settled) iframe{box-shadow:none}.survey-intro .survey-skip{z-index:2}

.survey-intro iframe{aspect-ratio:980/340}

.survey-intro[open],.survey-intro[open].logo-settled{background:#000}.survey-intro::backdrop{background:#000}

.survey-intro{opacity:1;transition:opacity 3.2s ease-in-out!important}.survey-intro.fading-to-app{opacity:0}.survey-intro::backdrop{background:transparent!important}.survey-intro.fading-to-app .survey-skip{visibility:hidden}@media(prefers-reduced-motion:reduce){.survey-intro{transition:none!important}}

.overview-customizer{margin:-8px 0 22px;display:flex;justify-content:flex-end}.overview-customizer[hidden],.overview-empty[hidden]{display:none!important}.overview-customizer details{margin:0;width:100%}.overview-customizer summary{list-style:none;width:fit-content;margin-left:auto;padding:10px 18px;border:1px solid white;border-radius:14px;background:#f2f6fb;color:#235b68;box-shadow:var(--clay-small);font-size:14px}.overview-customizer summary::before{content:'⚙ ';margin-right:5px}.overview-customizer details[open] summary{margin-bottom:16px}.overview-options{padding:24px;background:#f2f6fb;border:1px solid white;border-radius:24px;box-shadow:var(--clay-shadow)}.overview-options h2{font-size:21px;margin:0 0 6px}.overview-options p{font-size:14px;margin:0 0 18px}.overview-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:20px}.overview-choices label{display:flex;align-items:flex-start;gap:12px;padding:16px;border:1px solid #d3dfe6;border-radius:14px;margin:0;cursor:pointer}.overview-choices input{width:20px;height:20px;flex-shrink:0;margin:3px 0 0}.overview-choices strong{display:block;font-size:14px}.overview-choices small{display:block;color:#496271;font-weight:400;font-size:13px;margin-top:4px}.overview-save-status{font-size:13px;color:#286354}.overview-empty{margin:24px 0}.overview-customizer summary:focus-visible{outline:3px solid #c99728;outline-offset:3px}@media(max-width:700px){.overview-choices{grid-template-columns:1fr}.overview-options{padding:20px}}

/* Readable text on the suite's consistently light clay panels. */
:root,:root[data-theme]{--ink:#173747!important;--muted:#405969!important;--clay-ink:#173747!important;--clay-muted:#405969!important;--surface:#f2f6fb!important;--clay-surface:#f2f6fb!important;color-scheme:light}
body{font-size:1rem;line-height:1.65}
main :is(h1,h2,h3,h4,legend){color:#173747!important;text-shadow:none;font-family:Arial,Helvetica,sans-serif}
main :is(p,.muted,.small,label,li,td,.help,.metric span){color:#405969!important;text-shadow:none}
main :is(p,label,li){font-size:1rem;line-height:1.65}
main :is(.small,.help,.metric span),#identity{font-size:.875rem!important}
main .eyebrow{font-size:.875rem!important;color:#146e78!important;letter-spacing:.1em!important}
main .card :is(h2,h3){font-weight:700;line-height:1.35;margin-bottom:12px}
main .card p+p{margin-top:12px}
main .card .notice,main .notice{color:#674916!important}
main :is(.primary,.primary p,.primary span){color:#fff!important}
#admin>.card{background:#f8fbfd!important;border-color:#d0dce5!important}
@media print{main :is(p,h1,h2,h3,h4,label,li,td,legend){color:#000!important}}
