/* Sistema visual de la interfaz clínica. Componentes, lectura y herramientas de trabajo. */
:root {
  --ui-shadow: 0 4px 20px rgba(86, 41, 59, 0.035);
  --ui-radius: 12px;
  --ui-field-height: 42px;
}
body {
  color: var(--text);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
.app-shell {
  background: var(--background);
}
.topbar {
  height: 78px;
  background: var(--white);
  border-top-width: 3px;
}
.global-search {
  border: 1px solid var(--line);
  background: var(--surface-subtle);
  border-radius: 8px;
  padding: 9px 11px;
  min-height: 36px;
}
.global-search:hover {
  border-color: var(--rose-border);
  background: var(--primary-soft);
}
.global-search kbd {
  background: var(--white);
  margin-left: 14px;
  border-color: var(--line);
}
.breadcrumb {
  gap: 10px;
}
.breadcrumb .breadcrumb-symbol {
  display: inline-flex;
  align-items: center;
  color: var(--primary);
  margin-right: -3px;
}
.breadcrumb-symbol .icon {
  width: 15px;
  height: 15px;
}
.page-heading {
  align-items: center;
  margin-bottom: 26px;
  gap: 24px;
}
.page-title-block {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}
.module-heading-icon {
  height: 54px;
  width: 54px;
  display: grid;
  place-items: center;
  background: var(--primary-soft);
  border: 1px solid var(--rose-border);
  border-radius: 14px;
  color: var(--primary);
  flex-shrink: 0;
}
.module-heading-icon > .icon {
  height: 27px;
  width: 27px;
  stroke-width: 1.55;
}
.page-title-copy {
  min-width: 0;
}
.page-heading h1 {
  font-size: 27px;
  font-weight: 700;
  letter-spacing: -0.7px;
  line-height: 1.2;
  color: var(--ink);
}
.page-heading p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
  margin-top: 7px;
  max-width: 680px;
}
.heading-actions {
  gap: 9px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.heading-actions > .button {
  min-height: 41px;
  font-size: 12px;
  gap: 8px;
  padding: 11px 15px;
}
.button {
  border-radius: 8px;
  min-height: 38px;
  font-weight: 700;
  letter-spacing: 0;
}
.button.primary {
  box-shadow: 0 3px 9px rgba(185, 62, 111, 0.1);
}
.button.primary:hover {
  box-shadow: 0 3px 9px rgba(185, 62, 111, 0.16);
}
.button.secondary {
  border-color: var(--line);
  color: var(--rose-deep);
  box-shadow: 0 1px 2px rgba(74, 24, 23, 0.02);
}
.button.secondary:hover {
  border-color: var(--rose-border);
  background: var(--primary-soft);
}
.button.small {
  min-height: 32px;
  padding: 8px 10px;
}
.icon-button:disabled {
  opacity: 0.3;
  cursor: default;
  pointer-events: none;
}
.nav-group > summary {
  gap: 8px;
  font-size: 10.5px;
  padding: 11px 12px;
  color: var(--muted);
}
.nav-group > summary .nav-group-symbol {
  width: 15px;
  height: 15px;
  color: var(--rose-deep);
  transform: none;
  flex-shrink: 0;
}
.nav-group > summary .icon:last-child {
  margin-left: auto;
  height: 11px;
  width: 11px;
}
.nav-group:not([open]) > summary > .nav-group-symbol {
  transform: none;
}
.nav-group .nav-link {
  font-size: 12px;
  height: 41px;
  gap: 10px;
  font-weight: 600;
  border-radius: 8px;
}
.nav-group .nav-link > .icon {
  width: 18px;
  height: 18px;
  stroke-width: 1.65;
}
.nav-group .nav-link.active {
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(185, 62, 111, 0.04);
}
.nav-group .nav-link:not(.active):hover {
  background: var(--surface-subtle);
}
.sidebar-profile > span > strong {
  font-size: 12px;
}
.workspace-label {
  border-radius: 9px;
  background: var(--surface-subtle);
}
.workspace-icon {
  border: 1px solid var(--line);
  background: var(--white);
}
.panel,
.metric,
.procedure-card {
  box-shadow: var(--ui-shadow);
  border-radius: var(--ui-radius);
  border-color: var(--line);
}
.panel-header {
  padding: 22px 23px 19px;
}
.panel-header h2 {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
  gap: 8px;
}
.panel-header p {
  font-size: 11px;
  line-height: 1.7;
  margin-top: 7px;
}
.panel-header .section-symbol {
  width: 18px;
  height: 18px;
  color: var(--primary);
  stroke-width: 1.65;
}
.section-symbol {
  height: 16px;
  width: 16px;
  color: var(--primary);
  margin-right: 7px;
  vertical-align: -3px;
}
.panel-header h2 .section-symbol,
.detail-section-heading > h3 .section-symbol {
  margin-right: 0;
}
.metric {
  padding: 20px 21px;
}
.metric-label {
  font-size: 11.5px;
  color: var(--text);
}
.metric-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}
.metric-icon > .icon {
  width: 18px;
  height: 18px;
}
.metric-value {
  font-size: 30px;
  letter-spacing: -1px;
  margin-top: 8px;
}
.metric-detail {
  font-size: 10.5px;
  line-height: 1.6;
  margin-top: 12px;
  min-height: 17px;
}
.clinical-stat-strip {
  grid-template-columns: repeat(var(--stat-count, 4), minmax(0, 1fr));
  box-shadow: var(--ui-shadow);
  border-radius: var(--ui-radius);
}
.clinical-stat-strip > div {
  padding: 22px;
  gap: 14px;
}
.clinical-stat-strip > div > .icon {
  height: 38px;
  width: 38px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface-subtle);
  color: var(--primary);
}
.clinical-stat-strip strong {
  font-size: 29px;
  color: var(--ink);
  letter-spacing: -0.8px;
}
.clinical-stat-strip small {
  font-size: 11px;
  line-height: 1.6;
  margin-top: 6px;
}
.welcome-banner {
  border-radius: var(--ui-radius);
  min-height: 166px;
}
.welcome-copy {
  padding: 25px 28px;
}
.welcome-copy h2 {
  font-size: 28px;
  line-height: 1.5;
}
.welcome-copy p {
  font-size: 12px;
}
.welcome-eyebrow {
  font-size: 11px;
}
.welcome-link {
  font-size: 11px;
}
.clinical-pulse {
  border-radius: var(--ui-radius);
  box-shadow: var(--ui-shadow);
}
.clinical-pulse > a {
  padding: 19px 15px;
}
.clinical-pulse > a > .icon:first-child {
  height: 22px;
  width: 22px;
}
.clinical-pulse > a small {
  font-size: 10px;
  line-height: 1.7;
}
.list-toolbar {
  padding: 20px 23px;
  gap: 16px;
  align-items: center;
}
.section-summary {
  font-size: 12px;
  gap: 9px;
}
.section-summary > .icon {
  height: 19px;
  width: 19px;
}
.clinical-list-controls {
  gap: 10px;
  justify-content: flex-end;
}
.clinical-list-controls .search-field {
  min-width: 260px;
  height: 38px;
  background: var(--surface-subtle);
}
.search-field {
  border-color: var(--line);
  min-height: 38px;
}
.search-field input {
  font-size: 12px;
}
.select-control {
  height: 38px;
  font-size: 11.5px;
  border-color: var(--line);
  color: var(--text);
}
.clinical-filter-toggle {
  height: 38px;
  min-width: 40px;
  padding: 8px 11px;
}
.clinical-filter-toggle[aria-expanded="true"] {
  background: var(--primary-soft);
  border-color: var(--rose-border);
  color: var(--primary);
}
.filter-count {
  height: 18px;
  min-width: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  font-size: 9px;
  background: var(--primary);
  color: var(--white);
  border-radius: 5px;
}
.clinical-advanced-filters {
  padding: 18px 23px 20px;
  background: var(--surface-subtle);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr auto;
  gap: 14px;
  align-items: end;
}
.clinical-advanced-filters .form-field {
  gap: 7px;
}
.clinical-advanced-filters .form-field > span {
  font-size: 10.5px;
}
.clinical-advanced-filters .form-field > input,
.clinical-advanced-filters .form-field > select {
  height: 37px;
  min-height: 37px;
  font-size: 11px;
  padding: 8px 10px;
  background: var(--white);
}
.clinical-advanced-filters > .button {
  min-height: 37px;
  font-size: 10.5px;
  align-self: end;
}
.clinical-workflow {
  display: flex;
  gap: 5px;
  align-items: stretch;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  padding: 15px 19px 0;
  scrollbar-width: thin;
}
.workflow-filter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  padding: 12px 11px 14px;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  border-radius: 6px 6px 0 0;
}
.workflow-filter > .icon {
  height: 15px;
  width: 15px;
  color: var(--muted);
}
.workflow-filter > span:last-child {
  font-size: 10px;
  min-width: 19px;
  text-align: center;
  background: var(--surface-subtle);
  padding: 2px 5px;
  border-radius: 4px;
  font-weight: 700;
}
.workflow-filter:hover {
  background: var(--surface-subtle);
  color: var(--primary);
}
.workflow-filter.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  background: var(--primary-soft);
}
.workflow-filter.active > .icon {
  color: var(--primary);
}
.workflow-filter.active > span:last-child {
  background: var(--white);
  color: var(--primary);
}
.clinical-tabs {
  background: var(--white);
  box-shadow: var(--ui-shadow);
  border-color: var(--line);
  padding: 4px;
  margin-bottom: 21px;
  gap: 4px;
}
.clinical-tabs > button {
  padding: 11px 17px;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
}
.clinical-tabs > button > .icon {
  width: 17px;
  height: 17px;
}
.clinical-tabs > button.active {
  background: var(--primary-soft);
  color: var(--primary);
  box-shadow: none;
}
.clinical-tabs > button > span {
  padding: 3px 6px;
  font-size: 10px;
}
table {
  font-size: 12px;
}
th {
  font-size: 10.5px;
  font-weight: 700;
  background: var(--surface-subtle);
  color: var(--muted);
  padding-top: 13px;
  padding-bottom: 13px;
}
td {
  font-size: 12px;
  padding-top: 17px;
  padding-bottom: 17px;
  line-height: 1.6;
  color: var(--text);
  border-bottom-color: var(--line);
}
.professional-table th {
  padding-top: 0;
  padding-bottom: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  height: 45px;
}
.table-sort-button {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 13px 0;
  min-height: 44px;
  width: 100%;
  text-align: left;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 700;
  white-space: nowrap;
}
.table-sort-button > .icon:first-child {
  height: 14px;
  width: 14px;
  color: var(--rose-deep);
  opacity: 0.8;
}
.table-sort-button > .sort-indicator {
  height: 12px;
  width: 12px;
  color: var(--muted);
  opacity: 0.45;
  margin-left: 1px;
}
.table-sort-button:hover {
  color: var(--primary);
}
th[aria-sort="ascending"] .table-sort-button,
th[aria-sort="descending"] .table-sort-button {
  color: var(--primary);
}
th[aria-sort="ascending"] .sort-indicator,
th[aria-sort="descending"] .sort-indicator {
  opacity: 1;
  color: var(--primary);
}
.actions-column {
  text-align: right;
}
.actions-column > .icon {
  height: 17px;
  width: 17px;
  color: var(--muted);
}
.professional-table .avatar {
  height: 36px;
  width: 36px;
  font-size: 10.5px;
  font-weight: 700;
  border: 1px solid rgba(160, 69, 78, 0.04);
}
.person {
  gap: 11px;
}
.name-button {
  font-size: 12px;
  line-height: 1.6;
  color: var(--ink);
  font-weight: 700;
}
.person small,
.cell-subtitle {
  font-size: 10.5px;
  line-height: 1.6;
  margin-top: 4px;
  color: var(--muted);
}
.cell-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
}
.clinical-table .cell-title {
  font-size: 12px;
  max-width: 310px;
}
.clinical-table .button.small,
.professional-table .button.small {
  font-size: 10.5px;
  gap: 6px;
}
.clinical-table td {
  padding-top: 17px;
  padding-bottom: 17px;
}
.record-reference {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  color: var(--muted);
  font-weight: 500;
  margin-top: 5px;
}
.record-reference > .icon {
  width: 12px;
  height: 12px;
  opacity: 0.8;
}
.cell-service {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.cell-service-symbol {
  display: grid;
  place-items: center;
  height: 32px;
  width: 32px;
  border-radius: 8px;
  background: var(--surface-subtle);
  border: 1px solid var(--line);
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 1px;
}
.cell-service-symbol > .icon {
  height: 16px;
  width: 16px;
}
.cell-service > div {
  min-width: 0;
}
.status.ui-status,
.clinical-status.ui-status {
  gap: 5px;
  font-size: 10px;
  font-weight: 600;
  padding: 6px 8px;
  border-radius: 6px;
  line-height: 1.3;
}
.ui-status > i {
  display: none;
}
.ui-status > .status-symbol {
  height: 12px;
  width: 12px;
  stroke-width: 1.8;
}
.preop-readiness {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 10px;
  color: var(--muted);
}
.preop-readiness > span:first-child {
  display: block;
  width: 48px;
  height: 4px;
  background: var(--line);
  border-radius: 5px;
  overflow: hidden;
}
.preop-readiness > span:first-child > i {
  display: block;
  height: 100%;
  background: var(--rose);
  border-radius: 5px;
}
.professional-table-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 22px;
  border-top: 1px solid var(--line);
  background: var(--white);
  min-height: 65px;
}
.table-range {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10.5px;
  color: var(--muted);
  white-space: nowrap;
}
.table-range > .icon {
  height: 15px;
  width: 15px;
  color: var(--rose-deep);
}
.table-range strong {
  font-weight: 700;
  color: var(--text);
}
.table-pagination {
  display: flex;
  align-items: center;
  gap: 5px;
}
.table-pagination > label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10.5px;
  color: var(--muted);
  margin-right: 10px;
}
.table-pagination select {
  height: 30px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: var(--surface-subtle);
  font-size: 10.5px;
  color: var(--text);
  padding: 3px 6px;
  min-width: 49px;
}
.table-pagination > .page-number {
  font-size: 10.5px;
  color: var(--muted);
  min-width: 42px;
  text-align: center;
  margin-right: 5px;
  font-variant-numeric: tabular-nums;
}
.table-pagination > .icon-button {
  width: 29px;
  height: 29px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--rose-deep);
}
.table-pagination > .icon-button > .icon {
  height: 13px;
  width: 13px;
}
.procedure-card {
  padding: 24px 23px 0;
  border-radius: var(--ui-radius);
  position: relative;
}
.procedure-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  border: 1px solid rgba(160, 69, 78, 0.05);
}
.procedure-icon > .icon {
  height: 23px;
  width: 23px;
}
.procedure-card h2 {
  font-size: 16px;
  color: var(--ink);
  line-height: 1.6;
  letter-spacing: -0.3px;
}
.procedure-card > p {
  font-size: 12px;
  line-height: 1.8;
  min-height: 43px;
}
.procedure-meta {
  margin-top: 24px;
}
.procedure-meta strong {
  font-size: 20px;
  font-weight: 700;
}
.procedure-meta > span {
  font-size: 11px;
}
.category-pill {
  font-size: 10px;
  padding: 5px 8px;
  border-radius: 5px;
}
.procedure-bottom {
  padding: 17px 0;
}
.procedure-bottom .text-link {
  font-size: 11px;
}
.procedure-bottom .toggle-button {
  font-size: 10.5px;
}
.app-dialog {
  width: 610px;
  border-radius: 15px;
  border-color: var(--line);
  box-shadow: 0 24px 100px rgba(74, 24, 23, 0.2);
  overflow: hidden;
}
.app-dialog.wide {
  width: 850px;
}
.app-dialog[open] {
  display: flex;
  flex-direction: column;
  max-height: 90vh;
  max-height: 90dvh;
  min-height: 0;
}
.dialog-header {
  padding: 24px 27px 21px;
  align-items: flex-start;
  gap: 13px;
  background: var(--white);
  flex-shrink: 0;
}
.dialog-heading-symbol {
  height: 43px;
  width: 43px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border: 1px solid var(--rose-border);
  border-radius: 11px;
  background: var(--primary-soft);
  color: var(--primary);
}
.dialog-heading-symbol > .icon {
  height: 22px;
  width: 22px;
  stroke-width: 1.6;
}
.dialog-header > div {
  flex: 1;
  min-width: 0;
}
.dialog-header h2 {
  font-size: 21px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: -0.4px;
  color: var(--ink);
}
.dialog-header p {
  font-size: 11.5px;
  line-height: 1.8;
  color: var(--muted);
  margin-top: 5px;
}
.dialog-header > .icon-button {
  margin-top: 0;
  border: 1px solid var(--line);
  background: var(--surface-subtle);
  height: 31px;
  width: 31px;
}
.dialog-header > .icon-button > .icon {
  width: 16px;
  height: 16px;
}
.app-dialog > #record-form {
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}
.dialog-body {
  padding: 25px 28px;
  overflow: auto;
  min-height: 0;
  scrollbar-width: thin;
  scrollbar-color: var(--rose-border) transparent;
  overscroll-behavior: contain;
}
.dialog-footer {
  padding: 18px 27px;
  background: var(--surface-subtle);
  border-top: 1px solid var(--line);
  flex-shrink: 0;
  min-height: 76px;
}
.dialog-footer .button {
  font-size: 12px;
  min-height: 39px;
  padding: 10px 14px;
}
.dialog-footer .button > .icon {
  width: 16px;
  height: 16px;
}
.required-hint {
  font-size: 10px;
  line-height: 1.6;
  color: var(--muted);
}
.form-grid {
  gap: 19px 20px;
}
.form-field {
  gap: 8px;
}
.form-field > span {
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.7;
  color: var(--text);
}
.form-field > span > .field-symbol {
  height: 13px;
  width: 13px;
  margin-right: 6px;
  vertical-align: -2px;
  color: var(--rose-deep);
  stroke-width: 1.7;
}
.form-field > input,
.form-field > select,
.form-field > textarea {
  min-height: var(--ui-field-height);
  font-size: 12px;
  padding: 11px 12px;
  border-radius: 8px;
  border-color: var(--line);
  background: var(--white);
  line-height: 1.6;
  color: var(--text);
}
.form-field > textarea {
  min-height: 92px;
  line-height: 1.85;
}
.form-field > input:hover,
.form-field > select:hover,
.form-field > textarea:hover {
  border-color: var(--rose-border);
}
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--muted);
  opacity: 0.8;
  font-weight: 400;
}
.form-field > input:focus,
.form-field > select:focus,
.form-field > textarea:focus {
  border-color: var(--rose);
  box-shadow: 0 0 0 3px var(--primary-soft);
}
.form-divider {
  margin-top: 10px;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
}
.form-divider h3 {
  font-size: 12px;
  color: var(--rose-deep);
  font-weight: 700;
  line-height: 1.7;
  display: flex;
  align-items: center;
  gap: 8px;
}
.form-divider h3 > .section-symbol {
  margin: 0;
  height: 17px;
  width: 17px;
}
.form-divider p {
  font-size: 10.5px;
  margin-top: 6px;
  line-height: 1.8;
  color: var(--muted);
}
.form-divider.form-start {
  border-top: 0;
  padding-top: 0;
  margin-top: 0;
}
.clinical-form-section {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 19px 20px;
  min-width: 0;
}
.clinical-form-section > .form-section-heading {
  grid-column: 1/-1;
}
.form-section-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 11px 0 0;
  padding: 17px 0 0;
  border-top: 1px solid var(--line);
}
.form-section-heading > .icon {
  height: 18px;
  width: 18px;
  color: var(--primary);
}
.form-section-heading > span {
  font-size: 12px;
  font-weight: 700;
  color: var(--rose-deep);
  line-height: 1.7;
}
.clinical-form-section:first-child > .form-section-heading {
  padding-top: 0;
  border-top: 0;
  margin-top: 0;
}
.clinical-checklist {
  border-color: var(--line);
  background: var(--surface-subtle);
  padding: 19px;
  border-radius: 9px;
}
.clinical-checklist > span {
  font-size: 11px;
  gap: 8px;
  line-height: 1.8;
}
.checkbox-label {
  font-size: 11.5px;
  line-height: 1.8;
  gap: 10px;
  align-items: flex-start;
  color: var(--text);
}
.checkbox-label > input {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.clinical-allergy {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 11.5px;
  line-height: 1.85;
  border-radius: 8px;
  padding: 14px 16px;
}
.clinical-allergy > .icon {
  height: 17px;
  width: 17px;
  flex-shrink: 0;
  margin-top: 2px;
}
.medicine-row {
  border-radius: 10px;
  background: var(--surface-subtle);
  border-color: var(--line);
  padding: 20px;
}
.medicine-row-heading {
  margin-bottom: 17px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--line);
}
.medicine-row-heading > strong {
  font-size: 12px;
  gap: 8px;
}
.medicine-row-heading > strong > .icon {
  height: 18px;
  width: 18px;
}
.medicine-row-heading > .icon-button {
  width: 29px;
  height: 29px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 6px;
}
.medicine-row .form-grid {
  gap: 17px 18px;
}
.detail-block h3 {
  font-size: 12px;
  line-height: 1.7;
  display: flex;
  align-items: center;
  gap: 0;
  color: var(--rose-deep);
}
.detail-block p {
  font-size: 12px;
  line-height: 1.9;
  color: var(--text);
}
.detail-section-heading > h3 {
  font-size: 13px;
  line-height: 1.7;
  gap: 8px;
  color: var(--ink);
}
.patient-profile h3 {
  font-size: 23px;
  line-height: 1.5;
  color: var(--ink);
}
.patient-profile .avatar.large {
  width: 64px;
  height: 64px;
  font-size: 20px;
  border: 1px solid var(--rose-border);
}
.patient-profile p,
.profile-contact > span {
  font-size: 11px;
  line-height: 1.8;
}
.clinical-summary {
  padding: 19px 20px;
  border-radius: 9px;
  gap: 25px;
  background: var(--surface-subtle);
}
.clinical-summary small {
  font-size: 10px;
  line-height: 1.6;
  margin-bottom: 6px;
  color: var(--muted);
}
.clinical-summary strong {
  font-size: 12px;
  line-height: 1.7;
  color: var(--text);
}
.history-entry {
  padding: 22px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(74, 24, 23, 0.015);
}
.history-entry > header {
  padding-bottom: 15px;
}
.history-entry > header > strong {
  font-size: 13px;
}
.history-entry > header > span {
  font-size: 11px;
  background: var(--surface-subtle);
  padding: 5px 7px;
  border-radius: 5px;
  color: var(--rose-deep);
}
.history-section-title {
  font-size: 17px;
  color: var(--ink);
}
.history-section-title > .section-symbol {
  height: 19px;
  width: 19px;
  vertical-align: -4px;
  margin-right: 9px;
}
.rx-letterhead {
  padding-bottom: 24px;
  margin-bottom: 25px;
}
.rx-letterhead > div > strong {
  font-size: 25px;
}
.rx-letterhead > div > span {
  font-size: 14px;
  margin-top: 11px;
}
.rx-letterhead > div > small {
  font-size: 10.5px;
  line-height: 1.85;
}
.rx-heading > h3 {
  font-size: 21px;
  color: var(--ink);
}
.rx-heading > span {
  font-size: 11px;
  font-weight: 600;
}
.rx-medicines h3 {
  font-size: 14px;
  line-height: 1.7;
}
.rx-medicines p {
  font-size: 12px;
  line-height: 1.95;
}
.rx-number {
  height: 28px;
  width: 28px;
  font-size: 11px;
}
.rx-signature > strong {
  font-size: 13px;
}
.rx-signature > small {
  font-size: 10px;
  line-height: 1.8;
}
.empty-state {
  padding: 51px 24px;
  max-width: 510px;
  margin: 0 auto;
}
.empty-module-symbol {
  display: grid;
  place-items: center;
  width: 61px;
  height: 61px;
  border-radius: 17px;
  background: var(--primary-soft);
  border: 1px solid var(--rose-border);
  color: var(--primary);
  margin-bottom: 20px;
}
.empty-module-symbol > .icon {
  height: 29px;
  width: 29px;
  stroke-width: 1.4;
}
.empty-state h3 {
  font-size: 16px;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.6;
}
.empty-state p {
  font-size: 12px;
  line-height: 1.9;
  color: var(--muted);
  max-width: 370px;
}
.empty-state .button {
  font-size: 12px;
  min-height: 39px;
}
.page-note {
  font-size: 11px;
  line-height: 1.9;
}
.inline-filter-error {
  font-size: 11px;
  color: var(--danger);
  line-height: 1.8;
  padding: 0;
  margin: 0;
}
.clinical-status.state-expired {
  color: var(--danger);
  background: var(--danger-soft);
}
.clinical-status.state-depleted {
  color: var(--warning);
  background: var(--warning-soft);
}
.record-reference > .icon,
.cell-subtitle > .icon {
  height: 12px;
  width: 12px;
  vertical-align: -2px;
  flex-shrink: 0;
}
.attachment-picker {
  position: relative;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 20px;
  border: 1px dashed var(--rose-border);
  border-radius: 10px;
  background: var(--surface-subtle);
  cursor: pointer;
  min-width: 0;
  margin-top: 8px;
}
.attachment-picker:hover {
  border-color: var(--primary);
  background: var(--primary-soft);
}
.attachment-picker:focus-within {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}
.attachment-picker > input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  padding: 0;
  margin: 0;
}
.attachment-picker-symbol {
  height: 40px;
  width: 40px;
  flex-shrink: 0;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--primary);
  display: grid;
  place-items: center;
}
.attachment-picker-symbol > .icon {
  height: 20px;
  width: 20px;
}
.attachment-picker > span:nth-of-type(2) {
  min-width: 0;
  flex: 1;
}
.attachment-picker strong {
  font-size: 12px;
  display: block;
  color: var(--rose-deep);
  font-weight: 700;
  line-height: 1.7;
}
.attachment-picker small {
  font-size: 10.5px;
  display: block;
  line-height: 1.8;
  color: var(--muted);
  margin-top: 4px;
  overflow-wrap: anywhere;
}
.attachment-picker-action {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--primary);
  font-size: 10.5px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}
