/* [project]/src/app/base.css [app-client] (css) */
* {
  box-sizing: border-box;
}

body {
  color: #1c1f25;
  background: #f2f4f8;
  margin: 0;
  font-family: Arial, sans-serif;
}

.layout {
  grid-template-columns: 270px 1fr;
  min-height: 100vh;
  display: grid;
}

.sidebar {
  background: #fff;
  border-right: 1px solid #dce2eb;
  padding: 24px;
}

.sidebar h2 {
  margin: 0 0 18px;
  font-size: 24px;
}

.sidebar-section {
  margin-bottom: 14px;
}

.sidebar-section-title {
  letter-spacing: .03em;
  color: #64748b;
  text-transform: uppercase;
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 700;
}

.sidebar-item {
  color: #475569;
  border-radius: 6px;
  margin-bottom: 6px;
  padding: 10px 12px;
  font-size: 14px;
}

.sidebar-item:hover {
  background: #eef3fa;
}

.content {
  gap: 16px;
  padding: 24px;
  display: grid;
}

.card, .modal {
  background: #fff;
  border: 1px solid #dce2eb;
  border-radius: 10px;
  padding: 16px;
}

.card h3 {
  margin: 0;
  font-size: 20px;
}

.header-row {
  align-items: baseline;
  gap: 10px;
  display: flex;
}

h1 {
  margin: 0;
  font-size: 26px;
}

.muted {
  color: #6b7280;
  font-size: 14px;
}

.phone {
  color: #334155;
}

.actions-row {
  gap: 10px;
  margin: 10px 0;
  display: flex;
}

.button {
  cursor: pointer;
  background: #fff;
  border: 1px solid #c7d1df;
  border-radius: 6px;
  padding: 8px 12px;
}

.button.success {
  color: #fff;
  background: #3ca55c;
  border-color: #3ca55c;
}

.finance {
  color: #2f855a;
  font-weight: 600;
}

.list {
  gap: 8px;
  display: grid;
}

.list-item {
  border-top: 1px solid #eef2f7;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  display: flex;
}

.status {
  color: #64748b;
  font-size: 13px;
}

.status.success {
  color: #2f855a;
  font-weight: 600;
}

.grid-two {
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  display: grid;
}

.modal-header {
  color: #fff;
  background: #24507a;
  border-radius: 10px 10px 0 0;
  margin: -16px -16px 16px;
  padding: 12px 16px;
}

.question-row {
  border-bottom: 1px solid #edf2f7;
  padding: 10px 0;
}

.chips {
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
  display: flex;
}

.chip {
  background: #f1f5f9;
  border-radius: 4px;
  padding: 6px 10px;
  font-size: 13px;
}

.chip.active {
  color: #fff;
  background: #4c6f96;
}

.chip-toggle {
  cursor: pointer;
  color: #334155;
  background: #f8fafc;
  border: 1px solid #d6deea;
  border-radius: 18px;
  padding: 7px 11px;
}

.chip-toggle.active {
  color: #fff;
  background: #274e77;
  border-color: #274e77;
}

.input {
  width: 100%;
  font: inherit;
  background: #fff;
  border: 1px solid #d6deea;
  border-radius: 8px;
  padding: 8px 10px;
}

.search-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0;
  display: grid;
}

.patient-search-item {
  gap: 10px;
}

.modal-actions {
  justify-content: flex-end;
  gap: 8px;
  margin-top: 12px;
  display: flex;
}

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

th, td {
  text-align: left;
  border-bottom: 1px solid #edf2f7;
  padding: 8px;
}

.section-row td {
  background: #f8fafc;
  font-weight: 600;
}

.schedule-title-row {
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 14px;
  display: flex;
}

.schedule-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  display: grid;
}

.schedule-column {
  background: #fafcff;
  border: 1px solid #e6ebf2;
  border-radius: 8px;
  padding: 10px;
}

.schedule-column h4 {
  margin: 3px 0 8px;
  font-size: 15px;
}

.events-list {
  gap: 8px;
  display: grid;
}

.event {
  border: 1px solid #0000;
  border-radius: 7px;
  padding: 8px;
}

.event.green {
  background: #d9f4dd;
  border-color: #9ad2a3;
}

.event.pink {
  background: #f7deeb;
  border-color: #e9b3ce;
}

.event.purple {
  background: #e8def8;
  border-color: #cab6ef;
}

.event-time {
  color: #334155;
  font-size: 12px;
}

.event-patient {
  margin-top: 4px;
  font-size: 14px;
  font-weight: 600;
}

.event-meta {
  color: #475569;
  margin-top: 2px;
  font-size: 12px;
}

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

  .sidebar {
    border-bottom: 1px solid #dce2eb;
    border-right: none;
  }

  .grid-two, .schedule-grid {
    grid-template-columns: 1fr;
  }

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

