/* Espacios de trabajo de Clínica Obstétrica: cada área organiza su propio proceso. */
.brand strong {
  font-family: "Nunito", sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.3;
  color: var(--rose-deep);
}
.brand strong > span {
  display: block;
  color: var(--primary);
}
.sidebar .brand {
  gap: 11px;
  padding: 0 9px 24px;
}
.brand-mark {
  width: 36px;
  height: 46px;
}
.doctor-avatar {
  font-family: "Nunito", sans-serif;
  font-size: 10px;
  font-weight: 700;
}
.avatar.doctor {
  font-family: "Nunito", sans-serif;
  font-size: 12px;
  font-weight: 700;
}
.ws-view-switch {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin: -5px 0 23px;
  padding-bottom: 17px;
  border-bottom: 1px solid var(--line);
}
.ws-view-switch > span {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10.5px;
  color: var(--muted);
}
.ws-view-switch > span > .icon {
  height: 15px;
  width: 15px;
  color: var(--rose-deep);
}
.ws-view-switch > div {
  display: flex;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 3px;
  border-radius: 8px;
  gap: 3px;
}
.ws-view-switch button {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 31px;
  padding: 7px 12px;
  font-size: 10.5px;
  font-weight: 600;
  border-radius: 5px;
  color: var(--muted);
}
.ws-view-switch button > .icon {
  height: 14px;
  width: 14px;
}
.ws-view-switch button.active {
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 700;
}
.ws-view-switch button:hover {
  color: var(--primary);
}
.ws-tools {
  margin-bottom: 22px;
}
.ws-tools .list-toolbar {
  padding: 17px 20px;
}
.ws-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
}
.ws-section-header h2,
.ws-section-header h3 {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.6;
  margin: 0;
}
.ws-section-header h2 > .icon,
.ws-section-header h3 > .icon {
  height: 17px;
  width: 17px;
  color: var(--primary);
}
.ws-section-header > span {
  font-size: 10px;
  color: var(--muted);
  white-space: nowrap;
}
.ws-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 43px 24px;
  text-align: center;
  min-height: 240px;
}
.ws-empty > span {
  width: 53px;
  height: 53px;
  border: 1px solid var(--rose-border);
  border-radius: 15px;
  background: var(--primary-soft);
  color: var(--primary);
  display: grid;
  place-items: center;
  margin-bottom: 17px;
}
.ws-empty > span > .icon {
  height: 26px;
  width: 26px;
  stroke-width: 1.5;
}
.ws-empty > h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.6;
}
.ws-empty > p {
  font-size: 11.5px;
  line-height: 1.9;
  color: var(--muted);
  max-width: 360px;
  margin-top: 8px;
}
.ws-empty > .button {
  margin-top: 20px;
  font-size: 11px;
}
.ws-quiet {
  padding: 20px 22px;
  font-size: 11.5px;
  line-height: 1.9;
  color: var(--muted);
}
.ws-side-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}
.ws-side-panel {
  padding: 23px;
  align-self: start;
}
.ws-side-panel > h2,
.ws-postoperative > h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.7;
}
.ws-side-panel > h2 > .icon,
.ws-postoperative > h2 > .icon {
  height: 18px;
  width: 18px;
  color: var(--primary);
}
.ws-side-panel > p,
.ws-postoperative > p {
  font-size: 11px;
  line-height: 1.9;
  color: var(--muted);
  margin-top: 10px;
}
.ws-info-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}
.ws-info-item > .icon {
  height: 17px;
  width: 17px;
  color: var(--rose-deep);
  margin-top: 2px;
}
.ws-info-item > span {
  min-width: 0;
}
.ws-info-item small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 5px;
}
.ws-info-item strong {
  font-size: 11.5px;
  line-height: 1.8;
  display: block;
  color: var(--text);
  font-weight: 600;
  overflow-wrap: anywhere;
}
.ws-directory-layout {
  display: grid;
  grid-template-columns: minmax(290px, 0.9fr) minmax(0, 1.5fr);
  gap: 22px;
  align-items: start;
}
.ws-directory {
  min-width: 0;
}
.ws-directory-search {
  padding: 18px 18px 12px;
}
.ws-directory-search .search-field {
  min-width: 0;
  width: 100%;
  height: 40px;
}
.ws-patient-tabs {
  display: flex;
  gap: 14px;
  margin: 14px 0 0;
}
.ws-patient-tabs > button {
  font-size: 10px;
  color: var(--muted);
  padding: 8px 1px;
  font-weight: 600;
  border-bottom: 2px solid transparent;
}
.ws-patient-tabs > button.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}
.ws-directory-items {
  max-height: 760px;
  overflow: auto;
  padding: 0 9px 12px;
  scrollbar-width: thin;
  scrollbar-color: var(--rose-border) transparent;
}
.ws-person-option,
.ws-history-option {
  display: flex;
  align-items: center;
  gap: 11px;
  text-align: left;
  width: 100%;
  padding: 15px 12px;
  border-radius: 8px;
  margin: 3px 0;
  border: 1px solid transparent;
}
.ws-person-option:hover,
.ws-history-option:hover {
  background: var(--surface-subtle);
}
.ws-person-option.selected,
.ws-history-option.selected {
  background: var(--primary-soft);
  border-color: var(--rose-border);
}
.ws-person-option > span:not(.avatar),
.ws-history-option > span:not(.avatar) {
  min-width: 0;
  flex: 1;
}
.ws-person-option strong,
.ws-history-option strong {
  display: block;
  font-size: 11.5px;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.6;
}
.ws-person-option small,
.ws-history-option small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  line-height: 1.8;
  margin-top: 4px;
}
.ws-person-option > .icon {
  height: 14px;
  width: 14px;
  color: var(--muted);
  margin-left: auto;
}
.ws-profile-cover {
  padding: 26px 27px;
  text-align: center;
  background: var(--surface-subtle);
  border-bottom: 1px solid var(--line);
}
.ws-profile-label {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 18px;
}
.ws-profile-cover > .avatar {
  width: 68px;
  height: 68px;
  font-size: 23px;
  border: 1px solid var(--rose-border);
}
.ws-profile-cover > h2 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--ink);
  line-height: 1.5;
  margin-top: 14px;
}
.ws-profile-cover > p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 7px;
  line-height: 1.8;
}
.ws-profile-cover > div {
  display: flex;
  justify-content: center;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.ws-profile-cover .button {
  font-size: 11px;
}
.ws-profile-data {
  padding: 25px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 23px 20px;
}
.ws-alert-line {
  display: flex;
  gap: 10px;
  background: var(--peach-soft);
  border: 1px solid var(--rose-border);
  border-radius: 8px;
  margin: 0 24px 7px;
  padding: 14px 16px;
  color: var(--rose-deep);
}
.ws-alert-line > .icon {
  height: 18px;
  width: 18px;
  margin-top: 2px;
}
.ws-alert-line strong {
  font-size: 11px;
  font-weight: 700;
}
.ws-alert-line p {
  font-size: 11px;
  line-height: 1.8;
  margin-top: 5px;
  white-space: pre-wrap;
}
.ws-short-timeline {
  padding: 0 24px;
}
.ws-short-timeline > button {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.ws-short-timeline > button > span {
  font-size: 10px;
  color: var(--muted);
  min-width: 74px;
}
.ws-short-timeline > button > div {
  flex: 1;
  min-width: 0;
}
.ws-short-timeline strong {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.7;
}
.ws-short-timeline small {
  font-size: 10.5px;
  color: var(--muted);
  display: block;
  margin-top: 4px;
  line-height: 1.8;
}
.ws-short-timeline > .ws-quiet {
  padding-left: 0;
  padding-right: 0;
}
.ws-short-timeline > button > .icon {
  height: 14px;
  width: 14px;
  color: var(--muted);
}
.ws-profile-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 23px 24px;
}
.ws-profile-actions .button {
  font-size: 10.5px;
}
.ws-encounter-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(270px, 1fr);
  gap: 22px;
  align-items: start;
}
.ws-day-group {
  margin: 24px 0;
}
.ws-day-group > h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--rose-deep);
  font-weight: 700;
  padding: 0 2px;
  margin-bottom: 14px;
  line-height: 1.8;
}
.ws-day-group > h2 > .icon {
  height: 16px;
  width: 16px;
}
.ws-day-group > h2 > span {
  font-size: 10px;
  font-weight: 400;
  margin-left: auto;
  color: var(--muted);
}
.ws-encounter-list {
  display: grid;
  gap: 17px;
}
.ws-encounter-card > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 21px 22px 0;
}
.ws-modality {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: var(--muted);
}
.ws-modality > .icon {
  height: 14px;
  width: 14px;
}
.ws-encounter-card > h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.6;
  padding: 18px 22px 0;
}
.ws-consult-note {
  padding: 10px 22px 22px;
}
.ws-consult-note > small {
  display: block;
  color: var(--rose-deep);
  font-size: 10.5px;
  font-weight: 700;
  margin-top: 12px;
}
.ws-consult-note > p {
  font-size: 12px;
  color: var(--text);
  line-height: 1.9;
  margin-top: 6px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.ws-encounter-card > footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding: 16px 22px;
  background: var(--surface-subtle);
}
.ws-encounter-card > footer > span {
  font-size: 10px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.ws-encounter-card > footer > span > .icon {
  height: 14px;
  width: 14px;
}
.ws-encounter-card > footer > div {
  display: flex;
  gap: 8px;
  margin-left: auto;
}
.ws-due-item {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  text-align: left;
  border-top: 1px solid var(--line);
  padding: 16px 0;
}
.ws-due-item:first-of-type {
  margin-top: 19px;
}
.ws-due-item > span {
  min-width: 52px;
  color: var(--primary);
  font-size: 10px;
  font-weight: 700;
  background: var(--primary-soft);
  border-radius: 6px;
  padding: 7px 8px;
  text-align: center;
  line-height: 1.7;
}
.ws-due-item > div {
  flex: 1;
  min-width: 0;
}
.ws-due-item strong {
  font-size: 11px;
  line-height: 1.7;
  color: var(--ink);
  font-weight: 700;
}
.ws-due-item small {
  display: block;
  font-size: 10px;
  line-height: 1.7;
  color: var(--muted);
  margin-top: 3px;
}
.ws-due-item > .icon {
  width: 13px;
  height: 13px;
  color: var(--muted);
}
.ws-history-layout {
  display: grid;
  grid-template-columns: 265px minmax(0, 1fr);
  gap: 23px;
  align-items: start;
}
.ws-history-index {
  padding-bottom: 10px;
}
.ws-history-index .ws-directory-search {
  padding-bottom: 16px;
}
.ws-history-option {
  border-radius: 0;
  margin: 0;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}
.ws-history-option.selected {
  border-top-color: transparent;
  border-right-color: transparent;
  border-left: 3px solid var(--primary);
  padding-left: 15px;
}
.ws-history-option .avatar {
  width: 30px;
  height: 30px;
  font-size: 9px;
}
.ws-history-option strong {
  font-size: 10.5px;
}
.ws-history-option small {
  font-size: 9px;
}
.ws-case-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 25px 25px 22px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-subtle);
}
.ws-case-heading > div > span {
  font-size: 10px;
  color: var(--muted);
}
.ws-case-heading h2 {
  font-size: 23px;
  color: var(--ink);
  font-weight: 700;
  margin-top: 7px;
  line-height: 1.5;
  letter-spacing: -0.5px;
}
.ws-case-heading p {
  font-size: 10.5px;
  color: var(--muted);
  line-height: 1.8;
  margin-top: 7px;
}
.ws-case-heading > .button {
  font-size: 10.5px;
}
.ws-history-baseline {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 24px 25px;
  border-bottom: 1px solid var(--line);
}
.ws-history-baseline h3 {
  font-size: 11px;
  font-weight: 700;
  color: var(--rose-deep);
  display: flex;
  align-items: center;
  gap: 7px;
  line-height: 1.7;
}
.ws-history-baseline h3 > .icon {
  height: 15px;
  width: 15px;
}
.ws-history-baseline p {
  font-size: 11.5px;
  line-height: 1.9;
  color: var(--text);
  margin-top: 8px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.ws-evolution-label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 24px 25px 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
}
.ws-evolution-label > .icon {
  height: 17px;
  width: 17px;
  color: var(--primary);
}
.ws-longitudinal-events {
  padding: 0 23px 24px;
}
.ws-history-event {
  border-bottom: 1px solid var(--line);
}
.ws-history-event > summary {
  display: flex;
  align-items: center;
  gap: 12px;
  list-style: none;
  cursor: pointer;
  padding: 19px 0;
}
.ws-history-event > summary::-webkit-details-marker {
  display: none;
}
.ws-event-dot {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 9px;
  flex-shrink: 0;
}
.ws-event-dot > .icon {
  height: 16px;
  width: 16px;
}
.ws-event-date {
  font-size: 10px;
  color: var(--muted);
  width: 75px;
  flex-shrink: 0;
  line-height: 1.8;
}
.ws-history-event > summary > span:nth-of-type(3) {
  flex: 1;
  min-width: 0;
}
.ws-history-event > summary strong {
  display: block;
  font-size: 11.5px;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.7;
}
.ws-history-event > summary small {
  font-size: 10.5px;
  color: var(--muted);
  line-height: 1.8;
  display: block;
  margin-top: 4px;
}
.ws-history-event > summary > .icon {
  height: 13px;
  width: 13px;
  color: var(--muted);
  flex-shrink: 0;
}
.ws-history-event[open] > summary > .icon {
  transform: rotate(180deg);
}
.ws-history-event > div {
  padding: 0 0 23px 44px;
}
.ws-history-event > div > .button {
  margin-top: 18px;
  font-size: 10px;
}
.ws-recipe-layout {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 23px;
  align-items: start;
}
.ws-recipe-index {
  padding-bottom: 10px;
}
.ws-recipe-filters {
  overflow: hidden;
}
.ws-recipe-filters .clinical-workflow {
  padding: 10px 8px 0;
  gap: 1px;
}
.ws-recipe-filters .workflow-filter {
  font-size: 9px;
  padding: 9px 5px 12px;
  gap: 4px;
}
.ws-recipe-filters .workflow-filter > .icon {
  display: none;
}
.ws-recipe-option {
  display: flex;
  flex-direction: column;
  gap: 11px;
  width: 100%;
  padding: 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  border-left: 3px solid transparent;
}
.ws-recipe-option:hover {
  background: var(--surface-subtle);
}
.ws-recipe-option.selected {
  border-left-color: var(--primary);
  background: var(--primary-soft);
}
.ws-recipe-option > span {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  width: 100%;
}
.ws-recipe-option strong {
  font-size: 10px;
  color: var(--rose-deep);
  font-weight: 700;
}
.ws-recipe-option small {
  font-size: 9px;
  color: var(--muted);
}
.ws-recipe-option > b {
  font-size: 12px;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.7;
}
.ws-preview-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 15px 21px;
  background: var(--surface-subtle);
  border-bottom: 1px solid var(--line);
}
.ws-preview-bar > span {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  color: var(--muted);
}
.ws-preview-bar > span > .icon {
  height: 15px;
  width: 15px;
  color: var(--primary);
}
.ws-preview-bar .button {
  font-size: 10px;
  min-height: 32px;
  padding: 8px 10px;
}
.ws-prescription-paper {
  padding: 34px 35px 40px;
  min-height: 620px;
  background: white;
}
.ws-prescription-paper > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding-bottom: 23px;
  border-bottom: 2px solid var(--rose);
}
.ws-prescription-paper > header h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 25px;
  font-weight: 500;
  color: var(--rose-deep);
  line-height: 1.5;
}
.ws-prescription-paper > header p {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  margin-top: 10px;
  line-height: 1.8;
}
.ws-prescription-paper > header small {
  font-size: 10px;
  line-height: 1.8;
  color: var(--muted);
}
.ws-prescription-paper > header > .icon {
  height: 40px;
  width: 40px;
  color: var(--rose);
  stroke-width: 1.4;
}
.ws-prescription-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 25px 0;
}
.ws-prescription-title > h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
}
.ws-prescription-title > span {
  font-size: 10px;
  color: var(--muted);
}
.ws-prescription-patient {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin: 20px 0;
}
.ws-prescription-patient > strong {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.8;
}
.ws-prescription-patient > span {
  font-size: 10px;
  color: var(--muted);
}
.ws-prescription-paper .clinical-allergy {
  margin: 20px 0;
  font-size: 10px;
  padding: 12px 14px;
}
.ws-prescription-paper .rx-medicines h3 {
  font-size: 13px;
}
.ws-prescription-paper .rx-medicines p {
  font-size: 11.5px;
}
.ws-study-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(225px, 1fr));
  gap: 15px;
  align-items: start;
  overflow-x: auto;
  padding-bottom: 12px;
  scrollbar-width: thin;
  scrollbar-color: var(--rose-border) transparent;
}
.ws-study-column {
  background: #f4f0f3;
  border: 1px solid var(--line);
  border-radius: 11px;
  min-height: 400px;
  overflow: hidden;
}
.ws-study-column > header {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 17px 13px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.5);
}
.ws-study-column > header > .icon {
  height: 16px;
  width: 16px;
  color: var(--mauve);
}
.ws-study-column > header > h2 {
  font-size: 11px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.6;
  flex: 1;
}
.ws-study-column > header > span {
  font-size: 10px;
  font-weight: 700;
  background: white;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 3px 6px;
  color: var(--muted);
}
.ws-study-column.state-received {
  background: #faf0e4;
}
.ws-study-column.state-received > header > .icon {
  color: var(--warning);
}
.ws-study-column.state-reviewed {
  background: #edf5f0;
}
.ws-study-column.state-reviewed > header > .icon {
  color: var(--success);
}
.ws-study-column > div {
  display: grid;
  gap: 13px;
  padding: 12px;
}
.ws-study-card {
  padding: 16px 14px 0;
  border-radius: 9px;
}
.ws-specimen-type {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  color: var(--rose-deep);
  line-height: 1.6;
  margin-bottom: 10px;
}
.ws-specimen-type > .icon {
  height: 13px;
  width: 13px;
}
.ws-study-card h3 {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.65;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.ws-study-patient {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 15px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.ws-study-patient > .avatar {
  height: 27px;
  width: 27px;
  font-size: 8px;
}
.ws-study-patient > span:not(.avatar) {
  font-size: 10px;
  color: var(--ink);
  line-height: 1.7;
  font-weight: 600;
  min-width: 0;
}
.ws-study-card dl {
  margin: 14px 0 15px;
  display: grid;
  gap: 10px;
}
.ws-study-card dl > div {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 7px;
  align-items: start;
}
.ws-study-card dt {
  font-size: 9px;
  color: var(--muted);
  line-height: 1.8;
}
.ws-study-card dd {
  font-size: 10px;
  color: var(--text);
  line-height: 1.8;
  margin: 0;
  overflow-wrap: anywhere;
}
.ws-result-note {
  font-size: 10px;
  line-height: 1.9;
  color: var(--rose-deep);
  margin: 12px 0;
}
.ws-study-card > footer {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
}
.ws-study-card > footer > .button {
  font-size: 9px;
  min-height: 30px;
  padding: 7px 9px;
  gap: 5px;
}
.ws-study-card > footer > .button > .icon {
  height: 13px;
  width: 13px;
}
.ws-column-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  padding: 20px 12px;
  color: var(--muted);
  text-align: center;
}
.ws-column-empty > .icon {
  height: 25px;
  width: 25px;
  color: var(--rose-deep);
  opacity: 0.5;
  margin-bottom: 13px;
}
.ws-column-empty p {
  font-size: 11px;
  line-height: 1.9;
}
.ws-cancelled-studies {
  margin-top: 22px;
  padding: 20px 23px;
}
.ws-cancelled-studies h3 {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 15px;
}
.ws-cancelled-studies > button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 13px 0;
  border-top: 1px solid var(--line);
  text-align: left;
  color: var(--text);
  font-size: 11px;
  line-height: 1.8;
  gap: 15px;
}
.ws-cancelled-studies > button > .icon {
  height: 14px;
  width: 14px;
}
.ws-surgery-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(265px, 1fr);
  gap: 22px;
  align-items: start;
}
.ws-surgery-main > .ws-section-header {
  padding: 0 0 18px;
  border: 0;
}
.ws-surgical-day {
  position: relative;
  margin-bottom: 25px;
}
.ws-surgical-day > header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 17px;
}
.ws-surgical-day > header > span {
  height: 45px;
  width: 45px;
  display: grid;
  place-items: center;
  font-size: 23px;
  font-weight: 700;
  border-radius: 10px;
  background: var(--primary-soft);
  color: var(--primary);
  border: 1px solid var(--rose-border);
}
.ws-surgical-day > header strong {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  display: block;
  text-transform: capitalize;
  line-height: 1.7;
}
.ws-surgical-day > header small {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.7;
  display: block;
  text-transform: capitalize;
  margin-top: 2px;
}
.ws-surgery-case {
  margin-bottom: 17px;
}
.ws-surgery-case > header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 22px 19px;
  border-bottom: 1px solid var(--line);
}
.ws-theatre-time {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 58px;
  background: var(--surface-subtle);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 9px;
  font-size: 13px;
  font-weight: 700;
  color: var(--rose-deep);
}
.ws-theatre-time > .icon {
  height: 15px;
  width: 15px;
}
.ws-theatre-time > small {
  font-size: 9px;
  font-weight: 400;
  color: var(--muted);
  white-space: nowrap;
}
.ws-surgery-case > header > div {
  flex: 1;
  min-width: 0;
}
.ws-surgery-case h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.6;
  letter-spacing: -0.3px;
}
.ws-surgery-case > header p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
  margin-top: 7px;
}
.ws-surgery-case > header > .clinical-status {
  font-size: 9px;
  padding: 5px 7px;
}
.ws-surgery-logistics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 22px;
}
.ws-preoperative {
  padding: 0 22px 23px;
}
.ws-preoperative h4 {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  color: var(--rose-deep);
  font-weight: 700;
  margin: 0 0 13px;
  line-height: 1.8;
}
.ws-preoperative h4 > .icon {
  height: 15px;
  width: 15px;
}
.ws-preoperative > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.ws-preoperative button {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 10px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface-subtle);
  font-size: 11px;
  min-height: 42px;
  line-height: 1.8;
  color: var(--muted);
}
.ws-preoperative button > .icon {
  height: 15px;
  width: 15px;
}
.ws-preoperative button.checked {
  background: var(--success-soft);
  border-color: #d5e5df;
  color: var(--success);
}
.ws-preoperative button:hover {
  border-color: var(--rose);
}
.ws-surgery-case > footer {
  padding: 17px 22px;
  background: var(--surface-subtle);
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.ws-surgery-case > footer > span {
  font-size: 10px;
  line-height: 1.8;
  color: var(--muted);
}
.ws-surgery-case > footer > div {
  display: flex;
  gap: 8px;
  margin-left: auto;
}
.ws-surgery-case > footer .button {
  font-size: 10px;
  min-height: 34px;
  padding: 9px 11px;
}
.ws-postoperative {
  padding: 23px;
}
.ws-postoperative > article {
  padding: 18px 0;
  border-top: 1px solid var(--line);
  margin-top: 16px;
}
.ws-postoperative > article > span {
  font-size: 10px;
  color: var(--primary);
  background: var(--primary-soft);
  border-radius: 5px;
  padding: 5px 7px;
  display: inline-block;
}
.ws-postoperative h3 {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.8;
  margin-top: 11px;
}
.ws-postoperative article p {
  font-size: 10.5px;
  color: var(--muted);
  line-height: 1.9;
  margin-top: 5px;
}
.ws-postoperative article > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.ws-side-empty {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.9;
  padding-top: 20px;
}
.ws-money-total {
  display: block;
  margin-top: 19px;
  font-size: 29px;
  letter-spacing: -0.8px;
  font-weight: 700;
  color: var(--rose-deep);
}
.ws-intervention-controls {
  margin-bottom: 22px;
}
.ws-interventions-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.85fr) minmax(260px, 1fr);
  gap: 22px;
  align-items: start;
}
.ws-intervention-cases {
  display: grid;
  gap: 19px;
}
.ws-intervention-case > header {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  padding: 22px;
}
.ws-procedure-symbol {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: var(--primary-soft);
  color: var(--primary);
  border: 1px solid var(--rose-border);
  border-radius: 10px;
}
.ws-procedure-symbol > .icon {
  height: 21px;
  width: 21px;
}
.ws-intervention-case > header > div {
  flex: 1;
  min-width: 0;
}
.ws-intervention-case > header > div > span {
  font-size: 10px;
  color: var(--muted);
  display: block;
  margin-bottom: 5px;
}
.ws-intervention-case h2 {
  font-size: 17px;
  line-height: 1.5;
  font-weight: 700;
  color: var(--ink);
}
.ws-intervention-case > header > .clinical-status {
  font-size: 9px;
}
.ws-intervention-patient {
  padding: 0 22px 19px;
  border-bottom: 1px solid var(--line);
}
.ws-intervention-record {
  display: grid;
  gap: 18px;
  padding: 22px;
}
.ws-intervention-record small {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--rose-deep);
}
.ws-intervention-record p {
  font-size: 12px;
  line-height: 1.9;
  white-space: pre-wrap;
  color: var(--text);
  margin-top: 7px;
  overflow-wrap: anywhere;
}
.ws-procedure-trace {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 14px;
  padding: 0 22px 23px;
}
.ws-procedure-trace > span {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 10px;
  color: var(--muted);
  line-height: 1.8;
}
.ws-procedure-trace > .icon,
.ws-procedure-trace > span > .icon {
  height: 14px;
  width: 14px;
  margin-top: 2px;
  color: var(--rose-deep);
}
.ws-intervention-case > footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  padding: 16px 22px;
  background: var(--surface-subtle);
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.ws-intervention-case > footer .button {
  font-size: 10.5px;
  min-height: 34px;
}
.ws-followup-aside {
  align-self: start;
}
.ws-obstetric-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}
.ws-gestation-index {
  padding-bottom: 12px;
}
.ws-gestation-option {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  padding: 20px 19px;
  text-align: left;
  border-left: 3px solid transparent;
  border-bottom: 1px solid var(--line);
}
.ws-gestation-option:hover {
  background: var(--surface-subtle);
}
.ws-gestation-option.selected {
  background: var(--primary-soft);
  border-left-color: var(--primary);
}
.ws-gestation-option > strong {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.8;
}
.ws-gestation-option > small {
  font-size: 10px;
  line-height: 1.8;
  color: var(--muted);
}
.ws-gestation-option > span {
  display: flex;
}
.ws-obstetric-case {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.ws-gestation-overview > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 25px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-subtle);
}
.ws-gestation-overview header > div > span {
  font-size: 10px;
  color: var(--muted);
  display: block;
  margin-bottom: 8px;
}
.ws-gestation-overview h2 {
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--ink);
  line-height: 1.6;
}
.ws-gestation-overview header p {
  margin-top: 10px;
}
.ws-gestation-overview header > .button {
  font-size: 10.5px;
  min-height: 34px;
}
.ws-gestation-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 24px;
}
.ws-obstetric-note {
  margin: 0 24px 24px;
  padding: 16px;
  border: 1px solid var(--line);
  background: var(--surface-subtle);
  border-radius: 8px;
}
.ws-obstetric-note strong {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--rose-deep);
}
.ws-obstetric-note p {
  font-size: 11.5px;
  color: var(--text);
  line-height: 1.9;
  margin-top: 7px;
  white-space: pre-wrap;
}
.ws-obstetric-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.ws-obstetric-actions > .button {
  font-size: 10.5px;
  min-height: 37px;
}
.ws-prenatal-control {
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}
.ws-prenatal-control > header {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.ws-prenatal-control > header > span {
  font-size: 10px;
  color: var(--muted);
}
.ws-prenatal-control > header > strong {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.8;
}
.ws-prenatal-control > header > .button {
  margin-left: auto;
}
.ws-prenatal-measurements {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 20px 0;
}
.ws-prenatal-control > p {
  font-size: 12px;
  line-height: 1.9;
  color: var(--text);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.ws-prenatal-control > small {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  color: var(--rose-deep);
  font-size: 10px;
  line-height: 1.8;
}
.ws-prenatal-control > small > .icon {
  height: 14px;
  width: 14px;
}
.ws-delivery-record > article {
  padding: 24px;
}
.ws-delivery-record article > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}
.ws-delivery-record article h3 {
  font-size: 15px;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.7;
}
.ws-delivery-record article header > span,
.ws-delivery-record article small {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.8;
}
.ws-delivery-record article p {
  font-size: 11.5px;
  line-height: 1.9;
  color: var(--text);
  white-space: pre-wrap;
  margin-top: 7px;
}
.ws-delivery-record article > div {
  padding: 17px 0;
}
.ws-delivery-record article strong {
  font-size: 11px;
  color: var(--rose-deep);
  font-weight: 700;
}
.ws-delivery-record article > .button {
  font-size: 10.5px;
  margin-top: 10px;
}
.ws-newborn-note {
  border-bottom: 1px solid var(--line);
}
.ws-vaccination-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(270px, 1fr);
  gap: 22px;
  align-items: start;
}
.ws-dose-courses > .ws-section-header {
  padding: 0 0 18px;
  border: 0;
}
.ws-vaccination-course {
  margin-bottom: 20px;
}
.ws-vaccination-course > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 22px;
  border-bottom: 1px solid var(--line);
}
.ws-vaccine-product {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  color: var(--primary);
  line-height: 1.8;
  max-width: 190px;
}
.ws-vaccine-product > .icon {
  height: 17px;
  width: 17px;
}
.ws-vaccination-course > p {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.8;
  padding: 18px 22px 0;
}
.ws-dose-sequence {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding: 20px 22px 24px;
}
.ws-dose-cell {
  flex: 1 0 125px;
  border: 1px dashed var(--rose-border);
  border-radius: 9px;
  background: var(--surface-subtle);
  padding: 17px 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}
