.patient-portal{--patient-focus:var(--patient-focus-light);--patient-tint:var(--patient-light-tint);--patient-line:var(--patient-light-line);--patient-paper:#fafbf8;--patient-surface:#fff;--patient-ink:#24332d;--patient-muted:#626e67;--patient-border:#e0e5df;min-height:100vh;background:var(--patient-paper);color:var(--patient-ink);font-family:var(--font-inter),system-ui,sans-serif;font-size:16px;line-height:1.6}.dark .patient-portal{--patient-focus:var(--color-accent-400);--patient-paper:#111a18;--patient-surface:#18231f;--patient-ink:#edf2ed;--patient-muted:#b2c0b7;--patient-border:#33443a;--patient-tint:color-mix(in srgb,var(--patient-primary) 12%,#18231f);--patient-line:color-mix(in srgb,var(--patient-primary) 35%,#33443a)}.patient-portal .patient-header{background:var(--patient-surface);border-bottom:1px solid var(--patient-border);position:relative;z-index:30}.patient-header-top{max-width:1180px;margin:auto;min-height:90px;padding:18px 30px;display:flex;justify-content:space-between;align-items:center;gap:20px}.patient-brand{display:flex;align-items:center;gap:12px;min-width:0}.patient-brand-name{font-size:18px;font-weight:650;line-height:1.3}.patient-brand-name small{display:block;font-size:11px;letter-spacing:.15em;color:var(--patient-muted);margin-top:5px}.patient-brand-mark{display:grid;place-items:center;width:42px;height:42px;flex-shrink:0;border-radius:50% 50% 18% 50%;background:var(--patient-primary);color:var(--patient-on-primary)}.patient-header-actions{display:flex;align-items:center;gap:18px}.patient-user-menu{position:relative;font-size:14px}.patient-user-menu summary{display:flex;align-items:center;gap:10px;list-style:none;cursor:pointer}.patient-user-menu summary::-webkit-details-marker{display:none}.patient-user-popover{position:absolute;right:0;top:100%;margin-top:12px;min-width:240px;max-width:calc(100vw - 40px);background:var(--patient-surface);border:1px solid var(--patient-border);border-radius:14px;box-shadow:0 16px 40px #0002;z-index:50;padding:10px}.patient-user-popover a{display:block;padding:10px;border-radius:8px}.patient-user-popover a:hover{background:var(--patient-tint)}.patient-desktop-nav{max-width:1180px;margin:auto;padding:0 30px;display:flex;align-items:center;gap:32px;min-height:54px;font-size:14px}.patient-desktop-nav>a,.patient-nav-more>summary{display:block;padding:15px 0;color:var(--patient-muted);cursor:pointer;list-style:none}.patient-desktop-nav [aria-current=page]{color:var(--patient-ink);font-weight:650;border-bottom:3px solid var(--patient-primary)}.patient-nav-more{position:relative}.patient-nav-menu{position:absolute;top:100%;left:0;min-width:260px;padding:10px;background:var(--patient-surface);border:1px solid var(--patient-border);border-radius:14px;box-shadow:0 16px 40px #0002;z-index:50;max-height:65vh;overflow:auto}.patient-nav-menu a{display:block;padding:10px 12px;border-radius:8px}.patient-nav-menu a:hover{background:var(--patient-tint)}.patient-content{max-width:1180px;margin:auto;padding:42px 30px 48px;min-width:0}.patient-content h1{font-family:Georgia,Times New Roman,serif;font-size:42px;line-height:1.15;font-weight:400!important;letter-spacing:-.035em;color:var(--patient-ink)!important;margin-bottom:12px}.patient-content h1+p{font-size:16px;line-height:1.7;max-width:760px;color:var(--patient-muted)}.patient-content h2{font-size:20px;letter-spacing:-.025em;line-height:1.35}.patient-content :is(.text-gray-900,.text-gray-800){color:var(--patient-ink)}.patient-content :is(.text-gray-600,.text-gray-500){color:var(--patient-muted)}.patient-portal [data-ui=card]{border-radius:20px;border-color:var(--patient-border);background:var(--patient-surface);color:var(--patient-ink);box-shadow:none}.patient-portal [data-ui=card-header]{padding:26px 26px 16px}.patient-portal [data-ui=card-body]{padding:0 26px 26px}.patient-portal [data-ui=card-body]:first-child{padding-top:26px}.patient-portal [data-ui=button]{min-height:44px;border-radius:9px;box-shadow:none;white-space:normal}.patient-portal [data-ui=button][class*=bg-accent-],body[data-patient-theme=true] [role=dialog] [data-ui=button][class*=bg-accent-]{background:var(--patient-primary);color:var(--patient-on-primary)}.patient-portal [data-ui=button][class*=bg-accent-]:hover{filter:brightness(.94)}.patient-portal :is(input,textarea,select){font-size:16px}.patient-portal :is(input:not([type=checkbox]):not([type=radio]):not([type=file]),select){min-height:44px}.patient-portal :is(a,button,input,textarea,select,summary):focus-visible{outline:3px solid var(--patient-focus);outline-offset:3px}.patient-portal table{width:100%;border-collapse:collapse;font-size:14px}.patient-portal :is(th,td){text-align:start;vertical-align:middle;padding:14px 16px}.patient-portal th{font-size:12px;font-weight:600;color:var(--patient-muted);background:var(--patient-tint)}.patient-portal .patient-footer,.patient-portal tbody tr+tr{border-top:1px solid var(--patient-border)}.patient-portal .patient-footer{padding:25px 30px;max-width:1180px;width:100%;margin:auto;display:flex;justify-content:space-between;color:var(--patient-muted);font-size:13px}.patient-eyebrow{font-size:11px;text-transform:uppercase;letter-spacing:.18em;font-weight:650;color:var(--patient-muted);margin-bottom:14px}.patient-hero{background:var(--patient-tint);border:1px solid var(--patient-line);border-radius:24px;padding:34px;display:flex;align-items:center;justify-content:space-between;gap:30px}.patient-hero h2{font-family:Georgia,serif;font-size:34px;font-weight:400;line-height:1.25}.patient-hero p{margin-top:12px;color:var(--patient-muted)}.patient-hero-art{width:160px;flex-shrink:0;color:var(--patient-primary);opacity:.55}.patient-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}.patient-empty{text-align:center;padding:32px 18px;color:var(--patient-muted)}.patient-empty-icon{height:48px;width:48px;display:grid;place-items:center;margin:0 auto 16px;border-radius:14px;background:var(--patient-tint);color:var(--patient-primary)}.patient-empty h3{font-size:18px;font-weight:600;color:var(--patient-ink);margin-bottom:8px}.patient-empty p{max-width:420px;margin:auto}.patient-record-row{padding:18px 0;border-bottom:1px solid var(--patient-border);gap:16px}.patient-record-row:last-child{border-bottom:0}.patient-search{width:100%;border:1px solid var(--patient-border);border-radius:10px;padding:12px 16px;background:var(--patient-surface);color:var(--patient-ink)}.patient-portal .patient-document-name{white-space:normal;overflow-wrap:anywhere}.patient-entry{padding:50px 24px}.patient-entry-inner{max-width:1040px;margin:auto}.patient-auth-grid{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:60px}.patient-auth-intro h1{font-family:Georgia,serif;font-size:54px;line-height:1.15;letter-spacing:-.04em}.patient-auth-intro p{margin-top:20px;color:var(--patient-muted)}.patient-progress-track{height:8px;border-radius:8px;background:var(--patient-tint);overflow:hidden}.patient-progress-track>span{height:100%;display:block;background:var(--patient-primary);border-radius:8px}.patient-content .patient-care-card h3{font-family:Georgia,serif;font-size:27px;font-weight:400}@media(max-width:900px){.patient-header-top{flex-wrap:wrap}.patient-header-actions{gap:10px}.patient-desktop-nav{gap:22px}.patient-auth-grid{gap:30px}.patient-hero-art{width:120px}}@media(max-width:767px){.patient-header-top{padding:18px 20px;min-height:80px}.patient-header-actions{flex-wrap:wrap}.patient-desktop-nav{display:none}.patient-user-name{max-width:160px;overflow-wrap:anywhere;font-size:12px}.patient-content{padding:28px 20px 40px}.patient-content h1{font-size:34px}.patient-portal [data-ui=card]{border-radius:16px}.patient-portal [data-ui=card-header]{padding:22px 22px 14px}.patient-portal [data-ui=card-body]{padding:0 22px 22px}.patient-portal [data-ui=card-body]:first-child{padding-top:22px}.patient-hero{padding:25px;display:block}.patient-hero h2{font-size:29px}.patient-hero-art,.patient-portal .patient-footer{display:none}.patient-auth-grid{display:block}.patient-auth-intro{margin-bottom:30px}.patient-auth-intro h1{font-size:36px}.patient-entry{padding:28px 20px}.patient-brand-name{font-size:16px}.patient-content :is(.grid,.flex)>*{min-width:0}.patient-portal table{min-width:540px}}@media(prefers-reduced-motion:reduce){.patient-portal *{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}.patient-auth-form{padding:32px;background:var(--patient-surface);border:1px solid var(--patient-border);border-radius:22px}.patient-auth-form>div{width:100%!important}.patient-auth-form h1,.patient-form-content [data-ui=card-header] h2,.patient-form-content h1{font-family:Georgia,serif;font-size:34px;font-weight:400;line-height:1.2;letter-spacing:-.025em}.patient-form-content [data-ui=card-body]{padding-top:12px}.patient-form-content input,.patient-form-content textarea{font-size:16px}.patient-form-content [data-ui=card]{margin-bottom:20px}.patient-form-content [data-ui=card-header]{padding-top:30px;padding-bottom:24px}.patient-upload-disclosure summary{min-height:44px;display:list-item;padding:8px 0;color:var(--patient-ink)}.patient-upload-disclosure[open]>p{margin:14px 0}.patient-completion{background:#fafbf8;color:#24332d}.patient-completion [data-ui=card]{border-radius:24px;border:1px solid #e0e5df;box-shadow:none;background:white}.patient-completion :is(h1,h2){font-family:Georgia,serif;font-weight:400;font-size:36px;line-height:1.2}.dark .patient-completion{background:#111a18;color:#edf2ed}.dark .patient-completion [data-ui=card]{background:#18231f;border-color:#33443a}.patient-portal .patient-hero-art{color:var(--patient-secondary)}body[data-patient-theme=true]{--patient-focus:var(--patient-focus-light);--patient-surface:#fff;--patient-ink:#24332d;--patient-border:#e0e5df}.dark body[data-patient-theme=true]{--patient-focus:var(--color-accent-400);--patient-surface:#18231f;--patient-ink:#edf2ed;--patient-border:#33443a}body[data-patient-theme=true] [role=dialog]{background:var(--patient-surface);color:var(--patient-ink);border-color:var(--patient-border);font-family:var(--font-inter),system-ui,sans-serif}body[data-patient-theme=true] [role=dialog] :is(input,textarea,select){font-size:16px}body[data-patient-theme=true] [role=dialog] [data-ui=button]{min-height:44px;border-radius:9px}body[data-patient-theme=true] [role=dialog] h2{font-family:Georgia,serif;font-size:28px;line-height:1.25;font-weight:400}body[data-patient-theme=true] [role=dialog] :focus-visible{outline:3px solid var(--patient-focus);outline-offset:3px}