zreev-account-personal-fields,zreev-account-contact{display:block;min-width:0;font:inherit}
.zreev-profile-group{margin-top:24px;min-width:0}
.zreev-profile-group h3{display:flex;align-items:center;gap:8px;margin:0 0 10px;color:#152033;font:inherit;font-size:.875rem;font-weight:600;line-height:1.5}
.zreev-profile-info{display:inline-grid;place-items:center;width:14px;height:14px;border:1px solid #98a2b3;border-radius:50%;color:#98a2b3;font-size:10px;font-weight:600;cursor:help}
.zreev-profile-panel{padding:0 16px;border:0;border-radius:12px;background:#f3f4f6;min-width:0}
:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .zreev-profile-panel .pd-profile-fields{display:block;margin:0;padding:0;background:transparent;border:0;border-radius:0}
:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .zreev-profile-panel .pd-profile-field{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 0;min-height:72px;border:0}
:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .zreev-profile-panel .pd-profile-field>div{display:grid;gap:4px;min-width:0}
:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .zreev-profile-panel .pd-profile-field dt{font-size:.75rem;color:#98a2b3;line-height:1.5}
:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .zreev-profile-panel .pd-profile-field dd{margin:0;color:#152033;font-size:.875rem;font-weight:400;line-height:1.5;overflow-wrap:anywhere}
:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .zreev-profile-panel .pd-profile-edit{border:0;padding:0;background:transparent;color:#2f6bff;font:inherit;font-size:.8125rem;font-weight:500;white-space:nowrap;cursor:pointer}
.zreev-profile-verification-note{margin:10px 0 0;color:#98a2b3;font-size:.75rem;line-height:1.5}
.zreev-profile-panel button:disabled{opacity:.5;cursor:default}
.zreev-profile-panel :focus-visible{outline:2px solid #2f6bff;outline-offset:3px}
.manager-contact-form{margin:8px 0 16px;padding:16px 0 0;border-top:1px solid #e5eaf2;display:grid;gap:16px;min-width:0}
.manager-contact-form h4,.manager-contact-form p{margin:0;font:inherit;font-size:.875rem;line-height:1.5}
.manager-contact-form h4{font-weight:600}
.manager-contact-form>label{display:grid;gap:8px;font-size:.875rem;font-weight:600}
.manager-contact-form input{box-sizing:border-box;width:100%;min-width:0;min-height:44px;padding:10px 12px;border:1px solid #d0d5dd;border-radius:12px;background:#fff;color:#152033;font:inherit}
.manager-contact-actions{display:flex;flex-wrap:wrap;gap:12px;justify-content:flex-end}
.manager-contact-actions button{padding:10px 16px;border:1px solid #d0d5dd;border-radius:12px;background:#fff;color:#334155;font:inherit;font-size:.8125rem;font-weight:600;cursor:pointer}
.manager-contact-actions button:first-child{margin-right:auto}
.manager-contact-actions .manager-contact-primary{border-color:#2f6bff;background:#2f6bff;color:#fff}
.manager-contact-error{margin:12px 0;color:#b42318;font-size:.875rem;line-height:1.5}
.manager-contact-success{margin:16px 0 12px;line-height:1.5}
.manager-contact-login{display:inline-block;margin-bottom:16px;color:#2f6bff;font-weight:600;text-decoration:none}
@media(max-width:600px){.zreev-profile-panel{padding:0 14px}.manager-contact-actions{gap:8px}.manager-contact-actions button{padding:10px 12px}}

:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .zreev-profile-panel .pd-profile-field.is-editing>div{width:100%;gap:6px}
.zreev-inline-field-form,.manager-contact-form.zreev-inline-field-form{margin:0;padding:0;border:0;background:transparent;display:block;min-width:0}
.zreev-inline-controls{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;min-width:0}
.zreev-inline-controls>input{box-sizing:border-box;width:100%;min-width:0;min-height:44px;padding:10px 12px;border:1px solid #d0d5dd;border-radius:12px;background:#fff;color:#152033;font:inherit;font-size:.875rem;font-weight:400}
.zreev-inline-actions{display:flex;gap:10px;justify-content:flex-end;align-items:center}
.zreev-inline-actions button{min-height:40px;padding:8px 14px;border:1px solid #d0d5dd;border-radius:12px;background:#fff;color:#2f6bff;font:inherit;font-size:.8125rem;font-weight:600;cursor:pointer;white-space:nowrap}
.zreev-inline-actions .zreev-inline-save{border-color:#2f6bff;background:#2f6bff;color:#fff}
.zreev-inline-actions button:disabled{opacity:.5;cursor:default}
.zreev-inline-error{display:block;margin:8px 0 0;color:#b42318;font-size:.8125rem;line-height:1.5}.zreev-inline-error:empty{display:none}.zreev-inline-error[hidden]{display:none}
.zreev-visually-hidden{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;margin:-1px!important;padding:0!important;border:0!important}
.zreev-inline-field-form .zreev-birthday-fields{max-width:360px;gap:10px;margin:0}.zreev-inline-field-form .zreev-birthday-fields label{display:grid;gap:4px;color:#55647b;font-size:.75rem;font-weight:400}.zreev-inline-field-form .zreev-birthday-fields input{font-size:.875rem;font-weight:400;min-height:44px}
@media(max-width:600px){.zreev-inline-controls{grid-template-columns:1fr;gap:12px}.zreev-inline-actions{justify-content:flex-end}.zreev-inline-field-form .zreev-birthday-fields{max-width:none}}

.manager-contact-form.zreev-inline-field-form:not([data-personal-edit-form]){display:grid;gap:16px}

/* Patient settings share the data tab's panels, spacing and type scale. */
:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .pd-profile-content { color:#152033; font-size:.875rem; font-weight:400; line-height:1.5; }
:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .pd-profile-content .pd-profile-details > h2 { margin:0; font-size:1.375rem; line-height:1.75rem; font-weight:600; }
:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .pd-profile-content .pd-profile-description { margin:8px 0 24px; color:#64748b; font-size:.875rem; line-height:1.5; }
:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .pd-profile-content :is(.zreev-security-details,.zreev-preferences-details) .zreev-profile-panel,
:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .pd-profile-content .zreev-account-preferences-form,
:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .pd-profile-content .pd-profile-global-note,
:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .pd-profile-content .pd-profile-payments,
:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .pd-profile-content .pd-profile-qr,
:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .pd-profile-content .pd-booking-empty {
  box-sizing:border-box; min-width:0; border:0; border-radius:12px; background:#f3f4f6; box-shadow:none; color:#152033;
}
:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .pd-profile-content .zreev-security-details .zreev-profile-panel { margin-top:24px; padding:0 16px; }
:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .pd-profile-content .zreev-preferences-details .zreev-profile-panel { margin-top:24px; padding:16px; }
:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .pd-profile-content zreev-account-preferences { margin:24px 0 0; }
:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .pd-profile-content .zreev-account-preferences-form { padding:16px; font:inherit; }
:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .pd-profile-content .zreev-region-grid { gap:16px; margin-bottom:16px; }
:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .pd-profile-content .zreev-region-grid label { gap:6px; color:#98a2b3; font-size:.75rem; font-weight:400; line-height:1.5; }
:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .pd-profile-content .zreev-region-grid :is(input,select) { min-height:44px; padding:10px 12px; border:1px solid #d0d5dd; border-radius:12px; background:#fff; color:#152033; font:inherit; font-size:.875rem; }
:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .pd-profile-content .zreev-preference-toggle { padding:16px 0; border:0; gap:16px; }
:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .pd-profile-content .zreev-preference-toggle:first-of-type { padding-top:0; }
:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .pd-profile-content .zreev-preference-toggle strong { font-size:.875rem; font-weight:400; }
:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .pd-profile-content :is(.zreev-preference-toggle small,.zreev-preference-note) { color:#64748b; font-size:.75rem; line-height:1.5; }
:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .pd-profile-content .zreev-preference-note { margin:8px 0 16px; }
:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .pd-profile-content .zreev-preference-toggle input { appearance:none; position:relative; width:36px; height:20px; flex:0 0 36px; margin:0; border:0; border-radius:999px; background:#cbd5e1; cursor:pointer; }
:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .pd-profile-content .zreev-preference-toggle input::before { content:""; position:absolute; top:3px; left:3px; width:14px; height:14px; border-radius:50%; background:#fff; transition:transform .15s; }
:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .pd-profile-content .zreev-preference-toggle input:checked { background:#2f6bff; }
:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .pd-profile-content .zreev-preference-toggle input:checked::before { transform:translateX(16px); }
:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .pd-profile-content .zreev-preference-toggle input:disabled { opacity:.5; cursor:default; }
:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .pd-profile-content .zreev-account-preferences-form > button { display:block; margin-left:auto; min-height:40px; padding:8px 14px; border:1px solid #2f6bff; border-radius:12px; background:#2f6bff; color:#fff; font:inherit; font-size:.8125rem; font-weight:600; }
:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .pd-profile-content .pd-profile-global-note { margin-top:24px; padding:16px; font-size:.875rem; line-height:1.5; }
:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .pd-profile-content .pd-profile-global-note p { margin:0; color:#64748b; font-size:.875rem; }
:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .pd-profile-content .pd-profile-global-note a { display:inline-block; margin-top:12px; color:#2f6bff; font-size:.8125rem; text-decoration:none; }
:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .pd-profile-content :is(.pd-profile-payments,.pd-booking-empty,.pd-profile-qr) { margin-top:24px; padding:16px; }
:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .pd-profile-content .pd-profile-payments table { font-size:.875rem; }
:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .pd-profile-content .pd-profile-payments th { color:#98a2b3; font-size:.75rem; }
:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .pd-profile-content .pd-profile-payments tbody tr:last-child td { border-bottom:0; }
:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .pd-profile-content .pd-profile-payments td small { color:#64748b; font-size:.75rem; }
:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .pd-profile-content .pd-booking-empty { text-align:left; }
:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .pd-profile-content .pd-booking-empty strong { font-size:.875rem; font-weight:600; }
:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .pd-profile-content .pd-booking-empty p { margin:8px 0 0; color:#64748b; font-size:.875rem; line-height:1.5; }
:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .pd-profile-content .pd-profile-qr { align-items:center; gap:24px; }
:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .pd-profile-content .pd-profile-qr > img { border-radius:12px; background:#fff; max-width:100%; }
:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .pd-profile-content .pd-profile-qr h3 { font-size:.875rem; font-weight:600; }
:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .pd-profile-content .pd-profile-qr p { font-size:.875rem; line-height:1.5; color:#64748b; }
:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .pd-profile-content .pd-profile-qr a { font-size:.8125rem; }
:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .pd-profile-content :is(.pd-profile-edit,.pd-profile-global-note a):hover { text-decoration:underline; }
:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .pd-profile-content :focus-visible { outline:2px solid #2f6bff; outline-offset:3px; }
@media(max-width:600px) {
  :is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .pd-profile-content :is(.zreev-account-preferences-form,.pd-profile-global-note,.pd-profile-payments,.pd-booking-empty,.pd-profile-qr) { padding:14px; }
  :is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .pd-profile-content .pd-profile-payments { overflow-x:auto; }
  :is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .pd-profile-content .pd-profile-payments table { min-width:520px; }
  :is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .pd-profile-content .pd-profile-qr { align-items:flex-start; flex-direction:column; gap:16px; }
}
@media(forced-colors:active) {
  :is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .pd-profile-content .zreev-preference-toggle input { appearance:auto; }
  :is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .pd-profile-content .zreev-preference-toggle input::before { content:none; }
}
@media(prefers-reduced-motion:reduce) {
  :is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .pd-profile-content .zreev-preference-toggle input::before { transition:none; }
}

:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .pd-profile-content .pd-language-picker { height:44px; }

/* Payment history presents date, facility, service and transaction amount separately. */
:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .pd-profile-content .pd-profile-payments th:nth-child(1) { width:20%; }
:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .pd-profile-content .pd-profile-payments th:nth-child(2) { width:28%; }
:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .pd-profile-content .pd-profile-payments th:nth-child(3) { width:36%; }
:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .pd-profile-content .pd-profile-payments th:nth-child(4) { width:16%; }
:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .pd-profile-content .pd-profile-payments :is(th,td):last-child { text-align:right; }

/* Region controls form a single borderless panel; calendar actions stay visible. */
:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .pd-profile-content .zreev-preferences-details zreev-account-preferences { margin-top:0; }
:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .pd-profile-content .zreev-region-grid { gap:12px; padding-bottom:14px; margin-bottom:0; border-bottom:1px solid #e5eaf2; }
:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .pd-profile-content .zreev-region-grid :is(input,select),
:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .pd-profile-content .zreev-region-language select { min-height:38px; padding:8px 12px; border:1px solid #cbd5e1; border-radius:6px; background:#fff; color:#152033; font:inherit; font-size:.8125rem; }
:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .pd-profile-content .zreev-region-language { display:grid; gap:6px; max-width:270px; color:#64748b; font-size:.75rem; }
:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .pd-profile-content .zreev-nearby-toggle { padding:14px 0; }
:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .pd-profile-content .zreev-nearby-toggle strong { font-weight:500; }
:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .pd-profile-content .zreev-preferences-details .zreev-account-preferences-form > button { margin-top:18px; background:transparent; color:#2f6bff; font-weight:400; }
:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .pd-profile-content zreev-google-calendar[data-view="profile"] { display:block; margin-top:24px; }
:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) zreev-google-calendar[data-view="profile"] :is(.zreev-integrations-tabs,.zreev-integration-grid) { display:none; }
:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) zreev-google-calendar[data-view="profile"] .zreev-calendar-control { border:0; padding:16px; background:#f3f4f6; box-shadow:none; }
:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) zreev-google-calendar[data-view="profile"] .zreev-calendar-control h2 { font-size:.875rem; font-weight:600; }
:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) zreev-google-calendar[data-view="profile"] .zreev-calendar-control :is(dl,p,button) { font-size:.8125rem; }

.zreev-inline-field-form .zreev-contact-edit-note { margin:8px 0 0; color:#98a2b3; font-size:.75rem; line-height:1.5; }
.zreev-inline-field-form .zreev-contact-resend { margin-top:8px; }

.zreev-contact-phone-fields { display:grid; grid-template-columns:minmax(9rem,1fr) minmax(0,1.4fr); gap:10px; min-width:0; }
.zreev-contact-phone-fields input, .zreev-contact-phone-fields select { box-sizing:border-box; width:100%; min-width:0; min-height:44px; padding:10px 12px; border:1px solid #d0d5dd; border-radius:12px; background:#fff; color:#152033; font:inherit; font-size:.875rem; }
@media(max-width:400px) { .zreev-contact-phone-fields { grid-template-columns:minmax(0,1fr); gap:8px; } }

/* Contact verification stays on the browser top layer, above profile editors. */
.zreev-contact-verification{box-sizing:border-box;width:min(30rem,calc(100% - 2rem));max-height:calc(100dvh - 2rem);padding:2rem;border:0;border-radius:16px;background:#fff;color:#172033;box-shadow:0 24px 80px #0f172a33;overflow:auto;}
.zreev-contact-verification::backdrop{background:rgba(15,23,42,.4);}
.zreev-contact-verification h2{margin:0 0 1rem;font-size:1.4rem;line-height:1.3;}
.zreev-contact-verification .zreev-contact-code-description{margin:0 0 1.5rem;font-size:1rem;line-height:1.6;color:#334155;}
.zreev-contact-verification .zreev-inline-controls{display:flex;flex-direction:column;align-items:stretch;gap:1rem;}
.zreev-contact-verification input[name=code]{box-sizing:border-box;width:100%;min-width:0;font-size:1.25rem;letter-spacing:.2em;padding:.875rem;}
.zreev-contact-verification .zreev-contact-edit-note{display:none;}
.zreev-contact-verification .zreev-contact-resend{margin-top:1rem;font-size:.875rem;}

.zreev-contact-phone-fields [data-other-phone-code]{grid-column:1/-1;font-size:.875rem;}
.zreev-contact-phone-fields [data-other-phone-code][hidden]{display:none;}

.zreev-inline-field-form .zreev-contact-edit-note{display:flex;align-items:flex-start;gap:10px;padding:12px 14px;border:0;border-radius:12px;background:#172033;color:#fff;font-size:14px;line-height:1.6;}
.zreev-inline-field-form .zreev-contact-edit-note::before{content:'i';flex:none;display:inline-grid;place-items:center;width:18px;height:18px;margin-top:2px;border:1px solid currentColor;border-radius:50%;font-size:12px;font-weight:700;}
.zreev-contact-verification .zreev-contact-edit-note{display:none;}

/* Notification channels share headings above their settings panels. */
:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .pd-profile-content .zreev-notification-heading{display:flex;align-items:center;gap:8px}
:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .pd-profile-content .zreev-profile-section-title{margin:24px 0 12px;font-size:.875rem;font-weight:600;line-height:1.4;color:#111827}
:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .pd-profile-content .zreev-email-heading + zreev-account-preferences{margin-top:0}
:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .pd-profile-content .zreev-calendar-profile-header{display:flex;align-items:center;gap:8px;margin:0 0 12px}
:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .pd-profile-content .zreev-calendar-profile-header .zreev-profile-section-title{margin:0}

/* Region uses the same read/edit rows and controls as personal account data. */
:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .pd-profile-content .zreev-preferences-details .zreev-region-panel{margin-top:24px;padding:0 24px;border:0;background:#f3f4f6;}
:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .zreev-region-panel .pd-profile-field{box-sizing:border-box;min-height:88px;border:0;border-bottom:1px solid #e5eaf2;padding:20px 0;gap:20px;}
:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .zreev-region-panel .pd-profile-field:last-child{border-bottom:0;}
:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .zreev-region-panel .pd-profile-field dt{color:#667085;font-size:.8125rem;font-weight:400;}
:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .zreev-region-panel .pd-profile-field dd{font-size:.875rem;color:#152033;font-weight:400;line-height:1.5;}
.zreev-region-panel .zreev-inline-controls select{box-sizing:border-box;width:100%;min-width:0;min-height:44px;padding:10px 12px;border:1px solid #d0d5dd;border-radius:12px;background:#fff;color:#152033;font:inherit;font-size:.875rem;}
:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .pd-profile-content .zreev-region-panel .zreev-preference-toggle{flex:none;display:flex;align-items:center;padding:0;margin:0;border:0;}
.zreev-region-panel .zreev-inline-actions button:not(.zreev-inline-save){border-color:transparent;background:transparent;padding-left:0;padding-right:0;}
.zreev-region-heading{display:flex;align-items:center;gap:10px;}
.zreev-profile-help{position:relative;display:inline-flex;align-items:center;font-weight:400;line-height:1.5;}
.zreev-profile-help .zreev-profile-info{width:18px;height:18px;padding:0;background:transparent;font:inherit;font-size:12px;color:#667085;border:1px solid #98a2b3;cursor:help;}
.zreev-profile-help [role=tooltip]{position:absolute;z-index:20;top:calc(100% + 10px);left:0;box-sizing:border-box;width:min(320px,calc(100vw - 48px));padding:12px 14px;border:0;border-radius:12px;background:#172033;color:#fff;font-size:.875rem;line-height:1.5;visibility:hidden;opacity:0;}
.zreev-profile-help:hover [role=tooltip],.zreev-profile-help:focus-within [role=tooltip]{visibility:visible;opacity:1;}
@media(max-width:600px){:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .pd-profile-content .zreev-preferences-details .zreev-region-panel{padding:0 16px;}.zreev-profile-help [role=tooltip]{left:auto;right:0;}}

.zreev-region-heading{position:relative;}.zreev-region-heading .zreev-profile-help{position:static;}

:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .pd-profile-content .zreev-security-details > .zreev-profile-section-title + .zreev-profile-panel{margin-top:0}

:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .pd-profile-content .zreev-profile-section-title + .pd-profile-global-note{margin-top:0}

/* Referral panel follows the shared account surface and action typography. */
:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .pd-profile-content .pd-profile-qr{margin-top:24px;padding:16px;border:0;border-radius:12px;background:#f3f4f6;gap:24px;}
#patient-desktop-app .pd-profile-qr>img{width:220px;height:220px;border-radius:12px;background:#fff;}
#patient-desktop-app .pd-profile-qr>div{min-width:0;}
#patient-desktop-app .pd-profile-qr h3{margin:0 0 12px;font-size:1.125rem;font-weight:600;line-height:1.5;}
#patient-desktop-app .pd-profile-qr .zreev-qr-facility{display:inline;margin:0;color:#2f6bff;text-decoration:none;}
#patient-desktop-app .pd-profile-qr p{margin:0;color:#667085;font-size:.875rem;line-height:1.5;}
#patient-desktop-app .pd-profile-qr .zreev-qr-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px 24px;margin-top:24px;}
#patient-desktop-app .pd-profile-qr .zreev-qr-actions>a,#patient-desktop-app .pd-profile-qr .zreev-qr-actions>button{display:inline-flex;align-items:center;gap:8px;margin:0;padding:4px 0;border:0;background:transparent;color:#2f6bff;font:inherit;font-size:.875rem;font-weight:600;line-height:1.5;text-decoration:none;cursor:pointer;}
#patient-desktop-app .pd-profile-qr .zreev-qr-actions svg{flex:none;width:20px;height:20px;color:#334155;}
#patient-desktop-app .pd-profile-qr a:hover,#patient-desktop-app .pd-profile-qr button:hover{text-decoration:underline;}
#patient-desktop-app .pd-profile-qr :focus-visible{outline:2px solid #2f6bff;outline-offset:4px;}
#patient-desktop-app .pd-profile-qr [data-referral-copy-status]:empty{display:none;}
@media(max-width:600px){:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .pd-profile-content .pd-profile-qr{align-items:flex-start;flex-direction:column;gap:20px;}}

#patient-desktop-app .pd-profile-qr h3 .zreev-qr-facility{font:inherit;font-size:1.125rem;}
.zreev-qr-heading .zreev-profile-help{position:relative;}
.zreev-qr-heading .zreev-profile-help [role=tooltip]{top:auto;bottom:calc(100% + 10px);}

@media(max-width:600px){.zreev-qr-heading .zreev-profile-help{position:static;}}

/* Data screens use shared spacing and actions in both account roles. */
:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .pd-profile-content .pd-profile-data-details .pd-profile-edit:hover{text-decoration:underline;}
:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .pd-profile-data-details .zreev-inline-actions button:not(.zreev-inline-save){border-color:transparent;background:transparent;padding-left:0;padding-right:0;}
:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .pd-profile-data-details .zreev-profile-group h3{position:relative;}
@media(max-width:600px){:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .pd-profile-data-details .zreev-profile-group .zreev-profile-help{position:static;}}

/* Manager account data reuses the patient/specialist profile components. */
#manager-app .manager-profile-data-card{min-width:0;border:0;background:transparent;box-shadow:none;padding:0;}
#manager-app .manager-profile-data-card[hidden]{display:none;}
#manager-app .manager-profile-data-card>.pd-account-heading{margin:0 0 24px;}
#manager-app .manager-profile-data-card>.pd-account-heading h1{margin:0 0 4px;color:#111827;font-size:1.875rem;font-weight:700;line-height:2.5625rem;}
#manager-app .manager-profile-data-card>.pd-account-heading p{margin:0;color:#5b6b84;font-size:.875rem;font-weight:400;line-height:1.25rem;}
#manager-app .pd-profile-data-details .zreev-profile-group h3{display:flex;align-items:center;gap:8px;margin:0 0 10px;color:#152033;font-size:.875rem;font-weight:600;line-height:1.5;}
#manager-app .pd-profile-data-details .zreev-profile-panel .pd-profile-field{box-sizing:border-box;}
#manager-app .pd-profile-data-details .zreev-profile-panel .pd-profile-field dt{font-weight:400;}
#manager-app .pd-profile-data-details .zreev-account-avatar-editor{box-sizing:border-box;}
#manager-app .pd-profile-data-details .zreev-inline-controls>input{box-sizing:border-box;}

/* Account panels: separators reach the surface edges; row content keeps its inset. */
:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .pd-profile-data-details .zreev-profile-panel,
:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .pd-profile-content .zreev-preferences-details .zreev-region-panel{padding:0;}
:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .pd-profile-data-details .zreev-profile-panel .pd-profile-field{box-sizing:border-box;padding:20px 24px;min-height:88px;}
:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .pd-profile-data-details .zreev-profile-panel .pd-profile-field + .pd-profile-field,
:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .pd-profile-data-details .zreev-profile-panel > .pd-profile-fields + zreev-account-personal-fields{border-top:1px solid #e5eaf2;}
:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .pd-profile-content .zreev-region-panel .pd-profile-field{padding:20px 24px;}
:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .pd-profile-data-details .zreev-profile-panel .pd-profile-field dt{color:#667085;font-size:.8125rem;}
.pd-profile-privacy-details .pd-profile-description{margin:8px 0 24px;color:#667085;font-size:.875rem;line-height:1.6;}
.pd-profile-privacy-details .zreev-profile-section-title{margin:24px 0 12px;font-size:.875rem;font-weight:600;}
.pd-profile-privacy-details .zreev-privacy-summary{padding:24px;}
.pd-profile-privacy-details .zreev-privacy-summary p{margin:0 0 16px;color:#667085;line-height:1.6;}
.pd-profile-privacy-details .zreev-privacy-summary a{color:#2f6bff;font:inherit;font-weight:600;text-decoration:none;}
.pd-profile-privacy-details .zreev-privacy-summary a:hover{text-decoration:underline;}
@media(max-width:600px){
 :is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .pd-profile-data-details .zreev-profile-panel .pd-profile-field,
 :is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .pd-profile-content .zreev-region-panel .pd-profile-field{padding:16px;}
 .pd-profile-privacy-details .zreev-privacy-summary{padding:16px;}
}

/* Notification settings share the account panel's full-width dividers. */
:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .pd-profile-content zreev-account-preferences[data-section="notifications"] .zreev-account-preferences-form{padding:0;}
:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .pd-profile-content zreev-account-preferences[data-section="notifications"] .zreev-preference-toggle{margin:0;padding:20px 24px;border:0;}
:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .pd-profile-content zreev-account-preferences[data-section="notifications"] .zreev-preference-toggle + .zreev-preference-toggle{border-top:1px solid #e5eaf2;}
.pd-profile-privacy-details .zreev-privacy-summary p:last-child{margin-bottom:0;}
@media(max-width:600px){:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .pd-profile-content zreev-account-preferences[data-section="notifications"] .zreev-preference-toggle{padding:16px;}}

/* Settings use one tooltip component, anchored within its heading on small screens. */
.zreev-notification-heading,.zreev-calendar-profile-header{position:relative;}
.zreev-notification-heading .zreev-profile-help,.zreev-calendar-profile-header .zreev-profile-help{position:static;}

/* Profile settings share surfaces and separators across roles. */
:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .pd-profile-content .zreev-account-preferences-form{border:0;border-radius:12px;background:#f3f4f6;}
:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .pd-profile-content zreev-account-preferences{display:block;min-width:0;}
:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .pd-profile-content .zreev-preferences-details .zreev-region-panel{margin-top:24px;padding:0;}
:is(#specialist-desktop-app,#manager-app) .pd-profile-content .zreev-security-details .zreev-profile-panel{padding:0 24px;}
@media(max-width:600px){:is(#specialist-desktop-app,#manager-app) .pd-profile-content .zreev-security-details .zreev-profile-panel{padding:0 16px;}}

.pd-profile-content .pd-consent-history-panel{margin-top:12px}
.pd-consent-record{display:flex;gap:12px;align-items:flex-start;padding:16px 0;border-bottom:1px solid #e0e5ed;min-width:0}
.pd-consent-record:first-child{padding-top:0}.pd-consent-record:last-child{padding-bottom:0;border-bottom:0}
.pd-consent-record>div{min-width:0;overflow-wrap:anywhere}
.pd-consent-record>input{width:18px;height:18px;margin:2px 0 0;flex:none;accent-color:#2f6bff;opacity:1}
.pd-consent-record .pd-consent-document-link{display:inline;margin:0;padding:0;font:inherit;font-weight:600;color:#2f6bff;text-align:left;white-space:normal}
.pd-consent-record .pd-consent-document-link:hover{text-decoration:underline}
.pd-consent-record p{font-size:.8125rem;line-height:1.6}
.pd-consent-dialog .pd-consent-document-actions{display:flex;justify-content:flex-end;align-items:center;gap:24px;flex-wrap:wrap}


/* Consent separators reach both panel edges while text keeps its inset. */
.pd-consent-history-panel .pd-consent-record{margin-inline:-16px;padding-inline:16px}
@media(max-width:600px){.pd-consent-history-panel .pd-consent-record{margin-inline:-14px;padding-inline:14px}}

/* Payment table dividers reach both edges; cell text keeps the shared inset. */
:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .pd-profile-content .pd-profile-payments { padding-inline:0; overflow-x:auto; }
:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .pd-profile-content .pd-profile-payments :is(th,td):first-child { padding-left:16px; }
:is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .pd-profile-content .pd-profile-payments :is(th,td):last-child { padding-right:16px; }
@media(max-width:600px) {
  :is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .pd-profile-content .pd-profile-payments :is(th,td):first-child { padding-left:14px; }
  :is(#patient-desktop-app,#specialist-desktop-app,#manager-app) .pd-profile-content .pd-profile-payments :is(th,td):last-child { padding-right:14px; }
}

/* Phone editors keep compact fields and adjacent actions on desktop. */
.zreev-inline-controls:has(> .zreev-contact-phone-fields){grid-template-columns:minmax(0,410px) auto;justify-content:start;}
.zreev-contact-phone-fields{grid-template-columns:minmax(0,180px) minmax(0,220px);}
@media(max-width:600px){
 .zreev-inline-controls:has(> .zreev-contact-phone-fields){grid-template-columns:minmax(0,1fr);justify-content:stretch;}
 .zreev-contact-phone-fields{grid-template-columns:minmax(0,1fr);}
}
