[data-owb-root] {
  --owb-brand-forest-950: #073b2e;
  --owb-brand-forest-900: #0c4e3c;
  --owb-brand-forest-800: #176b53;
  --owb-surface-page: #f2f7f4;
  --owb-surface-card: #ffffff;
  --owb-surface-soft: #f7fbf8;
  --owb-line-default: #d6e3da;
  --owb-line-strong: #bfd2c6;
  --owb-text-primary: #142b24;
  --owb-text-secondary: #536a61;
  --owb-focus: #176b53;
  --owb-danger: #9e2735;
  --owb-danger-surface: #fff1f2;
  --owb-radius-day: 14px;
  --owb-radius-room: 9px;
  --owb-radius-row: 5px;
  --owb-row-height: 38px;
  --owb-room-gap: 6px;
  --owb-shadow-day: 0 1px 3px rgb(7 59 46 / 8%);
  width: 100%;
  min-width: 0;
  display: block;
  overflow: visible;
  color: var(--owb-text-primary);
  background: var(--owb-surface-page);
  font-family:
    Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.35;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

[data-owb-root],
[data-owb-root] *,
[data-owb-root] *::before,
[data-owb-root] *::after {
  box-sizing: border-box;
}

[data-owb-root] button {
  font: inherit;
}

[data-owb-root] .owb-board {
  width: 100%;
  min-width: 0;
  background: var(--owb-surface-page);
}

[data-owb-root] .owb-board-tools {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 6px 12px 0;
}

[data-owb-root] .owb-my-operations-toggle {
  min-height: 32px;
  padding: 5px 11px;
  border: 1px solid #b9cdc1;
  border-radius: 999px;
  color: #31594a;
  background: #ffffff;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

[data-owb-root] .owb-my-operations-toggle:hover {
  border-color: #84a995;
  background: #f0f8f3;
}

[data-owb-root] .owb-my-operations-toggle[aria-pressed="true"] {
  border-color: var(--owb-brand-forest-800);
  color: #ffffff;
  background: var(--owb-brand-forest-800);
}

[data-owb-root] .owb-week {
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 12px 14px;
}

[data-owb-root] .owb-board-empty {
  min-height: 180px;
  display: grid;
  place-items: center;
  margin: 10px 12px;
  padding: 28px;
  border: 1px solid var(--owb-line-default);
  border-radius: var(--owb-radius-day);
  color: var(--owb-text-secondary);
  background: var(--owb-surface-card);
  text-align: center;
}

[data-owb-root] .owb-day {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--owb-line-default);
  border-radius: var(--owb-radius-day);
  background: var(--owb-surface-card);
  box-shadow: var(--owb-shadow-day);
}

[data-owb-root] .owb-day-header {
  min-width: 0;
  min-height: 36px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  color: #ffffff;
  background: linear-gradient(
    100deg,
    var(--owb-brand-forest-950),
    var(--owb-brand-forest-900)
  );
}

[data-owb-root] .owb-day-header-zone {
  min-width: 0;
  display: flex;
  align-items: center;
}

[data-owb-root] .owb-day-header-zone--left {
  justify-content: flex-start;
}

[data-owb-root] .owb-day-header-zone--right {
  justify-content: flex-end;
  gap: 10px;
}

[data-owb-root] .owb-day-add-room {
  min-height: 27px;
  padding: 3px 10px;
  border: 1px solid rgb(255 255 255 / 36%);
  border-radius: 999px;
  color: #ffffff;
  background: rgb(255 255 255 / 9%);
  font-size: 12px;
  font-weight: 650;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
}

[data-owb-root] .owb-day-add-room:hover:not(:disabled) {
  background: rgb(255 255 255 / 17%);
}

[data-owb-root] .owb-day-add-room:disabled {
  border-color: rgb(255 255 255 / 20%);
  color: rgb(255 255 255 / 58%);
  background: rgb(255 255 255 / 5%);
  cursor: not-allowed;
}

[data-owb-root] .owb-day-title {
  min-width: 0;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 9px;
  text-transform: uppercase;
}

[data-owb-root] .owb-day-name {
  min-width: 0;
  overflow: hidden;
  font-size: 15px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

[data-owb-root] .owb-day-date {
  color: #e2f0e9;
  font-size: 14px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

[data-owb-root] .owb-day-count {
  flex: 0 0 auto;
  color: #ffffff;
  font-size: 12px;
  font-weight: 650;
  white-space: nowrap;
}

[data-owb-root] .owb-day-lock {
  width: 28px;
  height: 27px;
  flex: 0 0 28px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 1px solid #d7bd72;
  border-radius: 7px;
  color: #79530d;
  background: #fff8e4;
  cursor: pointer;
}

[data-owb-root] .owb-day-lock:hover:not(:disabled) {
  background: #fff1c7;
}

[data-owb-root] .owb-day-lock[aria-pressed="true"] {
  border-color: #d9a93c;
  color: #173c33;
  background: #f2c85b;
}

[data-owb-root] .owb-day-lock:disabled {
  opacity: .62;
  cursor: default;
}

[data-owb-root] .owb-icon {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

[data-owb-root] .owb-day-empty {
  min-height: 82px;
  display: grid;
  place-items: center;
  padding: 20px;
  color: var(--owb-text-secondary);
  background: var(--owb-surface-card);
  font-size: 13px;
  text-align: center;
}

[data-owb-root] .owb-rooms-list {
  min-width: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--owb-room-gap);
  padding: var(--owb-room-gap);
  background: #fbfdfb;
}

[data-owb-root] .owb-room {
  --owb-room-accent: #496a5b;
  min-width: 0;
  width: 100%;
  align-self: stretch;
  overflow: hidden;
  border: 1px solid var(--owb-line-default);
  border-radius: var(--owb-radius-room);
  background: var(--owb-surface-card);
  container-name: owb-room;
  container-type: inline-size;
}

[data-owb-root] .owb-room-header {
  min-width: 0;
  min-height: 33px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 3px 8px;
  border-bottom: 1px solid #c8dbd1;
  background: linear-gradient(90deg, #d7e9e1 0%, #eaf3ee 48%, #d7e9e1 100%);
}

[data-owb-root] .owb-room-slot-actions,
[data-owb-root] .owb-room-actions {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 5px;
}

[data-owb-root] .owb-room-actions {
  justify-content: flex-end;
}

[data-owb-root] .owb-room-slot-button {
  min-height: 24px;
  padding: 2px 8px;
  border: 1px solid #a9c4b6;
  border-radius: 999px;
  color: #31594a;
  background: #f8fcf9;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

[data-owb-root] .owb-room-slot-button:hover:not(:disabled) {
  border-color: #789f8a;
  background: #edf7f1;
}

[data-owb-root] .owb-room-slot-button:disabled {
  opacity: .5;
  cursor: not-allowed;
}

[data-owb-root] .owb-room-toggle {
  min-width: 0;
  min-height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 2px 8px;
  border: 0;
  color: #183c32;
  background: transparent;
  font-weight: 750;
  cursor: pointer;
}

[data-owb-root] .owb-room-chevron {
  width: 10px;
  flex: 0 0 10px;
  color: #3c6b59;
  font-size: 12px;
}

[data-owb-root] .owb-room-title {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

[data-owb-root] .owb-room-delete {
  min-height: 24px;
  padding: 2px 10px;
  border: 1px solid #d9a9ae;
  border-radius: 999px;
  color: var(--owb-danger);
  background: var(--owb-danger-surface);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
}

[data-owb-root] .owb-room-delete:hover:not(:disabled) {
  border-color: #c67f87;
  background: #ffe7e9;
}

[data-owb-root] .owb-room-delete:disabled {
  opacity: .5;
  cursor: not-allowed;
}

[data-owb-root] .owb-room.is-collapsed .owb-room-header {
  border-bottom: 0;
}

[data-owb-root] .owb-patient-table {
  min-width: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
}

[data-owb-root] .owb-patient-header,
[data-owb-root] .owb-patient-row {
  min-width: 0;
  width: 100%;
}

[data-owb-root] .owb-patient-header {
  min-height: 29px;
  color: #53637a;
  background: #eef2f7;
  border-bottom: 1px solid #dce4ec;
  font-size: 11px;
  font-weight: 750;
  text-align: center;
}

[data-owb-root] .owb-patient-row {
  position: relative;
  min-height: var(--owb-row-height);
  display: block;
  padding: 0;
  border: 0;
  border-bottom: 1px solid #e0eae4;
  border-radius: 0;
  color: var(--owb-text-primary);
  background: #ffffff;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 75%);
  text-align: left;
}

[data-owb-root] .owb-patient-row[role="button"],
[data-owb-root] button.owb-patient-row {
  cursor: pointer;
}

[data-owb-root] .owb-patient-row[role="button"]:hover,
[data-owb-root] button.owb-patient-row:hover {
  position: relative;
  z-index: 1;
  background: #f2f8f4;
  box-shadow: 0 2px 7px rgb(7 59 46 / 12%);
}

[data-owb-root] .owb-patient-row.is-not-my-operation {
  opacity: .68;
  background: #f5f7f6;
}

[data-owb-root] .owb-patient-row-empty {
  color: #486156;
  background: #fbfdfb;
  outline: 1px dashed #bed2c5;
  outline-offset: -3px;
}

[data-owb-root] button.owb-patient-row-empty:hover {
  background: #edf7f0;
  outline-color: #6f987f;
}

[data-owb-root] .owb-drag-handle {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 4px;
  display: grid;
  place-items: center;
  width: 20px;
  height: 28px;
  overflow: hidden;
  color: #557267;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -4px;
  line-height: 1;
  user-select: none;
  touch-action: none;
  cursor: grab;
  transform: translateY(-50%);
}

[data-owb-root] .owb-drag-handle:active {
  cursor: grabbing;
}

[data-owb-root] .owb-patient-row:has(.owb-drag-handle) .owb-cell-slot {
  padding-left: 23px;
}

[data-owb-root].is-dragging .owb-patient-row.is-valid-drop-target {
  outline: 2px solid #3b8b68;
  outline-offset: -3px;
}

[data-owb-root].is-dragging .owb-patient-row.is-invalid-drop-target {
  opacity: .58;
  cursor: not-allowed;
}

[data-owb-root].is-dragging .owb-patient-row.is-drop-hover {
  z-index: 2;
  background: #dff3e7;
  box-shadow: inset 0 0 0 3px #176b53;
}

[data-owb-root] .owb-patient-row.is-drag-source {
  opacity: .66;
  background: repeating-linear-gradient(
    -45deg,
    #f2f8f4,
    #f2f8f4 6px,
    #e6f1ea 6px,
    #e6f1ea 12px
  );
}

[data-owb-root].is-move-pending {
  cursor: progress;
}

[data-owb-root].is-move-pending .owb-drag-handle {
  pointer-events: none;
  opacity: .45;
}

[data-owb-root] .owb-row-layout {
  min-width: 0;
  width: 100%;
  min-height: var(--owb-row-height);
  display: grid;
  grid-template-columns:
    34px
    minmax(0, 1.15fr)
    minmax(0, 1.55fr)
    minmax(0, 1.12fr);
  align-items: stretch;
}

[data-owb-root] .owb-row-layout--medium,
[data-owb-root] .owb-row-layout--wide {
  display: none;
}

[data-owb-root] .owb-cell {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
  padding: 3px 7px;
  overflow: hidden;
  border-left: 1px solid #e7ecf3;
}

[data-owb-root] .owb-cell:first-child {
  border-left: 0;
}

[data-owb-root] .owb-cell-slot {
  align-items: center;
  padding-inline: 2px;
  color: #365246;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

[data-owb-root] .owb-patient-header .owb-cell {
  align-items: center;
  justify-content: center;
  min-height: 29px;
  padding-block: 2px;
  text-align: center;
}

[data-owb-root] .owb-primary-text,
[data-owb-root] .owb-secondary-text,
[data-owb-root] .owb-patient-name,
[data-owb-root] .owb-patient-age,
[data-owb-root] .owb-card-number,
[data-owb-root] .owb-operator,
[data-owb-root] .owb-assistants {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

[data-owb-root] .owb-primary-text,
[data-owb-root] .owb-patient-name {
  font-size: 12px;
  font-weight: 650;
}

[data-owb-root] .owb-cell-diagnosis .owb-primary-text,
[data-owb-root] .owb-cell-operation .owb-primary-text {
  font-weight: 550;
}

[data-owb-root] .owb-cell-operator .owb-operator {
  font-weight: 800;
}

[data-owb-root] .owb-secondary-text,
[data-owb-root] .owb-patient-age,
[data-owb-root] .owb-card-number,
[data-owb-root] .owb-assistants {
  color: var(--owb-text-secondary);
  font-size: 10px;
}

[data-owb-root] .owb-patient-meta {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 5px;
  overflow: hidden;
}

[data-owb-root] .owb-patient-age,
[data-owb-root] .owb-card-number {
  flex: 0 1 auto;
}

[data-owb-root] .owb-funding-badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 16px;
  padding: 1px 6px;
  border: 1px solid #b9d6c5;
  border-radius: 999px;
  color: #155b43;
  background: #e7f5ec;
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
}

[data-owb-root] .owb-funding-badge--dms {
  color: #34598d;
  background: #edf3ff;
  border-color: #c4d4ec;
}

[data-owb-root] .owb-funding-badge--vmp {
  color: #72520f;
  background: #fff6d8;
  border-color: #e4ce86;
}

[data-owb-root] .owb-funding-badge--paid {
  color: #7a3f15;
  background: #fff0e4;
  border-color: #e2b992;
}

[data-owb-root] .owb-funding-badge--endo {
  color: #5c397a;
  background: #f4ebfb;
  border-color: #d4bee4;
}

[data-owb-root] .owb-funding-badge--other {
  color: #4f5968;
  background: #f1f3f6;
  border-color: #cfd5dd;
}

[data-owb-root] .owb-cell-preparation .owb-primary-text {
  color: #405a50;
  font-size: 11px;
  font-weight: 600;
}

[data-owb-root] .owb-cell-empty-label {
  grid-column: 2 / -1;
  align-items: flex-start;
  color: #415a78;
  font-size: 12px;
  font-weight: 650;
}

[data-owb-root] .owb-filter-lane {
  min-height: var(--owb-row-height);
  display: grid;
  place-items: center;
  padding: 5px 10px;
  border-bottom: 1px solid #e8edf4;
  color: #667085;
  background: #fafbfd;
  font-size: 12px;
}

[data-owb-root] button:focus-visible,
[data-owb-root] [role="button"]:focus-visible {
  position: relative;
  z-index: 3;
  outline: 3px solid var(--owb-focus);
  outline-offset: 2px;
}

[data-owb-root] .owb-day-header button:focus-visible,
[data-owb-root] .owb-day-header [role="button"]:focus-visible {
  outline-color: #ffffff;
}

@container owb-room (min-width: 560px) {
  [data-owb-root] .owb-row-layout {
    grid-template-columns:
      38px
      minmax(0, 1.25fr)
      minmax(0, 1.7fr)
      minmax(0, 1.15fr);
  }

  [data-owb-root] .owb-row-layout--narrow,
  [data-owb-root] .owb-row-layout--wide {
    display: none;
  }

  [data-owb-root] .owb-row-layout--medium {
    display: grid;
  }
}

@container owb-room (min-width: 900px) {
  [data-owb-root] .owb-row-layout {
    grid-template-columns:
      42px
      minmax(170px, 1.3fr)
      minmax(175px, 1.55fr)
      minmax(235px, 2fr)
      minmax(118px, .9fr)
      minmax(132px, 1fr)
      minmax(120px, .92fr);
  }

  [data-owb-root] .owb-row-layout--narrow,
  [data-owb-root] .owb-row-layout--medium {
    display: none;
  }

  [data-owb-root] .owb-row-layout--wide {
    display: grid;
  }

  [data-owb-root] .owb-cell-operation .owb-primary-text {
    font-weight: 650;
  }
}

@media (max-width: 760px) {
  [data-owb-root] .owb-day-header {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  [data-owb-root] .owb-day-header-zone--left {
    grid-column: 1;
    grid-row: 2;
  }

  [data-owb-root] .owb-day-title {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  [data-owb-root] .owb-day-header-zone--right {
    grid-column: 2;
    grid-row: 2;
  }

  [data-owb-root] .owb-room-header {
    grid-template-columns: 1fr auto;
  }

  [data-owb-root] .owb-room-toggle {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  [data-owb-root] .owb-room-slot-actions {
    grid-column: 1;
    grid-row: 2;
  }

  [data-owb-root] .owb-room-actions {
    grid-column: 2;
    grid-row: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-owb-root] * {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

@media print {
  [data-owb-root] .owb-board-tools,
  [data-owb-root] .owb-day-add-room,
  [data-owb-root] .owb-day-lock,
  [data-owb-root] .owb-room-slot-actions,
  [data-owb-root] .owb-room-delete {
    display: none !important;
  }

  [data-owb-root] .owb-day,
  [data-owb-root] .owb-room,
  [data-owb-root] .owb-patient-row {
    break-inside: avoid;
  }
}
