:root{--patient-navy:#123f70;--patient-blue:#087de0;--patient-teal:#137d6b;--patient-ink:#183a55;--patient-line:#d7e6ef}#patient-consent-dialog{width:min(850px,96vw);max-height:96vh;border:1px solid var(--patient-line);border-radius:18px;padding:0;color:var(--patient-ink);font-family:system-ui,-apple-system,Segoe UI,sans-serif}#patient-consent-dialog::backdrop{background:#082c52ed;backdrop-filter:blur(12px)}#patient-consent-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 24px;border-bottom:1px solid var(--patient-line)}.staff-consent-body{padding:24px}.staff-consent-body>h3{margin:18px 0 10px}.staff-consent-body>p{line-height:1.7;margin:12px 0}.staff-consent-body>small{display:block;line-height:1.6;color:#60798a}.patient-display-actions{display:flex;gap:12px;flex-wrap:wrap;margin:20px 0}.consent-respondent{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:18px 0}.consent-wait-status{background:#fff5d7;border:1px solid #eadba5;border-radius:10px;padding:14px}.patient-consent-control{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:10px 0}.patient-consent-control button{border-color:#87b3d3;background:#edf7ff}.patient-consent-control small{font-size:12px;color:#627b8c}.consent-approved{color:#136b52!important}.consent-indicator{margin:12px 0}.patient-display-page{margin:0;background:#edf5fa;color:var(--patient-ink);font:18px/1.6 system-ui,-apple-system,Segoe UI,sans-serif}.patient-display-page button,.patient-display-page select{font:inherit}.patient-display-page [hidden]{display:none!important}.patient-display-page main{max-width:1100px;margin:auto;padding:clamp(18px,4vw,55px)}.patient-notice{background:white;border:1px solid var(--patient-line);border-radius:20px;padding:clamp(22px,4vw,45px);box-shadow:0 10px 50px #103b6710}.patient-notice-language{display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:15px;color:#536f83;margin-bottom:28px}.patient-notice-language label{display:flex;align-items:center;gap:8px}.patient-notice-language select{width:auto;min-height:45px;padding:8px;border:1px solid #abc4d8;border-radius:8px;background:white}.patient-clinic{display:flex;align-items:center;gap:18px;padding:20px;background:linear-gradient(120deg,#e9f4ff,#edf8f3);border:1px solid #bed7e7;border-radius:14px}.patient-clinic-icon{display:grid;place-items:center;background:var(--patient-navy);color:white;width:58px;height:58px;border-radius:14px;font-size:36px;flex-shrink:0}.patient-clinic small{color:#526c7f;font-size:15px}.patient-clinic h1{font-size:clamp(24px,3vw,36px);line-height:1.3;margin:5px 0;overflow-wrap:anywhere}.patient-clinic p{margin:5px 0 0;font-size:16px}.patient-identification{font-size:18px;color:#527084;margin:24px 0}.patient-notice h2{font-size:clamp(25px,3vw,34px);line-height:1.55;margin:18px 0;color:#183a55}.patient-simple-help{font-size:19px;margin:15px 0 22px;color:#48647a}.patient-notice button{min-height:55px;padding:12px 20px;border:2px solid #9ab9cf;border-radius:11px;background:#f7fbff;color:var(--patient-navy);font-size:18px;font-weight:650;cursor:pointer;line-height:1.4}.patient-choice-buttons{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:25px 0}.patient-choice-buttons button{min-height:86px;font-size:23px;display:flex;align-items:center;justify-content:center;gap:12px}.patient-choice-buttons button:last-child{grid-column:1/-1}.patient-choice-buttons .patient-yes{background:#127b63;border-color:#127b63;color:white}.patient-choice-buttons .patient-no{background:#fff5f1;color:#9a3c28;border-color:#d5a79a}.patient-choice-buttons span{font-size:32px;min-width:28px}.patient-notice-footer{font-size:16px;line-height:1.6;color:#5b7486;margin:20px 0 0}.patient-voice-note{margin:10px 0;color:#587081;font-size:15px}.patient-waiting{max-width:760px;margin:15vh auto;background:white;padding:50px;border:1px solid var(--patient-line);border-radius:20px;text-align:center}.patient-waiting h1{font-size:40px;color:var(--patient-navy)}.shared-patient-mode{width:min(1100px,98vw)!important}.shared-patient-mode .staff-consent-body>.patient-clinic,.shared-patient-mode .staff-consent-body>h3,.shared-patient-mode .staff-consent-body>p:not(#consent-response-error),.shared-patient-mode .consent-respondent,.shared-patient-mode .patient-display-actions,.shared-patient-mode .staff-consent-body>small{display:none}.shared-patient-mode .staff-consent-body{padding:12px}.shared-patient-mode #patient-consent-title{font-size:18px}.shared-patient-mode .patient-notice{box-shadow:none}.shared-patient-mode .patient-clinic h1{font-size:28px}.shared-patient-mode .patient-notice button{font-size:20px}.shared-patient-mode .patient-notice-language label{font-size:14px}@media(max-width:650px){.patient-notice-language{align-items:flex-start;flex-direction:column;margin-bottom:18px}.patient-choice-buttons{grid-template-columns:1fr}.patient-choice-buttons button:last-child{grid-column:auto}.patient-clinic-icon{display:none}.consent-respondent{grid-template-columns:1fr}.patient-notice{padding:20px}.patient-notice h2{font-size:25px}.patient-choice-buttons button{font-size:21px}.patient-waiting{padding:25px;margin:12vh 15px}}

html[data-consent-mode="staff_recorded"] label:has(> input[name="consent"]:disabled),html[data-consent-mode="staff_recorded"] .encounter-consent{display:none}.staff-attestation-dialog{max-width:680px}.staff-permission-check{display:flex;align-items:flex-start;gap:12px;padding:16px;background:#edf6ff;border:1px solid #bdd5e7;border-radius:10px;font-size:15px;line-height:1.6}.staff-permission-check input{width:21px;height:21px;flex-shrink:0;margin-top:3px}.staff-attestation-dialog .actions{margin-top:18px}
