/* PhysioAgent 0.4 - estensioni visive, mobile first */
.role-switch{display:flex;gap:10px;flex-wrap:wrap;margin:14px 0 18px}
.role-switch button{flex:1 1 190px;background:#d9e9ee;color:#16485b;border:2px solid transparent}
.role-switch button.selected-role{background:#116a80;border-color:#094f62;color:white}
.role-switch button:focus-visible,.condition-item button:focus-visible{outline:3px solid #f4b942;outline-offset:2px}
.role-notice{font-size:13px;color:#4b6875;margin-top:0}
.tag-pending{display:inline-block;background:#fff3d8;color:#765211;font-size:12px;padding:4px 8px;border-radius:20px}
.condition-item{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid #e2edf1}
.condition-item button{padding:7px 10px;flex:none}
.portal-intro{background:linear-gradient(120deg,#edf8f8,#f5fbfc);border:1px solid #cce4e8;border-radius:12px;padding:14px;margin-bottom:16px}
fieldset{border:1px solid #dae6eb;border-radius:12px;padding:13px;margin:12px 0}
legend{font-weight:700;color:#205369;padding:0 6px}
textarea{width:100%;border:1px solid #cbdde2;border-radius:9px;padding:11px;font:inherit;resize:vertical;min-height:90px;background:white}
.card p{line-height:1.5}
.screen .item .actions button{padding:8px 11px}
#patientEditor{border:2px solid #b9dae0}
#requestCount{font-size:12px}
@media(max-width:560px){.role-switch{gap:7px}.role-switch button{flex:1 1 120px}.condition-item{align-items:flex-start}.role-notice{line-height:1.5}}