.topbar-actions{flex-wrap:wrap;justify-content:flex-end;}
#sharePatientApp{display:grid;place-items:center;flex:0 0 44px;width:44px;min-width:44px;height:44px;min-height:44px;padding:0;background:transparent;}
#sharePatientApp svg{display:block;width:22px;height:22px;}
#sharePatientApp:hover{background:var(--brand-soft,#e5f4f2);}
.patient-greeting{font-size:clamp(16px,2.3vw,22px);font-weight:700;overflow-wrap:anywhere;}
.hero .patient-greeting{color:inherit;}
#shareAppDialog{width:min(92vw,460px);border:1px solid var(--line);border-radius:18px;padding:24px;background:var(--surface,#fff);color:var(--ink);font:inherit;}
#shareAppDialog::backdrop{background:#071a2199;}
#shareAppDialog label{display:grid;gap:8px;}#shareAppDialog input{width:100%;padding:12px;font:inherit;margin-bottom:16px;background:var(--surface,#fff);color:var(--ink);border:1px solid var(--line);border-radius:8px;}
#shareAppDialog button{padding:10px 18px;border:0;border-radius:10px;background:var(--brand,#0f766e);color:white;font:inherit;cursor:pointer;}
#shareAppDialog form{margin-top:12px;}#shareAppStatus{min-height:1.6em;}
body.patient-web #shareAppDialog button{background:#237d69;color:white;}
.patient-file-card button{padding:11px 15px;border:0;border-radius:10px;background:var(--brand,#0f766e);color:#fff;font:inherit;font-weight:700;cursor:pointer;}
.patient-priority-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0;}
.patient-priority-actions button,.patient-priority-actions a{display:grid;gap:7px;text-align:right;text-decoration:none;font:inherit;padding:20px;border:1px solid var(--line,#d4e2df);border-radius:14px;background:var(--surface,#fff);color:var(--ink,#163e37);cursor:pointer;}
.patient-priority-actions strong{font-size:17px;color:var(--brand-strong,#0b5b54);}
.patient-priority-actions span{font-size:13px;line-height:1.8;color:var(--muted,#5f746f);}
.patient-priority-actions .record-action{background:#e5f2ee;border-color:#a3cfc0;}
.patient-priority-actions .record-action strong{color:#0b5b54;}
.patient-priority-actions .record-action span{color:#40635a;}
.patient-secondary-links{display:flex;flex-wrap:wrap;gap:10px 20px;margin:18px 0;}
.patient-secondary-links a{color:var(--brand-strong,#0b5b54);font-size:14px;}
.hero-card.dashboard-appointment{margin:22px 0;background:var(--surface,#fff);border:1px solid var(--line,#d4e2df);box-shadow:none;padding:18px;}
body.patient-web .hero-card.dashboard-appointment{background:var(--surface);}
body.patient-web .patient-file-card button{color:#101510;}
@media(max-width:480px){.patient-priority-actions{gap:8px;}.patient-priority-actions button,.patient-priority-actions a{padding:15px 12px;}.patient-priority-actions strong{font-size:15px;}}
@media(max-width:600px){.topbar{flex-wrap:wrap;gap:10px;}.topbar-actions{gap:6px;}}