.attachment-picker-action > .icon {
  height: 13px;
  width: 13px;
}
@media (max-width: 580px) {
  .attachment-picker { padding: 17px; gap: 12px; flex-wrap: wrap; }
  .attachment-picker-symbol { width: 35px; height: 35px; border-radius: 9px; }
  .attachment-picker-symbol > .icon { width: 18px; height: 18px; }
  .attachment-picker > span:nth-of-type(2) { flex: 1 0 calc(100% - 48px); }
  .attachment-picker-action { margin-left: 47px; font-size: 10px; padding: 8px 10px; }
  .attachment-picker strong { font-size: 11.5px; }
  .attachment-picker small { font-size: 10px; }
}
.history-entry > header > .history-record-symbol {
  height: 31px;
  width: 31px;
  display: grid;
  place-items: center;
  background: var(--primary-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--primary);
  padding: 0;
  flex-shrink: 0;
}
.history-record-symbol > .icon {
  height: 16px;
  width: 16px;
}
#record-form[data-saving="true"] button[type="submit"] > .icon {
  display: none;
}
#record-form[data-saving="true"] button[type="submit"]:before {
  content: "";
  width: 13px;
  height: 13px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: white;
  border-radius: 50%;
  animation: form-saving 0.7s linear infinite;
}
@keyframes form-saving {
  to {
    transform: rotate(360deg);
  }
}
.app-footer {
  font-size: 10px;
  line-height: 1.7;
  padding-top: 16px;
}
@media (min-width: 1600px) {
  .page-heading h1 {
    font-size: 30px;
  }
  .page-heading p {
    font-size: 13px;
  }
  .module-heading-icon {
    width: 58px;
    height: 58px;
  }
  .module-heading-icon > .icon {
    width: 29px;
    height: 29px;
  }
  .metric-value {
    font-size: 34px;
  }
  .professional-table td {
    padding-top: 19px;
    padding-bottom: 19px;
  }
  .professional-table .name-button {
    font-size: 13px;
  }
  .professional-table .person small {
    font-size: 11px;
  }
  .nav-group .nav-link {
    font-size: 13px;
    height: 43px;
  }
}
@media (max-width: 1190px) {
  .page-heading {
    gap: 16px;
  }
  .page-title-block {
    gap: 12px;
  }
  .module-heading-icon {
    width: 47px;
    height: 47px;
    border-radius: 12px;
  }
  .module-heading-icon > .icon {
    width: 24px;
    height: 24px;
  }
  .page-heading h1 {
    font-size: 24px;
  }
  .page-heading p {
    font-size: 11px;
  }
  .heading-actions > .button {
    font-size: 11px;
    padding: 10px 12px;
    min-height: 39px;
  }
  .global-search {
    min-height: 33px;
    padding: 7px 9px;
  }
  .nav-group .nav-link {
    font-size: 11px;
    height: 40px;
  }
  .nav-group > summary {
    font-size: 10px;
    padding-left: 12px;
    padding-right: 10px;
    gap: 6px;
  }
  .nav-group > summary .nav-group-symbol {
    width: 13px;
    height: 13px;
  }
  .clinical-stat-strip > div {
    padding: 20px 16px;
    gap: 11px;
  }
  .clinical-stat-strip strong {
    font-size: 27px;
  }
  .clinical-stat-strip small {
    font-size: 10.5px;
  }
  .clinical-pulse > a small {
    font-size: 10px;
  }
  .metric {
    padding: 18px;
  }
  .metric-label {
    font-size: 11px;
  }
  .metric-value {
    font-size: 27px;
  }
  .metric-detail {
    font-size: 10px;
  }
  .panel-header {
    padding: 21px 19px 18px;
  }
  .panel-header h2 {
    font-size: 13px;
  }
  .list-toolbar {
    padding: 18px 19px;
    flex-wrap: wrap;
  }
  .clinical-list-controls {
    flex: 1;
  }
  .clinical-list-controls .search-field {
    min-width: 200px;
  }
  .clinical-list-controls .select-control {
    max-width: 170px;
  }
  .clinical-workflow {
    padding: 12px 15px 0;
    gap: 2px;
  }
  .workflow-filter {
    font-size: 10.5px;
    padding: 10px 9px 12px;
    gap: 5px;
  }
  .professional-table-footer {
    padding: 15px 18px;
  }
  .table-range {
    font-size: 10px;
    gap: 6px;
  }
  .table-pagination > label {
    font-size: 10px;
    margin-right: 5px;
  }
  .table-pagination > .page-number {
    min-width: 35px;
    margin-right: 2px;
  }
  .clinical-advanced-filters {
    padding: 17px 19px;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .clinical-advanced-filters > .button {
    justify-self: end;
  }
  .procedure-card h2 {
    font-size: 15px;
  }
  .procedure-card > p {
    font-size: 11.5px;
  }
  .professional-table .name-button {
    font-size: 11.5px;
  }
  .professional-table .person small {
    font-size: 10px;
  }
  .professional-table .cell-title {
    font-size: 11.5px;
  }
}
@media (max-width: 980px) {
  .page-heading {
    align-items: flex-start;
  }
  .heading-actions {
    gap: 7px;
    max-width: 270px;
  }
  .page-heading p {
    max-width: 430px;
  }
  .metric {
    padding: 16px 14px;
  }
  .metric-label {
    font-size: 10.5px;
  }
  .metric-value {
    font-size: 26px;
  }
  .metric-icon {
    width: 29px;
    height: 29px;
  }
  .metric-icon > .icon {
    width: 16px;
    height: 16px;
  }
  .professional-table-footer {
    row-gap: 12px;
    flex-wrap: wrap;
  }
  .table-pagination {
    margin-left: auto;
  }
  .clinical-list-controls .search-field {
    min-width: 180px;
  }
  .clinical-list-controls {
    width: 100%;
    justify-content: flex-start;
  }
  .clinical-stat-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .clinical-stat-strip > div {
    border-bottom: 1px solid var(--line);
  }
  .clinical-stat-strip > div:nth-child(2) {
    border-right: 0;
  }
  .clinical-stat-strip > div:nth-child(n + 3) {
    border-bottom: 0;
  }
  .clinical-stat-strip > div:last-child:nth-child(3) {
    grid-column: 1/-1;
  }
}
@media (max-width: 760px) {
  .topbar {
    height: 68px;
  }
  .page-heading {
    align-items: center;
  }
  .page-heading h1 {
    font-size: 25px;
  }
  .page-title-block {
    gap: 13px;
  }
  .module-heading-icon {
    height: 48px;
    width: 48px;
  }
  .heading-actions {
    max-width: none;
  }
  .nav-group .nav-link {
    font-size: 12px;
    height: 43px;
  }
  .nav-group > summary {
    font-size: 11px;
    gap: 8px;
  }
  .nav-group > summary .nav-group-symbol {
    height: 15px;
    width: 15px;
  }
  .global-search {
    border: 0;
    background: transparent;
    padding: 5px;
  }
  .global-search:hover {
    background: var(--primary-soft);
  }
  .panel-header h2 {
    font-size: 13px;
  }
  .list-toolbar {
    gap: 15px;
  }
  .clinical-list-controls .search-field {
    min-width: 0;
    flex: 1;
  }
  .clinical-list-controls .select-control {
    max-width: 180px;
  }
  .table-sort-button {
    font-size: 10.5px;
    gap: 6px;
  }
  .professional-table-footer {
    min-height: 65px;
  }
  .clinical-pulse > a small {
    font-size: 10px;
  }
  .clinical-stat-strip > div {
    padding: 20px;
  }
  .clinical-stat-strip strong {
    font-size: 28px;
  }
  .clinical-stat-strip small {
    font-size: 11px;
  }
  .professional-table .name-button {
    font-size: 12px;
  }
  .professional-table .person small {
    font-size: 10.5px;
  }
}
@media (max-width: 580px) {
  .topbar {
    height: 64px;
  }
  .breadcrumb .breadcrumb-symbol {
    display: none;
  }
  .page-heading {
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 23px;
    flex-wrap: wrap;
  }
  .page-title-block {
    gap: 12px;
    width: 100%;
    align-items: flex-start;
  }
  .module-heading-icon {
    height: 44px;
    width: 44px;
    border-radius: 12px;
  }
  .module-heading-icon > .icon {
    height: 23px;
    width: 23px;
  }
  .page-heading h1 {
    font-size: 24px;
    letter-spacing: -0.5px;
    line-height: 1.35;
  }
  .page-heading p {
    font-size: 11px;
    line-height: 1.85;
    margin-top: 6px;
    max-width: none;
  }
  .heading-actions {
    margin: 0;
    width: 100%;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
  }
  .heading-actions > .button {
    font-size: 11px;
    min-height: 38px;
    padding: 9px 12px;
  }
  .heading-actions > .button > .icon {
    height: 15px;
    width: 15px;
  }
  .heading-actions .select-control {
    height: 38px;
    max-width: 170px;
    flex: 1;
    font-size: 11px;
  }
  .welcome-copy {
    padding: 22px 19px;
  }
  .welcome-copy h2 {
    font-size: 22px;
    line-height: 1.5;
  }
  .welcome-copy p {
    font-size: 10.5px;
    max-width: 240px;
    line-height: 1.9;
  }
  .welcome-eyebrow {
    font-size: 10px;
  }
  .welcome-link {
    font-size: 11px;
  }
  .metric {
    padding: 17px 16px;
  }
  .metric-label {
    font-size: 10.5px;
  }
  .metric-value {
    font-size: 29px;
  }
  .metric-detail {
    font-size: 9.5px;
  }
  .metric-icon {
    height: 29px;
    width: 29px;
  }
  .clinical-pulse > a {
    padding: 18px 16px;
  }
  .clinical-pulse > a small {
    font-size: 10px;
  }
  .panel-header {
    padding: 20px 18px 17px;
  }
  .panel-header h2 {
    font-size: 13px;
  }
  .panel-header p {
    font-size: 10.5px;
  }
  .panel-header .text-link {
    font-size: 10.5px;
  }
  .panel-header h2 > .section-symbol {
    height: 16px;
    width: 16px;
  }
  .list-toolbar {
    padding: 17px 16px;
    gap: 14px;
  }
  .section-summary {
    font-size: 11px;
  }
  .clinical-list-controls {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 9px;
  }
  .clinical-list-controls .search-field {
    flex: 1 0 calc(100% - 52px);
    min-height: 39px;
    order: 0;
  }
  .clinical-list-controls > .select-control {
    flex: 1;
    max-width: none;
    order: 2;
  }
  .clinical-filter-toggle {
    order: 1;
    min-height: 39px;
    font-size: 10px;
    padding: 9px;
    min-width: 39px;
  }
  .clinical-filter-toggle > span:not(.filter-count) {
    display: none;
  }
  .clinical-advanced-filters {
    padding: 18px 16px;
    grid-template-columns: 1fr 1fr;
    gap: 15px 12px;
  }
  .clinical-advanced-filters > .form-field:first-child {
    grid-column: 1/-1;
  }
  .clinical-advanced-filters > .button {
    grid-column: 1/-1;
    justify-self: stretch;
    font-size: 11px;
  }
  .clinical-workflow {
    padding: 10px 12px 0;
    gap: 3px;
  }
  .workflow-filter {
    font-size: 10px;
    padding: 10px 9px 12px;
    gap: 5px;
  }
  .workflow-filter > .icon {
    height: 13px;
    width: 13px;
  }
  .workflow-filter > span:last-child {
    font-size: 9px;
    min-width: 17px;
    padding: 2px 4px;
  }
  .clinical-tabs {
    display: flex;
    gap: 3px;
    max-width: 100%;
    overflow-x: auto;
  }
  .clinical-tabs > button {
    font-size: 11px;
    padding: 10px 12px;
    gap: 7px;
  }
  .clinical-tabs > button > .icon {
    width: 15px;
    height: 15px;
  }
  .clinical-stat-strip > div {
    padding: 18px 15px;
    gap: 12px;
  }
  .clinical-stat-strip > div > .icon {
    width: 34px;
    height: 34px;
    padding: 8px;
    border-radius: 9px;
  }
  .clinical-stat-strip strong {
    font-size: 27px;
  }
  .clinical-stat-strip small {
    font-size: 10.5px;
  }
  .professional-table td {
    padding-top: 16px;
    padding-bottom: 16px;
    font-size: 11px;
  }
  .professional-table .cell-title {
    font-size: 11.5px;
  }
  .professional-table .avatar {
    width: 33px;
    height: 33px;
    font-size: 10px;
  }
  .professional-table .name-button {
    font-size: 11.5px;
  }
  .professional-table .person small,
  .professional-table .cell-subtitle {
    font-size: 10px;
  }
  .professional-table .button.small {
    font-size: 10.5px;
    min-height: 32px;
  }
  .table-sort-button {
    font-size: 10px;
    gap: 6px;
  }
  .table-sort-button > .icon:first-child {
    width: 13px;
    height: 13px;
  }
  .professional-table-footer {
    padding: 14px 16px;
    gap: 13px;
    align-items: flex-start;
  }
  .table-range {
    font-size: 10px;
    gap: 7px;
  }
  .table-range > .icon {
    width: 14px;
    height: 14px;
  }
  .table-pagination {
    width: 100%;
    margin: 0;
    justify-content: flex-end;
    gap: 6px;
  }
  .table-pagination > label {
    margin-right: auto;
    font-size: 10px;
    gap: 7px;
  }
  .table-pagination select {
    height: 31px;
    font-size: 11px;
  }
  .table-pagination > .icon-button {
    width: 29px;
    height: 29px;
  }
  .table-pagination > .page-number {
    font-size: 10px;
    min-width: 37px;
    margin-right: 3px;
  }
  .status.ui-status,
  .clinical-status.ui-status {
    font-size: 9.5px;
    padding: 5px 7px;
    gap: 5px;
  }
  .ui-status > .status-symbol {
    height: 11px;
    width: 11px;
  }
  .procedure-card {
    padding: 23px 21px 0;
  }
  .procedure-card h2 {
    font-size: 16px;
  }
  .procedure-card > p {
    font-size: 12px;
    min-height: 0;
  }
  .procedure-meta strong {
    font-size: 21px;
  }
  .procedure-meta > span {
    font-size: 11px;
  }
  .procedure-bottom .text-link {
    font-size: 11px;
  }
  .app-dialog {
    max-width: calc(100vw - 18px);
    border-radius: 13px;
    max-height: 93dvh;
  }
  .app-dialog[open] {
    max-height: 93dvh;
  }
  .dialog-header {
    padding: 19px 17px 17px;
    gap: 11px;
  }
  .dialog-heading-symbol {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }
  .dialog-heading-symbol > .icon {
    height: 19px;
    width: 19px;
  }
  .dialog-header h2 {
    font-size: 18px;
    line-height: 1.45;
  }
  .dialog-header p {
    font-size: 10.5px;
    line-height: 1.8;
    margin-top: 5px;
  }
  .dialog-header > .icon-button {
    height: 27px;
    width: 27px;
    margin-right: 0;
  }
  .dialog-header > .icon-button > .icon {
    width: 14px;
    height: 14px;
  }
  .dialog-body {
    padding: 21px 19px;
  }
  .dialog-footer {
    padding: 15px 18px;
    min-height: 70px;
    gap: 10px;
    flex-wrap: wrap;
  }
  .dialog-footer > div {
    gap: 7px;
    flex-wrap: wrap;
  }
  .dialog-footer .button {
    font-size: 10.5px;
    min-height: 36px;
    padding: 10px 11px;
    gap: 6px;
  }
  .dialog-footer .button > .icon {
    width: 14px;
    height: 14px;
  }
  .required-hint {
    font-size: 9px;
  }
  .form-grid,
  .clinical-form-section {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .form-field {
    gap: 8px;
  }
  .form-field > span {
    font-size: 11.5px;
  }
  .form-field > input,
  .form-field > select,
  .form-field > textarea {
    font-size: 12px;
    padding: 12px;
    min-height: 43px;
  }
  .form-section-heading {
    margin-top: 10px;
    padding-top: 18px;
    gap: 8px;
  }
  .form-section-heading > span {
    font-size: 12px;
  }
  .form-section-heading > .icon {
    height: 17px;
    width: 17px;
  }
  .form-divider h3 {
    font-size: 12px;
  }
  .form-divider p {
    font-size: 10.5px;
  }
  .clinical-allergy {
    font-size: 11px;
    padding: 12px 13px;
    gap: 7px;
  }
  .medicine-row {
    padding: 16px;
  }
  .medicine-row-heading {
    padding-bottom: 13px;
    margin-bottom: 16px;
  }
  .medicine-row-heading > strong {
    font-size: 12px;
  }
  .medicine-row .form-grid {
    gap: 17px;
  }
  .detail-block h3 {
    font-size: 11.5px;
  }
  .detail-block p {
    font-size: 12px;
    line-height: 1.9;
  }
  .patient-profile h3 {
    font-size: 20px;
  }
  .patient-profile .avatar.large {
    height: 51px;
    width: 51px;
    font-size: 17px;
  }
  .patient-profile p {
    font-size: 10.5px;
  }
  .profile-contact > span {
    font-size: 11px;
  }
  .clinical-summary {
    padding: 17px;
    gap: 18px;
  }
  .clinical-summary strong {
    font-size: 11.5px;
  }
  .clinical-summary small {
    font-size: 10px;
  }
  .detail-section-heading > h3 {
    font-size: 12px;
  }
  .history-entry {
    padding: 17px;
  }
  .history-entry > header {
    gap: 9px;
  }
  .history-entry > header > strong {
    font-size: 12px;
    flex-basis: 60%;
  }
  .history-entry > header > span {
    font-size: 10px;
  }
  .history-section-title {
    font-size: 15px;
  }
  .rx-letterhead > div > strong {
    font-size: 21px;
  }
  .rx-letterhead > div > span {
    font-size: 13px;
  }
  .rx-letterhead > div > small {
    font-size: 10px;
  }
  .rx-heading > h3 {
    font-size: 20px;
  }
  .rx-medicines h3 {
    font-size: 13px;
  }
  .rx-medicines p {
    font-size: 11.5px;
    line-height: 1.9;
  }
  .rx-signature > strong {
    font-size: 12px;
  }
  .rx-signature > small {
    font-size: 10px;
  }
  .empty-state {
    padding: 40px 19px;
  }
  .empty-module-symbol {
    width: 55px;
    height: 55px;
    border-radius: 15px;
    margin-bottom: 18px;
  }
  .empty-module-symbol > .icon {
    width: 26px;
    height: 26px;
  }
  .empty-state h3 {
    font-size: 15px;
  }
  .empty-state p {
    font-size: 11.5px;
    line-height: 1.9;
  }
  .empty-state .button {
    font-size: 11px;
    min-height: 38px;
  }
  .page-note {
    font-size: 10.5px;
    line-height: 1.9;
    align-items: flex-start;
  }
  .page-note > .icon {
    margin-top: 2px;
  }
  .app-footer {
    font-size: 9px;
  }
}
@media (max-width: 370px) {
  .module-heading-icon {
    height: 39px;
    width: 39px;
    border-radius: 10px;
  }
  .module-heading-icon > .icon {
    height: 21px;
    width: 21px;
  }
  .page-title-block {
    gap: 10px;
  }
  .page-heading h1 {
    font-size: 22px;
  }
  .page-heading p {
    font-size: 10.5px;
  }
  .table-pagination {
    gap: 4px;
  }
  .table-pagination > label > span {
    display: none;
  }
  .table-pagination > .icon-button {
    width: 27px;
    height: 27px;
  }
  .dialog-header {
    padding-left: 15px;
    padding-right: 15px;
  }
  .dialog-heading-symbol {
    height: 32px;
    width: 32px;
  }
  .dialog-heading-symbol > .icon {
    width: 17px;
    height: 17px;
  }
  .dialog-header h2 {
    font-size: 17px;
  }
  .dialog-body {
    padding-left: 17px;
    padding-right: 17px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .nav-group > summary .icon {
    transition: none;
  }
}
@media print {
  .page-heading .module-heading-icon,
  .breadcrumb-symbol,
  .professional-table-footer,
  .clinical-workflow,
  .clinical-advanced-filters,
  .clinical-filter-toggle,
  .dialog-heading-symbol,
  .section-symbol,
  .field-symbol,
  .table-sort-button > .icon,
  .professional-table .actions-column,
  .professional-table td:last-child {
    display: none !important;
  }
  .page-title-block {
    display: block;
  }
  .page-heading h1 {
    color: #222;
    font-size: 23px;
  }
  .page-heading p {
    color: #555;
  }
  .professional-table tbody > tr[hidden] {
    display: table-row !important;
  }
  .professional-table .table-sort-button {
    padding: 9px 0;
    color: #333;
    min-height: 0;
  }
  .app-dialog[open] {
    display: block !important;
    max-height: none !important;
    height: auto;
    overflow: visible;
  }
  .app-dialog > #record-form {
    display: block;
    overflow: visible;
  }
  .dialog-body {
    overflow: visible;
    padding: 15px 0;
    max-height: none;
  }
  .dialog-header {
    padding: 10px 0 20px;
    background: white;
  }
  .dialog-header h2 {
    color: #222;
  }
  .clinical-form-section {
    display: block;
  }
  .clinical-print-document .section-symbol {
    display: none;
  }
  .ui-status > svg {
    display: inline-block !important;
  }
  .clinical-stat-strip {
    break-inside: avoid;
  }
  .history-entry {
    box-shadow: none;
    border-color: #ddd;
  }
  .rx-letterhead {
    border-bottom-color: #a0454e;
  }
  .dialog-footer {
    display: none !important;
  }
}
