.patient-management-page,.dicom-status-page{max-width:1240px;margin-inline:auto}.workspace-message{margin:16px 0;padding:10px 12px;border:1px solid var(--app-border);border-radius:7px;background:var(--app-surface-soft);color:var(--app-muted)}.workspace-message.is-error{border-color:var(--app-danger,#dc2626);color:var(--app-danger,#dc2626)}.pm-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px;margin:16px 0}.pm-module-card{min-height:122px;padding:14px;border:1px solid var(--app-border);border-radius:8px;background:var(--app-surface);box-shadow:var(--app-shadow-sm)}.pm-module-card header{display:flex;justify-content:space-between;gap:8px;align-items:center;padding:0;background:transparent;color:inherit}.pm-module-card header span,.pm-status{display:inline-flex;align-items:center;min-height:22px;padding:0 7px;border-radius:999px;background:var(--app-surface-raised);color:var(--app-muted);font-size:12px;white-space:nowrap}.pm-module-card.is-enabled{border-color:var(--app-accent)}.pm-module-card.is-enabled header span,.pm-status.is-arrived,.pm-status.is-in_progress,.pm-status.is-completed,.pm-status.is-departed{background:#dcfce7;color:#166534}.pm-module-card p{margin:12px 0 8px;color:var(--app-muted);font-size:13px;line-height:1.55}.pm-module-card small{display:block;overflow:hidden;color:var(--app-muted);font-size:11px;line-height:1.45;text-overflow:ellipsis}.pm-encounter-create header,.pm-table-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:12px}.pm-encounter-create header h2,.pm-table-header h2{margin:0}.pm-encounter-create header p,.pm-table-header p,.dicom-status-notes p{margin:4px 0 0;color:var(--app-muted);font-size:13px}.pm-form{display:grid;grid-template-columns:1.2fr 1fr 160px auto;gap:12px;align-items:end}.pm-form label{margin:0}.pm-form input,.pm-form select{margin:6px 0 0}.pm-form-action{padding-bottom:14px}.pm-secondary-button,.pm-transition-button{padding:7px 10px;background:var(--app-surface-raised);color:var(--app-text);border:1px solid var(--app-border)}.pm-transition-button{font-size:12px}.pm-secondary-button:hover,.pm-transition-button:hover{border-color:var(--app-accent);color:var(--app-accent)}.pm-status.is-registered{background:#dbeafe;color:#1d4ed8}.pm-status.is-cancelled,.pm-status.is-no_show{background:#fee2e2;color:#b91c1c}.dicom-status-notes ol{padding-left:21px;line-height:1.8;color:var(--app-text)}@media(max-width:780px){.pm-form{grid-template-columns:1fr}.pm-form-action{padding-bottom:0}.pm-encounter-create header,.pm-table-header{align-items:stretch;flex-direction:column}.pm-table-header button{align-self:flex-start}}