.protocol-card {
  gap: 14px;
  display: grid;
}

.protocol-header-row {
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  display: flex;
}

.protocol-header-row p {
  margin: 4px 0 0;
}

.protocol-meta-grid {
  background: #f8fafc;
  border: 1px solid #e5ebf4;
  border-radius: 8px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 12px;
  display: grid;
}

.protocol-meta-grid p {
  margin: 6px 0 0;
  font-weight: 600;
}

.protocol-tools-row {
  grid-template-columns: 260px 1fr;
  align-items: center;
  gap: 12px;
  display: grid;
}

.protocol-select {
  background: #fff;
  border: 1px solid #d6deea;
  border-radius: 8px;
  padding: 8px 10px;
}

.protocol-select div {
  margin-top: 5px;
  font-size: 14px;
}

.protocol-sections {
  gap: 10px;
  display: grid;
}

.protocol-section {
  border: 1px solid #e7edf6;
  border-radius: 8px;
  padding: 10px;
}

.protocol-section h4 {
  margin: 0 0 8px;
  font-size: 15px;
}

.protocol-section p {
  color: #334155;
  margin: 0;
  line-height: 1.45;
}

@media (max-width: 900px) {
  .protocol-meta-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .protocol-tools-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .content {
    padding: 14px;
  }

  .card, .modal {
    padding: 12px;
  }

  .header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .actions-row {
    flex-wrap: wrap;
  }

  .protocol-header-row {
    flex-direction: column;
  }

  .search-grid {
    grid-template-columns: 1fr;
  }
}

.doctor-workflow-card {
  gap: 14px;
  display: grid;
}

.doctor-workflow-actions {
  flex-wrap: wrap;
  gap: 8px;
  display: flex;
}

.consent-section {
  background: #fafcff;
  border: 1px solid #e5ebf4;
  border-radius: 8px;
  padding: 12px;
}

.consent-section h4 {
  margin: 0 0 6px;
}

.consent-list {
  gap: 8px;
  margin-top: 10px;
  display: grid;
}

.consent-row {
  background: #fff;
  border: 1px solid #e5ebf4;
  border-radius: 8px;
  grid-template-columns: 1.3fr 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px;
  display: grid;
}

.exam-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  display: grid;
}

.exam-field {
  background: #fff;
  border: 1px solid #e5ebf4;
  border-radius: 8px;
  padding: 10px;
}

.exam-field p {
  margin: 5px 0 0;
  line-height: 1.4;
}

.exam-field.wide {
  grid-column: 1 / -1;
}

.reports-card {
  gap: 14px;
  display: grid;
}

.reports-summary-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  display: grid;
}

.report-kpi {
  background: #fafcff;
  border: 1px solid #e5ebf4;
  border-radius: 8px;
  padding: 10px;
}

.report-kpi p {
  color: #1f3b58;
  margin: 6px 0 0;
  font-size: 20px;
  font-weight: 700;
}

.reports-grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  display: grid;
}

.reports-grid-two h4 {
  margin: 0 0 8px;
}

@media (max-width: 900px) {
  .consent-row, .exam-grid {
    grid-template-columns: 1fr;
  }

  .reports-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reports-grid-two {
    grid-template-columns: 1fr;
  }
}

/* [project]/src/app/visit-workspace.css [app-client] (css) */
.visit-workspace-card {
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 14px;
  display: grid;
  position: relative;
}

.patient-sidepanel {
  background: #fbfcff;
  border: 1px solid #e5ebf4;
  border-radius: 10px;
  align-content: start;
  gap: 12px;
  padding: 12px;
  display: grid;
}

.panel-row {
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  display: flex;
}

.patient-actions-top {
  align-items: flex-start;
}

.patient-actions-top h4 {
  margin: 0;
  font-size: 30px;
}

.ghost-nav {
  color: #64748b;
  cursor: pointer;
  background: none;
  border: none;
  font-size: 20px;
}

.icon-actions {
  gap: 6px;
  display: flex;
}

.dropdown-wrap {
  position: relative;
}

.quick-menu {
  z-index: 4;
  background: #fff;
  border: 1px solid #dce2eb;
  border-radius: 8px;
  gap: 2px;
  min-width: 220px;
  padding: 6px;
  display: grid;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  box-shadow: 0 10px 22px #0f172a24;
}

.quick-menu-item {
  text-align: left;
  cursor: pointer;
  background: #fff;
  border: none;
  border-radius: 6px;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  font-size: 14px;
  display: flex;
}

.quick-menu-item:hover, .quick-menu-item.active {
  background: #f1f5f9;
}

