*{box-sizing:border-box}body{margin:0;background:#f3f7fb;color:#18364b;font:15px/1.5 system-ui,-apple-system,'Segoe UI',sans-serif}.remote-head{height:82px;display:flex;gap:16px;align-items:center;padding:14px 24px;background:#fff;border-bottom:1px solid #dee7ef}.remote-head img{width:180px;height:48px;object-fit:contain}.remote-head>span{font-weight:600}.remote-name{margin-left:auto;font-size:13px}.remote-head form{margin:0}button,a{touch-action:manipulation}button{font:inherit;cursor:pointer;border-radius:10px;border:1px solid #d2e0eb;padding:9px 13px;background:#fff;color:#18364b}.remote-exit{background:#b52c42;color:white;border-color:#b52c42}.remote-login{max-width:490px;margin:45px auto;padding:32px;background:#fff;border:1px solid #dee7ef;border-radius:20px;box-shadow:0 12px 40px #12364e08}.remote-login>small{font-size:10px;letter-spacing:1.2px;color:#637b8f}h1{font-size:30px;line-height:1.2;margin:16px 0}p{color:#637b8f}.remote-login label:not(.remote-remember){display:block;font-weight:600;margin:16px 0 6px}.remote-login input:not([type=checkbox]){width:100%;border:1px solid #cadbe7;border-radius:10px;padding:12px;font:inherit;font-size:16px;background:#fff;color:#18364b}.remote-remember{display:flex;align-items:flex-start;gap:10px;margin:22px 0;font-size:13px}.remote-remember input{width:20px;height:20px;flex-shrink:0}.remote-remember small{color:#637b8f}.remote-primary{background:#0783da;color:#fff;width:100%;font-weight:600;border-color:#0783da;padding:13px}.remote-login aside{border-top:1px solid #dee7ef;margin-top:25px;padding-top:20px;font-size:13px}.remote-error{background:#fff0f0;color:#a12737;padding:12px;border-radius:10px}.remote-expired[hidden]{display:none}.remote-expired{position:fixed;inset:0;z-index:1000;background:#12364ecc;display:grid;place-items:center;padding:20px}.remote-expired>div{max-width:430px;background:white;padding:30px;border-radius:18px}.remote-expired a{display:inline-block;background:#0783da;color:white;padding:10px 18px;border-radius:8px;text-decoration:none}:focus-visible{outline:3px solid #0783da;outline-offset:3px}body.remote-dark{background:#10202a;color:#e5eef6}.remote-dark .remote-head,.remote-dark .remote-login{background:#142934;color:#e5eef6}.remote-dark .remote-head button{background:#203d4b;color:#e5eef6}.remote-dark .remote-exit{background:#b52c42!important}@media(max-width:650px){.remote-head{height:72px;padding:10px 12px;gap:8px}.remote-head img{width:130px;height:43px}.remote-head>span:not(.remote-name){display:none}.remote-name{font-size:11px;max-width:90px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.remote-head button{font-size:11px;padding:8px}.remote-login{margin:20px 12px;padding:25px}.remote-head{padding-top:max(10px,env(safe-area-inset-top))}}

/* A standalone chat app has no clinical portal to return to. */
.remote-head~.sc .sc-expand,.remote-head~.sc [data-do="close"]{display:none}
.remote-qr{display:block;width:220px;max-width:100%;height:auto;margin:20px auto}.remote-login form>.remote-primary{margin-top:20px}.remote-recovery{padding:0;list-style:none;font-size:11px;overflow-wrap:anywhere}.remote-recovery li{padding:8px;border-bottom:1px solid #dee7ef}.remote-link{display:block;text-align:center;text-decoration:none;border-radius:10px}
