.patient-preview{margin:0;background:#f2f6f6;color:#173a40;font-family:system-ui,sans-serif}.patient-preview *{box-sizing:border-box}.patient-shell{max-width:540px;margin:24px auto;padding:0 16px 48px}.patient-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.patient-header img{max-width:65%;height:auto;object-fit:contain}.patient-card{background:#fff;border:1px solid #d6e2e3;border-radius:16px;padding:28px;margin:16px 0;box-shadow:0 8px 30px #123e430a}.patient-card h1{font-size:clamp(24px,5vw,32px);line-height:1.2;margin:6px 0 10px}.patient-card h2{font-size:20px}.patient-card p{font-size:14px;line-height:1.5}.patient-eyebrow{font-weight:700;letter-spacing:.1em;color:#28777b}.patient-tabs{display:flex;gap:8px;border-bottom:1px solid #d6e2e3;margin:20px 0}.patient-tabs a{flex:1;text-align:center;padding:12px;color:#173a40;text-decoration:none;font-weight:600}.patient-tabs a[aria-current=page]{border-bottom:3px solid #28777b;color:#28777b}.patient-fields{border:0;margin:0;padding:0;min-width:0;display:grid;gap:16px}.patient-fields label{display:grid;gap:6px;font-size:14px;font-weight:600}.patient-fields input:not([type=checkbox]){width:100%;height:48px;border:1px solid #a9bfc1;border-radius:8px;background:#f9fbfb;padding:12px;font:inherit;color:#173a40;opacity:1}.patient-fields small{font-weight:400;color:#536b70}.patient-fields .patient-consent{display:flex;align-items:center;gap:8px;font-size:13px}.patient-card .button{width:100%;min-height:46px;border-radius:8px;font:600 14px system-ui}.patient-card button:disabled{opacity:.65;cursor:not-allowed}.patient-muted{color:#536b70;text-align:center}.preview-warning,.test-failed,.test-passed{padding:12px;border-radius:8px;background:#fff1d9;color:#624619;font-size:13px}.test-failed{background:#fce6e5;color:#852525}.test-passed{background:#e2f4e8;color:#215d35}.cf-turnstile{margin:16px 0;max-width:100%}@media(max-width:420px){.patient-card{padding:16px}.patient-shell{padding-inline:10px}}
.patient-signed-in .patient-shell{max-width:860px}.patient-next{background:#123e43;color:#fff;padding:24px;border-radius:14px;margin:20px 0}.patient-next h2,.patient-next p{color:#fff}.patient-signed-in section[id]{scroll-margin-top:20px;padding:20px 0;border-top:1px solid #dce6e6}.patient-appointment{border:1px solid #dce6e6;border-radius:12px;padding:16px;margin:12px 0}.patient-fields select,.patient-fields textarea{width:100%;padding:12px;border:1px solid #a9bfc1;border-radius:8px;background:#f9fbfb;color:#173a40;font:inherit}.patient-slots{display:grid;grid-template-columns:repeat(auto-fit,minmax(125px,1fr));gap:10px}.patient-fields .patient-slots label{border:1px solid #a9bfc1;border-radius:10px;padding:12px;cursor:pointer;display:flex;align-items:center;gap:8px}.patient-fields .patient-slots label.selected,.patient-fields .patient-slots label:has(input:checked){background:#e1f2ef;border-color:#28777b}.patient-fields .patient-slots input[type=radio]{width:18px;height:18px;flex:none}.patient-slots small{display:block}.password-toggle{justify-self:end;color:#28777b;background:none;border:0;text-decoration:underline;cursor:pointer;padding:8px;font:inherit}.patient-card fieldset{border:0;padding:0;min-width:0}.patient-card legend{font-weight:700;margin-bottom:12px}.patient-card a:focus-visible,.patient-card button:focus-visible{outline:3px solid #28777b;outline-offset:3px}

.patient-disclosure>summary{list-style:none;cursor:pointer;display:inline-flex}.patient-disclosure>summary::-webkit-details-marker{display:none}@media print{.print-controls{display:none!important}.patient-shell{max-width:none!important}.patient-card{box-shadow:none!important;border:0!important}body{background:white!important;color:black!important}}

/* Modern patient workspace */
.patient-preview{background:radial-gradient(ellipse at top left,#dff3e9,transparent 50%),#edf3f9;color:#17364a}
.patient-shell{max-width:600px;margin:0 auto;padding:22px 18px 48px}
.patient-signed-in .patient-shell{max-width:1100px}
.patient-header{background:#fff;border:1px solid #dce7eb;padding:14px 18px;border-radius:18px;box-shadow:0 5px 18px #17364a09;margin:0 0 18px;flex-wrap:wrap}
.patient-header img{width:170px;height:auto;max-width:100%}
.patient-header .header-actions{margin-left:auto}
.patient-header .header-actions .button{width:auto}
.patient-header form{margin:0}
.patient-card{border:1px solid #dce7eb;border-radius:22px;padding:clamp(22px,4vw,36px);box-shadow:0 8px 30px #17364a0b}
.patient-card h1{font-size:clamp(27px,4vw,36px);letter-spacing:-.035em;color:#17364a}
.patient-card h2{letter-spacing:-.025em;margin:0 0 12px}
.patient-card p{margin:8px 0 12px;color:#435d69}
.patient-tabs{background:#eaf2f5;border:0;border-radius:12px;padding:5px;gap:5px;flex-wrap:wrap;margin:14px 0}
.patient-tabs a{flex:1 1 auto;border-radius:9px;padding:10px;font-size:14px;white-space:normal}
.patient-tabs a[aria-current=page],.patient-tabs a[aria-current=true]{background:#fff;border:0;color:#08736e;box-shadow:0 2px 8px #17364a10}
.patient-tabs a:hover{background:#fff}
.patient-next{background:linear-gradient(120deg,#0d4e55,#126f70);border-radius:18px;padding:26px;box-shadow:0 8px 24px #103e461a}
.patient-next p,.patient-next h2{color:#fff}
.patient-fields input:not([type=checkbox]):not([type=radio]),.patient-fields select,.patient-fields textarea{background:#f7fafb;border-color:#c4d7dc;border-radius:10px}
.patient-fields input[type=checkbox],.patient-fields input[type=radio]{accent-color:#08736e}
.patient-card .button{border-radius:10px}
.patient-appointment{background:#f6fafc;border:1px solid #dbe7eb;border-left:4px solid #478ca0;border-radius:12px;padding:18px}
.patient-appointment .button{width:auto;margin-top:8px}
.patient-appointment form{margin-top:10px}
.patient-appointment form label{display:flex;align-items:center;gap:8px;font-size:13px}
.patient-signed-in section[id]{padding:24px 0;scroll-margin-top:18px}
.patient-signed-in #book{background:#eef8f3;padding:22px;border:1px solid #d5eae0;border-radius:18px;margin:18px 0}
.patient-signed-in #details{background:#f1f6fe;border:1px solid #dce7f7;border-radius:18px;padding:22px;margin:18px 0}
.patient-signed-in #security{background:#f6f2fc;border:1px solid #e5dcf3;border-radius:18px;padding:22px;margin:18px 0}
.patient-fields .patient-slots label{background:#fff;border-color:#bad8cd;padding:12px;border-radius:12px}
.patient-fields .patient-slots label:has(input:checked){background:#d4f0e4;border-color:#08736e;box-shadow:inset 0 0 0 1px #08736e}
.preview-warning{border:1px solid #eedbb7;background:#fff3df;color:#6b4c1f}
.patient-card .test-passed{background:#e0f3e8;color:#215d35}.patient-card .test-failed{background:#fce6e5;color:#852525}
@media(min-width:800px){.patient-signed-in .patient-card{display:grid;grid-template-columns:minmax(0,1fr);gap:6px}.patient-signed-in .patient-card .patient-tabs{margin:5px 0}.patient-signed-in section[id] .patient-fields{max-width:680px}.patient-signed-in section[id] .patient-fields .button{width:auto;justify-self:start}}
@media(max-width:480px){.patient-shell{padding-inline:10px}.patient-header{padding:10px;gap:8px}.patient-header img{width:125px}.patient-header .header-actions a,.patient-header .header-actions button{font-size:12px;padding:8px 10px}.patient-card{padding:18px}.patient-signed-in #book,.patient-signed-in #details,.patient-signed-in #security{padding:16px}}
@media print{.patient-header,.preview-warning,.patient-tabs{display:none!important}.patient-preview{background:white!important}.patient-card{box-shadow:none!important}}

/* Registration verification: readable six-digit input and remembered address. */
.verification-destination{display:grid;gap:4px;padding:14px 16px;border-radius:12px;background:#e6f3ef;color:#17364a;overflow-wrap:anywhere}.verification-destination small{color:#435d69}.patient-fields input.verification-code{font-size:26px;font-weight:700;letter-spacing:.28em;text-align:center;height:60px;font-variant-numeric:tabular-nums}.verification-help{font-size:13px;color:#435d69}

.registration-section{display:grid;gap:14px;padding:16px 0;border-top:1px solid #dce7eb}.registration-section h2{font-size:19px;margin:0;color:#17364a}.registration-section label{min-width:0}