.quick-menu-link {
  text-align: left;
  cursor: pointer;
  color: #111827;
  background: none;
  border: none;
  width: 100%;
  padding: 0;
  font-size: 14px;
}

.tabs-row {
  grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
  gap: 6px;
  display: grid;
}

.favorite-star {
  cursor: pointer;
  color: #94a3b8;
  background: none;
  border: none;
  font-size: 14px;
  line-height: 1;
}

.favorite-star.active {
  color: #eab308;
}

.panel-tab {
  cursor: pointer;
  background: #fff;
  border: 1px solid #dce2eb;
  border-radius: 12px;
  min-height: 60px;
  padding: 10px 8px;
}

.panel-tab.active {
  background: #e8ecf2;
  border-color: #cfd7e4;
}

.vip-badge {
  background: #facc15;
  border-radius: 4px;
  width: fit-content;
  padding: 4px 8px;
  font-size: 13px;
  font-weight: 700;
  display: inline-block;
}

.side-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  display: grid;
}

.side-grid p, .side-section p {
  margin: 4px 0;
}

.medcard-overlay {
  background: #f8fafcfa;
  border: 1px solid #dce2eb;
  border-radius: 10px;
  padding: 14px;
  position: absolute;
  inset: 0;
  overflow: auto;
}

.medcard-modal {
  gap: 12px;
  display: grid;
}

.medcard-header {
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  display: flex;
}

.medcard-header p {
  margin: 6px 0 0;
}

.medcard-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  display: grid;
}

.medcard-field {
  color: #475569;
  gap: 6px;
  font-size: 14px;
  display: grid;
}

.medcard-field.wide {
  grid-column: 1 / -1;
}

.medcard-actions {
  background: #f8fafc;
  border-top: 1px solid #e5ebf4;
  justify-content: flex-end;
  gap: 8px;
  margin: 0 -14px -14px;
  padding: 10px 14px;
  display: flex;
  position: sticky;
  bottom: -14px;
}

.medcard-save {
  color: #111827 !important;
  background: #facc15 !important;
  border-color: #facc15 !important;
}

.current-visit-grid {
  grid-template-columns: 1fr;
  gap: 10px;
  display: grid;
}

.current-visit-grid textarea.input {
  min-height: 92px;
}

.treatment-plans-modal {
  min-height: 100%;
}

.plans-table-wrap {
  border: 1px solid #dce2eb;
  border-radius: 10px;
  overflow: hidden;
}

.plans-table {
  border-collapse: collapse;
  width: 100%;
}

.plans-table th, .plans-table td {
  text-align: left;
  border-bottom: 1px solid #e5ebf4;
  padding: 12px 14px;
}

.plans-table th {
  background: #f8fafc;
  font-size: 14px;
}

.plans-table tbody tr:last-child td {
  border-bottom: none;
}

.plan-actions {
  justify-content: flex-end;
  gap: 6px;
  display: flex;
}

.plan-footer-actions {
  margin-top: 8px;
  display: flex;
}

.plans-empty-state {
  border: 1px dashed #dce2eb;
  border-radius: 10px;
  place-items: center;
  min-height: 220px;
  display: grid;
}

.plan-create-view {
  gap: 12px;
  display: grid;
}

.plan-back-button {
  width: fit-content;
}

.plan-create-grid {
  border: 1px solid #dce2eb;
  border-radius: 10px;
  gap: 10px;
  padding: 14px;
  display: grid;
}

.inline-row {
  align-items: center;
  gap: 8px;
  display: flex;
}

.inline-row .input {
  flex: 1;
}

.inline-row.compact {
  gap: 6px;
}

.plan-services-list {
  gap: 8px;
  display: grid;
}

.plan-service-item {
  border: 1px solid #e5ebf4;
  border-radius: 8px;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  display: flex;
}

.plan-note {
  color: #0f172a;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
}

.plan-settings-demo {
  border: 1px solid #e5ebf4;
  border-radius: 10px;
  gap: 8px;
  padding: 10px;
  display: grid;
}

.plan-settings-demo h4 {
  margin: 0;
  font-size: 14px;
}

.service-config-row {
  align-items: stretch;
}

.service-config-row .input:last-child {
  flex: none;
  width: 140px;
}

@media (max-width: 1200px) {
  .visit-workspace-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .medcard-grid, .tabs-row {
    grid-template-columns: 1fr;
  }

  .medcard-actions {
    flex-wrap: wrap;
  }

  .plan-service-item, .inline-row {
    flex-direction: column;
    align-items: stretch;
  }

  .service-config-row .input:last-child {
    width: 100%;
  }
}

/* [project]/src/app/globals.css [app-client] (css) */


/*# sourceMappingURL=src_app_512ba11e._.css.map*/