.ws-dose-cell > span {
  width: 33px;
  height: 33px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--white);
  color: var(--muted);
  border: 1px solid var(--line);
  margin-bottom: 12px;
}
.ws-dose-cell > span > .icon {
  height: 17px;
  width: 17px;
}
.ws-dose-cell > strong {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.8;
}
.ws-dose-cell > small {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.8;
  margin-top: 4px;
}
.ws-dose-cell > time {
  font-size: 10px;
  color: var(--text);
  line-height: 1.8;
  margin-top: 8px;
}
.ws-dose-cell > .text-link,
.ws-dose-cell > .button {
  margin-top: 12px;
  font-size: 10px;
}
.ws-dose-cell.administered {
  border-style: solid;
  border-color: #cde1d9;
  background: var(--success-soft);
}
.ws-dose-cell.administered > span {
  border-color: #cde1d9;
  color: var(--success);
}
.ws-dose-cell.planned {
  background: var(--primary-soft);
  border-style: solid;
}
.ws-dose-cell.planned > span {
  color: var(--primary);
  border-color: var(--rose-border);
}
.ws-vaccination-course > footer {
  padding: 15px 22px;
  border-top: 1px solid var(--line);
  background: var(--surface-subtle);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ws-vaccination-course > footer > span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--rose-deep);
  font-size: 10px;
  line-height: 1.8;
}
.ws-vaccination-course > footer > span > .icon {
  height: 14px;
  width: 14px;
}
.ws-vaccination-course > footer > small {
  font-size: 9.5px;
  color: var(--muted);
  line-height: 1.8;
}
.ws-vaccine-inventory {
  padding-bottom: 5px;
}
.ws-lot-card {
  padding: 20px;
  border-bottom: 1px solid var(--line);
}
.ws-lot-card > header {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  justify-content: space-between;
}
.ws-lot-card header > strong {
  font-size: 12px;
  color: var(--ink);
  line-height: 1.8;
  font-weight: 700;
}
.ws-lot-card header > span {
  font-size: 9px;
  line-height: 1.8;
  color: var(--success);
  border-radius: 5px;
  background: var(--success-soft);
  padding: 4px 6px;
  white-space: nowrap;
}
.ws-lot-card.expired header > span {
  background: var(--danger-soft);
  color: var(--danger);
}
.ws-lot-card > p {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.8;
  margin-top: 7px;
}
.ws-lot-card > div {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 16px 0 12px;
}
.ws-lot-card > div > strong {
  font-size: 30px;
  letter-spacing: -1px;
  font-weight: 700;
  color: var(--rose-deep);
}
.ws-lot-card > div > span {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.8;
}
.ws-lot-card > small {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: var(--text);
  line-height: 1.8;
}
.ws-lot-card > small > .icon {
  height: 13px;
  width: 13px;
}
.ws-lot-card > footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 16px;
}
.ws-lot-card > footer > .button {
  font-size: 9.5px;
  padding-left: 0;
  padding-right: 0;
}
.ws-active-scope {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  margin: 0 0 20px;
  font-size: 11px;
  color: var(--rose-deep);
  line-height: 1.8;
  padding: 12px 15px;
  background: var(--primary-soft);
  border: 1px solid var(--rose-border);
  border-radius: 7px;
}
.ws-active-scope > .icon {
  height: 16px;
  width: 16px;
}
.ws-method-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 23px;
}
.ws-method-selector > button {
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--white);
  font-size: 11px;
  color: var(--muted);
  padding: 10px 13px;
  font-weight: 600;
}
.ws-method-selector > button > .icon {
  width: 15px;
  height: 15px;
}
.ws-method-selector > button.active {
  color: var(--primary);
  background: var(--primary-soft);
  border-color: var(--rose-border);
}
.ws-planning-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(260px, 1fr);
  gap: 22px;
  align-items: start;
}
.ws-method-cards {
  display: grid;
  gap: 20px;
}
.ws-family-plan > header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 23px;
  border-bottom: 1px solid var(--line);
}
.ws-method-symbol {
  height: 43px;
  width: 43px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 11px;
  background: var(--primary-soft);
  color: var(--primary);
  border: 1px solid var(--rose-border);
}
.ws-method-symbol > .icon {
  height: 22px;
  width: 22px;
}
.ws-family-plan > header > div {
  flex: 1;
  min-width: 0;
}
.ws-family-plan > header > div > span {
  font-size: 10px;
  color: var(--primary);
  font-weight: 600;
  display: block;
  line-height: 1.8;
  margin-bottom: 4px;
}
.ws-family-plan h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.6;
  letter-spacing: -0.2px;
}
.ws-family-product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 23px;
}
.ws-method-dates {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 0 23px;
  padding: 19px;
  background: var(--surface-subtle);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.ws-method-dates small {
  font-size: 10px;
  color: var(--muted);
  display: block;
  line-height: 1.8;
  margin-bottom: 6px;
}
.ws-method-dates strong {
  font-size: 11.5px;
  color: var(--rose-deep);
  font-weight: 600;
  line-height: 1.8;
}
.ws-family-plan > p {
  padding: 23px;
  font-size: 12px;
  line-height: 1.9;
  color: var(--text);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.ws-family-plan > footer {
  display: flex;
  align-items: center;
  gap: 9px;
  justify-content: flex-end;
  flex-wrap: wrap;
  padding: 16px 23px;
  background: var(--surface-subtle);
  border-top: 1px solid var(--line);
}
.ws-family-plan > footer > .button {
  font-size: 10.5px;
}
.ws-teleconsultation-layout {
  display: grid;
  grid-template-columns: minmax(290px, 1fr) minmax(0, 1.7fr);
  gap: 23px;
  align-items: start;
}
.ws-online-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 18px;
  width: 100%;
  border-left: 3px solid transparent;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.ws-online-option:hover {
  background: var(--surface-subtle);
}
.ws-online-option.selected {
  background: var(--primary-soft);
  border-left-color: var(--primary);
}
.ws-online-option > time {
  font-size: 17px;
  color: var(--primary);
  font-weight: 700;
  line-height: 1.5;
  min-width: 65px;
  letter-spacing: -0.3px;
}
.ws-online-option > time > small {
  display: block;
  color: var(--muted);
  font-size: 9px;
  font-weight: 400;
  line-height: 1.8;
  margin-top: 5px;
}
.ws-online-option > span:not(.status) {
  flex: 1;
  min-width: 0;
}
.ws-online-option strong {
  font-size: 11px;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.8;
  display: block;
}
.ws-online-option small {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.8;
  display: block;
  margin-top: 4px;
}
.ws-online-option > .status {
  font-size: 8px;
  padding: 4px 5px;
}
.ws-call-stage {
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
  background: #3d2833;
  padding: 36px 26px;
  color: #fff;
  min-height: 353px;
}
.ws-call-stage > span:first-child {
  height: 59px;
  width: 59px;
  border: 1px solid #775362;
  border-radius: 18px;
  background: #563742;
  color: #f3cad9;
  display: grid;
  place-items: center;
  margin-bottom: 21px;
}
.ws-call-stage > span:first-child > .icon {
  height: 28px;
  width: 28px;
  stroke-width: 1.4;
}
.ws-call-stage > p {
  font-size: 10px;
  color: #e5c5d2;
  line-height: 1.8;
}
.ws-call-stage > h2 {
  font-size: 26px;
  letter-spacing: -0.6px;
  line-height: 1.6;
  font-weight: 600;
  color: white;
  margin-top: 8px;
}
.ws-call-stage > div {
  font-size: 12px;
  color: #f3dce5;
  line-height: 1.8;
  margin-top: 10px;
}
.ws-call-stage > small {
  font-size: 10.5px;
  color: #dfbecb;
  line-height: 1.8;
  margin-top: 8px;
}
.ws-call-stage > .button {
  font-size: 11px;
  margin-top: 23px;
  min-height: 38px;
}
.ws-call-platform-note {
  font-size: 9px;
  color: #dfbecb;
  line-height: 1.8;
  margin-top: 15px;
}
.ws-online-readiness {
  padding: 24px;
}
.ws-online-readiness > h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--ink);
  font-weight: 700;
  margin-bottom: 19px;
}
.ws-online-readiness > h3 > .icon {
  height: 17px;
  width: 17px;
  color: var(--primary);
}
.ws-online-readiness > div {
  display: grid;
  gap: 13px;
}
.ws-online-readiness > div > span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.8;
}
.ws-online-readiness > div > span > .icon {
  height: 15px;
  width: 15px;
  color: var(--warning);
}
.ws-online-readiness > div > .ready > .icon {
  color: var(--success);
}
.ws-online-readiness strong {
  font-size: 9px;
  font-weight: 600;
  margin-left: auto;
  padding: 3px 6px;
  background: var(--surface-subtle);
  border: 1px solid var(--line);
  border-radius: 4px;
  white-space: nowrap;
}
.ws-online-room > footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  padding: 18px 24px;
  background: var(--surface-subtle);
  border-top: 1px solid var(--line);
}
.ws-online-room > footer > .button {
  font-size: 11px;
}
.ws-document-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 23px;
  align-items: start;
}
.ws-document-folders {
  padding: 21px 11px 13px;
}
.ws-document-folders h2 {
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 700;
  padding: 0 10px 17px;
  line-height: 1.8;
}
.ws-document-folders h2 > .icon {
  width: 17px;
  height: 17px;
  color: var(--primary);
}
.ws-document-folders > button {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 13px 10px;
  border-radius: 7px;
  font-size: 10.5px;
  color: var(--muted);
  text-align: left;
  width: 100%;
  margin: 3px 0;
  line-height: 1.7;
}
.ws-document-folders > button > span {
  flex: 1;
  min-width: 0;
}
.ws-document-folders > button > .icon {
  height: 16px;
  width: 16px;
}
.ws-document-folders > button > strong {
  font-size: 9px;
  border-radius: 4px;
  padding: 2px 5px;
  background: var(--surface-subtle);
  font-weight: 600;
}
.ws-document-folders > button.active {
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 700;
}
.ws-document-folders > button:hover {
  background: var(--surface-subtle);
}
.ws-document-layout > section > .ws-section-header {
  padding: 0 0 19px;
  border: 0;
}
.ws-document-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.ws-file-cover {
  position: relative;
  background: #f4edf0;
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 29px 20px 21px;
  min-height: 146px;
  border-bottom: 1px solid var(--line);
}
.ws-file-cover > span:first-child {
  display: grid;
  place-items: center;
  width: 47px;
  height: 55px;
  background: white;
  border: 1px solid var(--rose-border);
  border-radius: 7px;
  color: var(--primary);
  box-shadow: 3px 4px 0 #e9d6df;
}
.ws-file-cover > span:first-child > .icon {
  width: 28px;
  height: 28px;
  stroke-width: 1.4;
}
.ws-file-cover > small {
  font-size: 9px;
  color: var(--muted);
  line-height: 1.8;
  margin-top: 14px;
}
.ws-file-cover > .clinical-status {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 8px;
  padding: 4px 6px;
}
.ws-file-description {
  padding: 20px;
}
.ws-file-description > span {
  font-size: 9px;
  color: var(--primary);
  line-height: 1.8;
}
.ws-file-description > h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.6;
  margin-top: 7px;
  overflow-wrap: anywhere;
}
.ws-file-description > p {
  font-size: 11px;
  color: var(--text);
  line-height: 1.8;
  margin-top: 10px;
}
.ws-file-description > small {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  color: var(--muted);
  line-height: 1.8;
  margin-top: 7px;
}
.ws-file-description > small > .icon {
  height: 13px;
  width: 13px;
}
.ws-file-name {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 9.5px;
  color: var(--muted);
  line-height: 1.8;
  padding: 10px 11px;
  background: var(--surface-subtle);
  border: 1px solid var(--line);
  border-radius: 6px;
  margin-top: 13px;
  overflow-wrap: anywhere;
}
.ws-file-name > .icon {
  height: 13px;
  width: 13px;
}
.ws-file-card > footer {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 14px 20px;
  border-top: 1px solid var(--line);
  background: var(--surface-subtle);
}
.ws-file-card > footer > .button {
  font-size: 9.5px;
  padding: 8px 9px;
  min-height: 31px;
  gap: 5px;
}
.ws-file-card > footer > .button > .icon {
  height: 13px;
  width: 13px;
}
.ws-library-empty {
  grid-column: 1/-1;
}
@media (min-width: 1600px) {
  .ws-study-column > header > h2 {
    font-size: 12px;
  }
  .ws-study-card h3 {
    font-size: 14px;
  }
  .ws-study-card dt {
    font-size: 10px;
  }
  .ws-study-card dd {
    font-size: 11px;
  }
  .ws-study-patient > span:not(.avatar) {
    font-size: 11px;
  }
  .ws-study-card > footer > .button {
    font-size: 10px;
  }
  .ws-document-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .ws-person-option strong {
    font-size: 12px;
  }
  .ws-history-option strong {
    font-size: 11.5px;
  }
  .ws-recipe-layout {
    grid-template-columns: 310px minmax(0, 1fr);
  }
  .ws-dose-cell {
    flex-basis: 140px;
  }
}
@media (max-width: 1190px) {
  .ws-directory-layout {
    grid-template-columns: minmax(260px, 1fr) minmax(0, 1.35fr);
    gap: 18px;
  }
  .ws-profile-cover {
    padding: 23px;
  }
  .ws-profile-cover > h2 {
    font-size: 22px;
  }
  .ws-profile-data {
    padding: 21px;
    gap: 20px 15px;
  }
  .ws-history-layout {
    grid-template-columns: 235px minmax(0, 1fr);
    gap: 18px;
  }
  .ws-history-option {
    padding-left: 14px;
    padding-right: 14px;
    gap: 8px;
  }
  .ws-history-option.selected {
    padding-left: 11px;
  }
  .ws-case-heading {
    padding: 22px;
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .ws-case-heading h2 {
    font-size: 21px;
  }
  .ws-history-baseline {
    padding: 22px;
    gap: 17px;
  }
  .ws-longitudinal-events {
    padding-left: 20px;
    padding-right: 20px;
  }
  .ws-event-date {
    width: 60px;
    font-size: 9px;
  }
  .ws-history-event > summary {
    gap: 9px;
  }
  .ws-recipe-layout {
    grid-template-columns: 235px minmax(0, 1fr);
    gap: 18px;
  }
  .ws-prescription-paper {
    padding: 27px;
  }
  .ws-prescription-paper > header h2 {
    font-size: 22px;
  }
  .ws-preview-bar {
    padding: 13px 16px;
    flex-wrap: wrap;
  }
  .ws-preview-bar .button {
    font-size: 9px;
  }
  .ws-study-board {
    gap: 11px;
  }
  .ws-study-column > header {
    padding: 15px 10px;
    gap: 6px;
  }
  .ws-study-column > header > h2 {
    font-size: 10px;
  }
  .ws-study-column > header > .icon {
    height: 14px;
    width: 14px;
  }
  .ws-study-column > div {
    padding: 9px;
    gap: 11px;
  }
  .ws-study-card {
    padding: 14px 11px 0;
  }
  .ws-study-card h3 {
    font-size: 12px;
  }
  .ws-study-patient {
    gap: 6px;
  }
  .ws-study-patient > .avatar {
    display: none;
  }
  .ws-study-card dl > div {
    grid-template-columns: 52px 1fr;
    gap: 5px;
  }
  .ws-surgery-layout,
  .ws-interventions-layout,
  .ws-planning-layout,
  .ws-vaccination-layout {
    grid-template-columns: minmax(0, 1.7fr) minmax(235px, 1fr);
    gap: 18px;
  }
  .ws-surgery-case > header {
    padding: 20px 18px;
    gap: 12px;
    flex-wrap: wrap;
  }
  .ws-surgery-case h3 {
    font-size: 15px;
  }
  .ws-surgery-case > header > .clinical-status {
    margin-left: 70px;
  }
  .ws-surgery-logistics {
    padding: 20px 18px;
    gap: 17px;
  }
  .ws-preoperative {
    padding: 0 18px 20px;
  }
  .ws-preoperative > div {
    gap: 7px;
  }
  .ws-preoperative button {
    font-size: 11px;
    padding: 10px 8px;
    gap: 6px;
  }
  .ws-preoperative button > .icon {
    width: 14px;
    height: 14px;
  }
  .ws-surgery-case > footer {
    padding: 16px 18px;
  }
  .ws-postoperative,
  .ws-side-panel {
    padding: 20px;
  }
  .ws-postoperative > h2,
  .ws-side-panel > h2 {
    font-size: 12px;
  }
  .ws-obstetric-layout {
    grid-template-columns: 235px minmax(0, 1fr);
    gap: 18px;
  }
  .ws-gestation-overview > header {
    padding: 22px;
    flex-wrap: wrap;
  }
  .ws-gestation-overview h2 {
    font-size: 22px;
  }
  .ws-gestation-facts {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 22px;
  }
  .ws-gestation-option {
    padding: 17px 15px;
  }
  .ws-prenatal-measurements {
    grid-template-columns: 1fr 1fr;
    gap: 17px;
  }
  .ws-vaccination-course > header {
    padding: 20px;
    flex-wrap: wrap;
  }
  .ws-dose-cell {
    flex-basis: 115px;
    padding: 15px 10px;
  }
  .ws-vaccine-product {
    max-width: none;
  }
  .ws-teleconsultation-layout {
    grid-template-columns: minmax(260px, 1fr) minmax(0, 1.4fr);
    gap: 18px;
  }
  .ws-online-option {
    padding: 18px 14px;
    gap: 9px;
    flex-wrap: wrap;
  }
  .ws-online-option > .status {
    margin-left: 77px;
  }
  .ws-call-stage {
    padding: 32px 22px;
  }
  .ws-call-stage > h2 {
    font-size: 24px;
  }
  .ws-online-readiness {
    padding: 22px;
  }
  .ws-online-readiness > div > span {
    font-size: 10px;
    flex-wrap: wrap;
  }
  .ws-document-layout {
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 18px;
  }
  .ws-document-folders {
    padding-left: 8px;
    padding-right: 8px;
  }
  .ws-document-folders > button {
    font-size: 10px;
    gap: 7px;
    padding: 12px 8px;
  }
  .ws-document-folders > button > .icon {
    width: 14px;
    height: 14px;
  }
  .ws-file-description {
    padding: 18px;
  }
  .ws-file-description > h3 {
    font-size: 14px;
  }
  .ws-file-card > footer {
    padding: 13px 17px;
    gap: 7px;
  }
}
@media (max-width: 980px) {
  .ws-directory-layout {
    grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.1fr);
    gap: 16px;
  }
  .ws-profile-cover {
    padding: 22px 18px;
  }
  .ws-profile-cover > h2 {
    font-size: 20px;
  }
  .ws-profile-data {
    grid-template-columns: 1fr;
    padding: 20px;
    gap: 19px;
  }
  .ws-alert-line {
    margin-left: 20px;
    margin-right: 20px;
  }
  .ws-short-timeline {
    padding: 0 20px;
  }
  .ws-short-timeline > button {
    gap: 10px;
    flex-wrap: wrap;
  }
  .ws-short-timeline > button > div {
    flex-basis: calc(100% - 80px);
  }
  .ws-profile-actions {
    padding: 20px;
    gap: 8px;
  }
  .ws-encounter-layout,
  .ws-surgery-layout,
  .ws-interventions-layout,
  .ws-planning-layout,
  .ws-vaccination-layout {
    grid-template-columns: 1fr;
  }
  .ws-side-stack {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
  .ws-followup-aside {
    width: 100%;
  }
  .ws-history-layout {
    grid-template-columns: 1fr;
  }
  .ws-history-index {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding-bottom: 5px;
  }
  .ws-history-index > .ws-section-header,
  .ws-history-index > .ws-directory-search {
    grid-column: 1/-1;
  }
  .ws-history-index > .ws-history-option {
    padding: 15px 18px;
    border-right: 1px solid var(--line);
  }
  .ws-history-option strong {
    font-size: 11px;
  }
  .ws-history-option small {
    font-size: 9.5px;
  }
  .ws-recipe-layout {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 16px;
  }
  .ws-prescription-paper {
    padding: 24px 22px;
  }
  .ws-prescription-paper > header {
    gap: 13px;
  }
  .ws-prescription-paper > header h2 {
    font-size: 21px;
  }
  .ws-prescription-paper > header > .icon {
    width: 30px;
    height: 30px;
  }
  .ws-prescription-title,
  .ws-prescription-patient {
    flex-wrap: wrap;
    gap: 10px;
  }
  .ws-study-board {
    grid-template-columns: repeat(4, minmax(230px, 1fr));
    overflow-x: auto;
    padding-bottom: 12px;
    gap: 14px;
    align-items: start;
    scrollbar-width: thin;
    scrollbar-color: var(--rose-border) transparent;
  }
  .ws-study-column > header {
    padding: 17px 14px;
  }
  .ws-study-column > header > h2 {
    font-size: 11px;
  }
  .ws-study-column > header > .icon {
    height: 16px;
    width: 16px;
  }
  .ws-study-column > div {
    padding: 12px;
  }
  .ws-study-card {
    padding: 17px 14px 0;
  }
  .ws-study-card h3 {
    font-size: 13px;
  }
  .ws-study-patient > .avatar {
    display: flex;
  }
  .ws-study-card dl > div {
    grid-template-columns: 58px 1fr;
    gap: 7px;
  }
  .ws-preoperative button {
    font-size: 10px;
    padding: 11px;
  }
  .ws-surgery-case > header > .clinical-status {
    margin-left: 0;
  }
  .ws-surgery-logistics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .ws-obstetric-layout {
    grid-template-columns: 1fr;
  }
  .ws-gestation-index {
    display: flex;
    flex-wrap: wrap;
    padding-bottom: 0;
  }
  .ws-gestation-index > .ws-section-header {
    flex: 1 0 100%;
  }
  .ws-gestation-option {
    flex: 1 0 45%;
    max-width: 100%;
    padding: 17px 19px;
    border-right: 1px solid var(--line);
  }
  .ws-gestation-option > strong {
    font-size: 11px;
  }
  .ws-gestation-facts,
  .ws-prenatal-measurements {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .ws-vaccine-inventory {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding-bottom: 0;
  }
  .ws-vaccine-inventory > .ws-section-header,
  .ws-vaccine-inventory > .ws-empty {
    grid-column: 1/-1;
  }
  .ws-lot-card {
    border-right: 1px solid var(--line);
  }
  .ws-dose-cell {
    flex-basis: 120px;
  }
  .ws-teleconsultation-layout {
    grid-template-columns: 1fr;
  }
  .ws-online-agenda {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .ws-online-agenda > .ws-section-header,
  .ws-online-agenda > .ws-empty {
    grid-column: 1/-1;
  }
  .ws-online-option {
    border-right: 1px solid var(--line);
  }
  .ws-call-stage {
    min-height: 340px;
  }
  .ws-call-stage > h2 {
    font-size: 27px;
  }
  .ws-online-readiness > div > span {
    font-size: 11px;
  }
  .ws-document-layout {
    grid-template-columns: 1fr;
  }
  .ws-document-folders {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 15px;
  }
  .ws-document-folders h2 {
    width: 100%;
    padding: 0 5px 9px;
  }
  .ws-document-folders > button {
    width: auto;
    flex: 1 0 30%;
    border: 1px solid var(--line);
    padding: 10px;
    font-size: 9.5px;
    margin: 0;
    gap: 6px;
  }
  .ws-document-folders > button > strong {
    margin-left: 4px;
  }
  .ws-document-folders > button > span {
    flex: 1;
  }
  .ws-document-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ws-file-cover {
    min-height: 150px;
  }
  .ws-file-description > h3 {
    font-size: 15px;
  }
}
@media (max-width: 760px) {
  .brand strong {
    font-size: 21px;
  }
  .ws-directory-layout {
    grid-template-columns: minmax(260px, 1fr) minmax(0, 1.3fr);
  }
  .ws-profile-data {
    grid-template-columns: 1fr 1fr;
  }
  .ws-person-option strong {
    font-size: 11px;
  }
  .ws-profile-cover > h2 {
    font-size: 22px;
  }
  .ws-recipe-layout {
    grid-template-columns: 240px minmax(0, 1fr);
  }
  .ws-prescription-paper {
    padding: 28px;
  }
  .ws-view-switch {
    margin-top: -2px;
  }
  .ws-section-header {
    padding: 19px 20px;
  }
  .ws-online-option > .status {
    margin-left: 77px;
  }
  .ws-side-panel > h2,
  .ws-postoperative > h2 {
    font-size: 13px;
  }
  .ws-study-board {
    grid-template-columns: repeat(4, minmax(235px, 1fr));
  }
  .ws-document-folders > button {
    font-size: 10px;
  }
  .ws-document-grid {
    gap: 17px;
  }
}
@media (max-width: 580px) {
  .ws-view-switch {
    gap: 12px;
    align-items: center;
    margin-top: -7px;
    margin-bottom: 21px;
    padding-bottom: 15px;
  }
  .ws-view-switch > span {
    font-size: 9px;
    gap: 5px;
  }
  .ws-view-switch > span > .icon {
    width: 13px;
    height: 13px;
  }
  .ws-view-switch button {
    font-size: 10px;
    gap: 5px;
    padding: 7px 9px;
    min-height: 30px;
  }
  .ws-view-switch button > .icon {
    width: 13px;
    height: 13px;
  }
  .ws-section-header {
    padding: 18px;
  }
  .ws-section-header h2,
  .ws-section-header h3 {
    font-size: 12px;
    gap: 7px;
  }
  .ws-section-header > span {
    font-size: 9px;
  }
  .ws-tools {
    margin-bottom: 19px;
  }
  .ws-tools .list-toolbar {
    padding: 16px;
  }
  .ws-empty {
    padding: 34px 20px;
    min-height: 220px;
  }
  .ws-empty > h3 {
    font-size: 14px;
  }
  .ws-empty > p {
    font-size: 11px;
    line-height: 1.9;
  }
  .ws-empty > span {
    height: 47px;
    width: 47px;
    border-radius: 13px;
  }
  .ws-empty > span > .icon {
    height: 23px;
    width: 23px;
  }
  .ws-empty > .button {
    font-size: 10.5px;
  }
  .ws-directory-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .ws-directory-items {
    max-height: 350px;
  }
  .ws-directory-search {
    padding: 16px 16px 10px;
  }
  .ws-person-option {
    padding: 13px 11px;
  }
  .ws-person-option strong {
    font-size: 12px;
  }
  .ws-person-option small {
    font-size: 10px;
  }
  .ws-profile-cover {
    padding: 25px 20px;
  }
  .ws-profile-cover > h2 {
    font-size: 23px;
  }
  .ws-profile-data {
    padding: 22px 20px;
    gap: 21px 15px;
  }
  .ws-info-item {
    gap: 8px;
  }
  .ws-info-item > .icon {
    height: 15px;
    width: 15px;
  }
  .ws-info-item small {
    font-size: 9px;
  }
  .ws-info-item strong {
    font-size: 10.5px;
  }
  .ws-alert-line {
    margin: 0 20px 5px;
    padding: 13px;
  }
  .ws-alert-line strong,
  .ws-alert-line p {
    font-size: 10.5px;
  }
  .ws-short-timeline {
    padding: 0 20px;
  }
  .ws-short-timeline > button > span {
    font-size: 9px;
  }
  .ws-short-timeline strong {
    font-size: 11px;
  }
  .ws-short-timeline small {
    font-size: 10px;
  }
  .ws-profile-actions .button {
    font-size: 10px;
    min-height: 33px;
    padding: 9px 10px;
    gap: 6px;
  }
  .ws-profile-actions .button > .icon {
    height: 13px;
    width: 13px;
  }
  .ws-encounter-layout {
    gap: 18px;
  }
  .ws-encounter-card > header {
    padding: 19px 18px 0;
    gap: 10px;
  }
  .ws-modality {
    font-size: 9px;
    gap: 4px;
  }
  .ws-modality > .icon {
    height: 13px;
    width: 13px;
  }
  .ws-encounter-card > h3 {
    font-size: 15px;
    padding: 17px 18px 0;
  }
  .ws-consult-note {
    padding: 9px 18px 20px;
  }
  .ws-consult-note > small {
    font-size: 10px;
  }
  .ws-consult-note > p {
    font-size: 11.5px;
  }
  .ws-encounter-card > footer {
    padding: 15px 18px;
    gap: 12px;
  }
  .ws-encounter-card > footer > span {
    font-size: 9px;
  }
  .ws-encounter-card > footer > div {
    width: 100%;
    justify-content: flex-end;
  }
  .ws-side-stack {
    display: flex;
    gap: 18px;
  }
  .ws-side-panel,
  .ws-postoperative {
    padding: 20px;
  }
  .ws-side-panel > p,
  .ws-postoperative > p {
    font-size: 10.5px;
  }
  .ws-due-item strong {
    font-size: 11px;
  }
  .ws-due-item small {
    font-size: 10px;
  }
  .ws-history-index {
    display: block;
    max-height: 380px;
    overflow: auto;
  }
  .ws-history-index > .ws-section-header {
    position: sticky;
    top: 0;
    background: white;
    z-index: 1;
  }
  .ws-history-index .ws-directory-search {
    padding-bottom: 13px;
  }
  .ws-history-option {
    padding: 14px 18px;
  }
  .ws-history-option strong {
    font-size: 11.5px;
  }
  .ws-history-option small {
    font-size: 10px;
  }
  .ws-case-heading {
    padding: 22px 20px;
    gap: 16px;
  }
  .ws-case-heading > div > span {
    font-size: 9px;
  }
  .ws-case-heading h2 {
    font-size: 22px;
  }
  .ws-case-heading p {
    font-size: 10px;
  }
  .ws-case-heading > .button {
    font-size: 10px;
  }
  .ws-history-baseline {
    padding: 22px 20px;
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .ws-history-baseline h3 {
    font-size: 11px;
  }
  .ws-history-baseline p {
    font-size: 11.5px;
  }
  .ws-evolution-label {
    padding: 23px 20px 10px;
    font-size: 12px;
  }
  .ws-longitudinal-events {
    padding: 0 18px 21px;
  }
  .ws-history-event > summary {
    gap: 9px;
    flex-wrap: wrap;
    padding: 17px 0;
  }
  .ws-event-dot {
    width: 28px;
    height: 28px;
    border-radius: 8px;
  }
  .ws-event-dot > .icon {
    height: 14px;
    width: 14px;
  }
  .ws-event-date {
    width: 67px;
    font-size: 9px;
  }
  .ws-history-event > summary > span:nth-of-type(3) {
    flex-basis: calc(100% - 125px);
  }
  .ws-history-event > summary strong {
    font-size: 11px;
  }
  .ws-history-event > summary small {
    font-size: 10px;
  }
  .ws-history-event > summary > .icon {
    height: 12px;
    width: 12px;
  }
  .ws-history-event > div {
    padding: 0 0 21px 0;
  }
  .ws-recipe-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .ws-recipe-index {
    max-height: 400px;
    overflow: auto;
  }
  .ws-recipe-filters .workflow-filter {
    font-size: 10px;
    padding: 10px 8px 12px;
  }
  .ws-recipe-filters .workflow-filter > .icon {
    display: inline-flex;
    height: 13px;
    width: 13px;
  }
  .ws-recipe-option {
    padding: 17px 18px;
    gap: 10px;
  }
  .ws-recipe-option strong {
    font-size: 10px;
  }
  .ws-recipe-option small {
    font-size: 9px;
  }
  .ws-recipe-option > b {
    font-size: 12px;
  }
  .ws-preview-bar {
    padding: 14px 17px;
    gap: 12px;
  }
  .ws-preview-bar > span {
    font-size: 10px;
  }
  .ws-preview-bar > .button {
    font-size: 10px;
  }
  .ws-prescription-paper {
    padding: 25px 21px 33px;
    min-height: 440px;
  }
  .ws-prescription-paper > header {
    gap: 12px;
  }
  .ws-prescription-paper > header h2 {
    font-size: 22px;
  }
  .ws-prescription-paper > header p {
    font-size: 11px;
  }
  .ws-prescription-paper > header small {
    font-size: 9px;
  }
  .ws-prescription-paper > header > .icon {
    width: 30px;
    height: 30px;
  }
  .ws-prescription-title {
    margin: 22px 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .ws-prescription-title > h3 {
    font-size: 18px;
  }
  .ws-prescription-title > span {
    font-size: 9.5px;
  }
  .ws-prescription-patient {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
  }
  .ws-prescription-patient > strong {
    font-size: 12px;
  }
  .ws-prescription-patient > span {
    font-size: 10px;
  }
  .ws-prescription-paper .clinical-allergy {
    font-size: 10px;
    padding: 11px 12px;
  }
  .ws-prescription-paper .rx-medicines h3 {
    font-size: 12px;
  }
  .ws-prescription-paper .rx-medicines p {
    font-size: 11px;
  }
  .ws-study-board {
    grid-template-columns: repeat(4, minmax(265px, 1fr));
    gap: 13px;
    margin-right: -3px;
    padding-bottom: 14px;
  }
  .ws-study-column {
    min-height: 360px;
  }
  .ws-study-column > header {
    padding: 16px 14px;
  }
  .ws-study-column > header > h2 {
    font-size: 12px;
  }
  .ws-study-column > div {
    padding: 12px;
  }
  .ws-study-card {
    padding: 18px 15px 0;
  }
  .ws-study-card h3 {
    font-size: 14px;
  }
  .ws-study-patient > span:not(.avatar) {
    font-size: 11px;
  }
  .ws-study-patient > .avatar {
    height: 29px;
    width: 29px;
  }
  .ws-study-card dt {
    font-size: 10px;
  }
  .ws-study-card dd {
    font-size: 11px;
  }
  .ws-study-card dl > div {
    grid-template-columns: 65px 1fr;
  }
  .ws-study-card > footer > .button {
    font-size: 10px;
    padding: 8px 10px;
    min-height: 33px;
  }
  .ws-cancelled-studies {
    padding: 18px;
  }
  .ws-cancelled-studies > button {
    font-size: 10px;
  }
  .ws-surgery-layout,
  .ws-interventions-layout,
  .ws-planning-layout,
  .ws-vaccination-layout {
    gap: 20px;
  }
  .ws-surgical-day > header > span {
    width: 41px;
    height: 41px;
    font-size: 22px;
  }
  .ws-surgical-day > header strong {
    font-size: 11px;
  }
  .ws-surgical-day > header small {
    font-size: 10px;
  }
  .ws-surgery-case > header {
    padding: 20px 18px;
    gap: 12px;
  }
  .ws-theatre-time {
    min-width: 52px;
    font-size: 13px;
    padding: 9px 7px;
    gap: 5px;
  }
  .ws-theatre-time > small {
    font-size: 8.5px;
  }
  .ws-surgery-case h3 {
    font-size: 15px;
  }
  .ws-surgery-case > header > div {
    flex-basis: calc(100% - 90px);
  }
  .ws-surgery-case > header p {
    font-size: 11px;
  }
  .ws-surgery-case > header > .clinical-status {
    margin-left: 64px;
    font-size: 9px;
  }
  .ws-surgery-logistics {
    grid-template-columns: 1fr 1fr;
    gap: 19px 15px;
    padding: 20px 18px;
  }
  .ws-preoperative {
    padding: 0 18px 20px;
  }
  .ws-preoperative h4 {
    font-size: 11px;
  }
  .ws-preoperative > div {
    grid-template-columns: 1fr;
  }
  .ws-preoperative button {
    padding: 11px 12px;
    font-size: 10.5px;
    gap: 8px;
  }
  .ws-preoperative button > .icon {
    height: 15px;
    width: 15px;
  }
  .ws-surgery-case > footer {
    padding: 16px 18px;
    gap: 13px;
  }
  .ws-surgery-case > footer > span {
    font-size: 10px;
  }
  .ws-surgery-case > footer > div {
    flex-wrap: wrap;
    justify-content: flex-end;
    width: 100%;
  }
  .ws-surgery-case > footer .button {
    font-size: 10px;
  }
  .ws-intervention-case > header {
    padding: 20px 18px;
    gap: 11px;
    flex-wrap: wrap;
  }
  .ws-intervention-case h2 {
    font-size: 16px;
  }
  .ws-procedure-symbol {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }
  .ws-procedure-symbol > .icon {
    height: 19px;
    width: 19px;
  }
  .ws-intervention-case > header > .clinical-status {
    margin-left: 47px;
  }
  .ws-intervention-patient {
    padding: 0 18px 18px;
  }
  .ws-intervention-record {
    padding: 20px 18px;
    gap: 18px;
  }
  .ws-intervention-record small {
    font-size: 10px;
  }
  .ws-intervention-record p {
    font-size: 11.5px;
  }
  .ws-procedure-trace {
    padding: 0 18px 20px;
    gap: 12px;
  }
  .ws-procedure-trace > span {
    font-size: 10px;
  }
  .ws-intervention-case > footer {
    padding: 16px 18px;
    gap: 8px;
  }
  .ws-intervention-case > footer .button {
    font-size: 10px;
    min-height: 34px;
    padding: 9px 10px;
    gap: 6px;
  }
  .ws-obstetric-layout {
    gap: 20px;
  }
  .ws-gestation-option {
    flex-basis: 100%;
    padding: 16px 18px;
  }
  .ws-gestation-option > strong {
    font-size: 12px;
  }
  .ws-gestation-option > small {
    font-size: 10px;
  }
  .ws-gestation-overview > header {
    padding: 22px 20px;
    gap: 15px;
  }
  .ws-gestation-overview h2 {
    font-size: 22px;
  }
  .ws-gestation-facts {
    grid-template-columns: 1fr 1fr;
    padding: 22px 20px;
    gap: 20px 16px;
  }
  .ws-obstetric-note {
    margin: 0 20px 22px;
    padding: 15px;
  }
  .ws-obstetric-note p {
    font-size: 11px;
  }
  .ws-obstetric-actions {
    gap: 8px;
  }
  .ws-obstetric-actions > .button {
    font-size: 10px;
    padding: 10px 11px;
    min-height: 35px;
    gap: 6px;
  }
  .ws-obstetric-actions > .button > .icon {
    width: 14px;
    height: 14px;
  }
  .ws-prenatal-control {
    padding: 21px 20px;
  }
  .ws-prenatal-control > header {
    gap: 9px;
  }
  .ws-prenatal-control > header > strong {
    font-size: 11px;
  }
  .ws-prenatal-control > header > .button {
    margin-left: 0;
    font-size: 10px;
  }
  .ws-prenatal-measurements {
    grid-template-columns: 1fr 1fr;
    gap: 19px 16px;
    padding: 20px 0;
  }
  .ws-prenatal-control > p {
    font-size: 11.5px;
  }
  .ws-delivery-record > article {
    padding: 22px 20px;
  }
  .ws-delivery-record article > header {
    flex-wrap: wrap;
    gap: 8px;
  }
  .ws-delivery-record article h3 {
    font-size: 15px;
  }
  .ws-delivery-record article p {
    font-size: 11px;
  }
  .ws-vaccine-inventory {
    grid-template-columns: 1fr;
  }
  .ws-vaccination-course > header {
    padding: 20px 18px;
    gap: 15px;
  }
  .ws-vaccination-course > p {
    padding: 17px 18px 0;
    font-size: 10px;
  }
  .ws-dose-sequence {
    padding: 18px 18px 21px;
    gap: 10px;
  }
  .ws-dose-cell {
    flex-basis: 120px;
    padding: 16px 11px;
  }
  .ws-dose-cell > strong {
    font-size: 12px;
  }
  .ws-dose-cell > small {
    font-size: 10px;
  }
  .ws-dose-cell > time {
    font-size: 10px;
  }
  .ws-vaccination-course > footer {
    padding: 15px 18px;
  }
  .ws-vaccination-course > footer > span {
    font-size: 10px;
    align-items: flex-start;
  }
  .ws-vaccination-course > footer > span > .icon {
    margin-top: 2px;
  }
  .ws-vaccine-product {
    font-size: 10px;
  }
  .ws-lot-card {
    padding: 20px;
  }
  .ws-lot-card header > strong {
    font-size: 12px;
  }
  .ws-lot-card > footer > .button {
    font-size: 10px;
  }
  .ws-method-selector {
    gap: 7px;
  }
  .ws-method-selector > button {
    font-size: 10px;
    padding: 9px 11px;
    gap: 6px;
  }
  .ws-method-selector > button > .icon {
    width: 14px;
    height: 14px;
  }
  .ws-family-plan > header {
    padding: 21px 18px;
    gap: 11px;
    flex-wrap: wrap;
  }
  .ws-family-plan h2 {
    font-size: 18px;
  }
  .ws-family-plan > header > .clinical-status {
    margin-left: 51px;
  }
  .ws-method-symbol {
    height: 40px;
    width: 40px;
  }
  .ws-family-product {
    padding: 21px 18px;
    gap: 19px 15px;
  }
  .ws-method-dates {
    gap: 17px;
    padding: 16px;
    margin-left: 18px;
    margin-right: 18px;
  }
  .ws-method-dates small {
    font-size: 9px;
  }
  .ws-method-dates strong {
    font-size: 10.5px;
  }
  .ws-family-plan > p {
    padding: 21px 18px;
    font-size: 11.5px;
  }
  .ws-family-plan > footer {
    padding: 16px 18px;
    gap: 8px;
  }
  .ws-family-plan > footer > .button {
    font-size: 10px;
    padding: 10px 11px;
    min-height: 34px;
  }
  .ws-online-agenda {
    grid-template-columns: 1fr;
  }
  .ws-online-option {
    padding: 18px 16px;
    gap: 11px;
  }
  .ws-online-option > .status {
    margin-left: 0;
  }
  .ws-online-option > time {
    font-size: 17px;
    min-width: 65px;
  }
  .ws-online-option strong {
    font-size: 11px;
  }
  .ws-online-option > span:not(.status) {
    flex-basis: calc(100% - 150px);
  }
  .ws-call-stage {
    padding: 32px 22px;
    min-height: 350px;
  }
  .ws-call-stage > h2 {
    font-size: 25px;
  }
  .ws-call-stage > div {
    font-size: 11px;
  }
  .ws-call-stage > small {
    font-size: 10px;
  }
  .ws-call-stage > .button {
    font-size: 11px;
  }
  .ws-online-readiness {
    padding: 23px 20px;
  }
  .ws-online-readiness > h3 {
    font-size: 12px;
  }
  .ws-online-readiness > div > span {
    font-size: 10px;
    gap: 7px;
  }
  .ws-online-readiness strong {
    font-size: 8.5px;
  }
  .ws-online-room > footer {
    padding: 17px 20px;
    gap: 8px;
    flex-wrap: wrap;
  }
  .ws-online-room > footer > .button {
    font-size: 10px;
    min-height: 35px;
    gap: 6px;
    padding: 10px 11px;
  }
  .ws-document-folders {
    padding: 14px;
    gap: 6px;
  }
  .ws-document-folders h2 {
    font-size: 12px;
  }
  .ws-document-folders > button {
    flex-basis: 43%;
    font-size: 9px;
    padding: 10px 8px;
    gap: 5px;
  }
  .ws-document-folders > button > .icon {
    height: 13px;
    width: 13px;
  }
  .ws-document-folders > button > strong {
    font-size: 8px;
    padding: 2px 4px;
  }
  .ws-document-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .ws-file-cover {
    min-height: 155px;
  }
  .ws-file-cover > .clinical-status {
    font-size: 9px;
  }
  .ws-file-cover > span:first-child {
    height: 57px;
    width: 49px;
  }
  .ws-file-description {
    padding: 22px;
  }
  .ws-file-description > span {
    font-size: 10px;
  }
  .ws-file-description > h3 {
    font-size: 17px;
  }
  .ws-file-description > p {
    font-size: 12px;
  }
  .ws-file-description > small {
    font-size: 10px;
  }
  .ws-file-name {
    font-size: 10px;
  }
  .ws-file-card > footer {
    padding: 15px 21px;
  }
  .ws-file-card > footer > .button {
    font-size: 10px;
  }
}
@media print {
  .ws-view-switch,
  .ws-tools,
  .ws-profile-actions,
  .ws-obstetric-actions,
  .ws-method-selector,
  .ws-preview-bar,
  .ws-prescription-preview:has(.ws-prescription-paper) > .ws-preview-bar {
    display: none !important;
  }
  .ws-prescription-paper {
    padding: 15px 0;
    min-height: 0;
  }
  .ws-study-board {
    display: block;
  }
  .ws-study-column {
    break-inside: avoid;
    margin-bottom: 20px;
  }
  .ws-surgery-case,
  .ws-vaccination-course,
  .ws-family-plan {
    break-inside: avoid;
  }
  .ws-call-stage {
    background: white;
    color: #222;
  }
  .ws-call-stage > h2,
  .ws-call-stage > p,
  .ws-call-stage > div,
  .ws-call-stage > small {
    color: #222;
  }
  .ws-call-stage > .button {
    display: none;
  }
  .ws-longitudinal-history {
    overflow: visible;
  }
  .ws-history-event > div {
    display: block;
  }
  .ws-prescription-title > h3 {
    font-size: 18px;
  }
}

.ws-voided-recipe {
  padding: 13px 15px;
  margin-top: 20px;
  background: var(--surface-subtle);
  border: 1px solid var(--line);
  color: var(--muted);
  font-weight: 700;
  font-size: 12px;
  border-radius: 7px;
}
