/*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/.pnpm/next@15.5.18_@playwright+test@1.59.1_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!../../node_modules/.pnpm/next@15.5.18_@playwright+test@1.59.1_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./src/app/globals.css ***!
  \*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
:root {
  color-scheme: light;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: #f7f8fa;
  color: #172033;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
}

.brand-bar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 18px 32px 0;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
  color: #172033;
  text-decoration: none;
}

.brand-logo {
  display: inline-grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid #9ed8cc;
  border-radius: 8px;
  background: #0f6b63;
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-copy {
  display: grid;
  min-width: 0;
  grid-gap: 1px;
  gap: 1px;
}

.brand-name {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.2;
}

.brand-subtitle {
  color: #566174;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.platform-switcher {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
  min-width: min(100%, 560px);
  border: 1px solid #d8efe9;
  border-radius: 8px;
  background: #f4fbf9;
  padding: 10px;
}

.platform-switcher-fields,
.platform-switcher-actions {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.platform-switcher label {
  display: grid;
  min-width: 160px;
  grid-gap: 4px;
  gap: 4px;
  color: #384255;
  font-size: 12px;
  font-weight: 800;
}

.platform-switcher select {
  min-height: 36px;
  border: 1px solid #b8c8d9;
  border-radius: 6px;
  background: #ffffff;
  color: #172033;
  font-size: 14px;
  padding: 6px 10px;
}

.platform-switcher button {
  min-height: 36px;
  border: 0;
  border-radius: 6px;
  background: #0f6b63;
  color: #ffffff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  padding: 8px 12px;
}

.platform-switcher button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.platform-switcher .secondary-button {
  background: #dfe7ef;
  color: #172033;
}

.platform-switcher-status {
  color: #566174;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}

.platform-context-panel {
  display: grid;
  grid-gap: 18px;
  gap: 18px;
  width: min(100%, 760px);
  border: 1px solid #d9dee8;
  border-radius: 8px;
  background: #ffffff;
  padding: 28px;
  box-shadow: 0 12px 34px rgb(16 24 40 / 8%);
}

.platform-context-form {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(180px, 240px) auto;
  align-items: end;
  grid-gap: 12px;
  gap: 12px;
}

.platform-context-form label {
  display: grid;
  grid-gap: 6px;
  gap: 6px;
  color: #384255;
  font-size: 14px;
  font-weight: 800;
}

.platform-context-form select {
  min-height: 42px;
  border: 1px solid #cbd3df;
  border-radius: 6px;
  background: #ffffff;
  color: #172033;
  padding: 8px 12px;
}

.platform-context-form button {
  min-height: 42px;
  border: 0;
  border-radius: 6px;
  background: #0f6b63;
  color: #ffffff;
  cursor: pointer;
  font-weight: 800;
  padding: 10px 14px;
}

.platform-context-form button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.platform-context-note {
  color: #566174;
  font-size: 15px;
  font-weight: 700;
}

button,
input,
textarea,
select {
  font: inherit;
}

button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
a:focus-visible {
  outline: 3px solid #2b7fff;
  outline-offset: 2px;
}

a {
  color: #0f6b63;
}

.shell {
  display: grid;
  min-height: calc(100vh - 60px);
  place-items: center;
  padding: 32px;
}

.panel {
  width: min(100%, 760px);
  border: 1px solid #d9dee8;
  border-radius: 8px;
  background: #ffffff;
  padding: 32px;
  box-shadow: 0 12px 34px rgb(16 24 40 / 8%);
}

.eyebrow {
  margin: 0 0 8px;
  color: #566174;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 16px;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.1;
}

p {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
}

.review-shell {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 32px;
}

.review-header {
  margin-bottom: 28px;
}

.demo-warning {
  margin-bottom: 18px;
  border: 1px solid #f6c85f;
  border-radius: 8px;
  background: #fff7dc;
  color: #5f4100;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  padding: 12px 14px;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  grid-gap: 16px;
  gap: 16px;
}

.document-review-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 420px);
  grid-template-areas: "workspace preview";
  align-items: start;
  grid-gap: 16px;
  gap: 16px;
}

.document-review-workspace {
  grid-area: workspace;
}

.document-review-preview {
  position: -webkit-sticky;
  position: sticky;
  top: 18px;
  grid-area: preview;
  min-width: 0;
}

.review-card {
  min-width: 0;
  border: 1px solid #d9dee8;
  border-radius: 8px;
  background: #ffffff;
  padding: 20px;
  overflow-wrap: anywhere;
}

.review-card h2 {
  margin: 0 0 14px;
  font-size: 18px;
}

.review-card pre {
  overflow: auto;
  min-height: 180px;
  max-height: 320px;
  margin: 0;
  border-radius: 6px;
  background: #f2f5f8;
  padding: 14px;
  font-size: 13px;
  line-height: 1.5;
}

.review-card button {
  max-width: 100%;
  margin-top: 16px;
  border: 0;
  border-radius: 6px;
  background: #0f6b63;
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  padding: 12px 14px;
  overflow-wrap: break-word;
  white-space: normal;
}

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  margin-top: 16px;
  border-radius: 6px;
  background: #0f6b63;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  padding: 12px 14px;
  text-align: center;
  text-decoration: none;
  overflow-wrap: break-word;
  white-space: normal;
}

.secondary-link {
  background: #edf0f5;
  color: #172033;
}

.review-card button + button {
  margin-top: 10px;
}

.document-preview-frame {
  overflow: hidden;
  margin-top: 14px;
  border: 1px solid #d9dee8;
  border-radius: 8px;
  background: #f8fafc;
  aspect-ratio: 3 / 4;
}

.document-preview-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #ffffff;
}

.form-grid {
  display: grid;
  grid-gap: 14px;
  gap: 14px;
}

.form-field {
  display: grid;
  grid-gap: 6px;
  gap: 6px;
}

.form-field label {
  color: #384255;
  font-size: 14px;
  font-weight: 800;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  border: 1px solid #cbd3df;
  border-radius: 6px;
  color: #172033;
  padding: 10px 12px;
}

.form-field textarea {
  min-height: 82px;
  resize: vertical;
}

.field-error {
  color: #9b1c13;
  font-size: 14px;
  font-weight: 700;
}

.review-section {
  margin-top: 16px;
}

.data-list {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
  margin: 0 0 18px;
}

.data-list div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid #edf0f5;
  padding-bottom: 8px;
}

.data-list dt {
  color: #566174;
  font-weight: 700;
}

.data-list dd {
  margin: 0;
  text-align: right;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 28px;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  overflow-wrap: break-word;
  white-space: normal;
}

.status-green {
  background: #dff5e8;
  color: #126036;
}

.status-yellow {
  background: #fff3c4;
  color: #765400;
}

.status-red {
  background: #ffe2df;
  color: #9b1c13;
}

.status-neutral {
  background: #edf0f5;
  color: #384255;
}

.state-panel {
  min-width: 0;
  border: 1px dashed #cbd3df;
  border-radius: 8px;
  background: #f8fafc;
  color: #384255;
  padding: 16px;
  overflow-wrap: anywhere;
}

.state-next-action {
  margin-top: 8px;
  color: #0f6b63;
  font-weight: 700;
}

.state-next-action-button {
  display: inline-flex;
  margin-top: 8px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #0f6b63;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 0;
  text-align: left;
}

.state-next-action-button:focus-visible {
  outline: 3px solid #7cc7bd;
  outline-offset: 3px;
}

.task-detail-list {
  display: grid;
  grid-gap: 4px;
  gap: 4px;
  width: 100%;
  min-width: 220px;
  color: #384255;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.task-detail-list strong {
  color: #172033;
}

.task-detail-list span {
  overflow-wrap: anywhere;
}

.safe-error {
  display: grid;
  grid-gap: 6px;
  gap: 6px;
  border: 1px solid #f3a39d;
  border-radius: 8px;
  background: #fff0ee;
  color: #7a160f;
  padding: 14px;
}

.action-list {
  margin: 12px 0 0;
  padding-left: 20px;
}

.muted-text {
  margin-top: 4px;
  color: #566174;
  font-size: 14px;
  line-height: 1.35;
}

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

.review-card:has(.table-wrap) {
  min-width: 0;
}

.review-grid > .review-card:has(.table-wrap) {
  grid-column: 1 / -1;
}

.ocr-field-review-table {
  table-layout: fixed;
}

.ocr-field-review-table-wrap {
  container-type: inline-size;
}

.ocr-field-review-table th:nth-child(1),
.ocr-field-review-table td:nth-child(1) {
  width: 112px;
}

.ocr-field-review-table th:nth-child(2),
.ocr-field-review-table td:nth-child(2) {
  width: 150px;
}

.ocr-field-review-table th:nth-child(3),
.ocr-field-review-table td:nth-child(3) {
  width: 32%;
  min-width: 220px;
}

.ocr-field-review-table th:nth-child(4),
.ocr-field-review-table td:nth-child(4) {
  width: 150px;
}

.ocr-field-review-table th:nth-child(5),
.ocr-field-review-table td:nth-child(5) {
  width: 104px;
}

.ocr-field-review-table td {
  overflow-wrap: anywhere;
}

.ocr-field-review-table input:not([type="checkbox"]) {
  width: 100%;
  min-width: 0;
  border: 1px solid #cbd3df;
  border-radius: 6px;
  padding: 9px 10px;
}

.ocr-field-selection-actions {
  margin-bottom: 12px;
}

.ocr-field-selection-actions span {
  color: #566174;
  font-size: 14px;
  font-weight: 800;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.communication-task-table {
  table-layout: fixed;
}

.communication-task-table th:nth-child(1),
.communication-task-table td:nth-child(1) {
  width: 18%;
}

.communication-task-table th:nth-child(2),
.communication-task-table td:nth-child(2) {
  width: 15%;
}

.communication-task-table th:nth-child(3),
.communication-task-table td:nth-child(3),
.communication-task-table th:nth-child(4),
.communication-task-table td:nth-child(4) {
  width: 10%;
}

.communication-task-table th:nth-child(5),
.communication-task-table td:nth-child(5) {
  width: 33%;
}

.communication-task-table th:nth-child(6),
.communication-task-table td:nth-child(6) {
  width: 14%;
}

.communication-task-table td:last-child button {
  width: 100%;
  min-width: 0;
}

caption {
  height: 1px;
  overflow: hidden;
  position: absolute;
  width: 1px;
}

th,
td {
  border-bottom: 1px solid #e4e8ef;
  padding: 12px;
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}

th {
  color: #566174;
  font-size: 13px;
}

@media (max-width: 760px) {
  .brand-bar {
    display: grid;
    grid-gap: 12px;
    gap: 12px;
    padding: 14px 16px 0;
  }

  .brand-logo {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
    font-size: 14px;
  }

  .brand-name {
    font-size: 16px;
  }

  .brand-subtitle {
    font-size: 12px;
  }

  .platform-switcher,
  .platform-switcher label,
  .platform-switcher select,
  .platform-switcher button {
    width: 100%;
  }

  .platform-context-panel {
    padding: 22px 16px;
  }

  .platform-context-form {
    grid-template-columns: 1fr;
  }

  .shell,
  .review-shell {
    padding: 20px 16px;
  }

  .ocr-field-review-table,
  .ocr-field-review-table thead,
  .ocr-field-review-table tbody,
  .ocr-field-review-table tr,
  .ocr-field-review-table th,
  .ocr-field-review-table td {
    display: block;
  }

  .ocr-field-review-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .ocr-field-review-table tr {
    display: grid;
    grid-gap: 10px;
    gap: 10px;
    border-bottom: 1px solid #e4e8ef;
    padding: 12px 0;
  }

  .ocr-field-review-table td {
    display: grid;
    grid-template-columns: minmax(104px, 34%) minmax(0, 1fr);
    align-items: center;
    grid-gap: 10px;
    gap: 10px;
    width: 100% !important;
    border-bottom: 0;
    padding: 0;
  }

  .ocr-field-review-table td::before {
    content: attr(data-label);
    color: #566174;
    font-size: 13px;
    font-weight: 800;
  }
}

@container (max-width: 760px) {
  .ocr-field-review-table,
  .ocr-field-review-table thead,
  .ocr-field-review-table tbody,
  .ocr-field-review-table tr,
  .ocr-field-review-table th,
  .ocr-field-review-table td {
    display: block;
  }

  .ocr-field-review-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .ocr-field-review-table tr {
    display: grid;
    grid-gap: 10px;
    gap: 10px;
    border-bottom: 1px solid #e4e8ef;
    padding: 12px 0;
  }

  .ocr-field-review-table td {
    display: grid;
    grid-template-columns: minmax(104px, 34%) minmax(0, 1fr);
    align-items: center;
    grid-gap: 10px;
    gap: 10px;
    width: 100% !important;
    border-bottom: 0;
    padding: 0;
  }

  .ocr-field-review-table td::before {
    content: attr(data-label);
    color: #566174;
    font-size: 13px;
    font-weight: 800;
  }
}

.calendar-shell {
  max-width: 1440px;
}

.calendar-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: 16px;
  border: 1px solid #d9dee8;
  border-radius: 8px;
  background: #ffffff;
  padding: 14px;
}

.calendar-toolbar input {
  max-width: 100%;
  min-width: 180px;
  border: 1px solid #cbd3df;
  border-radius: 6px;
  padding: 9px 10px;
}

.segmented-control,
.calendar-date-actions,
.dialog-actions,
.appointment-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.segmented-control button,
.calendar-date-actions button,
.calendar-toolbar .primary-action,
.dialog-actions button,
.appointment-actions button,
.waitlist-candidate button {
  border: 0;
  border-radius: 6px;
  background: #edf0f5;
  color: #172033;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  padding: 10px 12px;
  overflow-wrap: break-word;
  white-space: normal;
}

.segmented-control button.active,
.calendar-toolbar .primary-action,
.dialog-actions button:first-child {
  background: #0f6b63;
  color: #ffffff;
}

.toolbar-field {
  display: grid;
  grid-gap: 4px;
  gap: 4px;
  color: #384255;
  font-size: 14px;
  font-weight: 800;
}

.toolbar-field select {
  max-width: 100%;
  min-width: 220px;
  border: 1px solid #cbd3df;
  border-radius: 6px;
  padding: 9px 10px;
}

.calendar-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  grid-gap: 16px;
  gap: 16px;
}

.calendar-main-panel,
.calendar-sidebar {
  min-width: 0;
}

.calendar-sidebar {
  display: grid;
  align-content: start;
  grid-gap: 16px;
  gap: 16px;
}

.calendar-week-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(232px, 1fr));
  grid-gap: 10px;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.calendar-day-column,
.therapist-column {
  min-width: 232px;
  border: 1px solid #d9dee8;
  border-radius: 8px;
  background: #ffffff;
  padding: 12px;
}

.calendar-day-column h2,
.therapist-column h2 {
  margin: 0 0 10px;
  font-size: 16px;
}

.calendar-day-view {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  grid-gap: 10px;
  gap: 10px;
  overflow-x: auto;
}

.time-raster {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
  color: #566174;
  font-size: 13px;
  font-weight: 800;
  padding-top: 50px;
}

.time-raster span {
  min-height: 34px;
}

.therapist-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  grid-gap: 10px;
  gap: 10px;
  min-width: 520px;
}

.appointment-card {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
  margin-bottom: 12px;
  min-width: 0;
  border: 1px solid #d8e0ea;
  border-radius: 8px;
  background: #ffffff;
  padding: 12px;
  box-shadow: 0 8px 22px rgb(16 24 40 / 6%);
}

.appointment-card p {
  font-size: 14px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.appointment-card-title {
  flex: 1 1 100%;
  min-width: 0;
  color: #172033;
  font-size: 15px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.appointment-meta {
  color: #384255;
  font-weight: 700;
}

.appointment-card-details {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #566174;
  font-size: 14px;
  font-weight: 700;
}

.appointment-card-top,
.utilization-item,
.waitlist-candidate {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}

.appointment-card-top {
  flex-wrap: wrap;
}

.appointment-card-top .status-pill {
  flex: 0 0 auto;
  min-width: 0;
  max-width: 100%;
}

.appointment-card-notes {
  display: grid;
  grid-gap: 6px;
  gap: 6px;
  border-radius: 8px;
  background: #f5f8fb;
  padding: 8px;
}

.contingent-badge {
  display: inline-flex;
  width: 100%;
  min-width: 0;
  border-radius: 7px;
  background: #e1f2ed;
  color: #0f6b63;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  padding: 7px 8px;
  overflow-wrap: anywhere;
}

.appointment-rule-note {
  color: #7a4b00;
  font-size: 13px !important;
  font-weight: 800;
  line-height: 1.35 !important;
}

.appointment-card .button-link {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 0;
  background: #edf0f5;
  color: #172033;
  text-align: center;
}

.appointment-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.appointment-actions button {
  min-width: 0;
  padding: 9px 8px;
  font-size: 13px;
  line-height: 1.15;
}

.appointment-actions .appointment-primary-action {
  grid-column: 1 / -1;
  background: #0f6b63;
  color: #ffffff;
}

.appointment-actions button:last-child {
  grid-column: 1 / -1;
}

.calendar-message {
  margin-bottom: 16px;
}

.dialog-backdrop {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  background: rgb(15 23 42 / 42%);
  padding: 18px;
}

.dialog-panel {
  width: min(720px, 100%);
  min-width: 0;
  max-height: min(88vh, 860px);
  overflow: auto;
  border-radius: 8px;
  background: #ffffff;
  padding: 22px;
  box-shadow: 0 24px 70px rgb(16 24 40 / 22%);
}

.dialog-panel h2 {
  margin: 0 0 12px;
}

.dialog-actions {
  margin-top: 16px;
}

.utilization-list,
.waitlist-candidates {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
}

.utilization-item,
.waitlist-candidate {
  border: 1px solid #e4e8ef;
  border-radius: 8px;
  min-width: 0;
  padding: 10px;
  overflow-wrap: anywhere;
}

.utilization-item p,
.waitlist-candidate p {
  font-size: 14px;
}

@media (max-width: 1100px) {
  .calendar-layout {
    grid-template-columns: 1fr;
  }

  .document-review-layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "preview"
      "workspace";
  }

  .document-review-preview {
    position: static;
  }
}

.intake-shell {
  width: min(1480px, 100%);
  margin: 0 auto;
  padding: 28px 18px 48px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.dashboard-shell {
  max-width: 1480px;
}

.dashboard-top-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-bottom: 16px;
}

.dashboard-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.dashboard-card {
  display: grid;
  align-content: start;
  grid-gap: 12px;
  gap: 12px;
}

.dashboard-card p {
  font-size: 15px;
}

.dashboard-top-actions {
  grid-column: 1 / -1;
}

.dashboard-top-actions .dashboard-action-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dashboard-top-actions-few .dashboard-action-list {
  grid-template-columns: repeat(auto-fit, minmax(260px, 360px));
}

.dashboard-action-list,
.dashboard-item-list {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dashboard-action-list li,
.dashboard-item-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid #e4e8ef;
  border-radius: 8px;
  padding: 10px;
}

.dashboard-action-list p {
  margin: 2px 0 0;
  color: #566174;
  font-size: 14px;
}

@media (max-width: 1100px) {
  .dashboard-top-actions .dashboard-action-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .dashboard-top-actions .dashboard-action-list,
  .dashboard-top-actions-few .dashboard-action-list {
    grid-template-columns: 1fr;
  }
}

.patient-quick-search {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto;
  grid-gap: 10px;
  gap: 10px;
  align-items: end;
}

.patient-search-results li {
  align-items: center;
  justify-content: space-between;
}

.patient-create-block {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
  border-top: 1px solid #e4e8ef;
  padding-top: 12px;
}

.patient-create-block h3 {
  margin: 0;
  font-size: 16px;
}

.patient-create-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  grid-gap: 10px;
  gap: 10px;
}

.success-note {
  border: 1px solid #a5d6b8;
  border-radius: 8px;
  background: #ecf8f0;
  color: #115c31;
  padding: 10px;
}

.intake-progress {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin: 18px 0;
  padding-bottom: 6px;
}

.intake-step-pill {
  display: grid;
  min-width: 128px;
  grid-gap: 2px;
  gap: 2px;
  border: 1px solid #d7dde8;
  border-radius: 8px;
  background: #ffffff;
  padding: 10px 12px;
}

.intake-step-pill small {
  color: #5b6472;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.intake-step-active {
  border-color: #0f6b63;
  box-shadow: 0 0 0 2px rgb(15 107 99 / 12%);
}

.intake-step-complete {
  background: #ecf7f4;
  border-color: #9ed3c9;
}

.intake-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  grid-gap: 18px;
  gap: 18px;
  align-items: start;
}

.intake-main,
.intake-sidebar {
  display: grid;
  grid-gap: 16px;
  gap: 16px;
  min-width: 0;
}

.intake-panel,
.intake-card {
  min-width: 0;
  border: 1px solid #d9dee8;
  border-radius: 8px;
  background: #ffffff;
  padding: 18px;
  overflow-wrap: anywhere;
}

.intake-panel h2,
.intake-card h2 {
  margin-top: 0;
  font-size: 20px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  grid-gap: 12px;
  gap: 12px;
  margin: 14px 0;
}

.form-grid label,
.full-width-field {
  display: grid;
  grid-gap: 6px;
  gap: 6px;
  color: #273142;
  font-size: 14px;
  font-weight: 800;
}

.form-grid input,
.form-grid select,
.form-grid textarea,
.full-width-field textarea,
.intake-review-table input,
.intake-review-table select {
  min-width: 0;
  border: 1px solid #cbd3df;
  border-radius: 6px;
  background: #ffffff;
  color: #172033;
  font: inherit;
  padding: 9px 10px;
}

.form-grid textarea,
.full-width-field textarea {
  min-height: 86px;
  resize: vertical;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.button-row button,
.intake-panel button,
.button-link {
  max-width: 100%;
  border: 0;
  border-radius: 6px;
  background: #edf0f5;
  color: #172033;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  padding: 10px 12px;
  text-align: center;
  text-decoration: none;
  overflow-wrap: break-word;
  white-space: normal;
}

.intake-panel button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.primary-action,
.primary-link {
  background: #0f6b63 !important;
  color: #ffffff !important;
}

.intake-review-table {
  margin: 14px 0;
}

.intake-review-table table {
  min-width: 980px;
}

.intake-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  grid-gap: 10px;
  gap: 10px;
  margin: 12px 0;
}

.intake-summary-grid div {
  display: grid;
  grid-gap: 4px;
  gap: 4px;
  border: 1px solid #e2e7ef;
  border-radius: 8px;
  background: #f8fafc;
  padding: 10px;
}

.next-actions ul,
.intake-card ul {
  margin-bottom: 0;
  padding-left: 18px;
}

.error-text {
  color: #8f1d1d;
  font-weight: 800;
}

@media (max-width: 1100px) {
  .intake-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .patient-quick-search {
    grid-template-columns: 1fr;
  }
}

