/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
@layer properties;
@layer theme, base, components, utilities;
@layer theme {
  :root, :host {
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
      "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
      "Segoe UI Symbol", "Noto Color Emoji";
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
      "Courier New", monospace;
    --color-white: #fff;
    --spacing: 0.25rem;
    --text-xs: 0.75rem;
    --text-xs--line-height: calc(1 / 0.75);
    --text-sm: 0.875rem;
    --text-sm--line-height: calc(1.25 / 0.875);
    --text-base: 1rem;
    --text-base--line-height: calc(1.5 / 1);
    --text-lg: 1.125rem;
    --text-lg--line-height: calc(1.75 / 1.125);
    --text-2xl: 1.5rem;
    --text-2xl--line-height: calc(2 / 1.5);
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --tracking-tight: -0.025em;
    --tracking-wide: 0.025em;
    --tracking-wider: 0.05em;
    --radius-lg: 0.5rem;
    --radius-xl: 0.75rem;
    --animate-spin: spin 1s linear infinite;
    --animate-pulse: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    --default-transition-duration: 150ms;
    --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
  }
}
@layer base {
  *, ::after, ::before, ::backdrop, ::file-selector-button {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0 solid;
  }
  html, :host {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    font-family: var(--default-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }
  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }
  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }
  h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
  }
  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }
  b, strong {
    font-weight: bolder;
  }
  code, kbd, samp, pre {
    font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }
  small {
    font-size: 80%;
  }
  sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
  }
  sub {
    bottom: -0.25em;
  }
  sup {
    top: -0.5em;
  }
  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }
  :-moz-focusring:where(:not(iframe)) {
    outline: auto;
  }
  progress {
    vertical-align: baseline;
  }
  summary {
    display: list-item;
  }
  ol, ul, menu {
    list-style: none;
  }
  img, svg, video, canvas, audio, iframe, embed, object {
    display: block;
    vertical-align: middle;
  }
  img, video {
    max-width: 100%;
    height: auto;
  }
  button, input, select, optgroup, textarea, ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    border-radius: 0;
    background-color: transparent;
    opacity: 1;
  }
  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }
  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }
  ::file-selector-button {
    margin-inline-end: 4px;
  }
  ::placeholder {
    opacity: 1;
  }
  @supports (not (-webkit-appearance: -apple-pay-button))  or (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: currentcolor;
      @supports (color: color-mix(in lab, red, red)) {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }
  textarea {
    resize: vertical;
  }
  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }
  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }
  ::-webkit-datetime-edit {
    display: inline-flex;
  }
  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }
  ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }
  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }
  :-moz-ui-invalid {
    box-shadow: none;
  }
  button, input:where([type="button"], [type="reset"], [type="submit"]), ::file-selector-button {
    appearance: button;
  }
  ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
    height: auto;
  }
  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }
}
@layer utilities {
  .pointer-events-auto {
    pointer-events: auto;
  }
  .pointer-events-none {
    pointer-events: none;
  }
  .visible {
    visibility: visible;
  }
  .fixed {
    position: fixed;
  }
  .sticky {
    position: sticky;
  }
  .top-0 {
    top: 0px;
  }
  .bottom-20 {
    bottom: calc(var(--spacing) * 20);
  }
  .left-1\/2 {
    left: calc(1 / 2 * 100%);
  }
  .z-10 {
    z-index: 10;
  }
  .z-50 {
    z-index: 50;
  }
  .col-span-full {
    grid-column: 1 / -1;
  }
  .m-5 {
    margin: calc(var(--spacing) * 5);
  }
  .-mx-4 {
    margin-inline: calc(var(--spacing) * -4);
  }
  .mx-3 {
    margin-inline: calc(var(--spacing) * 3);
  }
  .mx-4 {
    margin-inline: calc(var(--spacing) * 4);
  }
  .my-2 {
    margin-block: calc(var(--spacing) * 2);
  }
  .mt-1 {
    margin-top: var(--spacing);
  }
  .mt-2 {
    margin-top: calc(var(--spacing) * 2);
  }
  .mt-3 {
    margin-top: calc(var(--spacing) * 3);
  }
  .mt-4 {
    margin-top: calc(var(--spacing) * 4);
  }
  .mt-5 {
    margin-top: calc(var(--spacing) * 5);
  }
  .mt-6 {
    margin-top: calc(var(--spacing) * 6);
  }
  .mt-10 {
    margin-top: calc(var(--spacing) * 10);
  }
  .mr-1 {
    margin-right: var(--spacing);
  }
  .mr-2 {
    margin-right: calc(var(--spacing) * 2);
  }
  .mr-auto {
    margin-right: auto;
  }
  .mb-1 {
    margin-bottom: var(--spacing);
  }
  .mb-2 {
    margin-bottom: calc(var(--spacing) * 2);
  }
  .mb-3 {
    margin-bottom: calc(var(--spacing) * 3);
  }
  .mb-4 {
    margin-bottom: calc(var(--spacing) * 4);
  }
  .mb-5 {
    margin-bottom: calc(var(--spacing) * 5);
  }
  .mb-6 {
    margin-bottom: calc(var(--spacing) * 6);
  }
  .ml-2 {
    margin-left: calc(var(--spacing) * 2);
  }
  .ml-4 {
    margin-left: calc(var(--spacing) * 4);
  }
  .block {
    display: block;
  }
  .flex {
    display: flex;
  }
  .grid {
    display: grid;
  }
  .hidden {
    display: none;
  }
  .inline {
    display: inline;
  }
  .inline-flex {
    display: inline-flex;
  }
  .h-4 {
    height: calc(var(--spacing) * 4);
  }
  .h-5 {
    height: calc(var(--spacing) * 5);
  }
  .h-7 {
    height: calc(var(--spacing) * 7);
  }
  .h-9 {
    height: calc(var(--spacing) * 9);
  }
  .h-14 {
    height: calc(var(--spacing) * 14);
  }
  .min-h-24 {
    min-height: calc(var(--spacing) * 24);
  }
  .min-h-screen {
    min-height: 100vh;
  }
  .w-5 {
    width: calc(var(--spacing) * 5);
  }
  .w-9 {
    width: calc(var(--spacing) * 9);
  }
  .w-14 {
    width: calc(var(--spacing) * 14);
  }
  .w-48 {
    width: calc(var(--spacing) * 48);
  }
  .w-72 {
    width: calc(var(--spacing) * 72);
  }
  .w-full {
    width: 100%;
  }
  .max-w-\[365px\] {
    max-width: 365px;
  }
  .flex-1 {
    flex: 1;
  }
  .shrink-0 {
    flex-shrink: 0;
  }
  .-translate-x-1\/2 {
    --tw-translate-x: calc(calc(1 / 2 * 100%) * -1);
    translate: var(--tw-translate-x) var(--tw-translate-y);
  }
  .animate-\[aparecer_\.2s_ease-out\] {
    animation: aparecer .2s ease-out;
  }
  .animate-pulse {
    animation: var(--animate-pulse);
  }
  .animate-spin {
    animation: var(--animate-spin);
  }
  .cursor-pointer {
    cursor: pointer;
  }
  .list-disc {
    list-style-type: disc;
  }
  .flex-col {
    flex-direction: column;
  }
  .flex-wrap {
    flex-wrap: wrap;
  }
  .items-center {
    align-items: center;
  }
  .items-end {
    align-items: flex-end;
  }
  .justify-between {
    justify-content: space-between;
  }
  .justify-center {
    justify-content: center;
  }
  .justify-end {
    justify-content: flex-end;
  }
  .gap-1 {
    gap: var(--spacing);
  }
  .gap-2 {
    gap: calc(var(--spacing) * 2);
  }
  .gap-3 {
    gap: calc(var(--spacing) * 3);
  }
  .gap-4 {
    gap: calc(var(--spacing) * 4);
  }
  :where(.space-y-1 > :not(:last-child)) {
    --tw-space-y-reverse: 0;
    margin-block-start: calc(var(--spacing) * var(--tw-space-y-reverse));
    margin-block-end: calc(var(--spacing) * calc(1 - var(--tw-space-y-reverse)));
  }
  :where(.space-y-2 > :not(:last-child)) {
    --tw-space-y-reverse: 0;
    margin-block-start: calc(calc(var(--spacing) * 2) * var(--tw-space-y-reverse));
    margin-block-end: calc(calc(var(--spacing) * 2) * calc(1 - var(--tw-space-y-reverse)));
  }
  :where(.space-y-3 > :not(:last-child)) {
    --tw-space-y-reverse: 0;
    margin-block-start: calc(calc(var(--spacing) * 3) * var(--tw-space-y-reverse));
    margin-block-end: calc(calc(var(--spacing) * 3) * calc(1 - var(--tw-space-y-reverse)));
  }
  :where(.space-y-4 > :not(:last-child)) {
    --tw-space-y-reverse: 0;
    margin-block-start: calc(calc(var(--spacing) * 4) * var(--tw-space-y-reverse));
    margin-block-end: calc(calc(var(--spacing) * 4) * calc(1 - var(--tw-space-y-reverse)));
  }
  :where(.space-y-5 > :not(:last-child)) {
    --tw-space-y-reverse: 0;
    margin-block-start: calc(calc(var(--spacing) * 5) * var(--tw-space-y-reverse));
    margin-block-end: calc(calc(var(--spacing) * 5) * calc(1 - var(--tw-space-y-reverse)));
  }
  .overflow-x-auto {
    overflow-x: auto;
  }
  .rounded {
    border-radius: 0.25rem;
  }
  .rounded-full {
    border-radius: calc(infinity * 1px);
  }
  .rounded-lg {
    border-radius: var(--radius-lg);
  }
  .rounded-xl {
    border-radius: var(--radius-xl);
  }
  .border {
    border-style: var(--tw-border-style);
    border-width: 1px;
  }
  .border-t {
    border-top-style: var(--tw-border-style);
    border-top-width: 1px;
  }
  .border-b {
    border-bottom-style: var(--tw-border-style);
    border-bottom-width: 1px;
  }
  .border-b-2 {
    border-bottom-style: var(--tw-border-style);
    border-bottom-width: 2px;
  }
  .border-aviso {
    border-color: #a33b3b;
  }
  .border-borde {
    border-color: #e0dfe8;
  }
  .border-oro {
    border-color: #4e506b;
  }
  .border-transparent {
    border-color: transparent;
  }
  .bg-aviso-suave {
    background-color: #fff0ef;
  }
  .bg-borde {
    background-color: #e0dfe8;
  }
  .bg-borde\/70 {
    background-color: color-mix(in oklab, #e0dfe8 70%, transparent);
  }
  .bg-fondo {
    background-color: #f4f3f8;
  }
  .bg-negro {
    background-color: #3b3d55;
  }
  .bg-ok {
    background-color: #2e765b;
  }
  .bg-ok-suave {
    background-color: #e9f6ef;
  }
  .bg-oro {
    background-color: #4e506b;
  }
  .bg-oro-suave {
    background-color: #e7e7f0;
  }
  .bg-superficie {
    background-color: #fff;
  }
  .bg-tinta {
    background-color: #34364b;
  }
  .p-3 {
    padding: calc(var(--spacing) * 3);
  }
  .p-4 {
    padding: calc(var(--spacing) * 4);
  }
  .p-5 {
    padding: calc(var(--spacing) * 5);
  }
  .p-6 {
    padding: calc(var(--spacing) * 6);
  }
  .\!px-2\.5 {
    padding-inline: calc(var(--spacing) * 2.5) !important;
  }
  .px-2 {
    padding-inline: calc(var(--spacing) * 2);
  }
  .px-3 {
    padding-inline: calc(var(--spacing) * 3);
  }
  .px-3\.5 {
    padding-inline: calc(var(--spacing) * 3.5);
  }
  .px-4 {
    padding-inline: calc(var(--spacing) * 4);
  }
  .px-5 {
    padding-inline: calc(var(--spacing) * 5);
  }
  .px-6 {
    padding-inline: calc(var(--spacing) * 6);
  }
  .\!py-1 {
    padding-block: var(--spacing) !important;
  }
  .py-0\.5 {
    padding-block: calc(var(--spacing) * 0.5);
  }
  .py-2 {
    padding-block: calc(var(--spacing) * 2);
  }
  .py-2\.5 {
    padding-block: calc(var(--spacing) * 2.5);
  }
  .py-8 {
    padding-block: calc(var(--spacing) * 8);
  }
  .pt-4 {
    padding-top: calc(var(--spacing) * 4);
  }
  .pb-2 {
    padding-bottom: calc(var(--spacing) * 2);
  }
  .pb-3 {
    padding-bottom: calc(var(--spacing) * 3);
  }
  .pb-4 {
    padding-bottom: calc(var(--spacing) * 4);
  }
  .pb-5 {
    padding-bottom: calc(var(--spacing) * 5);
  }
  .pb-6 {
    padding-bottom: calc(var(--spacing) * 6);
  }
  .pl-5 {
    padding-left: calc(var(--spacing) * 5);
  }
  .text-center {
    text-align: center;
  }
  .text-left {
    text-align: left;
  }
  .\!text-xs {
    font-size: var(--text-xs) !important;
    line-height: var(--tw-leading, var(--text-xs--line-height)) !important;
  }
  .text-2xl {
    font-size: var(--text-2xl);
    line-height: var(--tw-leading, var(--text-2xl--line-height));
  }
  .text-base {
    font-size: var(--text-base);
    line-height: var(--tw-leading, var(--text-base--line-height));
  }
  .text-lg {
    font-size: var(--text-lg);
    line-height: var(--tw-leading, var(--text-lg--line-height));
  }
  .text-sm {
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
  }
  .text-xs {
    font-size: var(--text-xs);
    line-height: var(--tw-leading, var(--text-xs--line-height));
  }
  .text-\[10px\] {
    font-size: 10px;
  }
  .text-\[11px\] {
    font-size: 11px;
  }
  .text-\[13px\] {
    font-size: 13px;
  }
  .leading-6 {
    --tw-leading: calc(var(--spacing) * 6);
    line-height: calc(var(--spacing) * 6);
  }
  .leading-7 {
    --tw-leading: calc(var(--spacing) * 7);
    line-height: calc(var(--spacing) * 7);
  }
  .font-medium {
    --tw-font-weight: var(--font-weight-medium);
    font-weight: var(--font-weight-medium);
  }
  .font-normal {
    --tw-font-weight: var(--font-weight-normal);
    font-weight: var(--font-weight-normal);
  }
  .font-semibold {
    --tw-font-weight: var(--font-weight-semibold);
    font-weight: var(--font-weight-semibold);
  }
  .tracking-tight {
    --tw-tracking: var(--tracking-tight);
    letter-spacing: var(--tracking-tight);
  }
  .tracking-wide {
    --tw-tracking: var(--tracking-wide);
    letter-spacing: var(--tracking-wide);
  }
  .tracking-wider {
    --tw-tracking: var(--tracking-wider);
    letter-spacing: var(--tracking-wider);
  }
  .break-all {
    word-break: break-all;
  }
  .whitespace-nowrap {
    white-space: nowrap;
  }
  .whitespace-pre-wrap {
    white-space: pre-wrap;
  }
  .text-\[\#fcf8e4\] {
    color: #fcf8e4;
  }
  .text-aviso {
    color: #a33b3b;
  }
  .text-fondo {
    color: #f4f3f8;
  }
  .text-negro {
    color: #3b3d55;
  }
  .text-ok {
    color: #2e765b;
  }
  .text-oro {
    color: #4e506b;
  }
  .text-oro-tinta {
    color: #4e506b;
  }
  .text-tinta {
    color: #34364b;
  }
  .text-tinta-suave {
    color: #6a6c82;
  }
  .text-white {
    color: var(--color-white);
  }
  .capitalize {
    text-transform: capitalize;
  }
  .uppercase {
    text-transform: uppercase;
  }
  .opacity-40 {
    opacity: 40%;
  }
  .opacity-60 {
    opacity: 60%;
  }
  .shadow-\[0_1px_2px_rgba\(0\,0\,0\,0\.03\)\] {
    --tw-shadow: 0 1px 2px var(--tw-shadow-color, rgba(0,0,0,0.03));
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .shadow-lg {
    --tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 4px 6px -4px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .shadow-sm {
    --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .transition {
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
  .outline-none {
    --tw-outline-style: none;
    outline-style: none;
  }
  .last\:mb-0:last-child {
    margin-bottom: 0px;
  }
  @media (hover: hover) {
    .hover\:bg-aviso-suave:hover {
      background-color: #fff0ef;
    }
    .hover\:bg-fondo:hover {
      background-color: #f4f3f8;
    }
    .hover\:text-tinta:hover {
      color: #34364b;
    }
    .hover\:brightness-95:hover {
      --tw-brightness: brightness(95%);
      filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
    }
  }
  .focus\:border-negro:focus {
    border-color: #3b3d55;
  }
  .focus\:ring-2:focus {
    --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .focus\:ring-oro\/30:focus {
    --tw-ring-color: color-mix(in oklab, #4e506b 30%, transparent);
  }
  .disabled\:opacity-50:disabled {
    opacity: 50%;
  }
  @media (width >= 40rem) {
    .sm\:grid-cols-2 {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }
  @media (width >= 48rem) {
    .md\:right-6 {
      right: calc(var(--spacing) * 6);
    }
    .md\:bottom-6 {
      bottom: calc(var(--spacing) * 6);
    }
    .md\:left-auto {
      left: auto;
    }
    .md\:mx-0 {
      margin-inline: 0px;
    }
    .md\:hidden {
      display: none;
    }
    .md\:translate-x-0 {
      --tw-translate-x: 0px;
      translate: var(--tw-translate-x) var(--tw-translate-y);
    }
    .md\:grid-cols-2 {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .md\:items-end {
      align-items: flex-end;
    }
    .md\:px-0 {
      padding-inline: 0px;
    }
  }
}
:root {
  font-family: "Kumbh Sans",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color: #34364b;
  background: #f4f3f8;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}
button,a,input,select,textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
}
button:focus-visible,a:focus-visible {
  outline: 3px solid #7eb7c4;
  outline-offset: 3px;
}
button.bg-oro {
  color: white;
}
.titulo {
  letter-spacing: -.2px;
}
.sidebar {
  width: 235px;
  position: fixed;
  inset: 0 auto 0 0;
  background: white;
  border-right: 1px solid #e2e3eb;
  padding: 25px 18px;
  display: flex;
  flex-direction: column;
  z-index: 20;
}
.logo {
  width: 170px;
  height: 60px;
  object-fit: contain;
  margin: 0 auto;
}
.brand-label {
  font-size: 9px;
  letter-spacing: 3px;
  text-align: center;
  color: #696a7d;
  margin: 8px 0 28px;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 8px;
  width: 100%;
  text-align: left;
  color: #696a7d;
  font-size: 13px;
  margin-bottom: 5px;
}
.nav-link.selected {
  background: #edeef7;
  color: #474861;
  font-weight: 600;
}
.sidebar-bottom {
  margin-top: auto;
  border-top: 1px solid #e2e3eb;
  padding-top: 18px;
}
.content-shell {
  margin-left: 235px;
  min-height: 100vh;
}
.topbar {
  height: 69px;
  border-bottom: 1px solid #e2e3eb;
  background: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 34px;
  gap: 12px;
}
.local-pill {
  font-size: 10px;
  border: 1px solid #cfe5da;
  background: #f1f8f4;
  color: #2e765b;
  padding: 5px 10px;
  border-radius: 7px;
}
.development {
  font-size: 11px;
  padding: 8px 34px;
  color: #806943;
  background: #fbf8f1;
  border-bottom: 1px solid #eee8d9;
}
.main {
  padding: 31px 34px 45px;
  max-width: 1500px;
  margin: auto;
}
.eyebrow {
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 1.8px;
  color: #474861;
  margin-bottom: 12px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 17px;
  margin: 25px 0;
}
.stat {
  background: white;
  border: 1px solid #e2e3eb;
  border-radius: 13px;
  padding: 20px;
}
.stat p {
  font-size: 12px;
  color: #696a7d;
}
.stat strong {
  display: block;
  font-size: 31px;
  letter-spacing: -1px;
  margin: 8px 0 3px;
  font-weight: 600;
}
.stat small {
  color: #696a7d;
  font-size: 11px;
}
.split {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 22px;
}
.block-title {
  padding: 20px 22px;
  border-bottom: 1px solid #e2e3eb;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
}
.list-row {
  padding: 17px 21px;
  border-bottom: 1px solid #e2e3eb;
  display: flex;
  align-items: flex-start;
  gap: 13px;
}
.list-row:last-child {
  border-bottom: 0;
}
.row-fill {
  flex: 1;
  min-width: 0;
}
.row-fill strong {
  font-size: 13px;
  font-weight: 600;
}
.row-fill p {
  color: #696a7d;
  font-size: 11px;
  margin-top: 5px;
}
.session-time {
  min-width: 46px;
  font-size: 13px;
  font-weight: 650;
}
.session-detail {
  border-left: 3px solid #8e8fdf;
  padding-left: 13px;
  flex: 1;
  min-width: 0;
}
.session-detail.group {
  border-color: #f08f7e;
}
.table-container {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
th {
  font-size: 10px;
  letter-spacing: .5px;
  color: #696a7d;
  padding: 13px 20px;
  background: #fcfcfd;
  border-bottom: 1px solid #e2e3eb;
  font-weight: 600;
}
td {
  padding: 17px 20px;
  border-bottom: 1px solid #e2e3eb;
  font-size: 12px;
}
tr:last-child td {
  border: 0;
}
.filter-row {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin: 20px 0;
}
.filter-row input {
  max-width: 360px;
}
.filter-row select {
  max-width: 205px;
}
.identity {
  display: flex;
  align-items: center;
  gap: 12px;
}
.identity small {
  display: block;
  font-size: 10px;
  color: #696a7d;
  margin-top: 3px;
}
.mini-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #edeef7;
  color: #444565;
  font-size: 12px;
  font-weight: 600;
}
.tab-row {
  display: flex;
  gap: 22px;
  overflow: auto;
  border-bottom: 1px solid #e2e3eb;
  margin-bottom: 22px;
}
.tab-row button {
  font-size: 12px;
  padding: 9px 0 13px;
  white-space: nowrap;
  color: #696a7d;
  border-bottom: 2px solid transparent;
}
.tab-row button.selected {
  color: #474861;
  border-color: #474861;
  font-weight: 600;
}
.note {
  padding: 22px;
  border-bottom: 1px solid #e2e3eb;
}
.note:last-child {
  border: 0;
}
.note-meta {
  font-size: 11px;
  color: #696a7d;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  align-items: center;
}
.note-text {
  white-space: pre-wrap;
  line-height: 1.8;
  font-size: 13px;
}
.detail-grid {
  display: grid;
  grid-template-columns: 215px 1fr;
  gap: 24px;
}
.info-card {
  padding: 21px;
}
.info-card h2 {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}
.info-card dt {
  font-size: 11px;
  color: #696a7d;
  margin-top: 15px;
}
.info-card dd {
  font-size: 12px;
  margin-top: 4px;
}
.empty-message {
  color: #696a7d;
  font-size: 13px;
  padding: 36px 24px;
  text-align: center;
}
.relevo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.signin {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.signin-story {
  background: linear-gradient(160deg,#5a5c7b 0%,#4e506b 55%,#3b3d55 100%);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 70px;
  position: relative;
  overflow: hidden;
}
.signin-story:after {
  content: '';
  position: absolute;
  width: 470px;
  height: 470px;
  border: 1px solid #ffffff15;
  border-radius: 50%;
  right: -190px;
  bottom: -170px;
  box-shadow: 0 0 0 70px #ffffff06,0 0 0 140px #ffffff04;
}
.signin-story h1 {
  font-size: 42px;
  line-height: 1.2;
  letter-spacing: -1.5px;
  font-weight: 550;
  max-width: 430px;
}
.signin-story p {
  color: #dcddea;
  line-height: 1.85;
  max-width: 400px;
  font-size: 15px;
  margin-top: 22px;
}
.signin-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 35px;
}
.signin-form form {
  max-width: 365px;
  width: 100%;
  display: grid;
  gap: 18px;
}
.signin-form h2 {
  font-size: 24px;
  font-weight: 600;
  margin-top: 30px;
}
.signin-form .intro {
  font-size: 13px;
  color: #696a7d;
  margin: 7px 0 25px;
}
.modal {
  border: 1px solid #e2e3eb;
  border-radius: 16px;
  padding: 0;
  width: min(650px,calc(100vw - 28px));
  max-height: 90vh;
  box-shadow: 0 24px 100px #24264640;
  color: #3d3e53;
  background: white;
}
.modal::backdrop {
  background: #22244266;
  backdrop-filter: blur(3px);
}
.modal-head {
  padding: 22px 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e2e3eb;
}
.modal-head h2 {
  font-size: 21px;
  font-weight: 600;
}
.modal-body {
  padding: 24px;
  display: grid;
  gap: 17px;
}
.modal-footer {
  padding: 18px 24px;
  background: #fafbfc;
  border-top: 1px solid #e2e3eb;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}
.form-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.checklist {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid #e2e3eb;
  border-radius: 8px;
  max-height: 180px;
  overflow: auto;
}
.checklist label {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 12px;
}
.hint {
  font-size: 12px;
  background: #f3f3fa;
  color: #6a6b84;
  padding: 13px;
  border-radius: 8px;
  line-height: 1.7;
}
.error-banner {
  background: #fff0ef;
  color: #a33b3b;
  padding: 12px 16px;
  margin-bottom: 18px;
  border-radius: 8px;
  font-size: 12px;
}
.busy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 50px;
  color: #696a7d;
}
.footer {
  padding: 16px 34px;
  border-top: 1px solid #e2e3eb;
  color: #8e8f9e;
  font-size: 10px;
  display: flex;
  justify-content: space-between;
}
.text-action {
  color: #474861;
  font-size: 12px;
  font-weight: 550;
}
.scroll-list {
  max-height: 620px;
  overflow: auto;
}
input[type=checkbox] {
  accent-color: #474861;
  height: 16px;
  width: 16px;
}
.activity {
  display: grid;
  grid-template-columns: 145px 1fr;
  gap: 15px;
  font-size: 12px;
  padding: 15px 20px;
  border-bottom: 1px solid #e2e3eb;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
@media (max-width:1100px) {
  .sidebar {
    width: 205px;
    padding: 22px 13px;
  }
  .content-shell {
    margin-left: 205px;
  }
  .main {
    padding: 26px 23px;
  }
  .topbar {
    padding: 0 23px;
  }
  .split {
    grid-template-columns: 1fr;
  }
  .stats {
    gap: 12px;
  }
  .stat {
    padding: 17px;
  }
  .signin-story {
    padding: 42px;
  }
  .signin-story h1 {
    font-size: 35px;
  }
}
@media (max-width:800px) {
  .relevo-grid {
    grid-template-columns: 1fr;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
  }
  .detail-grid {
    grid-template-columns: 1fr;
  }
  .detail-aside {
    display: none;
  }
  .signin {
    grid-template-columns: 1fr;
  }
  .signin-story {
    display: none;
  }
  .signin-form {
    min-height: 100vh;
  }
  .activity {
    grid-template-columns: 1fr;
    gap: 5px;
  }
}
.detail-grid>section {
  min-width: 0;
}
.main {
  min-width: 0;
}
.tab-row {
  max-width: 100%;
}
.note-meta>span {
  min-width: 0;
  overflow-wrap: anywhere;
}
.stats>div {
  min-width: 0;
}
.content-shell {
  min-width: 0;
}
@media (max-width:640px) {
  .sidebar {
    width: 100%;
    inset: auto 0 0;
    height: 70px;
    flex-direction: row;
    padding: 0 3px;
    border-top: 1px solid #e2e3eb;
    border-right: 0;
  }
  .sidebar>.logo,.brand-label,.sidebar-bottom,.nav-kicker {
    display: none;
  }
  .sidebar nav {
    display: flex;
    width: 100%;
    overflow: auto;
  }
  .nav-link {
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    flex: 1;
    padding: 11px 3px 8px;
    font-size: 9px;
    margin: 0;
    justify-content: center;
    border-radius: 0;
  }
  .nav-link svg {
    height: 18px;
    width: 18px;
  }
  .content-shell {
    margin-left: 0;
    margin-bottom: 70px;
  }
  .topbar {
    height: 58px;
    padding: 0 17px;
    font-size: 12px;
  }
  .development {
    padding: 8px 17px;
    font-size: 10px;
  }
  .main {
    padding: 24px 16px;
  }
  .stats {
    gap: 10px;
  }
  .stat strong {
    font-size: 28px;
  }
  .stat p {
    font-size: 11px;
  }
  .stat {
    padding: 15px;
  }
  .filter-row input {
    max-width: 100%;
  }
  .filter-row select {
    max-width: none;
    flex: 1;
    min-width: 145px;
  }
  .list-row {
    padding: 16px 14px;
    gap: 8px;
  }
  .session-detail {
    padding-left: 9px;
  }
  .session-time {
    min-width: 39px;
    font-size: 12px;
  }
  .session-detail p {
    font-size: 10px;
  }
  .form-cols {
    grid-template-columns: 1fr;
  }
  .modal-head {
    padding: 20px;
  }
  .modal-body {
    padding: 20px;
  }
  .modal-footer {
    padding: 16px 20px;
  }
  .note-meta {
    flex-wrap: wrap;
  }
  .note {
    padding: 18px;
  }
  .footer {
    padding: 16px;
    gap: 12px;
  }
  .signin-form {
    padding: 25px;
  }
  .signin-form .logo {
    width: 185px;
  }
}
.registro-intro {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 7px 0 12px;
}
.registro-icono {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #ededf8;
  color: #666598;
  flex-shrink: 0;
}
.registro-intro h2 {
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -.3px;
}
.registro-intro p,.registro-heading p {
  font-size: 12px;
  line-height: 1.7;
  color: #797985;
  margin-top: 3px;
}
.registro-card {
  padding: 22px;
  border-top: 1px solid #efeff3;
  overflow-wrap: anywhere;
}
.registro-card:first-child {
  border-top: 0;
}
.registro-heading {
  display: flex;
  gap: 12px;
  align-items: start;
  justify-content: space-between;
  flex-wrap: wrap;
}
.registro-heading h3 {
  font-weight: 650;
  font-size: 14px;
}
.registro-texto {
  font-size: 13px;
  line-height: 1.85;
  margin: 14px 0;
  white-space: pre-wrap;
}
.registro-meta {
  font-size: 11px;
  line-height: 1.9;
  color: #797985;
  margin: 12px 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.registro-acciones {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-top: 14px;
}
.registro-check {
  display: flex;
  gap: 10px;
  align-items: start;
  font-size: 12px;
  line-height: 1.7;
}
.registro-check input {
  margin-top: 4px;
  flex-shrink: 0;
}
.registro-aviso {
  font-size: 12px;
  line-height: 1.8;
  background: #f5f5fb;
  padding: 16px 22px;
  color: #5c5d77;
}
.registro-fechas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width:640px) {
  .registro-card {
    padding: 18px;
  }
  .registro-fechas {
    grid-template-columns: 1fr;
  }
  .block-title {
    flex-wrap: wrap;
    gap: 12px;
  }
  .tab-row {
    flex-wrap: wrap;
    overflow: visible;
    gap: 0;
  }
  .tab-row button {
    padding: 10px 9px;
    font-size: 11px;
  }
}
.informe-apartado {
  margin: 22px 0;
}
.informe-apartado h4 {
  font-size: 13px;
  font-weight: 650;
  color: #666598;
  margin-bottom: 9px;
}
.informe-apartado p {
  font-size: 13px;
  line-height: 1.9;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.plazas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(230px,1fr));
  gap: 18px;
}
@media (max-width:640px) {
  .nav-link {
    font-size: 8px;
    padding-left: 1px;
    padding-right: 1px;
  }
  .plazas-grid {
    grid-template-columns: 1fr;
  }
}
.agenda-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 20px;
}
.agenda-controls>input,.agenda-controls>select {
  width: auto;
  max-width: 100%;
}
.agenda-week {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 20px;
  align-items: start;
}
@media (max-width:1100px) {
  .agenda-week {
    grid-template-columns: 1fr;
  }
}
@media (max-width:640px) {
  .sidebar nav .nav-link {
    flex: 0 0 66px;
    font-size: 9px;
  }
}
.sidebar nav {
  min-height: 0;
  overflow-y: auto;
  flex: 1;
}
.sidebar .logo,.sidebar-bottom {
  flex-shrink: 0;
}
@media (min-width:641px) {
  .sidebar .nav-link {
    padding-top: 10px;
    padding-bottom: 10px;
    margin-bottom: 3px;
  }
}
@media (min-width:641px) and (max-height:800px) {
  .sidebar {
    padding-top: 18px;
    padding-bottom: 18px;
  }
  .sidebar .logo {
    height: 50px;
  }
  .sidebar .brand-label {
    margin: 8px 0 14px;
  }
  .sidebar .nav-kicker {
    display: none;
  }
  .sidebar .nav-link {
    padding: 6px 12px;
    margin-bottom: 1px;
  }
  .sidebar-bottom {
    padding-top: 12px;
  }
}
.calendar-heading,.calendar-switch,.area-tabs,.personal-actions {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
}
.calendar-heading {
  justify-content: space-between;
  margin-bottom: 1rem;
}
.calendar-heading h2 {
  font-size: 1.4rem;
  font-weight: 650;
  text-transform: capitalize;
}
.calendar-switch,.area-tabs {
  padding: 4px;
  background: #efeff4;
  border-radius: 10px;
  width: fit-content;
}
.calendar-switch button,.area-tabs button {
  padding: .48rem .85rem;
  border-radius: 7px;
  color: #4d4f64;
  font-weight: 550;
}
.calendar-switch [aria-pressed=true],.area-tabs [aria-current=page] {
  background: white;
  color: #35387f;
  box-shadow: 0 1px 4px #24264820;
}
.area-tabs {
  margin-bottom: 1.5rem;
}
.calendar-month {
  display: grid;
  grid-template-columns: repeat(7,minmax(0,1fr));
  border: 1px solid #dedfe7;
  border-radius: 12px;
  overflow: hidden;
  background: #dedfe7;
  gap: 1px;
  margin-bottom: 1rem;
}
.calendar-month>strong {
  background: #f5f6f9;
  text-align: center;
  padding: .45rem;
  color: #4e5062;
  font-size: .74rem;
}
.calendar-month button {
  position: relative;
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: .25rem;
  min-height: 66px;
  background: white;
  text-align: left;
  padding: .48rem;
  color: #2d2f45;
  min-width: 0;
}
.calendar-month button.adjacent {
  background: #f8f8fa;
  color: #6f7184;
}
.calendar-month [aria-pressed=true] {
  box-shadow: inset 0 0 0 2px #4e519d;
  background: #f1f1fb;
}
.calendar-month [aria-current=date] b {
  border-radius: 8px;
  color: white;
  background: #4e519d;
  padding: 0 .28rem;
}
.calendar-count,.bell-count {
  background: #e3e4f8;
  border-radius: 12px;
  color: #2c3070;
  padding: 0 .4rem;
  font-size: .72rem;
}
.calendar-count {
  margin-left: auto;
}
.calendar-month small {
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: .68rem;
}
.notification-entry {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
  color: #36395a;
}
.patient-session {
  padding: 1rem;
  border-bottom: 1px solid #e5e6eb;
}
@media (max-width:640px) {
  .calendar-month button {
    padding: .3rem;
    min-height: 46px;
  }
  .calendar-month small,.notification-label,.topbar .local-pill {
    display: none;
  }
  .calendar-switch button,.area-tabs button {
    padding: .45rem .65rem;
  }
  .calendar-count {
    margin: 0;
    font-size: .61rem;
  }
  .calendar-month button b {
    font-size: .8rem;
  }
}
.calendar-heading h2 {
  text-transform: none;
}
.calendar-heading h2::first-letter {
  text-transform: uppercase;
}
@media (max-width:640px) {
  .sidebar nav .nav-link {
    flex: 1 1 0;
    min-width: 0;
    overflow-wrap: anywhere;
  }
  .agenda-controls {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(0,1fr);
    gap: .5rem;
  }
  .agenda-controls>input,.agenda-controls>select {
    width: 100%;
    min-width: 0;
  }
  .agenda-controls>select {
    font-size: .75rem;
  }
  .calendar-month button {
    min-height: 40px;
  }
}
.main h1,.signin-story h1,.signin-form h2,.patient-preview h2 {
  font-family: "Kumbh Sans",system-ui,sans-serif;
  letter-spacing: -.025em;
  font-weight: 500;
}
.main h1 {
  font-size: clamp(32px,3vw,46px);
  line-height: 1.12;
  color: #3b3c53;
}
.eyebrow,.nav-section {
  font-size: 10px;
  letter-spacing: .14em;
  font-weight: 650;
  color: #6b6c80;
}
.nav-section {
  margin: 24px 12px 10px;
}
.nav-link.selected {
  background: #ededf6;
  color: #3f3f5c;
}
.nav-link:hover:not(.selected) {
  background: #f4f5f9;
}
.sidebar-bottom {
  position: relative;
}
.profile-disc,.patient-disc {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #494a63;
  color: white;
  font-weight: 600;
}
.profile-disc {
  float: left;
  margin-right: 10px;
  width: 34px;
  height: 34px;
  font-size: 12px;
}
.roster-link {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #5b5d70;
  margin: 0 0 16px;
}
.roster-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7da898;
}
.sidebar-bottom button:last-child {
  clear: both;
}
.topbar {
  height: 58px;
}
.development {
  padding-block: 5px;
}
.work-search {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  padding: 7px 12px;
  border: 1px solid #e2e3eb;
  border-radius: 9px;
  background: #fbfbfd;
  color: #707187;
}
.work-search input {
  outline: 0;
  width: 195px;
  max-width: 100%;
  font-size: 12px;
  color: #3f4058;
}
.work-search:focus-within {
  outline: 2px solid #9797bd;
}
.work-results {
  position: absolute;
  z-index: 40;
  right: 0;
  top: calc(100% + 6px);
  background: white;
  border: 1px solid #e2e3eb;
  border-radius: 12px;
  padding: 5px;
  min-width: 260px;
  max-height: 55vh;
  overflow: auto;
  box-shadow: 0 12px 35px #41425c24;
}
.work-results button,.work-results p {
  display: block;
  width: 100%;
  padding: 9px 12px;
  text-align: left;
  font-size: 13px;
}
.work-results button:is(:hover,:focus-visible) {
  background: #f3f3f8;
}
.work-results small {
  display: block;
  color: #6c6d81;
}
.block-title {
  color: #414257;
  font-size: 16px;
}
.text-action {
  font-size: 12px;
  color: #555679;
}
.day-stats {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 15px;
  margin: 0 0 22px;
}
.day-stat,.patient-preview,.task-tile {
  background: white;
  border: 1px solid #e2e3eb;
  border-radius: 14px;
}
.day-stat {
  padding: 17px 18px;
  text-align: left;
  transition: border-color .15s;
}
.day-stat:hover,.task-tile:hover {
  border-color: #a6a7c3;
}
.stat-cap,.metric-foot,.board-tools,.tile-foot {
  display: flex;
  align-items: center;
  gap: 9px;
}
.stat-cap {
  font-size: 12px;
  font-weight: 600;
}
.metric-icon {
  display: grid;
  place-items: center;
  background: #f1f1f8;
  border-radius: 8px;
  width: 30px;
  height: 30px;
  color: #6c6b96;
  flex: none;
}
.stat-tareas .metric-icon {
  background: #f8ede8;
  color: #9c6358;
}
.stat-incidencias .metric-icon {
  background: #f7efe5;
  color: #8e6c46;
}
.stat-agenda .metric-icon {
  background: #eaf3ef;
  color: #507a6b;
}
.day-stat strong {
  display: block;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.25;
  margin: 10px 0 5px;
}
.metric-foot,.board-tools p,.tile-foot {
  font-size: 11px;
  color: #696a7d;
}
.metric-foot {
  justify-content: space-between;
}
.day-grid,.directory-grid {
  align-items: start;
}
.diary-entry {
  border-bottom: 1px solid #e7e7ee;
}
.diary-entry:last-child {
  border: 0;
}
.diary-entry summary {
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  padding: 15px 20px;
  list-style: none;
}
.diary-entry summary::-webkit-details-marker {
  display: none;
}
.diary-entry summary time {
  font-size: 13px;
  font-weight: 650;
}
.diary-entry summary i,.task-lane h2 i {
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: #9a9ac8;
}
.diary-entry summary i.coral,.lane-pendiente h2 i {
  background: #d98f82;
}
.diary-entry summary small {
  display: block;
  font-size: 11px;
  color: #6c6d81;
}
.diary-entry summary b {
  margin-left: auto;
}
.diary-entry[open] summary {
  background: #f7f7fb;
}
.directory-tools,.board-tools {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin: 16px 0;
  flex-wrap: wrap;
}
.directory-tools>input {
  max-width: 300px;
}
.switcher {
  display: inline-flex;
  background: white;
  border: 1px solid #e0e0e9;
  border-radius: 10px;
  padding: 3px;
  gap: 2px;
  flex-wrap: wrap;
}
.switcher button {
  border-radius: 7px;
  padding: 7px 12px;
  font-size: 12px;
  color: #5e5f73;
}
.switcher button[aria-pressed=true] {
  color: #424360;
  background: #ededf6;
  font-weight: 650;
}
.directory-grid {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(205px,29%);
  gap: 20px;
}
.patient-preview {
  padding: 24px;
}
.patient-disc {
  width: 58px;
  height: 58px;
  font-size: 20px;
  margin: 18px 0 12px;
}
.patient-preview h2 {
  font-size: 26px;
  line-height: 1.2;
}
.patient-code,.patient-preview dt {
  font-size: 11px;
  color: #696a7d;
}
.patient-code {
  margin: 4px 0 10px;
}
.patient-preview dl {
  border-top: 1px solid #e7e7ee;
  margin: 16px 0;
  padding: 4px 0;
}
.patient-preview dt {
  margin-top: 12px;
}
.patient-preview dd {
  font-size: 13px;
  margin: 3px 0;
}
.mini-avatar {
  border-radius: 50%;
}
.patient-current td {
  background: #f7f7fb;
}
.task-board {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 14px;
}
.task-lane {
  background: #ececf2;
  border: 1px solid #e2e3ec;
  padding: 12px;
  border-radius: 14px;
}
.task-lane h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 650;
  margin: 2px 1px 12px;
}
.task-lane h2 span {
  margin-left: auto;
  color: #67697c;
  font-size: 12px;
}
.lane-resuelta h2 i {
  background: #7ba48e;
}
.task-tile {
  display: block;
  width: 100%;
  padding: 15px;
  text-align: left;
  margin-bottom: 8px;
  overflow-wrap: anywhere;
}
.task-tile strong,.task-tile small {
  display: block;
}
.task-tile small {
  font-size: 11px;
  color: #68697b;
}
.task-tags {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.tile-foot {
  border-top: 1px solid #e5e5eb;
  padding-top: 9px;
  margin-top: 12px;
}
.lane-empty {
  font-size: 12px;
  color: #696a7d;
  padding: 15px 2px;
}
@media (min-width:1101px) {
  .sidebar {
    width: 246px;
  }
  .content-shell {
    margin-left: 246px;
  }
  .main {
    padding: 28px 38px 48px;
  }
  .day-grid {
    grid-template-columns: minmax(0,1.5fr) minmax(0,1fr);
  }
}
@media (max-width:1000px) {
  .day-stats {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .directory-grid {
    grid-template-columns: 1fr;
  }
  .directory-grid>div {
    min-width: 0;
  }
  .task-board {
    gap: 8px;
  }
  .task-lane {
    padding: 8px;
  }
}
@media (max-width:760px) {
  .topbar {
    height: auto;
    min-height: 50px;
    flex-wrap: wrap;
    padding-block: 8px;
  }
  .topbar>div {
    flex-wrap: wrap;
  }
  .task-board {
    grid-template-columns: 1fr;
  }
  .directory-tools>input {
    max-width: 100%;
  }
}
@media (max-width:640px) {
  .nav-section {
    display: none;
  }
  .topbar {
    align-items: stretch;
  }
  .topbar>span:first-child {
    display: none;
  }
  .topbar>div {
    width: 100%;
    gap: 8px;
  }
  .work-search {
    flex: 1;
    min-width: 80px;
    padding: 7px;
  }
  .work-search input {
    width: 100%;
    min-width: 0;
  }
  .work-results {
    left: 0;
    right: auto;
    min-width: min(285px,85vw);
  }
  .day-stats {
    gap: 8px;
  }
  .day-stat {
    padding: 12px;
  }
  .stat-cap {
    gap: 6px;
    font-size: 11px;
  }
  .metric-icon {
    width: 23px;
    height: 23px;
  }
  .metric-foot {
    font-size: 10px;
  }
  .directory-grid th,.directory-grid td {
    padding: 10px 7px;
  }
  .directory-grid .identity {
    gap: 5px;
  }
  .directory-grid .mini-avatar {
    display: none;
  }
  .sidebar nav .nav-link {
    padding: 6px 2px;
    text-align: center;
    line-height: 1.2;
  }
}
dialog.modal[open] {
  position: fixed;
  inset: 0;
  margin: auto;
  max-width: calc(100vw - 28px);
  max-height: calc(100dvh - 28px);
  overflow: auto;
}
.agenda-filtros-rapidos {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0 0 16px;
}
.agenda-filtros-rapidos button {
  border: 1px solid #e0e1ed;
  border-radius: 999px;
  padding: 7px 12px;
  background: #fff;
  color: #5c5d75;
  font-size: 12px;
}
.agenda-filtros-rapidos button[aria-pressed=true] {
  background: #ededf7;
  color: #43456e;
  border-color: #b3b5d0;
  font-weight: 650;
}
.agenda-filtros-rapidos span {
  color: #7b7c91;
  font-size: 11px;
  margin-left: auto;
}
@media (max-width:700px) {
  .agenda-filtros-rapidos span {
    width: 100%;
    margin: 0;
  }
}
.agenda-atajo {
  font-size: 12px;
  color: #717388;
  margin: 0 0 12px;
}
.agenda-dia-acciones {
  display: flex;
  align-items: center;
  gap: 12px;
}
.agenda-programar-dia {
  white-space: nowrap;
}
.traspaso-resumen {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 15px 20px;
  border: 1px solid #e1e2ef;
  border-radius: 13px;
  background: #f1f1f9;
  color: #525478;
}
.traspaso-resumen div {
  display: flex;
  align-items: baseline;
  gap: 8px;
  white-space: nowrap;
}
.traspaso-resumen strong {
  font-size: 24px;
  line-height: 1;
}
.traspaso-resumen span {
  font-size: 12px;
  font-weight: 650;
}
.traspaso-resumen p {
  font-size: 12px;
  color: #6f7188;
}
@media (max-width:640px) {
  .traspaso-resumen {
    align-items: start;
    flex-direction: column;
    gap: 7px;
  }
}
.paciente-panorama {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 9px;
}
.paciente-panorama>div {
  border: 1px solid #e3e3ed;
  background: #fff;
  border-radius: 12px;
  padding: 14px;
  min-width: 0;
}
.paciente-panorama span {
  display: block;
  font-size: 9px;
  letter-spacing: .1em;
  font-weight: 700;
  color: #7d7e92;
  margin-bottom: 6px;
}
.paciente-panorama strong {
  display: block;
  font-size: 13px;
  color: #46475d;
  overflow-wrap: anywhere;
}
.directorio-vacio {
  text-align: center;
  padding-bottom: 22px;
}
.directorio-vacio>div {
  padding-bottom: 12px;
}
@media (max-width:850px) {
  .paciente-panorama {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}
@media (max-width:420px) {
  .paciente-panorama>div {
    padding: 11px;
  }
}
.cronologia-cabecera {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 14px;
  flex-wrap: wrap;
}
.cronologia-cabecera h2 {
  font-family: "Kumbh Sans",system-ui,sans-serif;
  font-size: 25px;
  color: #3e3f57;
}
.cronologia-cabecera p {
  font-size: 12px;
  color: #727388;
  margin-top: 5px;
}
.cronologia-cabecera label {
  width: min(230px,100%);
}
.cronologia-lista {
  padding: 5px 20px;
}
.cronologia-evento {
  display: flex;
  position: relative;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid #eaeaf0;
}
.cronologia-evento:last-child {
  border: 0;
}
.cronologia-icono {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 11px;
  background: #f1f1f8;
  color: #8081a8;
}
.cronologia-contenido {
  flex: 1;
  min-width: 0;
}
.cronologia-meta {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}
.cronologia-meta time {
  font-size: 11px;
  color: #797a8f;
}
.cronologia-contenido h3 {
  font-weight: 650;
  font-size: 14px;
  margin-top: 8px;
  overflow-wrap: anywhere;
}
.cronologia-contenido p {
  font-size: 12px;
  color: #737488;
  margin: 4px 0 8px;
}
.cronologia-contenido button {
  min-height: 30px;
}
.ficha-grupo {
  border: 1px solid #e4e4ed;
  border-radius: 11px;
  background: #fbfbfd;
}
.ficha-grupo summary {
  cursor: pointer;
  padding: 13px 15px;
  font-weight: 650;
  font-size: 13px;
  color: #4a4b66;
}
.ficha-grupo-contenido {
  display: grid;
  gap: 16px;
  padding: 4px 15px 16px;
}
.ficha-contexto-cabecera {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.ficha-contexto-cabecera h3 {
  font-size: 14px;
  font-weight: 650;
}
.actividad-acciones {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.paciente-borradores {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 16px 18px;
  border: 1px solid #dedfed;
  border-radius: 13px;
  background: #f3f3f9;
}
.paciente-borradores strong {
  font-size: 13px;
  color: #484968;
}
.paciente-borradores p {
  font-size: 12px;
  color: #6c6d83;
  margin-top: 3px;
}
.resumen-paciente {
  display: grid;
  gap: 18px;
}
.resumen-cabecera {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  flex-wrap: wrap;
}
.resumen-ceja {
  font-size: 9px;
  letter-spacing: .14em;
  color: #8789a7;
  font-weight: 750;
}
.resumen-cabecera h2 {
  font: 600 30px "Kumbh Sans",system-ui,sans-serif;
  color: #3e3f58;
  margin: 4px 0;
}
.resumen-cabecera p,.resumen-seccion p {
  font-size: 12px;
  color: #747488;
}
.resumen-acciones {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.resumen-identidad {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  border: 1px solid #e4e4ec;
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}
.resumen-identidad>div {
  padding: 16px;
  border-right: 1px solid #efeff3;
  min-width: 0;
}
.resumen-identidad>div:last-child {
  border: 0;
}
.resumen-identidad span {
  display: block;
  font-size: 9px;
  color: #8c8da0;
  font-weight: 700;
  letter-spacing: .08em;
  margin-bottom: 7px;
}
.resumen-identidad strong {
  font-size: 12px;
  color: #494b63;
  overflow-wrap: anywhere;
}
.resumen-seccion {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
}
.resumen-seccion h3 {
  font: 600 21px "Kumbh Sans",system-ui,sans-serif;
  color: #404157;
  margin-top: 4px;
}
.resumen-columnas {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 14px;
  align-items: start;
}
.resumen-card-head {
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid #eeeff3;
}
.resumen-titulo {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.resumen-titulo h4 {
  font-size: 13px;
  font-weight: 700;
  color: #43445a;
}
.resumen-titulo p {
  font-size: 11px;
  color: #898a9d;
  margin-top: 2px;
}
.resumen-icono {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 10px;
  color: #7d7fa7;
  background: #f0f0f8;
}
.resumen-icono.verde {
  color: #5d8e78;
  background: #eaf5ef;
}
.resumen-icono.coral {
  color: #ba7c70;
  background: #f9efec;
}
.resumen-icono.lavanda {
  color: #8684a2;
  background: #f2f1f8;
}
.resumen-medicacion-body {
  padding: 14px 18px;
  font-size: 12px;
  color: #616276;
}
.resumen-medicacion-body li {
  display: flex;
  gap: 8px;
  padding: 3px 0;
}
.resumen-medicacion-body li span {
  color: #ca8d74;
}
.resumen-fila {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 18px;
  border-bottom: 1px solid #eeeff3;
}
.resumen-fila:last-child {
  border: 0;
}
.resumen-fila>div {
  min-width: 0;
}
.resumen-fila strong,.resumen-extracto strong {
  font-size: 12px;
  color: #45475d;
  overflow-wrap: anywhere;
}
.resumen-fila p {
  font-size: 11px;
  color: #818294;
  margin: 4px 0;
}
.resumen-fila button {
  flex: none;
}
.resumen-vacio {
  padding: 20px 18px;
  color: #8d8e9e;
  font-size: 12px;
}
.resumen-pie {
  padding: 12px 18px;
  border-top: 1px solid #eeeff3;
}
.resumen-extracto {
  padding: 14px 18px;
}
.resumen-extracto p {
  font-size: 12px;
  color: #66677a;
  line-height: 1.65;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin: 5px 0;
}
.resumen-extracto small {
  font-size: 10px;
  color: #9192a2;
}
.resumen-enlaces {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
}
.resumen-enlaces button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  text-align: left;
  padding: 15px 18px;
  border-bottom: 1px solid #eeeff3;
  color: #8587a2;
}
.resumen-enlaces button:nth-child(odd) {
  border-right: 1px solid #eeeff3;
}
.resumen-enlaces button:hover {
  background: #f9fafe;
}
.resumen-enlaces strong,.resumen-enlaces small {
  display: block;
  overflow-wrap: anywhere;
}
.resumen-enlaces strong {
  font-size: 12px;
  color: #4b4c62;
}
.resumen-enlaces small {
  font-size: 11px;
  color: #898a9c;
  margin-top: 4px;
}
@media (max-width:850px) {
  .resumen-identidad {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .resumen-identidad>div {
    border-bottom: 1px solid #efeff3;
  }
  .resumen-columnas {
    grid-template-columns: 1fr;
  }
}
@media (max-width:480px) {
  .resumen-enlaces {
    grid-template-columns: 1fr;
  }
  .resumen-enlaces button:nth-child(odd) {
    border-right: 0;
  }
  .resumen-card-head {
    align-items: start;
  }
  .resumen-fila {
    align-items: start;
    flex-wrap: wrap;
  }
}
.detail-grid.resumen-ancho {
  grid-template-columns: minmax(0,1fr);
}
.detail-grid.resumen-ancho>.detail-aside {
  display: none;
}
.notas-terapia {
  display: grid;
  gap: 14px;
  margin: 26px 0;
}
.terapia-bloque-cabecera {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 12px;
  flex-wrap: wrap;
}
.terapia-bloque-cabecera h2 {
  font: 600 23px "Kumbh Sans",system-ui,sans-serif;
  color: #404157;
}
.terapia-bloque-cabecera p {
  font-size: 12px;
  color: #797a8f;
  margin-top: 5px;
}
.terapia-filtros {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.terapia-filtros label {
  flex: 1;
  min-width: 180px;
}
.terapia-filtros select {
  width: auto;
  min-width: 190px;
}
.nota-terapia-fila {
  padding: 18px 20px;
  border-bottom: 1px solid #eeeff3;
}
.nota-terapia-fila:last-child {
  border: 0;
}
.nota-terapia-meta {
  display: flex;
  gap: 9px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 11px;
  color: #797a8f;
  margin-bottom: 12px;
}
.nota-terapia-fila .note-text {
  font-size: 13px;
}
.nota-terapia-fila .text-action {
  margin-top: 12px;
}
@media (max-width:640px) {
  .terapia-filtros label,.terapia-filtros select {
    width: 100%;
  }
}
.terapia-desplegable summary {
  cursor: pointer;
  list-style: none;
}
.terapia-desplegable summary::-webkit-details-marker {
  display: none;
}
.terapia-desplegable summary:focus-visible {
  outline: 2px solid #636490;
  outline-offset: 3px;
}
.terapia-desplegable summary .nota-terapia-meta {
  margin-bottom: 0;
}
.terapia-desplegable summary .nota-terapia-meta strong {
  color: #404157;
  font-size: 13px;
}
.terapia-desplegable[open] summary {
  margin-bottom: 14px;
}
.terapia-abrir {
  font-size: 12px;
  color: #646693;
  font-weight: 600;
  white-space: nowrap;
}
.terapia-desplegable summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.terapia-paginacion {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px 20px;
  font-size: 12px;
  color: #797a8f;
}
.terapia-paginacion>div {
  display: flex;
  align-items: center;
  gap: 10px;
}
.terapia-paginacion button {
  font-size: 12px;
}
.nota-terapia-resumen {
  display: grid;
  gap: 7px;
  min-width: 0;
  flex: 1;
}
.nota-terapia-extracto {
  font-size: 13px;
  color: #6c6d82;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.terapia-filtros label:last-child {
  flex: 0 1 130px;
  min-width: 110px;
}
@media (max-width:640px) {
  .terapia-filtros label:last-child {
    flex: 1 1 100%;
  }
}
.modal-footer {
  flex-wrap: wrap;
}
.tratamiento-historial {
  display: grid;
  gap: 16px;
}
.tratamiento-cabecera {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.tratamiento-ceja {
  font-size: 10px;
  letter-spacing: .12em;
  color: #7c7e94;
  font-weight: 700;
}
.tratamiento-cabecera h2 {
  font: 600 25px "Kumbh Sans",system-ui,sans-serif;
  color: #3f4059;
  margin: 4px 0;
}
.tratamiento-cabecera p,.tratamiento-ayuda {
  font-size: 12px;
  color: #77788c;
}
.tratamiento-acciones {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.tratamiento-filtros {
  display: grid;
  grid-template-columns: minmax(200px,2fr) minmax(145px,1fr) minmax(155px,1fr) 95px;
  gap: 8px;
}
.tratamiento-buscar {
  position: relative;
}
.tratamiento-buscar svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #9091a2;
}
.tratamiento-buscar input {
  padding-left: 36px;
}
.tratamiento-resultados {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #797a8f;
  gap: 12px;
}
.tratamiento-registro {
  border-bottom: 1px solid #efeff3;
}
.tratamiento-registro summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
}
.tratamiento-registro summary::-webkit-details-marker {
  display: none;
}
.tratamiento-registro summary:focus-visible {
  outline: 2px solid #636490;
  outline-offset: -3px;
}
.tratamiento-registro summary:hover {
  background: #fafafe;
}
.tratamiento-icono {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  flex: none;
  color: #6a6a96;
  background: #f1f1fa;
}
.tratamiento-icono.grupal {
  color: #347a72;
  background: #eaf7f3;
}
.tratamiento-registro-texto {
  display: grid;
  gap: 4px;
  flex: 1;
  min-width: 0;
}
.tratamiento-titulo {
  font-size: 14px;
  font-weight: 650;
  color: #3f4059;
  overflow-wrap: anywhere;
}
.tratamiento-meta,.tratamiento-extracto {
  font-size: 12px;
  color: #797a8f;
  overflow-wrap: anywhere;
}
.tratamiento-insignias {
  display: grid;
  justify-items: end;
  gap: 5px;
  text-align: right;
}
.tratamiento-insignias small {
  font-size: 10px;
  color: #797a8f;
}
.tratamiento-ver {
  font-size: 12px;
  color: #646693;
  font-weight: 600;
  white-space: nowrap;
}
.tratamiento-detalle {
  padding: 0 20px 20px 72px;
  display: grid;
  gap: 13px;
}
.tratamiento-seguimiento {
  display: grid;
  gap: 8px;
  border: 1px solid #e6e6ed;
  background: #fbfbfd;
  border-radius: 10px;
  padding: 15px;
}
.tratamiento-seguimiento h4 {
  font-weight: 600;
  font-size: 12px;
  color: #50516a;
  margin-top: 8px;
}
.tratamiento-seguimiento p {
  font-size: 13px;
}
.tratamiento-ayuda {
  line-height: 1.6;
}
@media (max-width:900px) {
  .tratamiento-filtros {
    grid-template-columns: 1fr 1fr;
  }
  .tratamiento-buscar {
    grid-column: 1/-1;
  }
}
@media (max-width:640px) {
  .tratamiento-cabecera {
    align-items: start;
  }
  .tratamiento-acciones {
    width: 100%;
  }
  .tratamiento-registro summary {
    padding: 15px 14px;
    gap: 9px;
    flex-wrap: wrap;
  }
  .tratamiento-registro-texto {
    flex-basis: calc(100% - 48px);
  }
  .tratamiento-insignias {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-left: 47px;
    text-align: left;
    justify-content: start;
  }
  .tratamiento-detalle {
    padding: 0 15px 18px;
  }
  .tratamiento-filtros {
    grid-template-columns: 1fr 1fr;
  }
  .tratamiento-filtros>input {
    width: 100%;
  }
}
.tratamiento-filtros {
  grid-template-columns: 1fr 1fr;
}
.tratamiento-buscar {
  grid-column: 1/-1;
}
@media (min-width:1400px) {
  .tratamiento-filtros {
    grid-template-columns: minmax(200px,2fr) minmax(145px,1fr) minmax(155px,1fr) 95px;
  }
  .tratamiento-buscar {
    grid-column: auto;
  }
}
.cal-paciente {
  margin-bottom: 28px;
  overflow: hidden;
}
.cal-paciente-cabecera {
  padding: 19px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  border-bottom: 1px solid #ebecf2;
}
.cal-paciente-cabecera h2 {
  font: 600 21px "Kumbh Sans",system-ui,sans-serif;
  color: #3f4059;
  margin: 3px 0;
}
.cal-paciente-cabecera p,.cal-paciente-dia-detalle>p,.cal-paciente-aviso {
  font-size: 12px;
  color: #797a8f;
}
.cal-paciente-contenido {
  display: grid;
  grid-template-columns: minmax(260px,1fr) minmax(220px,1fr);
}
.cal-paciente-mes {
  padding: 18px 20px;
  border-right: 1px solid #efeff3;
}
.cal-paciente-navegacion {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.cal-paciente-navegacion strong {
  text-transform: capitalize;
  color: #3f4059;
  font-size: 14px;
}
.cal-paciente-navegacion div {
  display: flex;
  align-items: center;
  gap: 8px;
}
.cal-paciente-navegacion button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  color: #65667e;
  font-size: 12px;
}
.cal-paciente-cuadricula {
  display: grid;
  grid-template-columns: repeat(7,minmax(0,1fr));
  gap: 3px;
}
.cal-paciente-semana {
  text-align: center;
  font-size: 10px;
  color: #8e8fa1;
  font-weight: 700;
  padding: 5px;
}
.cal-paciente-dia {
  height: 38px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: #4b4c65;
  font-size: 12px;
}
.cal-paciente-dia:hover {
  background: #f2f2f9;
}
.cal-paciente-dia.fuera {
  color: #bbbbc7;
}
.cal-paciente-dia.hoy {
  font-weight: 700;
}
.cal-paciente-dia.seleccionado {
  background: #4b4c6a;
  color: white;
}
.cal-paciente-puntos {
  height: 4px;
  display: flex;
  gap: 3px;
}
.cal-paciente-puntos i,.cal-paciente-leyenda i {
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
}
.cal-paciente-puntos .terapia,.cal-paciente-leyenda .terapia {
  background: #8888bd;
}
.cal-paciente-puntos .taller,.cal-paciente-leyenda .taller {
  background: #4eaa99;
}
.cal-paciente-dia.seleccionado i {
  background: white;
}
.cal-paciente-leyenda {
  display: flex;
  gap: 16px;
  color: #797a8f;
  font-size: 10px;
  margin-top: 12px;
}
.cal-paciente-leyenda span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.cal-paciente-dia-detalle {
  padding: 19px 20px;
}
.cal-paciente-dia-detalle h3 {
  text-transform: capitalize;
  font-weight: 650;
  color: #3f4059;
  font-size: 14px;
}
.cal-paciente-dia-detalle>p {
  margin: 5px 0 12px;
}
.cal-paciente-cita {
  width: 100%;
  display: flex;
  gap: 10px;
  align-items: center;
  text-align: left;
  padding: 11px;
  border: 1px solid #e7e7ef;
  border-radius: 9px;
  margin-top: 8px;
  color: #4a4b66;
}
.cal-paciente-cita:hover,.cal-paciente-cita.activa {
  background: #f6f7fb;
  border-color: #c7c8db;
}
.cal-paciente-cita>span:nth-child(2) {
  flex: 1;
  min-width: 0;
}
.cal-paciente-cita strong,.cal-paciente-cita small {
  display: block;
  overflow-wrap: anywhere;
}
.cal-paciente-cita strong {
  font-size: 12px;
}
.cal-paciente-cita small {
  font-size: 10px;
  color: #797a8f;
  margin-top: 3px;
}
.cal-paciente-hora {
  font-weight: 700;
  font-size: 12px;
  color: #6e6f9e;
}
.cal-paciente-seleccion {
  margin-top: 13px;
  padding: 13px;
  background: #f7f7fb;
  border-radius: 9px;
  color: #4a4b66;
  font-size: 12px;
}
.cal-paciente-seleccion p {
  margin-top: 7px;
  color: #797a8f;
}
.cal-paciente-acciones {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 12px;
}
.cal-paciente-aviso {
  padding: 0 20px 17px;
}
@media (max-width:1050px) {
  .cal-paciente-contenido {
    grid-template-columns: 1fr;
  }
  .cal-paciente-mes {
    border-right: 0;
    border-bottom: 1px solid #efeff3;
  }
}
@media (max-width:640px) {
  .cal-paciente-cabecera,.cal-paciente-mes,.cal-paciente-dia-detalle {
    padding: 16px;
  }
  .cal-paciente-dia {
    height: 36px;
  }
}
.cal-paciente-cabecera-acciones {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.cal-paciente-proxima {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 10px 20px;
  text-align: left;
  background: #f3f4f9;
  color: #565879;
  font-size: 12px;
  border-bottom: 1px solid #e9eaf2;
}
.cal-paciente-proxima:hover {
  background: #eeeef7;
}
.cal-paciente-proxima span:last-child {
  text-transform: capitalize;
  font-size: 11px;
}
.cal-paciente-dia {
  position: relative;
}
.cal-paciente-cantidad {
  position: absolute;
  top: 1px;
  right: 2px;
  font-size: 9px;
  line-height: 1;
  color: #7d7e97;
}
.cal-paciente-dia.seleccionado .cal-paciente-cantidad {
  color: white;
}
.terapia-editor-titulo {
  font-size: 15px;
  font-weight: 700;
  color: #3f4059;
  padding-top: 8px;
}
.terapia-editor-contexto {
  background: #edf5f2;
  color: #35695e;
  padding: 12px 14px;
  border-radius: 9px;
  font-size: 13px;
}
.terapia-editor-persona {
  border: 1px solid #e4e5ed;
  border-radius: 10px;
  background: #fcfcfd;
}
.terapia-editor-persona.destacada {
  border-color: #8fc6b7;
  background: #f6fbf9;
}
.terapia-editor-persona summary {
  padding: 13px 15px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  color: #4a4b66;
  font-size: 13px;
}
.terapia-editor-persona summary span {
  font-size: 11px;
  color: #797a8f;
}
.terapia-editor-campos {
  display: grid;
  gap: 14px;
  padding: 0 15px 15px;
}
.terapia-editor-persona summary::after {
  content: 'Abrir ▾';
  font-size: 11px;
  font-weight: 600;
  color: #646693;
  white-space: nowrap;
}
.terapia-editor-persona[open] summary::after {
  content: 'Cerrar ▴';
}
.continuidad-centro {
  margin-bottom: 24px;
}
.continuidad-centro-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  flex-wrap: wrap;
  border-bottom: 1px solid #ebecf2;
}
.continuidad-centro-head>div {
  flex: 1;
  min-width: 200px;
}
.continuidad-centro-head h3 {
  font-size: 15px;
  font-weight: 700;
  color: #3f4059;
}
.continuidad-centro-head p {
  font-size: 12px;
  color: #797a8f;
  margin-top: 3px;
}
.continuidad-centro-icono {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: #eaf7f3;
  color: #347a72;
}
.continuidad-centro-body {
  padding: 17px 20px;
}
.continuidad-centro-body>.empty {
  padding: 0;
}
.continuidad-centro-historial {
  display: grid;
  gap: 6px;
  padding: 14px 0;
  border-top: 1px solid #efeff3;
  margin-top: 12px;
}
.bandeja-continuidad {
  display: grid;
  gap: 16px;
}
.bandeja-continuidad-aviso {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #edf5f2;
  color: #416c65;
  padding: 15px 17px;
  border-radius: 11px;
  font-size: 12px;
  line-height: 1.6;
}
.bandeja-continuidad-aviso svg {
  flex: none;
}
.bandeja-continuidad-filtros {
  display: grid;
  grid-template-columns: minmax(200px,2fr) minmax(180px,1fr) minmax(150px,1fr);
  gap: 10px;
}
.bandeja-continuidad-busqueda {
  display: block;
  position: relative;
}
.bandeja-continuidad-busqueda svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #9091a2;
}
.bandeja-continuidad-busqueda input {
  padding-left: 36px;
}
.bandeja-continuidad-resumen {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #797a8f;
  font-size: 12px;
}
.bandeja-continuidad-fila {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-bottom: 1px solid #efeff3;
}
.bandeja-continuidad-icono {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  flex: none;
  color: #347a72;
  background: #eaf7f3;
}
.bandeja-continuidad-datos {
  flex: 1;
  min-width: 0;
  color: #3f4059;
}
.bandeja-continuidad-datos strong {
  font-size: 14px;
  overflow-wrap: anywhere;
}
.bandeja-continuidad-datos p,.bandeja-continuidad-datos small {
  display: block;
  font-size: 12px;
  color: #797a8f;
  margin-top: 4px;
}
.bandeja-continuidad-acciones {
  display: grid;
  justify-items: end;
  gap: 7px;
}
.bandeja-continuidad-acciones small {
  font-size: 10px;
  color: #797a8f;
}
@media (max-width:900px) {
  .bandeja-continuidad-filtros {
    grid-template-columns: 1fr 1fr;
  }
  .bandeja-continuidad-filtros label {
    grid-column: 1/-1;
  }
}
@media (max-width:640px) {
  .bandeja-continuidad-fila {
    flex-wrap: wrap;
  }
  .bandeja-continuidad-acciones {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-left: 52px;
  }
  .bandeja-continuidad-filtros {
    grid-template-columns: 1fr;
  }
}
.plan-trabajo {
  display: grid;
  gap: 20px;
}
.plan-cabecera {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.plan-cabecera h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 4px 0;
}
.plan-cabecera p,.plan-ayuda,.plan-anteriores>p {
  color: #6c6d84;
  font-size: .84rem;
  line-height: 1.6;
}
.plan-resumen {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 12px;
}
.plan-resumen>div {
  display: grid;
  gap: 5px;
  background: #fff;
  border: 1px solid #e0e1ec;
  border-radius: 12px;
  padding: 16px;
}
.plan-resumen span {
  font-size: .8rem;
  color: #62637b;
  font-weight: 600;
}
.plan-resumen strong {
  font-size: 1.7rem;
  line-height: 1.1;
  color: #3f405d;
}
.plan-resumen small {
  font-size: .72rem;
  color: #7a7b91;
}
.plan-herramientas {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}
.plan-filtros {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px;
  border: 1px solid #e0e1ec;
  border-radius: 10px;
  background: #fff;
}
.plan-filtros button {
  font-size: .76rem;
  padding: 8px 10px;
  border-radius: 7px;
  color: #5c5d75;
}
.plan-filtros button[aria-pressed=true] {
  background: #f0f0f7;
  color: #3f405d;
  font-weight: 700;
}
.plan-buscar {
  display: flex;
  gap: 8px;
  align-items: center;
  border: 1px solid #e0e1ec;
  background: white;
  border-radius: 10px;
  padding: 0 10px;
  color: #7a7b91;
  min-width: 210px;
}
.plan-buscar input {
  border: 0;
  box-shadow: none;
  padding-left: 0;
}
.plan-objetivo {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-top: 1px solid #ebebf2;
}
.plan-objetivo-icono {
  display: grid;
  place-items: center;
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  color: #66678c;
  background: #f1f1f8;
}
.plan-objetivo-icono.revisado {
  color: #248061;
  background: #e8f6ef;
}
.plan-objetivo-contenido {
  flex: 1;
  min-width: 0;
}
.plan-objetivo-titulo {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.plan-objetivo-titulo strong {
  overflow-wrap: anywhere;
  font-size: .9rem;
}
.plan-objetivo-contenido p {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #737488;
  font-size: .77rem;
  margin-top: 7px;
}
.plan-objetivo-contenido small {
  color: #737488;
  font-size: .73rem;
}
.plan-aviso {
  border-radius: 10px;
  background: #f1f1f7;
  padding: 14px 16px;
  color: #5d5f7a;
  font-size: .85rem;
}
.plan-anteriores summary {
  cursor: pointer;
  font-weight: 700;
  font-size: .9rem;
}
.plan-anteriores summary span {
  color: #7b7c92;
  font-weight: 400;
  margin-left: 6px;
}
.plan-anteriores>p {
  margin: 8px 0 12px;
}
@media (max-width:640px) {
  .plan-cabecera {
    align-items: flex-start;
    flex-direction: column;
  }
  .plan-resumen {
    gap: 7px;
  }
  .plan-resumen>div {
    padding: 11px 9px;
  }
  .plan-resumen span {
    font-size: .72rem;
  }
  .plan-resumen small {
    font-size: .67rem;
  }
  .plan-buscar {
    width: 100%;
  }
  .plan-objetivo {
    flex-wrap: wrap;
  }
  .plan-objetivo>button {
    margin-left: 52px;
  }
}
.evolucion-ficha {
  display: grid;
  gap: 18px;
}
.evolucion-cabecera {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.evolucion-cabecera h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 4px 0;
}
.evolucion-cabecera p {
  color: #6c6d84;
  font-size: .84rem;
  line-height: 1.6;
}
.evolucion-pasos {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 12px;
}
.evolucion-pasos>div {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #f8f8fc;
  border: 1px solid #e3e3ee;
  border-radius: 12px;
  padding: 15px;
  color: #64668c;
}
.evolucion-pasos svg {
  flex: none;
  margin-top: 2px;
}
.evolucion-pasos p {
  display: grid;
  gap: 4px;
}
.evolucion-pasos strong {
  color: #3f405d;
  font-size: .83rem;
}
.evolucion-pasos span {
  color: #6c6d84;
  font-size: .76rem;
  line-height: 1.5;
}
.evolucion-selector {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  border-bottom: 1px solid #e0e1ec;
}
.evolucion-selector button {
  border-bottom: 2px solid transparent;
  padding: 11px 14px;
  color: #6e6f84;
  font-weight: 600;
  font-size: .85rem;
}
.evolucion-selector button[aria-pressed=true] {
  color: #3f405d;
  border-color: #5e6086;
}
.evolucion-selector span {
  margin-left: 4px;
  border-radius: 20px;
  background: #ebecf5;
  padding: 2px 7px;
  font-size: .72rem;
}
@media (max-width:640px) {
  .evolucion-cabecera {
    align-items: flex-start;
    flex-direction: column;
  }
  .evolucion-pasos {
    grid-template-columns: 1fr;
  }
}
.evolucion-explicacion {
  border-left: 3px solid #b1b2cb;
  padding: 3px 0 3px 13px;
  color: #6c6d84;
  font-size: .82rem;
  line-height: 1.6;
}
.evolucion-busqueda {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #7e7f94;
  background: #fff;
  border: 1px solid #e0e1ec;
  border-radius: 10px;
  padding: 0 12px;
}
.evolucion-busqueda input {
  border: 0;
  box-shadow: none;
  padding-left: 0;
}
.evolucion-cronograma {
  padding-top: 6px;
}
.evolucion-fecha {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #61637b;
  font-size: .78rem;
  font-weight: 700;
  text-transform: capitalize;
  margin: 18px 0 10px;
}
.evolucion-evento-cuerpo {
  position: relative;
  margin-left: 7px;
  padding: 0 0 14px 23px;
  border-left: 2px solid #e0e1ec;
}
.evolucion-punto {
  position: absolute;
  left: -6px;
  top: 22px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #9899b9;
  border: 2px solid #f3f3f8;
}
.evolucion-tarjeta {
  padding: 17px 19px;
}
.evolucion-tarjeta-cabecera,.evolucion-tarjeta-pie {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.evolucion-tarjeta-cabecera>span:last-child,.evolucion-tarjeta-pie>span {
  color: #7b7c91;
  font-size: .75rem;
}
.evolucion-tarjeta-pie {
  border-top: 1px solid #efeff3;
  margin-top: 15px;
  padding-top: 12px;
}
.evolucion-privadas {
  border-top: 1px solid #e0e1ec;
  padding-top: 15px;
}
.evolucion-privadas summary {
  cursor: pointer;
  color: #61637b;
  font-size: .8rem;
  font-weight: 600;
}
.evolucion-privadas>p {
  color: #7b7c91;
  font-size: .76rem;
  margin: 10px 0;
}
@media (max-width:640px) {
  .evolucion-tarjeta {
    padding: 14px;
  }
  .evolucion-evento-cuerpo {
    padding-left: 16px;
  }
}
.evolucion-privadas {
  border: 1px solid #e0e1ec;
  border-radius: 12px;
  padding: 0;
  background: #fff;
}
.evolucion-privadas summary {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  list-style: none;
  cursor: pointer;
}
.evolucion-privadas summary::-webkit-details-marker {
  display: none;
}
.evolucion-privadas summary>span:nth-child(2) {
  flex: 1;
  display: grid;
  gap: 3px;
}
.evolucion-privadas summary strong {
  color: #3f405d;
  font-size: .86rem;
}
.evolucion-privadas summary small {
  color: #7b7c91;
  font-size: .73rem;
  font-weight: 400;
}
.evolucion-privadas-icono {
  flex: none;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: #66678a;
  background: #f1f1f8;
  border-radius: 10px;
}
.evolucion-privadas-abrir {
  color: #66678b;
  font-size: .76rem;
  white-space: nowrap;
}
.evolucion-privadas-contenido {
  border-top: 1px solid #eaeaf0;
  padding: 16px;
}
.evolucion-privadas-intro {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}
.evolucion-privadas-intro p {
  color: #6c6d84;
  font-size: .8rem;
  line-height: 1.55;
  max-width: 52ch;
}
@media (max-width:640px) {
  .evolucion-privadas-intro {
    align-items: flex-start;
    flex-direction: column;
  }
}
.evolucion-herramientas {
  display: flex;
  gap: 10px;
  align-items: center;
}
.evolucion-herramientas .evolucion-busqueda {
  flex: 1;
  min-width: 0;
}
.evolucion-herramientas select {
  width: auto;
  min-width: 160px;
}
.evolucion-detalle-ayuda {
  color: #7a7b91;
  font-size: .76rem;
  margin-top: 10px;
  line-height: 1.5;
}
@media (max-width:640px) {
  .evolucion-herramientas {
    align-items: stretch;
    flex-direction: column;
  }
  .evolucion-herramientas select {
    width: 100%;
  }
}
.resumen-referente {
  padding: 14px 18px;
  display: grid;
  gap: 5px;
}
.resumen-referente>strong {
  font-size: 14px;
  color: #45475d;
  overflow-wrap: anywhere;
}
.resumen-referente>span {
  font-size: 12px;
  color: #808195;
}
.resumen-referente-datos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 6px;
}
.resumen-referente-datos a,.resumen-referente-datos span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #63648b;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.resumen-referente p {
  margin-top: 8px;
  color: #8a8b9c;
  font-size: 11px;
  line-height: 1.5;
}
.flujos-centros {
  display: grid;
  gap: 15px;
  margin-bottom: 18px;
}
.flujos-selector {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 10px;
}
.flujos-selector button {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  background: #fff;
  border: 1px solid #e0e1eb;
  border-radius: 12px;
  padding: 15px;
  color: #75778f;
}
.flujos-selector button[aria-current=page] {
  border-color: #9294b8;
  background: #f1f1f8;
  color: #4e5073;
  box-shadow: 0 0 0 1px #bbbcd3;
}
.flujos-selector button>span {
  display: grid;
  gap: 3px;
}
.flujos-selector strong {
  font-size: 13px;
  color: #404258;
}
.flujos-selector small {
  font-size: 11px;
  color: #7c7d93;
}
.flujos-aviso {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  background: #edf5f2;
  color: #416c65;
  padding: 13px 15px;
  border-radius: 10px;
  font-size: 12px;
  line-height: 1.55;
}
.flujos-aviso svg {
  flex: none;
}
.flujo-intro {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin: 10px 0;
}
.flujo-intro h2 {
  font-size: 18px;
  font-weight: 700;
  color: #3e3f58;
}
.flujo-intro p {
  font-size: 12px;
  line-height: 1.6;
  color: #747488;
  margin-top: 4px;
  max-width: 75ch;
}
.flujo-intro button {
  flex: none;
}
@media (max-width:640px) {
  .flujos-selector {
    grid-template-columns: 1fr;
  }
  .flujo-intro {
    align-items: flex-start;
    flex-direction: column;
  }
}
.fases-recorrido {
  list-style: none;
  margin: 0;
  padding: 18px 20px 8px;
  display: grid;
  grid-template-columns: repeat(5,minmax(0,1fr));
  gap: 10px;
}
.fases-recorrido li {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  color: #6a6c82;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #e0dfe8;
  background: #fbfaf7;
}
.fases-recorrido li span {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 12px;
  background: #ececf4;
  color: #4e506b;
}
.fases-recorrido li.activa {
  border-color: #4e506b;
  background: #fff;
  color: #34364b;
  font-weight: 600;
}
.fases-recorrido li.activa span {
  background: #4e506b;
  color: #fff;
}
.fases-recorrido li.hecha span {
  background: #e9f6ef;
  color: #2e765b;
}
.fases-recorrido li.hecha {
  color: #2e765b;
}
.pisos-lista {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit,minmax(340px,1fr));
}
.plazas-barra {
  display: flex;
  gap: 4px;
  height: 8px;
}
.plazas-barra span {
  flex: 1;
  border-radius: 4px;
}
.segmento-ocupado {
  background: #4e506b;
}
.segmento-libre {
  background: #e0dfe8;
}
.segmento-bloqueado {
  background: #a33b3b;
}
@media (max-width:800px) {
  .fases-recorrido {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .pisos-lista {
    grid-template-columns: 1fr;
  }
}
.asistencia-dias {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(130px,1fr));
  gap: 8px;
  padding: 16px 20px;
}
.asistencia-dia {
  display: flex;
  flex-direction: column;
  gap: 3px;
  align-items: flex-start;
  padding: 10px 12px;
  border: 1px solid #e0dfe8;
  border-radius: 10px;
  background: #fbfaf7;
  text-align: left;
  font-size: 12px;
}
.asistencia-dia small {
  color: #6a6c82;
}
.asistencia-dia strong {
  font-size: 12px;
}
.asistencia-dia span {
  font-size: 11px;
  color: #6a6c82;
}
.asistencia-dia.ok {
  background: #e9f6ef;
  border-color: #cfe5da;
}
.asistencia-dia.aviso {
  background: #fff0ef;
  border-color: #f3c9c6;
}
.asistencia-dia.acento {
  background: #fbf1e6;
  border-color: #ebb583;
}
.asistencia-dia:disabled {
  cursor: default;
  opacity: .85;
}
.horario-semana {
  display: grid;
  grid-template-columns: repeat(7,minmax(0,1fr));
  gap: 10px;
  padding: 16px 20px;
}
.horario-dia h4 {
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #6a6c82;
  margin: 0 0 8px;
}
.horario-actividad {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 9px 10px;
  border: 1px solid #e0dfe8;
  border-radius: 10px;
  background: #fff;
  margin-bottom: 8px;
  font-size: 12px;
}
.horario-actividad strong {
  color: #4e506b;
}
.horario-actividad small {
  color: #6a6c82;
}
@media (max-width:900px) {
  .horario-semana {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}
.casas-vista-selector {
  display: inline-flex;
  border: 1px solid #e0dfe8;
  border-radius: 10px;
  background: #fff;
  padding: 3px;
  gap: 3px;
}
.casas-vista-selector button {
  padding: 6px 14px;
  border-radius: 7px;
  font-size: 12px;
  color: #6a6c82;
}
.casas-vista-selector button[aria-pressed=true] {
  background: #4e506b;
  color: #fff;
  font-weight: 600;
}
.casas-panel {
  background: #fff;
  border: 1px solid #e0dfe8;
  border-radius: 20px;
  overflow: hidden;
}
.casas-cabecera {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
  padding: 24px 28px 16px;
}
.casas-cabecera h2 {
  font-size: 24px;
  font-weight: 600;
  color: #34364b;
  margin: 4px 0;
}
.casas-cabecera p {
  font-size: 13px;
  color: #6a6c82;
}
.casas-etiqueta {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  color: #c78a52;
}
.casas-leyenda {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 11px;
  color: #6a6c82;
}
.casas-leyenda i {
  display: inline-block;
  width: 13px;
  height: 13px;
  border-radius: 3px;
  margin-left: 8px;
}
.casas-herramientas {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 0 28px 16px;
}
.casas-herramientas input {
  flex: 1;
  min-width: 200px;
  border: 1px solid #e0dfe8;
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 13px;
}
.casas-filtros {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.casas-filtros button {
  border: 1px solid #e0dfe8;
  border-radius: 999px;
  padding: 5px 11px;
  font-size: 12px;
  color: #6a6c82;
  background: #fff;
}
.casas-filtros button[aria-pressed=true] {
  background: #e7e7f0;
  border-color: #4e506b;
  color: #34364b;
  font-weight: 600;
}
.casas-conteo {
  font-size: 12px;
  color: #6a6c82;
}
.casas-contenido {
  display: grid;
  grid-template-columns: minmax(0,1fr) 320px;
  border-top: 1px solid #e0dfe8;
}
.casas-escena {
  position: relative;
  overflow: hidden;
  padding: 34px 26px 10px;
  background: linear-gradient(180deg,#f2c79c 0%,#e9b98e 14%,#b7a3b6 38%,#8f93b1 60%,#c9dde3 100%);
}
.casas-sol {
  position: absolute;
  right: 46px;
  top: 26px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #fcf8e4;
  box-shadow: 0 0 0 14px #fcf8e433,0 0 0 30px #fcf8e41a;
}
.casas-sol:after {
  content: '';
  position: absolute;
  inset: -4px -14px 6px 14px;
  border-radius: 50%;
  background: #e9b98e;
  opacity: .0;
}
.casas-calle {
  position: relative;
  margin-bottom: 26px;
}
.casas-rotulo-calle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  color: #fff;
  background: #4e506bd9;
  border-radius: 6px;
  padding: 4px 9px;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}
.casas-fila {
  display: flex;
  align-items: flex-end;
  gap: 18px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
  padding: 0 6px;
}
.casas-acera {
  height: 16px;
  margin-top: -4px;
  border-radius: 4px;
  background: linear-gradient(#b3c3bc,#9fb1aa);
  box-shadow: 0 6px 0 #7e9089;
}
.casa {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 148px;
  padding: 0;
  background: none;
  border: 0;
  transition: transform .15s;
}
.casa:hover {
  transform: translateY(-3px);
}
.casa:focus-visible {
  outline: 3px solid #7eb7c4;
  outline-offset: 4px;
  border-radius: 8px;
}
.casa-tejado {
  position: relative;
  width: 100%;
  height: 46px;
  background: #4e506b;
  clip-path: polygon(50% 0,100% 100%,0 100%);
}
.casa-chimenea {
  position: absolute;
  right: 26px;
  top: 8px;
  width: 13px;
  height: 24px;
  background: #3b3d55;
}
.casa-fachada {
  position: relative;
  width: 88%;
  background: #fcf8e4;
  border: 3px solid #e9dfc8;
  border-top: 0;
  padding: 12px 10px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.casa-ventanas {
  display: grid;
  gap: 7px;
  width: 100%;
}
.ventana {
  position: relative;
  height: 30px;
  border-radius: 4px;
  border: 2px solid #4e506b;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 700;
  color: #4e506b;
}
.ventana:before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #4e506b33;
}
.ventana-ocupada {
  background: #ebb583;
  box-shadow: inset 0 0 8px #fff3;
}
.ventana-libre {
  background: #dcecf0;
}
.ventana-fuera {
  background: repeating-linear-gradient(135deg,#dcecf0 0 5px,#ebb58399 5px 10px);
}
.ventana-confirmar {
  background: #f4f3f8;
  border-style: dashed;
  border-color: #9a9cb2;
}
.casas-leyenda .ventana-ocupada {
  border: 1px solid #c78a52;
}
.casas-leyenda .ventana-libre {
  border: 1px solid #9cc3cc;
}
.casas-leyenda .ventana-confirmar {
  border: 1px dashed #9a9cb2;
}
.casas-leyenda .ventana-fuera {
  border: 1px solid #9cc3cc;
}
.ventana b {
  position: relative;
  z-index: 1;
}
.casa-puerta {
  width: 24px;
  height: 34px;
  background: #7e5a3c;
  border-radius: 12px 12px 0 0;
  border: 2px solid #5f432d;
  border-bottom: 0;
}
.casa-placa {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  border-radius: 8px;
  padding: 5px 10px;
  box-shadow: 0 1px 3px #34364b26;
  max-width: 100%;
}
.casa-placa strong {
  font-size: 12px;
  color: #34364b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 130px;
}
.casa-placa small {
  font-size: 10px;
  color: #6a6c82;
}
.casa.elegida .casa-placa {
  background: #4e506b;
}
.casa.elegida .casa-placa strong,.casa.elegida .casa-placa small {
  color: #fff;
}
.casa.elegida .casa-tejado {
  background: #c78a52;
}
.casa.de-baja {
  opacity: .45;
  filter: grayscale(.7);
}
.casa-nueva {
  align-self: stretch;
  justify-content: center;
  gap: 8px;
  min-height: 180px;
  border: 2px dashed #ffffffb3;
  border-radius: 14px;
  color: #fff;
  background: #ffffff1f;
}
.casa-nueva-icono {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff33;
}
.casa-nueva strong {
  font-size: 12px;
}
.casas-vacio {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  max-width: 320px;
}
.casas-detalle {
  padding: 22px;
  border-left: 1px solid #e0dfe8;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #fbfaf7;
}
.casas-detalle h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 19px;
  font-weight: 600;
  color: #34364b;
}
.casas-detalle h4 {
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #6a6c82;
  margin-top: 6px;
}
.casas-datos {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 12px;
  font-size: 13px;
}
.casas-datos dt {
  color: #6a6c82;
}
.casas-datos dd {
  color: #34364b;
}
.casas-residentes {
  display: grid;
  gap: 8px;
  font-size: 13px;
}
.casas-residentes li {
  display: flex;
  align-items: center;
  gap: 9px;
  background: #fff;
  border: 1px solid #e0dfe8;
  border-radius: 10px;
  padding: 8px 10px;
}
.casas-residentes small {
  display: block;
  font-size: 11px;
  color: #6a6c82;
}
.casas-avatar {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #ebb583;
  color: #34364b;
  font-size: 11px;
  font-weight: 700;
  flex: none;
}
@media (max-width:1100px) {
  .casas-contenido {
    grid-template-columns: 1fr;
  }
  .casas-detalle {
    border-left: 0;
    border-top: 1px solid #e0dfe8;
  }
}
@media (max-width:640px) {
  .casas-fila {
    gap: 12px;
    justify-content: center;
  }
  .casa {
    width: 132px;
  }
  .casas-sol {
    width: 44px;
    height: 44px;
    right: 18px;
  }
  .casas-cabecera,.casas-herramientas {
    padding-left: 16px;
    padding-right: 16px;
  }
}
.casa {
  position: relative;
}
.casa-cuerpo {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 0;
  background: none;
  border: 0;
}
.casa-cuerpo:focus-visible {
  outline: 3px solid #7eb7c4;
  outline-offset: 4px;
  border-radius: 8px;
}
.casa.elegida .casa-cuerpo .casa-placa {
  background: #4e506b;
}
.casa.elegida .casa-cuerpo .casa-placa strong,.casa.elegida .casa-cuerpo .casa-placa small {
  color: #fff;
}
.casa-avisos {
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 4px;
  z-index: 2;
  pointer-events: none;
}
.casa-aviso {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 999px;
  box-shadow: 0 1px 3px #34364b40;
}
.aviso-retraso {
  background: #a33b3b;
  color: #fff;
}
.aviso-incidencia {
  background: #fff;
  color: #a33b3b;
  border: 1px solid #f3c9c6;
}
.aviso-salida {
  background: #fff;
  color: #4e506b;
  border: 1px solid #e0dfe8;
}
.ventana-retraso {
  background: repeating-linear-gradient(135deg,#fff0ef 0 5px,#e7a19b 5px 10px);
  border-color: #a33b3b !important;
}
.casas-leyenda .ventana-retraso {
  border: 1px solid #a33b3b;
}
.ventana.arrastrable {
  cursor: grab;
}
.ventana.arrastrable:active {
  cursor: grabbing;
}
.ventana-elegida {
  outline: 3px solid #fcf8e4;
  outline-offset: 1px;
  box-shadow: 0 0 0 5px #4e506b;
}
.casas-escena.arrastrando .casa.destino-no {
  opacity: .4;
}
.casas-escena.arrastrando .casa.destino-valido .casa-fachada {
  box-shadow: 0 0 0 4px #7eb7c4;
}
.casa.destino-encima {
  transform: translateY(-6px) scale(1.04);
}
.casa.destino-encima .casa-fachada {
  box-shadow: 0 0 0 5px #ebb583 !important;
}
.casas-hoy {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 0 28px 14px;
}
.casas-hoy-titulo {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  color: #6a6c82;
  margin-right: 4px;
}
.casas-hoy-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #e0dfe8;
  border-radius: 12px;
  padding: 7px 12px;
  background: #fff;
  font-size: 12px;
  color: #34364b;
}
.casas-hoy-item strong {
  font-size: 15px;
}
.casas-hoy-item.tono-aviso:not(.vacio) {
  border-color: #f3c9c6;
  background: #fff0ef;
  color: #a33b3b;
}
.casas-hoy-item.tono-acento:not(.vacio) {
  border-color: #ebb583;
  background: #fbf1e6;
}
.casas-hoy-item.vacio {
  opacity: .6;
}
.casas-hoy-item[aria-pressed=true] {
  box-shadow: 0 0 0 2px #4e506b;
}
.casas-bandeja {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 12px 28px;
  border-top: 1px dashed #e0dfe8;
  background: #fbf1e6;
}
.casas-ficha-persona {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #ebb583;
  background: #fff;
  border-radius: 999px;
  padding: 4px 10px 4px 6px;
  font-size: 12px;
  cursor: grab;
  color: #34364b;
}
.casas-ficha-persona:active {
  cursor: grabbing;
}
.casas-avatar.mini {
  width: 22px;
  height: 22px;
  font-size: 9px;
}
.casas-residentes li {
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
}
.casas-residentes li.elegido {
  border-color: #4e506b;
  box-shadow: 0 0 0 2px #e7e7f0;
}
.casas-residente-cabecera {
  display: flex;
  align-items: center;
  gap: 9px;
}
.casas-avatar.fuera {
  background: #dcecf0;
}
.casas-estado {
  font-size: 11px;
  color: #4e506b;
  background: #f4f3f8;
  border-radius: 6px;
  padding: 4px 8px;
}
.casas-estado.atrasado {
  color: #a33b3b;
  background: #fff0ef;
  font-weight: 600;
}
.casas-acciones {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 12px;
}
.casas-incidencias {
  display: grid;
  gap: 6px;
  font-size: 12px;
}
.casas-incidencias li {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #f3c9c6;
  border-radius: 10px;
  padding: 7px 10px;
  color: #a33b3b;
}
.casas-incidencias li strong {
  color: #34364b;
}
.casas-incidencias li small {
  display: block;
  color: #6a6c82;
}
.casas-incidencias li.hint {
  border-color: #e0dfe8;
  color: #6a6c82;
}
@property --tw-translate-x {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-translate-y {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-translate-z {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-space-y-reverse {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-border-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}
@property --tw-leading {
  syntax: "*";
  inherits: false;
}
@property --tw-font-weight {
  syntax: "*";
  inherits: false;
}
@property --tw-tracking {
  syntax: "*";
  inherits: false;
}
@property --tw-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-inset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-inset-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-inset-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-ring-color {
  syntax: "*";
  inherits: false;
}
@property --tw-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-inset-ring-color {
  syntax: "*";
  inherits: false;
}
@property --tw-inset-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-ring-inset {
  syntax: "*";
  inherits: false;
}
@property --tw-ring-offset-width {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}
@property --tw-ring-offset-color {
  syntax: "*";
  inherits: false;
  initial-value: #fff;
}
@property --tw-ring-offset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-blur {
  syntax: "*";
  inherits: false;
}
@property --tw-brightness {
  syntax: "*";
  inherits: false;
}
@property --tw-contrast {
  syntax: "*";
  inherits: false;
}
@property --tw-grayscale {
  syntax: "*";
  inherits: false;
}
@property --tw-hue-rotate {
  syntax: "*";
  inherits: false;
}
@property --tw-invert {
  syntax: "*";
  inherits: false;
}
@property --tw-opacity {
  syntax: "*";
  inherits: false;
}
@property --tw-saturate {
  syntax: "*";
  inherits: false;
}
@property --tw-sepia {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-drop-shadow-size {
  syntax: "*";
  inherits: false;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes pulse {
  50% {
    opacity: 0.5;
  }
}
@layer properties {
  @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
    *, ::before, ::after, ::backdrop {
      --tw-translate-x: 0;
      --tw-translate-y: 0;
      --tw-translate-z: 0;
      --tw-space-y-reverse: 0;
      --tw-border-style: solid;
      --tw-leading: initial;
      --tw-font-weight: initial;
      --tw-tracking: initial;
      --tw-shadow: 0 0 #0000;
      --tw-shadow-color: initial;
      --tw-shadow-alpha: 100%;
      --tw-inset-shadow: 0 0 #0000;
      --tw-inset-shadow-color: initial;
      --tw-inset-shadow-alpha: 100%;
      --tw-ring-color: initial;
      --tw-ring-shadow: 0 0 #0000;
      --tw-inset-ring-color: initial;
      --tw-inset-ring-shadow: 0 0 #0000;
      --tw-ring-inset: initial;
      --tw-ring-offset-width: 0px;
      --tw-ring-offset-color: #fff;
      --tw-ring-offset-shadow: 0 0 #0000;
      --tw-blur: initial;
      --tw-brightness: initial;
      --tw-contrast: initial;
      --tw-grayscale: initial;
      --tw-hue-rotate: initial;
      --tw-invert: initial;
      --tw-opacity: initial;
      --tw-saturate: initial;
      --tw-sepia: initial;
      --tw-drop-shadow: initial;
      --tw-drop-shadow-color: initial;
      --tw-drop-shadow-alpha: 100%;
      --tw-drop-shadow-size: initial;
    }
  }
}
