:root {
  --navy: #172b4d;
  --navy-deep: #12213c;
  --blue: #3568e8;
  --blue-light: #edf3ff;
  --ink: #202d42;
  --muted: #7b8799;
  --border: #e7ebf1;
  --surface: #ffffff;
  --canvas: #f6f8fb;
  --green: #168563;
  --green-light: #e7f7f0;
  --amber: #a96912;
  --amber-light: #fff4df;
  --red: #c44747;
  --red-light: #fff0ef;
  --sidebar-width: 252px;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 13px;
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
button { cursor: pointer; }
button:focus-visible, input:focus-visible {
  outline: 2px solid #84a5ff;
  outline-offset: 2px;
}
.app-shell { min-height: 100vh; }
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--sidebar-width);
  display: flex;
  flex-direction: column;
  background: var(--navy-deep);
  color: #d8e0ef;
  z-index: 20;
}
.brand {
  height: 78px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 23px;
  border-bottom: 1px solid rgba(255,255,255,.09);
}
.brand-mark {
  width: 37px;
  height: 37px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg,#71a0ff,#3867e7);
  color: white;
  font-size: 23px;
  font-weight: 800;
  box-shadow: 0 5px 16px #0d183a;
}
.brand-name { font-size: 22px; font-weight: 750; letter-spacing: -.8px; color: white; }
.brand-caption { margin-top: 3px; font-size: 9px; letter-spacing: 1.6px; color: #9eacc6; }
.workspace-label, .nav-heading {
  padding: 21px 22px 9px;
  font-size: 9px;
  letter-spacing: 1.4px;
  font-weight: 750;
  color: #8e9db7;
}
.practice-switch {
  margin: 0 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px;
  text-align: left;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 9px;
  background: rgba(255,255,255,.055);
  color: white;
}
.practice-icon {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border-radius: 8px; background: #293f63;
  font-size: 19px; color: #a9c4ff;
}
.practice-copy { flex: 1; min-width: 0; }
.practice-copy strong, .practice-copy small { display: block; }
.practice-copy strong { font-size: 11px; font-weight: 650; }
.practice-copy small { margin-top: 4px; color: #9eacc6; font-size: 10px; }
.switch-arrow { color: #9eacc6; }
.navigation { padding: 0 10px; overflow-y: auto; flex: 1; }
.navigation .nav-heading { padding: 20px 11px 8px; }
.nav-item {
  width: 100%;
  min-height: 38px;
  padding: 0 11px;
  margin: 2px 0;
  display: flex;
  align-items: center;
  gap: 11px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #b8c5da;
  text-align: left;
  font-size: 12px;
  transition: background .15s, color .15s;
}
.nav-item:hover { background: rgba(255,255,255,.07); color: white; }
.nav-item.active { background: #2c4d83; color: white; font-weight: 650; }
.nav-icon { width: 18px; text-align: center; font-size: 16px; opacity: .9; }
.nav-count {
  margin-left: auto;
  min-width: 21px;
  text-align: center;
  padding: 3px 5px;
  border-radius: 5px;
  background: #8d3d52;
  color: white;
  font-size: 10px;
}
.sidebar-bottom { padding: 12px; }
.support-card {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 8px;
  margin-bottom: 12px;
  background: rgba(255,255,255,.055);
  border-radius: 8px;
}
.support-symbol {
  width: 27px; height: 27px; flex-shrink: 0;
  border: 1px solid #687b9a; border-radius: 50%;
  display: grid; place-items: center; color: #d8e0ef;
}
.support-card strong, .support-card small { display: block; }
.support-card strong { font-size: 10px; color: #e7edf7; }
.support-card small { margin-top: 4px; color: #9eacc6; font-size: 10px; }
.support-card > span { margin-left: auto; font-size: 20px; }
.profile {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 14px 3px 2px;
  display: flex; align-items: center; gap: 9px;
}
.avatar, .top-avatar {
  width: 32px; height: 32px; flex-shrink: 0;
  display: grid; place-items: center; border-radius: 50%;
  background: #dce7ff; color: #3159ac; font-weight: 750; font-size: 10px;
}
.profile-info { flex: 1; min-width: 0; }
.profile-info strong, .profile-info small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profile-info strong { color: white; font-size: 10px; }
.profile-info small { color: #9eacc6; margin-top: 4px; font-size: 10px; }
.profile-menu { border: 0; color: #b8c5da; background: transparent; font-size: 20px; }

.main-area { min-height: 100vh; margin-left: var(--sidebar-width); display: flex; flex-direction: column; }
.topbar {
  height: 68px;
  flex-shrink: 0;
  background: white;
  border-bottom: 1px solid var(--border);
  padding: 0 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.topbar-left, .topbar-actions { display: flex; align-items: center; gap: 17px; }
.breadcrumbs { color: var(--muted); font-size: 11px; }
.breadcrumbs span { margin: 0 9px; color: #c3cad5; }
.breadcrumbs strong { color: var(--ink); font-weight: 650; }
.topbar-actions { gap: 17px; }
.global-search {
  width: 270px; height: 35px; display: flex; align-items: center; gap: 8px;
  border: 1px solid var(--border); border-radius: 7px; padding: 0 10px;
  background: #fafbfd; color: #8894a6;
}
.global-search > span { font-size: 20px; }
.global-search input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 11px; }
.global-search kbd { white-space: nowrap; font-size: 9px; border: 1px solid #e3e7ee; border-radius: 4px; padding: 3px 4px; color: #8490a1; background: white; }
.icon-button { position: relative; border: 0; background: transparent; color: #65738a; font-size: 20px; }
.notification-button i { position: absolute; right: 1px; top: 1px; width: 6px; height: 6px; border-radius: 50%; background: #ee7777; border: 1px solid white; }
.top-avatar { width: 31px; height: 31px; }
.menu-toggle { display: none; }
.page-content { width: 100%; max-width: 1600px; margin: 0 auto; padding: 28px 30px 36px; flex: 1; }
.app-footer {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 14px 30px; border-top: 1px solid var(--border);
  color: #8c97a7; font-size: 10px; background: #fff;
}
.status-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #d8a04c; margin-right: 5px; }
.page-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 23px; }
.eyebrow { color: var(--blue); font-size: 10px; letter-spacing: 1.1px; font-weight: 750; text-transform: uppercase; margin-bottom: 8px; }
h1 { font-size: 24px; letter-spacing: -.7px; margin: 0; font-weight: 720; color: #1d2b40; }
.page-subtitle { margin: 8px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.heading-actions { display: flex; gap: 9px; align-items: center; }
.button {
  border: 1px solid #dfe5ee; background: white; color: #42516a;
  padding: 10px 13px; border-radius: 7px; font-size: 11px; font-weight: 650;
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
}
.button:hover { background: #f8faff; border-color: #c8d5ed; }
.button.primary { background: var(--blue); border-color: var(--blue); color: white; box-shadow: 0 3px 8px #3568e822; }
.button.primary:hover { background: #2859d0; }
.button.small { padding: 7px 10px; font-size: 10px; }
.metrics-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 15px; margin-bottom: 21px; }
.metric-card {
  background: white; border: 1px solid var(--border); border-radius: 10px;
  padding: 18px; min-width: 0; box-shadow: 0 2px 6px #20395d04;
}
.metric-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.metric-label { color: #68778c; font-size: 11px; font-weight: 550; }
.metric-icon {
  width: 32px; height: 32px; border-radius: 8px; display: grid;
  place-items: center; font-size: 16px; background: var(--blue-light); color: var(--blue);
}
.metric-icon.green { background: var(--green-light); color: var(--green); }
.metric-icon.amber { background: var(--amber-light); color: var(--amber); }
.metric-icon.red { background: var(--red-light); color: var(--red); }
.metric-value { margin-top: 15px; font-size: 26px; letter-spacing: -.7px; font-weight: 740; color: #1c2a40; }
.metric-foot { display: flex; gap: 6px; align-items: center; margin-top: 8px; font-size: 10px; color: #8a95a5; }
.trend { font-weight: 700; color: var(--green); }
.trend.down { color: var(--red); }
.content-grid { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(280px,1fr); gap: 18px; align-items: start; }
.panel { background: white; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; min-width: 0; }
.panel-header { padding: 17px 19px; display: flex; justify-content: space-between; align-items: center; gap: 12px; border-bottom: 1px solid #edf0f5; }
.panel-title { margin: 0; font-size: 13px; font-weight: 700; color: #26354b; }
.panel-description { margin-top: 5px; color: var(--muted); font-size: 10px; }
.text-link { border: 0; background: transparent; color: var(--blue); font-size: 10px; font-weight: 650; white-space: nowrap; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; white-space: nowrap; }
th { padding: 12px 17px; background: #fafbfd; color: #8994a5; font-size: 9px; letter-spacing: .55px; text-transform: uppercase; font-weight: 700; border-bottom: 1px solid #edf0f5; }
td { padding: 14px 17px; border-bottom: 1px solid #f0f2f6; color: #526078; font-size: 11px; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #fafcff; }
.patient-cell { display: flex; align-items: center; gap: 9px; }
.patient-mini { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 8px; background: #edf2fc; color: #496ab2; font-size: 9px; font-weight: 750; }
.patient-name { font-weight: 650; color: #29384f; }
.secondary { color: #8c97a7; font-size: 10px; margin-top: 4px; }
.status {
  display: inline-flex; align-items: center; gap: 5px; padding: 5px 8px;
  border-radius: 5px; font-size: 9px; font-weight: 650;
}
.status:before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.status.green { color: #177a59; background: #e7f7f0; }
.status.amber { color: #99620f; background: #fff4df; }
.status.red { color: #bd4949; background: #fff0ef; }
.status.blue { color: #3761c2; background: #edf3ff; }
.queue-summary { padding: 17px 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.queue-tile { padding: 13px; border: 1px solid #edf0f5; border-radius: 8px; }
.queue-tile span { color: var(--muted); font-size: 10px; }
.queue-tile strong { display: block; margin-top: 8px; font-size: 22px; letter-spacing: -.4px; }
.queue-tile small { display: block; margin-top: 5px; color: #8c97a7; font-size: 9px; }
.queue-tile .urgent { color: var(--red); }
.queue-tile .pending { color: var(--amber); }
.activity-list { padding: 5px 18px 12px; }
.activity-item { display: flex; gap: 11px; padding: 12px 0; border-bottom: 1px solid #f0f2f6; }
.activity-item:last-child { border-bottom: 0; }
.activity-icon { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: #edf3ff; color: var(--blue); flex-shrink: 0; }
.activity-copy { min-width: 0; flex: 1; }
.activity-copy strong { font-size: 10px; color: #334158; font-weight: 650; }
.activity-copy p { font-size: 10px; line-height: 1.55; margin: 5px 0; color: #7c8798; }
.activity-copy time { color: #a0a9b6; font-size: 9px; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 17px; border-bottom: 1px solid #edf0f5; }
.filter-search { display: flex; align-items: center; gap: 8px; border: 1px solid #e3e8f0; border-radius: 6px; padding: 0 10px; height: 34px; min-width: 230px; color: #8b96a7; }
.filter-search input { border: 0; outline: 0; min-width: 0; flex: 1; font-size: 11px; background: transparent; }
.filter-select { height: 34px; padding: 0 10px; border: 1px solid #e3e8f0; border-radius: 6px; color: #58667b; background: white; font-size: 10px; }
.table-footer { padding: 13px 17px; border-top: 1px solid #edf0f5; display: flex; justify-content: space-between; gap: 10px; color: #8994a5; font-size: 10px; }
.empty-state { padding: 45px 20px; text-align: center; color: #8490a1; font-size: 12px; }
.loading-state { padding: 60px; text-align: center; color: var(--muted); }

@media (min-width: 1500px) {
  .page-content { padding-left: 38px; padding-right: 38px; }
  .metrics-grid { gap: 18px; }
  .metric-card { padding: 21px; }
}
@media (max-width: 1150px) {
  :root { --sidebar-width: 225px; }
  .topbar { padding: 0 20px; }
  .page-content { padding: 24px 20px; }
  .metrics-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .content-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .sidebar { transform: translateX(-100%); transition: transform .2s ease; box-shadow: 10px 0 30px #14233b22; }
  .sidebar.open { transform: translateX(0); }
  .main-area { margin-left: 0; }
  .topbar { height: 60px; padding: 0 15px; }
  .menu-toggle { display: inline-block; }
  .global-search { width: min(40vw,220px); }
  .global-search kbd { display: none; }
  .topbar-actions { gap: 10px; }
  .page-content { padding: 21px 14px 28px; }
  .page-heading { flex-direction: column; }
  .heading-actions { width: 100%; }
  .heading-actions .button { flex: 1; }
  .metrics-grid { gap: 10px; }
  .metric-card { padding: 13px; }
  .metric-value { font-size: 23px; }
  .app-footer { padding: 12px 14px; flex-direction: column; }
  .breadcrumbs { font-size: 10px; }
  .top-avatar { display: none; }
}
@media (max-width: 400px) {
  .metrics-grid { grid-template-columns: 1fr 1fr; }
  .metric-label { font-size: 10px; }
  .metric-value { font-size: 21px; }
  .notification-button { display: none; }
}


/* Patient directory enhancements */
.patient-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
  margin: 0 0 20px;
}
.patient-stat {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 17px 19px;
}
.patient-stat span, .patient-stat small { display: block; color: var(--muted); font-size: 10px; }
.patient-stat strong { display: block; color: var(--ink); font-size: 24px; margin: 9px 0 5px; letter-spacing: -.5px; }
.patient-stat small { font-size: 9px; }
.patient-directory-panel { overflow: hidden; }
.patient-directory-heading { padding: 19px 20px; }
.demo-label {
  color: #5570a6;
  background: #eef3ff;
  border-radius: 5px;
  padding: 6px 8px;
  font-size: 9px;
  letter-spacing: .7px;
  font-weight: 750;
  white-space: nowrap;
}
.patient-filters {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 15px 18px;
  border-bottom: 1px solid #edf0f5;
  background: #fff;
}
.patient-main-search { flex: 1 1 250px; }
.patient-filters .filter-select { min-width: 145px; }
.patient-table-footer { align-items: center; }
.patient-privacy-note { color: #8591a2; font-size: 10px; margin: 13px 2px; }
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(16, 30, 53, .48);
  display: grid;
  place-items: center;
  padding: 20px;
}
.patient-modal {
  width: min(100%, 600px);
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 24px 80px #10213d40;
  padding: 24px;
  max-height: 90vh;
  overflow: auto;
}
.patient-modal-header { display: flex; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.patient-modal-header h2 { margin: 0; font-size: 20px; letter-spacing: -.4px; }
.modal-close { border: 0; background: transparent; color: #748198; font-size: 26px; align-self: flex-start; }
.registration-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.registration-grid label { display: flex; flex-direction: column; gap: 7px; color: #526078; font-size: 11px; font-weight: 650; }
.registration-grid input, .registration-grid select {
  width: 100%;
  min-height: 38px;
  border: 1px solid #dfe5ee;
  border-radius: 6px;
  padding: 9px 10px;
  background: #fff;
  color: var(--ink);
  font-size: 12px;
}
.registration-full { grid-column: 1 / -1; }
.patient-modal-footer { display: flex; justify-content: flex-end; gap: 9px; margin-top: 24px; padding-top: 17px; border-top: 1px solid #edf0f5; }
@media (max-width: 760px) {
  .patient-stats { grid-template-columns: 1fr; gap: 9px; }
  .patient-stat { padding: 13px 15px; }
  .patient-stat strong { font-size: 21px; margin: 6px 0 4px; }
  .patient-filters { align-items: stretch; }
  .patient-filters .filter-select, .patient-filters .button { flex: 1 1 130px; }
  .patient-modal { padding: 19px; }
}
@media (max-width: 430px) {
  .registration-grid { grid-template-columns: 1fr; }
  .registration-full { grid-column: auto; }
}


/* Patient EHR chart */
.patient-banner {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  background: #fff; border: 1px solid var(--border); border-radius: 11px;
  padding: 20px; margin-bottom: 14px;
}
.patient-banner-main { display: flex; align-items: center; gap: 15px; min-width: 0; }
.patient-banner-avatar {
  width: 58px; height: 58px; display: grid; place-items: center; flex-shrink: 0;
  border-radius: 13px; background: #e9efff; color: #365eb5; font-size: 18px; font-weight: 750;
}
.patient-banner-name { color: #1d2b40; font-size: 20px; font-weight: 750; letter-spacing: -.45px; }
.patient-banner-meta { display: flex; flex-wrap: wrap; gap: 8px 17px; margin-top: 8px; color: #78869a; font-size: 10px; }
.patient-banner-badges { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 10px; }
.patient-banner-actions { flex-shrink: 0; }
.chart-warning {
  padding: 12px 15px; border: 1px solid #f0dfb5; border-radius: 8px;
  background: #fff8e8; color: #8b641f; line-height: 1.6; font-size: 10px; margin-bottom: 16px;
}
.chart-tabs {
  display: flex; align-items: center; gap: 4px; overflow-x: auto;
  border-bottom: 1px solid #dfe5ee; margin-bottom: 18px;
}
.chart-tab {
  position: relative; white-space: nowrap; border: 0; background: transparent;
  padding: 13px 13px; color: #758197; font-size: 11px; font-weight: 600;
}
.chart-tab:hover { color: var(--blue); }
.chart-tab.active { color: var(--blue); font-weight: 750; }
.chart-tab.active:after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 0; height: 2px; border-radius: 2px; background: var(--blue); }
.chart-tab-content { min-width: 0; }
.chart-overview-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px; }
.chart-card { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 19px; min-width: 0; }
.chart-card h3 { margin: 0 0 13px; color: #2b3950; font-size: 12px; font-weight: 750; }
.chart-muted { color: #8490a1; font-size: 11px; line-height: 1.7; margin: 0 0 13px; }
.vitals-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin-bottom: 14px; }
.vital-tile { padding: 13px; background: #f8faff; border: 1px solid #edf0f6; border-radius: 8px; }
.vital-tile span, .vital-tile small { display: block; color: #7f8ba0; font-size: 10px; }
.vital-tile strong { display: inline-block; margin: 9px 5px 4px 0; color: #26354b; font-size: 22px; letter-spacing: -.4px; }
.chart-timeline { margin-top: 15px; }
.chart-timeline-item { display: flex; align-items: flex-start; gap: 10px; padding: 12px 0; border-top: 1px solid #edf0f5; }
.timeline-dot { width: 8px; height: 8px; border-radius: 50%; background: #7193ed; margin-top: 4px; flex-shrink: 0; }
.chart-timeline-item div { flex: 1; }
.chart-timeline-item strong { font-size: 11px; color: #334158; }
.chart-timeline-item p { margin: 5px 0 0; color: #8490a1; font-size: 10px; line-height: 1.6; }
.chart-section-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.chart-section-heading h3 { margin-bottom: 7px; }
@media (max-width: 760px) {
  .patient-banner { align-items: flex-start; flex-direction: column; padding: 15px; }
  .patient-banner-actions { width: 100%; }
  .patient-banner-actions .button { width: 100%; }
  .patient-banner-name { font-size: 17px; }
  .chart-overview-grid { grid-template-columns: 1fr; }
  .chart-card { padding: 15px; }
  .chart-tabs { margin-right: -2px; }
}


/* Claims work queue */
.claim-demo-banner {
  padding: 12px 15px; margin: 0 0 16px; border: 1px solid #f0dfb5;
  border-radius: 8px; background: #fff8e8; color: #8b641f; font-size: 10px; line-height: 1.6;
}
.claim-metrics { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; margin-bottom: 19px; }
.claim-metric { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 17px 18px; }
.claim-metric span, .claim-metric small { display: block; color: #7f8ba0; font-size: 10px; }
.claim-metric strong { display: block; margin: 10px 0 5px; color: #26354b; font-size: 24px; letter-spacing: -.5px; }
.claim-metric small { font-size: 9px; }
.amber-text { color: #b47a19 !important; }
.red-text { color: #c94d4d !important; }
.claims-work-panel { overflow: hidden; }
.claims-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 15px 17px; border-bottom: 1px solid #edf0f5; }
.claim-search { flex: 1 1 245px; }
.claims-toolbar .filter-select { min-width: 140px; }
.claims-queue-table { min-width: 850px; }
.claim-reference { border: 0; padding: 0; background: transparent; color: #315fc7; font: inherit; font-weight: 750; cursor: pointer; }
.claim-reference:hover { text-decoration: underline; }
.claim-detail-slot { margin-top: 17px; }
.claim-detail-card { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 20px; }
.claim-detail-heading { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.claim-detail-heading h3 { margin: 5px 0 0; font-size: 17px; color: #26354b; }
.claim-detail-status { margin: 13px 0; }
.claim-detail-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 13px; padding: 16px 0; border-top: 1px solid #edf0f5; border-bottom: 1px solid #edf0f5; }
.claim-detail-grid div { min-width: 0; }
.claim-detail-grid span { display: block; margin-bottom: 6px; color: #7f8ba0; font-size: 10px; }
.claim-detail-grid strong { color: #35435a; font-size: 11px; overflow-wrap: anywhere; }
.claim-detail-note { margin-top: 14px; padding: 12px; background: #f8faff; border-radius: 7px; }
.claim-detail-note strong { color: #35435a; font-size: 11px; }
.claim-detail-note p { margin: 6px 0 0; color: #7b879a; font-size: 11px; line-height: 1.6; }
.claim-demo-disclaimer { margin: 14px 0 0; color: #9a6c21; font-size: 10px; line-height: 1.6; }
@media (max-width: 900px) {
  .claim-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .claim-detail-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 560px) {
  .claim-metrics { gap: 8px; }
  .claim-metric { padding: 13px; }
  .claim-metric strong { font-size: 21px; }
  .claims-toolbar .filter-select, .claims-toolbar .button { flex: 1 1 130px; }
  .claim-detail-card { padding: 15px; }
}


/* Charge entry workspace */
.charge-demo-banner { padding:12px 15px; margin-bottom:16px; border:1px solid #f0dfb5; border-radius:8px; background:#fff8e8; color:#8b641f; font-size:10px; line-height:1.6; }
.charge-work-layout { display:grid; grid-template-columns:minmax(0,1.7fr) minmax(250px,.8fr); align-items:start; gap:16px; }
.charge-form-panel { overflow:hidden; }
.charge-form-body { padding:20px; }
.charge-form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:15px; }
.charge-field { display:flex; flex-direction:column; gap:7px; min-width:0; color:#64748b; font-size:10px; font-weight:650; }
.charge-field > span b { color:#d14f4f; }
.charge-field input,.charge-field select { width:100%; min-height:39px; border:1px solid #dfe5ee; border-radius:7px; padding:9px 10px; background:#fff; color:#2b3950; font:inherit; font-size:11px; outline:none; }
.charge-field input:focus,.charge-field select:focus { border-color:#6d8ff0; box-shadow:0 0 0 3px #edf2ff; }
.charge-field-wide { grid-column:1/-1; }
.charge-readonly-field { min-width:0; padding:11px 12px; background:#f8faff; border:1px solid #edf0f6; border-radius:7px; }
.charge-readonly-field span,.charge-readonly-field strong { display:block; overflow-wrap:anywhere; }
.charge-readonly-field span { color:#8792a5; font-size:9px; margin-bottom:7px; }
.charge-readonly-field strong { color:#344158; font-size:11px; }
.charge-subheading { display:flex; justify-content:space-between; align-items:flex-start; gap:10px; margin:24px 0 15px; padding-top:19px; border-top:1px solid #edf0f5; }
.charge-subheading h3 { margin:0 0 6px; font-size:12px; color:#2b3950; }
.charge-subheading p,.charge-subheading > span { margin:0; color:#8792a5; font-size:9px; line-height:1.6; }
.charge-validation { margin-top:17px; padding:12px; background:#f7f9fd; border:1px solid #e7ebf3; border-radius:7px; color:#64748b; font-size:10px; line-height:1.6; }
.charge-validation.error { color:#a83f3f; background:#fff4f3; border-color:#f3d5d2; }
.charge-validation.success { color:#176b50; background:#eefaf5; border-color:#ccebdd; }
.charge-validation ul { margin:7px 0 0; padding-left:19px; }
.charge-form-actions { display:flex; justify-content:flex-end; gap:9px; margin-top:17px; }
.charge-side-column { display:grid; gap:15px; }
.charge-total-card { padding:19px; }
.charge-total { margin:10px 0 4px; color:#23354e; font-size:30px; font-weight:780; letter-spacing:-.7px; overflow-wrap:anywhere; }
.charge-total-card > p { color:#8490a1; font-size:10px; margin:0 0 17px; }
.charge-total-line { display:flex; justify-content:space-between; gap:10px; padding:11px 0 0; margin-top:10px; border-top:1px solid #edf0f5; color:#7f8ba0; font-size:10px; }
.charge-total-line strong { color:#35435a; }
.charge-checklist { padding-left:18px; margin:0 0 15px; color:#65738a; font-size:10px; line-height:2.1; }
.charge-step { display:flex; gap:10px; padding:10px 0; border-top:1px solid #edf0f5; }
.charge-step > span { display:grid; place-items:center; width:25px; height:25px; flex-shrink:0; border-radius:7px; background:#edf3ff; color:#3761c2; font-size:10px; font-weight:750; }
.charge-step strong { color:#35435a; font-size:10px; }
.charge-step p { color:#8490a1; font-size:9px; line-height:1.6; margin:5px 0 0; }
.charge-review-card { margin-top:15px; border:1px solid #ccebdd; background:#fbfffd; border-radius:8px; padding:15px; }
.charge-review-card h3 { margin:7px 0 13px; color:#26354b; font-size:13px; }
.charge-review-card dl { display:grid; grid-template-columns:minmax(85px,.7fr) minmax(0,1.3fr); gap:9px 12px; margin:0; font-size:10px; line-height:1.6; }
.charge-review-card dt { color:#7f8ba0; }
.charge-review-card dd { margin:0; color:#35435a; overflow-wrap:anywhere; }
.charge-review-card > p { margin:13px 0 0; color:#7f8ba0; font-size:9px; line-height:1.6; }
@media (max-width:1000px) { .charge-work-layout { grid-template-columns:1fr; } .charge-side-column { grid-template-columns:repeat(2,minmax(0,1fr)); } .charge-side-column > :last-child { grid-column:1/-1; } }
@media (max-width:600px) { .charge-form-body { padding:14px; } .charge-form-grid { grid-template-columns:1fr; } .charge-field-wide { grid-column:auto; } .charge-side-column { grid-template-columns:1fr; } .charge-side-column > :last-child { grid-column:auto; } .charge-subheading { flex-direction:column; } .charge-total { font-size:26px; } .charge-form-actions { flex-wrap:wrap; } }


/* Multiple CPT/HCPCS service lines */
.charge-service-line { border:1px solid #e4eaf3; border-radius:9px; padding:15px; margin:0 0 12px; background:#fff; }
.charge-service-line-heading { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-bottom:14px; color:#35435a; font-size:11px; }
.charge-service-line-heading button:disabled { opacity:.4; cursor:not-allowed; }
.charge-line-total { display:flex; justify-content:flex-end; gap:8px; margin-top:12px; color:#64748b; font-size:10px; }
.charge-line-total strong { color:#23354e; }
.charge-line-errors { margin-top:7px; color:#a83f3f; font-size:10px; line-height:1.5; }
.charge-add-line-row { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:10px; margin:5px 0 14px; }
.charge-add-line-row > span { color:#8490a1; font-size:9px; }
.charge-review-table-wrap { overflow-x:auto; margin-top:12px; }
.charge-review-table { width:100%; border-collapse:collapse; font-size:10px; }
.charge-review-table th,.charge-review-table td { padding:9px; border-bottom:1px solid #e9edf4; text-align:left; vertical-align:top; }
.charge-review-table th { color:#64748b; background:#f7f9fd; white-space:nowrap; }
.charge-review-table tfoot th { color:#23354e; background:#f8fafc; }


/* Payments & ERA demonstration workspace */
.payments-demo-note { margin:-8px 0 18px; padding:10px 13px; border:1px solid #dce8fb; background:#f4f8ff; border-radius:7px; color:#4162a3; font-size:10px; font-weight:700; letter-spacing:.35px; }
.era-detail-summary { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; padding:16px 18px; }
.era-detail-summary > div { border:1px solid #edf0f5; border-radius:7px; padding:12px; min-width:0; }
.era-detail-summary span { display:block; color:#8994a5; font-size:9px; margin-bottom:7px; }
.era-detail-summary strong { color:#29384f; font-size:13px; overflow-wrap:anywhere; }
.era-alert { color:#bd4949 !important; }
.era-ok { color:#177a59 !important; }
.era-exception { margin:0 18px 14px; padding:11px 12px; border:1px solid #f3d8a8; background:#fff8e9; color:#875b16; border-radius:7px; font-size:10px; line-height:1.5; }
.era-actions { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px; padding:13px 18px; border-top:1px solid #edf0f5; }
@media(max-width:800px) { .era-detail-summary { grid-template-columns:repeat(2,minmax(0,1fr)); } }

/* Payments & ERA demo: positive reconciliation message */
.era-reconciled {
  margin: 12px 16px;
  padding: 12px 14px;
  border: 1px solid #b7e4cf;
  border-radius: 8px;
  background: #effaf4;
  color: #176b45;
  font-size: 12px;
}


/* Denials Work Queue: demo-only controls */
.denial-demo-controls { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin-top:16px; padding-top:16px; border-top:1px solid #edf0f5; }
.denial-demo-controls label { display:flex; flex-direction:column; gap:6px; color:#68768b; font-size:10px; }
.denial-demo-controls select, .denial-demo-controls textarea { width:100%; border:1px solid #e3e8f0; border-radius:6px; padding:9px 10px; color:#35435a; background:#fff; font:inherit; }
.denial-demo-controls textarea { resize:vertical; line-height:1.5; }
.denial-note-field { grid-column:1 / -1; }
.denial-demo-controls .secondary { font-size:10px; color:#8490a1; align-self:center; }
@media(max-width:560px) { .denial-demo-controls { grid-template-columns:1fr; } .denial-note-field { grid-column:auto; } }


/* Denial follow-up history: demo-only activity timeline */
.denial-history {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid #e8edf5;
  border-radius: 8px;
  background: #fff;
}
.denial-history-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.denial-history-heading h4 {
  margin: 0;
  color: #35435a;
  font-size: 12px;
}
.denial-history-heading span {
  color: #8490a1;
  font-size: 10px;
}
.denial-history-empty {
  margin: 0;
  padding: 12px;
  color: #8490a1;
  background: #f8faff;
  border-radius: 6px;
  font-size: 11px;
}
.denial-history-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.denial-history-item {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr);
  gap: 10px;
  position: relative;
  padding-bottom: 16px;
}
.denial-history-item:last-child { padding-bottom: 0; }
.denial-history-dot {
  width: 9px;
  height: 9px;
  margin-top: 4px;
  border-radius: 50%;
  background: #3769e8;
  position: relative;
  z-index: 1;
}
.denial-history-item:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 13px;
  bottom: 0;
  left: 4px;
  width: 1px;
  background: #dfe6f2;
}
.denial-history-entry {
  min-width: 0;
  padding: 10px 12px;
  background: #f8faff;
  border-radius: 6px;
}
.denial-history-entry-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 12px;
}
.denial-history-entry-top strong {
  color: #35435a;
  font-size: 11px;
}
.denial-history-entry time,
.denial-history-meta {
  color: #8490a1;
  font-size: 10px;
}
.denial-history-meta { margin-top: 5px; }
.denial-history-entry p {
  margin: 7px 0 0;
  color: #5d6b80;
  font-size: 11px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}



/* Denial deadline alerts: illustrative demo indicators */
.denial-deadline-alert {
  display: inline-flex;
  align-items: center;
  padding: 4px 7px;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
}
.denial-deadline-alert.overdue,
.denial-deadline-alert.urgent { color: #b42318; background: #fff0ef; }
.denial-deadline-alert.soon { color: #99620f; background: #fff4df; }
.denial-deadline-alert.upcoming { color: #177a59; background: #e7f7f0; }
.denial-deadline-alert.neutral { color: #68768b; background: #eef1f5; }

/* Illustrative denial priority and aging indicators */
.denial-priority {
  display: inline-flex;
  align-items: center;
  padding: 4px 7px;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
}
.denial-priority.red { color: #bd4949; background: #fff0ef; }
.denial-priority.amber { color: #99620f; background: #fff4df; }
.denial-priority.green { color: #177a59; background: #e7f7f0; }
.denial-priority.neutral { color: #68768b; background: #eef1f5; }



/* Claims work queue enhancements: filters, sorting and demo issue tracking */
.claims-toolbar { align-items: stretch; }
.claims-toolbar .filter-select { flex: 0 1 auto; max-width: 100%; }
.claims-queue-table { min-width: 1010px; }
.claim-workflow-editor {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  margin-top: 14px; padding: 13px; border: 1px solid #e7ebf1;
  border-radius: 8px; background: #fbfcff;
}
.claim-workflow-editor label { color: #35435a; font-size: 11px; font-weight: 700; }
.claim-workflow-editor select { min-width: 150px; }
.claim-workflow-actions { display: flex; align-items: center; gap: 7px; }
.claim-workflow-editor span { color: #8490a1; font-size: 10px; }
.claim-workflow-editor button:disabled { opacity: .48; cursor: not-allowed; }
.claim-workflow-message { flex-basis: 100%; }
@media (max-width: 760px) {
  .claims-toolbar .filter-select { flex: 1 1 145px; }
  .claim-workflow-editor { align-items: stretch; flex-direction: column; }
  .claim-workflow-editor select { width: 100%; }
}


/* Synthetic draft-claim review */
.draft-claim-selector {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 18px 0;
  font-weight: 600;
}
.draft-claim-selector select {
  width: 100%;
  max-width: 650px;
}
#draftEncounterDetails {
  margin: 16px 0;
}
#draftClaimReviewPanel .button:disabled {
  opacity: .55;
  cursor: not-allowed;
}


/* === MEDRYZA DESIGN SYSTEM V2 / STEP 102 === */
:root {
  --navy: #112a39;
  --navy-deep: #0b1e2b;
  --blue: #087e88;
  --blue-light: #e8f7f6;
  --ink: #193244;
  --muted: #708394;
  --sidebar-width: 258px;
}
body {
  font-size: 13px;
  background: #f3f7f9;
}
.sidebar {
  background: linear-gradient(180deg,#0b2030 0%,#102d3c 100%);
  border-right: 1px solid #214454;
}
.brand {
  height: 84px;
  padding: 0 22px;
}
.brand-mark {
  background: linear-gradient(145deg,#21c5bb,#087f91);
  box-shadow: 0 7px 20px #03182155;
}
.brand-caption {
  color: #9ac4c9;
}
.workspace-label,.nav-heading {
  color: #8aaab8;
  letter-spacing: 1.3px;
}
.practice-switch {
  border-color: #365568;
  background: #193b4a;
  border-radius: 12px;
}
.navigation {
  padding: 0 12px;
}
.nav-item {
  min-height: 43px;
  padding: 0 13px;
  margin: 3px 0;
  border-radius: 9px;
  gap: 12px;
  font-size: 12px;
}
.nav-item:hover {
  background: #214657;
  color: #fff;
}
.nav-item.active {
  background: linear-gradient(90deg,#087f88,#146e81);
  color: #fff;
  box-shadow: inset 3px 0 0 #65e4d7;
}
.nav-icon {
  display: inline-flex;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  align-items: center;
  justify-content: center;
  opacity: 1;
}
.nav-icon svg {
  display: block;
  width: 19px;
  height: 19px;
}
.nav-count {
  background: #2e6470;
  color: #fff;
  border-radius: 7px;
  font-weight: 700;
}
.support-card {
  background: #193b4b;
  border-radius: 12px;
}
.profile {
  border-top-color: #315061;
}
.topbar {
  background: #fff;
  border-bottom: 1px solid #e1ebef;
}
.page-content {
  max-width: 1700px;
}
h1 {
  font-size: 26px;
  font-weight: 750;
  color: #183446;
}
.eyebrow,.text-link,.claim-reference {
  color: #087e88;
}
.button {
  border-radius: 9px;
  font-size: 12px;
  min-height: 38px;
}
.button.primary {
  background: #087e88;
  border-color: #087e88;
  box-shadow: 0 4px 12px #087e8822;
}
.button.primary:hover {
  background: #066772;
}
.button:focus-visible,
.nav-item:focus-visible,
.filter-select:focus-visible {
  outline: 2px solid #22bcb4;
  outline-offset: 2px;
}
.panel,.metric-card,.claim-detail-card {
  border-radius: 13px;
  border-color: #e0e9ee;
  box-shadow: 0 3px 15px #18394b08;
}
.metric-card {
  padding: 21px;
}
.metric-label {
  font-size: 12px;
}
.panel-title {
  font-size: 14px;
}
th {
  background: #f7fafb;
  color: #60788a;
  font-size: 10px;
}
td {
  font-size: 12px;
}
tbody tr:hover {
  background: #f7fbfc;
}
.filter-select,.global-search {
  border-radius: 9px;
}
.app-footer {
  background: #fff;
}
@media (max-width: 1150px) {
  :root { --sidebar-width: 235px; }
}
@media (max-width: 760px) {
  .sidebar { width: 258px; }
  .nav-item { min-height: 44px; }
}


/* === MEDRYZA TOP NAV V3 === */

:root {
  --sidebar-width: 0px;
  --medryza-indigo: #4f35d7;
  --medryza-violet: #8b5cf6;
  --medryza-deep: #171b46;
  --medryza-surface: #f5f6fc;
}

body {
  background: var(--medryza-surface);
  color: #26304b;
}

.app-shell {
  display: block;
}

.sidebar {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  width: 100% !important;
  height: auto !important;
  min-height: 76px;
  transform: none !important;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 28px;
  background: #fff !important;
  border-right: none;
  border-bottom: 1px solid #e5e7f1;
  box-shadow: 0 3px 16px #171b4608;
  overflow: visible;
  z-index: 100;
}

.sidebar .brand {
  flex: 0 0 auto;
  height: 76px;
  padding: 0;
  border: none;
}

.brand-mark {
  background: linear-gradient(
    135deg,
    #4f35d7,
    #9c67f7
  ) !important;
}

.brand-name {
  color: #171b46;
}

.brand-caption {
  color: #8076a5;
}

.sidebar .navigation {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 8px;
  padding: 0;
  overflow: visible;
}

.sidebar .nav-item {
  color: #4d5672;
  margin: 0;
  min-height: 42px;
  white-space: nowrap;
}

.sidebar .nav-item:hover {
  background: #f1edff;
  color: #4f35d7;
}

.sidebar .nav-item.active {
  background: #eee9ff;
  color: #4f35d7;
  box-shadow: inset 0 -3px 0 #6d4be8;
}

.sidebar .nav-icon svg {
  width: 18px;
  height: 18px;
}

.medryza-nav-group {
  position: relative;
}

.medryza-group-trigger {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 13px;
  border: 0;
  background: transparent;
  border-radius: 9px;
  color: #4d5672;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}

.medryza-group-trigger:hover,
.medryza-nav-group:focus-within > .medryza-group-trigger {
  background: #f1edff;
  color: #4f35d7;
}

.medryza-group-icon {
  color: #7353e8;
  font-size: 19px;
}

.medryza-chevron {
  color: #938cae;
}

.medryza-dropdown {
  display: none;
  position: absolute;
  top: calc(100% - 2px);
  left: 0;
  width: 245px;
  padding: 9px;
  background: white;
  border: 1px solid #e6e2f3;
  border-radius: 13px;
  box-shadow: 0 16px 35px #171b4620;
  z-index: 200;
}

.medryza-nav-group:hover .medryza-dropdown,
.medryza-nav-group:focus-within .medryza-dropdown {
  display: block;
}

.medryza-dropdown .nav-item {
  width: 100%;
  text-align: left;
  margin: 2px 0;
}

.medryza-header-right {
  display: flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
}

.medryza-practice-label {
  color: #59627d;
  font-weight: 650;
  font-size: 12px;
}

.medryza-signout {
  border: 1px solid #e3def5;
  border-radius: 8px;
  background: #f7f4ff;
  color: #4f35d7;
  padding: 9px 13px;
  cursor: pointer;
}

.medryza-signout:hover {
  background: #eee8ff;
}

.main-area {
  margin-left: 0 !important;
  width: 100%;
  min-height: calc(100vh - 76px);
}

.topbar {
  background: #fff;
  border-bottom: 1px solid #e8e7f0;
}

.page-content {
  max-width: 1800px;
  padding: 28px 34px 40px;
}

.button.primary {
  background: #4f35d7;
  border-color: #4f35d7;
}

.button.primary:hover {
  background: #3923b4;
}

.eyebrow,
.text-link,
.claim-reference {
  color: #6245dc;
}

.panel,
.metric-card,
.claim-detail-card {
  border-color: #e6e7f1;
  box-shadow: 0 5px 20px #171b4608;
}

@media (max-width: 1100px) {
  .sidebar {
    flex-wrap: wrap;
    gap: 6px 18px;
    padding: 10px 18px;
  }

  .sidebar .brand {
    height: 52px;
  }

  .sidebar .navigation {
    order: 3;
    flex-basis: 100%;
  }

  .medryza-header-right {
    margin-left: auto;
  }
}

@media (max-width: 760px) {
  .sidebar {
    position: relative !important;
    transform: none !important;
    width: 100% !important;
    padding: 12px;
  }

  .sidebar .navigation {
    display: flex;
    overflow-x: auto;
    padding-bottom: 5px;
  }

  .medryza-group-trigger {
    white-space: nowrap;
  }

  .medryza-practice-label {
    display: none;
  }

  .medryza-dropdown {
    position: fixed;
    top: 130px;
    left: 12px;
    width: min(280px, calc(100vw - 24px));
  }

  .main-area {
    margin-left: 0 !important;
  }

  .page-content {
    padding: 20px 14px;
  }
}


/* MEDRYZA STEP 105B */
.medryza-step105b .sidebar {
  position: relative !important;
  inset: auto !important;
  transform: none !important;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 24px !important;
  width: 100% !important;
  min-height: 86px !important;
  height: auto !important;
  padding: 14px 30px !important;
  box-sizing: border-box;
  background: #fff !important;
  overflow: visible !important;
}
.medryza-step105b .sidebar .brand {
  flex: 0 0 165px !important;
  min-width: 0 !important;
  width: 165px !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}
.medryza-step105b .sidebar .navigation {
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 14px !important;
  width: auto !important;
  min-width: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: visible !important;
  order: 0 !important;
}
.medryza-step105b .navigation > .nav-item,
.medryza-step105b .medryza-group-trigger {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  width: auto !important;
  min-height: 54px !important;
  padding: 12px 17px !important;
  border-radius: 13px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
}
.medryza-step105b .navigation > .nav-item {
  background: #eee9ff !important;
  color: #5038bc !important;
}
.medryza-step105b .navigation > .nav-item.active {
  box-shadow: inset 0 -3px 0 #6d4be8 !important;
}
.medryza-step105b .nav-icon {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex: 0 0 24px;
}
.medryza-step105b .nav-icon svg,
.medryza-step105b .medryza-group-icon svg {
  display: block !important;
  width: 24px !important;
  height: 24px !important;
}
.medryza-step105b .medryza-group-icon {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 28px !important;
  height: 28px !important;
  flex: 0 0 28px;
}
.medryza-step105b .medryza-nav-group {
  position: relative !important;
  flex: 0 0 auto !important;
}
.medryza-step105b .medryza-nav-group:nth-child(2)
.medryza-group-trigger {
  background: #dff7ed !important;
  color: #047857 !important;
}
.medryza-step105b .medryza-nav-group:nth-child(3)
.medryza-group-trigger {
  background: #e0f1ff !important;
  color: #0369a1 !important;
}
.medryza-step105b .medryza-nav-group:nth-child(4)
.medryza-group-trigger {
  background: #fff0dd !important;
  color: #b45309 !important;
}
.medryza-step105b .medryza-group-trigger:hover {
  filter: brightness(.96);
}
.medryza-step105b .medryza-dropdown {
  display: none !important;
  position: absolute !important;
  top: calc(100% + 5px) !important;
  left: 0 !important;
  min-width: 250px !important;
  padding: 10px !important;
  background: #fff !important;
  border: 1px solid #e8e4f3 !important;
  border-radius: 14px !important;
  box-shadow: 0 16px 40px #1e1b4b24 !important;
  z-index: 300 !important;
}
.medryza-step105b .medryza-nav-group.is-open
.medryza-dropdown {
  display: block !important;
}
.medryza-step105b .medryza-dropdown .nav-item {
  display: flex !important;
  width: 100% !important;
  justify-content: flex-start !important;
  padding: 11px 13px !important;
  min-height: 44px !important;
}
.medryza-step105b .medryza-header-right {
  display: flex !important;
  flex: 0 0 auto !important;
  align-items: center !important;
  gap: 12px !important;
  margin: 0 !important;
}
.medryza-step105b .main-area {
  margin-left: 0 !important;
  width: 100% !important;
}
.medryza-step105b .menu-toggle {
  display: none !important;
}
@media (max-width: 1180px) {
  .medryza-step105b .sidebar {
    flex-wrap: wrap !important;
    gap: 12px !important;
  }
  .medryza-step105b .sidebar .navigation {
    order: 3 !important;
    flex-basis: 100% !important;
    justify-content: flex-start !important;
    flex-wrap: wrap !important;
  }
  .medryza-step105b .medryza-header-right {
    margin-left: auto !important;
  }
}
@media (max-width: 650px) {
  .medryza-step105b .sidebar {
    padding: 12px !important;
  }
  .medryza-step105b .sidebar .navigation {
    gap: 7px !important;
  }
  .medryza-step105b .navigation > .nav-item,
  .medryza-step105b .medryza-group-trigger {
    padding: 10px !important;
    min-height: 46px !important;
    font-size: 12px !important;
  }
  .medryza-step105b .medryza-practice-label {
    display: none !important;
  }
  .medryza-step105b .medryza-dropdown {
    position: absolute !important;
    width: min(250px, calc(100vw - 24px)) !important;
  }
}


/* MEDRYZA STEP 106B FULL WIDTH */

/* Full-width desktop workspace */
html, body {
  width: 100%;
  min-height: 100%;
}

.medryza-step105b {
  width: 100%;
  max-width: none;
  min-height: 100vh;
}

.medryza-step105b .main-area {
  width: 100% !important;
  max-width: none !important;
  min-width: 0;
}

.medryza-step105b .page-content {
  width: 100% !important;
  max-width: none !important;
  min-width: 0;
  box-sizing: border-box;
  margin: 0 !important;
  padding: 28px 30px 38px !important;
}

/* Consistent readable typography */
.medryza-step105b {
  font-size: 15px;
  line-height: 1.5;
}

.medryza-step105b .page-content {
  font-size: 15px;
}

.medryza-step105b h1 {
  font-size: clamp(27px, 1.9vw, 34px);
  line-height: 1.25;
}

.medryza-step105b .page-subtitle {
  font-size: 14px;
  line-height: 1.6;
}

.medryza-step105b .eyebrow {
  font-size: 11px;
  letter-spacing: 1px;
}

.medryza-step105b .page-heading {
  margin-bottom: 25px;
}

/* Clinical chart */
.medryza-step105b .patient-banner-name {
  font-size: 25px;
}

.medryza-step105b .patient-banner-meta {
  font-size: 13px;
}

.medryza-step105b .patient-banner-avatar {
  width: 66px;
  height: 66px;
  font-size: 21px;
}

.medryza-step105b .chart-warning {
  font-size: 13px;
  line-height: 1.6;
  padding: 14px 18px;
}

.medryza-step105b .chart-tab {
  font-size: 14px;
  padding: 15px 17px;
}

.medryza-step105b .chart-card {
  padding: 23px;
  border-radius: 13px;
}

.medryza-step105b .chart-card h3 {
  font-size: 17px;
  line-height: 1.4;
}

.medryza-step105b .chart-muted {
  font-size: 13px;
  line-height: 1.65;
}

.medryza-step105b .chart-overview-grid {
  gap: 20px;
}

.medryza-step105b .vitals-grid {
  gap: 13px;
}

.medryza-step105b .vital-tile {
  padding: 18px;
  border-radius: 10px;
}

.medryza-step105b .vital-tile span,
.medryza-step105b .vital-tile small {
  font-size: 12px;
}

.medryza-step105b .vital-tile strong {
  font-size: 28px;
}

.medryza-step105b .chart-timeline-item strong {
  font-size: 14px;
}

.medryza-step105b .chart-timeline-item p {
  font-size: 13px;
}

/* Dashboard KPI cards */
.medryza-step105b .metrics-grid {
  gap: 20px;
}

.medryza-step105b .metric-card {
  padding: 24px;
  border-radius: 13px;
}

.medryza-step105b .metric-label {
  font-size: 14px;
}

.medryza-step105b .metric-value {
  font-size: 32px;
}

.medryza-step105b .metric-foot {
  font-size: 12px;
}

/* Panels, tables and work queues */
.medryza-step105b .content-grid {
  gap: 20px;
}

.medryza-step105b .panel {
  border-radius: 13px;
}

.medryza-step105b .panel-header {
  padding: 20px 22px;
}

.medryza-step105b .panel-title {
  font-size: 17px;
}

.medryza-step105b .panel-description {
  font-size: 13px;
}

.medryza-step105b .table-wrap {
  max-width: 100%;
  overflow-x: auto;
}

.medryza-step105b table {
  width: 100%;
}

.medryza-step105b th {
  font-size: 12px;
  padding: 15px 18px;
}

.medryza-step105b td {
  font-size: 14px;
  padding: 16px 18px;
}

.medryza-step105b .secondary,
.medryza-step105b .patient-privacy-note {
  font-size: 12px;
}

.medryza-step105b .status {
  font-size: 12px;
}

.medryza-step105b .patient-mini {
  width: 36px;
  height: 36px;
  font-size: 12px;
}

/* Buttons and inputs */
.medryza-step105b .button {
  font-size: 14px;
  padding: 12px 17px;
  min-height: 42px;
}

.medryza-step105b .button.small {
  font-size: 12px;
  padding: 9px 13px;
  min-height: 36px;
}

.medryza-step105b .filter-search,
.medryza-step105b .filter-select {
  min-height: 42px;
}

.medryza-step105b .filter-search input,
.medryza-step105b .filter-select {
  font-size: 14px;
}

.medryza-step105b .registration-grid label {
  font-size: 14px;
}

.medryza-step105b .registration-grid input,
.medryza-step105b .registration-grid select {
  font-size: 14px;
  min-height: 42px;
}

.medryza-step105b .text-link {
  font-size: 13px;
}

/* Navigation and utility bar */
.medryza-step105b .breadcrumbs {
  font-size: 13px;
}

.medryza-step105b .global-search input {
  font-size: 13px;
}

.medryza-step105b .navigation > .nav-item,
.medryza-step105b .medryza-group-trigger {
  font-size: 14px !important;
}

.medryza-step105b .medryza-dropdown .nav-item {
  font-size: 14px !important;
}

/* Additional responsive safeguards */
@media (min-width: 1600px) {
  .medryza-step105b .page-content {
    padding: 32px 36px 44px !important;
  }
}

@media (max-width: 1100px) {
  .medryza-step105b .page-content {
    padding: 24px 20px 32px !important;
  }
}

@media (max-width: 760px) {
  .medryza-step105b .page-content {
    padding: 18px 14px 26px !important;
  }

  .medryza-step105b .chart-overview-grid,
  .medryza-step105b .content-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .medryza-step105b .chart-card {
    padding: 17px;
  }

  .medryza-step105b .chart-tab {
    font-size: 13px;
    padding: 12px;
  }

  .medryza-step105b .metric-card {
    padding: 17px;
  }

  .medryza-step105b .metric-value {
    font-size: 27px;
  }

  .medryza-step105b .page-heading {
    gap: 15px;
  }
}

@media (max-width: 420px) {
  .medryza-step105b .vitals-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .medryza-step105b .page-content {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
}


/* MEDRYZA STEP 107 PATIENT CHART */

/* Patient identity banner */
.medryza-step105b .patient-banner {
  background: linear-gradient(
    110deg, #ffffff 0%, #ffffff 72%, #f5f2ff 100%
  );
  border: 1px solid #e1e5f0;
  border-radius: 16px;
  padding: 23px 26px;
  box-shadow: 0 5px 22px rgba(36, 42, 87, .035);
}

.medryza-step105b .patient-banner-main {
  gap: 20px;
  align-items: center;
}

.medryza-step105b .patient-banner-avatar {
  width: 72px;
  height: 72px;
  border-radius: 17px;
  background: linear-gradient(145deg, #e4e8ff, #edf2ff);
  color: #4f46e5;
  font-size: 24px;
  font-weight: 800;
}

.medryza-step105b .patient-banner-name {
  font-size: clamp(23px, 1.65vw, 29px);
  line-height: 1.2;
  letter-spacing: -.6px;
  color: #17243d;
}

.medryza-step105b .patient-banner-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  margin-top: 11px;
  font-size: 13px;
  color: #58677f;
}

.medryza-step105b .patient-banner-badges {
  gap: 9px;
  margin-top: 13px;
}

.medryza-step105b .patient-banner-actions {
  align-self: center;
}

/* Demo safety notice remains clearly visible */
.medryza-step105b .chart-warning {
  border-radius: 11px;
  border: 1px solid #f0d9a6;
  background: #fff8e9;
  color: #81591c;
  padding: 15px 19px;
  font-size: 13px;
  line-height: 1.6;
  margin-top: 13px;
  margin-bottom: 19px;
}

/* Clinical navigation */
.medryza-step105b .chart-tabs {
  display: flex;
  align-items: center;
  gap: 5px;
  overflow-x: auto;
  max-width: 100%;
  border-bottom: 1px solid #dfe5f0;
  margin-bottom: 20px;
  scrollbar-width: thin;
}

.medryza-step105b .chart-tab {
  flex: 0 0 auto;
  min-height: 48px;
  padding: 13px 17px;
  font-size: 14px;
  font-weight: 650;
  color: #65748d;
  transition: color .15s ease, background .15s ease;
}

.medryza-step105b .chart-tab:hover {
  color: #4f46e5;
  background: #f4f2ff;
}

.medryza-step105b .chart-tab.active {
  color: #087e87;
  font-weight: 750;
}

/* Clinical cards */
.medryza-step105b .chart-overview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.medryza-step105b .chart-card {
  min-width: 0;
  padding: 22px 24px;
  background: #ffffff;
  border: 1px solid #e1e6f0;
  border-radius: 15px;
  box-shadow: 0 3px 14px rgba(30, 44, 85, .025);
}

.medryza-step105b .chart-card h3 {
  font-size: 17px;
  font-weight: 750;
  line-height: 1.35;
  margin-bottom: 15px;
  color: #172942;
}

.medryza-step105b .chart-muted {
  font-size: 13px;
  line-height: 1.65;
  color: #697891;
}

.medryza-step105b .chart-card .text-link {
  display: inline-flex;
  align-items: center;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #5140c5;
}

/* Vitals */
.medryza-step105b .vitals-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
  margin-bottom: 16px;
}

.medryza-step105b .vital-tile {
  position: relative;
  min-width: 0;
  min-height: 112px;
  padding: 18px 20px;
  background: #f7f9fd;
  border: 1px solid #e6ebf5;
  border-radius: 12px;
}

.medryza-step105b .vital-tile:nth-child(1) {
  background: #f0f4ff;
  border-color: #dfe7ff;
}

.medryza-step105b .vital-tile:nth-child(2) {
  background: #f0faf7;
  border-color: #d9efe6;
}

.medryza-step105b .vital-tile:nth-child(3) {
  background: #fff8f0;
  border-color: #f6e9d8;
}

.medryza-step105b .vital-tile:nth-child(4) {
  background: #f2f7ff;
  border-color: #dfeafa;
}

.medryza-step105b .vital-tile span,
.medryza-step105b .vital-tile small {
  font-size: 12px;
  line-height: 1.45;
  color: #65758d;
}

.medryza-step105b .vital-tile strong {
  display: inline-block;
  margin-top: 10px;
  font-size: 29px;
  font-weight: 800;
  line-height: 1.2;
  color: #172b48;
  letter-spacing: -.7px;
}

/* Activity and clinical details */
.medryza-step105b .chart-timeline {
  margin-top: 14px;
}

.medryza-step105b .chart-timeline-item {
  padding: 16px 0;
  gap: 14px;
}

.medryza-step105b .timeline-dot {
  width: 9px;
  height: 9px;
  background: #6d5bea;
  margin-top: 7px;
}

.medryza-step105b .chart-timeline-item strong {
  font-size: 14px;
  color: #263550;
}

.medryza-step105b .chart-timeline-item p {
  font-size: 13px;
  color: #6c7b92;
}

/* Readability and accessibility */
.medryza-step105b .chart-tab:focus-visible,
.medryza-step105b .chart-card button:focus-visible,
.medryza-step105b .patient-banner button:focus-visible {
  outline: 3px solid #a5a0f5;
  outline-offset: 2px;
}

/* Responsive patient workspace */
@media (max-width: 1000px) {
  .medryza-step105b .chart-overview-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .medryza-step105b .patient-banner {
    padding: 20px;
  }
}

@media (max-width: 650px) {
  .medryza-step105b .patient-banner {
    padding: 16px;
  }

  .medryza-step105b .patient-banner-main {
    gap: 12px;
    flex-wrap: wrap;
  }

  .medryza-step105b .patient-banner-avatar {
    width: 56px;
    height: 56px;
    font-size: 19px;
  }

  .medryza-step105b .patient-banner-name {
    font-size: 22px;
  }

  .medryza-step105b .patient-banner-meta {
    font-size: 12px;
  }

  .medryza-step105b .patient-banner-actions {
    flex-basis: 100%;
  }

  .medryza-step105b .chart-card {
    padding: 17px;
  }

  .medryza-step105b .vital-tile {
    padding: 14px;
    min-height: 100px;
  }

  .medryza-step105b .vital-tile strong {
    font-size: 24px;
  }
}

@media (max-width: 400px) {
  .medryza-step105b .vitals-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}


/* MEDRYZA STEP 108B3 */

/* Patient directory table */
.medryza-step105b #patientTable {
  width: 100%;
}

.medryza-step105b #patientTable .table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid #e1e6f0;
  border-radius: 14px;
}

.medryza-step105b #patientTable table {
  width: 100%;
  min-width: 800px;
  border-collapse: collapse;
  background: #fff;
}

.medryza-step105b #patientTable thead {
  background: #f3f6fc;
}

.medryza-step105b #patientTable th {
  padding: 17px 20px;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: #5b6c86;
  text-align: left;
  border-bottom: 1px solid #dfe6f0;
}

.medryza-step105b #patientTable td {
  padding: 18px 20px;
  font-size: 14px;
  line-height: 1.5;
  color: #33445f;
  vertical-align: middle;
  border-bottom: 1px solid #edf0f6;
}

.medryza-step105b #patientTable tbody tr:hover {
  background: #f8f7ff;
}

.medryza-step105b #patientTable td:first-child {
  font-weight: 750;
  color: #1d3150;
}

.medryza-step105b #patientTable td:nth-child(2) {
  font-size: 12px;
  color: #66768d;
  overflow-wrap: anywhere;
}

/* Status badges */
.medryza-step105b .medryza-patient-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border-radius: 999px;
  background: #eef1f7;
  color: #52627a;
  font-size: 12px;
  font-weight: 750;
  text-transform: capitalize;
}

.medryza-step105b .medryza-patient-status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.medryza-step105b
.medryza-patient-status[data-status="active"] {
  background: #e5f7ee;
  color: #147d58;
}

.medryza-step105b
.medryza-patient-status[data-status="inactive"] {
  background: #fff0e2;
  color: #ad641b;
}

/* View Patient button */
.medryza-step105b .medryza-view-patient {
  appearance: none;
  min-height: 40px;
  padding: 9px 16px;
  background: #eeeaff;
  border: 1px solid #d7d0ff;
  border-radius: 9px;
  color: #503ac2;
  font-family: inherit;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
}

.medryza-step105b .medryza-view-patient:hover {
  background: #e1dbff;
  border-color: #bfb3ff;
}

.medryza-step105b .medryza-view-patient:focus-visible {
  outline: 3px solid #a5a0f5;
  outline-offset: 2px;
}

/* Search and status filter */
.medryza-step105b #patientSearch,
.medryza-step105b #patientStatus {
  font-size: 14px;
  min-height: 44px;
}

/* Directory summary typography */
.medryza-step105b .patient-stat span {
  font-size: 14px;
  font-weight: 650;
}

.medryza-step105b .patient-stat strong {
  font-size: 38px;
  font-weight: 800;
}

.medryza-step105b .patient-stat small {
  font-size: 12px;
}

@media (max-width: 800px) {
  .medryza-step105b #patientTable table {
    min-width: 760px;
  }
}


/* MEDRYZA STEP 109B */

.medryza-step105b .medryza-dashboard-v109 {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.medryza-dashboard-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.medryza-dashboard-heading h1 {
  font-size: 30px;
  font-weight: 800;
  margin: 7px 0;
  color: #162c47;
}

.medryza-dashboard-heading p {
  color: #71819a;
  font-size: 14px;
  margin: 0;
}

.medryza-dashboard-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.medryza-dashboard-notice {
  background: #f0edff;
  border: 1px solid #ddd6ff;
  color: #5542a3;
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 13px;
  line-height: 1.6;
}

.medryza-dashboard-notice strong {
  margin-right: 12px;
}

.medryza-dashboard-kpis {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 16px;
}

.medryza-dashboard-kpi {
  background: white;
  border: 1px solid #e1e6f0;
  border-radius: 14px;
  padding: 23px;
  min-width: 0;
  border-top: 4px solid #7764e9;
}

.medryza-dashboard-kpi.teal { border-top-color: #14a89b; }
.medryza-dashboard-kpi.orange { border-top-color: #e69c4b; }
.medryza-dashboard-kpi.blue { border-top-color: #5798ef; }

.medryza-dashboard-kpi-label {
  font-size: 13px;
  font-weight: 700;
  color: #60728b;
}

.medryza-dashboard-kpi-value {
  margin: 16px 0 10px;
  font-size: 37px;
  font-weight: 800;
  color: #1b304e;
  line-height: 1.1;
}

.medryza-dashboard-kpi-note {
  font-size: 12px;
  color: #8a98aa;
}

.medryza-dashboard-main {
  display: grid;
  grid-template-columns: minmax(0,1.6fr) minmax(320px,1fr);
  gap: 18px;
  align-items: start;
}

.medryza-dashboard-bottom {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 18px;
}

.medryza-dashboard-section {
  background: white;
  border: 1px solid #e1e6f0;
  border-radius: 14px;
  overflow: hidden;
  min-width: 0;
}

.medryza-dashboard-section-header {
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #edf0f6;
}

.medryza-dashboard-section-header h2 {
  font-size: 17px;
  font-weight: 800;
  color: #1d304d;
  margin: 0;
}

.medryza-dashboard-section-header p {
  font-size: 12px;
  color: #8290a4;
  margin: 7px 0 0;
}

.medryza-dashboard-table {
  overflow-x: auto;
}

.medryza-dashboard-table table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
}

.medryza-dashboard-table th {
  background: #f5f7fb;
  color: #60718a;
  text-align: left;
  padding: 15px 18px;
  font-size: 11px;
  text-transform: uppercase;
}

.medryza-dashboard-table td {
  padding: 17px 18px;
  font-size: 13px;
  border-bottom: 1px solid #edf0f6;
  color: #354863;
}

.medryza-dashboard-id {
  font-size: 11px !important;
  overflow-wrap: anywhere;
}

.medryza-dashboard-table .medryza-view-patient {
  padding: 8px 12px;
  border-radius: 8px;
  background: #eeeaff;
  border: 1px solid #d7d0ff;
  color: #503ac2;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
}

.medryza-dashboard-table .medryza-patient-status {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 99px;
  background: #e5f7ee;
  color: #147d58;
  text-transform: capitalize;
  font-size: 12px;
  font-weight: 750;
}

.medryza-dashboard-shortcuts {
  padding: 18px;
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 12px;
}

.medryza-dashboard-shortcuts button {
  text-align: left;
  padding: 18px;
  border: 1px solid #e1e6f0;
  border-radius: 12px;
  background: #fafbff;
  cursor: pointer;
}

.medryza-dashboard-shortcuts button:hover {
  background: #f1edff;
  border-color: #d2c8ff;
}

.medryza-dashboard-shortcuts span {
  display: block;
  color: #243856;
  font-weight: 750;
  font-size: 14px;
}

.medryza-dashboard-shortcuts small {
  display: block;
  margin-top: 8px;
  color: #8290a4;
  font-size: 12px;
  line-height: 1.5;
}

.medryza-aging-grid {
  padding: 18px;
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 12px;
}

.medryza-aging-grid > div {
  border: 1px solid #e5e9f2;
  border-radius: 10px;
  padding: 16px 12px;
}

.medryza-aging-grid span,
.medryza-aging-grid small {
  display: block;
  color: #7d8da4;
  font-size: 12px;
}

.medryza-aging-grid strong {
  display: block;
  font-size: 27px;
  margin: 12px 0;
  color: #253a57;
}

.medryza-readiness {
  padding: 12px 22px;
}

.medryza-readiness > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid #edf0f6;
  font-size: 13px;
}

.medryza-readiness > div:last-child {
  border-bottom: 0;
}

.medryza-readiness span {
  color: #526783;
}

.medryza-readiness strong {
  color: #7161a8;
  font-size: 12px;
}

.medryza-dashboard-empty {
  padding: 35px 20px;
  color: #8090a4;
  font-size: 13px;
  text-align: center;
}

@media (max-width: 1100px) {
  .medryza-dashboard-kpis {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .medryza-dashboard-main,
  .medryza-dashboard-bottom {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 650px) {
  .medryza-dashboard-kpis,
  .medryza-dashboard-shortcuts,
  .medryza-aging-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .medryza-dashboard-heading h1 {
    font-size: 24px;
  }
  .medryza-dashboard-kpi {
    padding: 17px;
  }
  .medryza-dashboard-kpi-value {
    font-size: 29px;
  }
}


/* MEDRYZA STEP 110B2 */
.medryza-step105b .medryza-claims-overview {
  margin-bottom: 16px;
}
.medryza-step105b .medryza-claims-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 14px;
}
.medryza-step105b .medryza-claims-summary
.medryza-dashboard-metric {
  min-width: 0;
}
.medryza-step105b .medryza-claims-disclaimer {
  padding: 0 16px 14px;
  margin: 0;
  font-size: 12px;
  color: #66768d;
}
@media (max-width: 1000px) {
  .medryza-step105b .medryza-claims-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .medryza-step105b .medryza-claims-summary {
    grid-template-columns: 1fr;
  }
}
