/*
! tailwindcss v3.4.3 | MIT License | https://tailwindcss.com
*/

/*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/

*,
::before,
::after {
  box-sizing: border-box;
  /* 1 */
  border-width: 0;
  /* 2 */
  border-style: solid;
  /* 2 */
  border-color: #e5e7eb;
  /* 2 */
}

::before,
::after {
  --tw-content: '';
}

/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
6. Use the user's configured `sans` font-variation-settings by default.
7. Disable tap highlights on iOS
*/

html,
:host {
  line-height: 1.5;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
  -moz-tab-size: 4;
  /* 3 */
  -o-tab-size: 4;
     tab-size: 4;
  /* 3 */
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  /* 4 */
  font-feature-settings: normal;
  /* 5 */
  font-variation-settings: normal;
  /* 6 */
  -webkit-tap-highlight-color: transparent;
  /* 7 */
}

/*
1. Remove the margin in all browsers.
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
*/

body {
  margin: 0;
  /* 1 */
  line-height: inherit;
  /* 2 */
}

/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Ensure horizontal rules are visible by default.
*/

hr {
  height: 0;
  /* 1 */
  color: inherit;
  /* 2 */
  border-top-width: 1px;
  /* 3 */
}

/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/

abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

/*
Remove the default font size and weight for headings.
*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

/*
Reset links to optimize for opt-in styling instead of opt-out.
*/

a {
  color: inherit;
  text-decoration: inherit;
}

/*
Add the correct font weight in Edge and Safari.
*/

b,
strong {
  font-weight: bolder;
}

/*
1. Use the user's configured `mono` font-family by default.
2. Use the user's configured `mono` font-feature-settings by default.
3. Use the user's configured `mono` font-variation-settings by default.
4. Correct the odd `em` font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  /* 1 */
  font-feature-settings: normal;
  /* 2 */
  font-variation-settings: normal;
  /* 3 */
  font-size: 1em;
  /* 4 */
}

/*
Add the correct font size in all browsers.
*/

small {
  font-size: 80%;
}

/*
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/

table {
  text-indent: 0;
  /* 1 */
  border-color: inherit;
  /* 2 */
  border-collapse: collapse;
  /* 3 */
}

/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-feature-settings: inherit;
  /* 1 */
  font-variation-settings: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  font-weight: inherit;
  /* 1 */
  line-height: inherit;
  /* 1 */
  letter-spacing: inherit;
  /* 1 */
  color: inherit;
  /* 1 */
  margin: 0;
  /* 2 */
  padding: 0;
  /* 3 */
}

/*
Remove the inheritance of text transform in Edge and Firefox.
*/

button,
select {
  text-transform: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/

button,
input:where([type='button']),
input:where([type='reset']),
input:where([type='submit']) {
  -webkit-appearance: button;
  /* 1 */
  background-color: transparent;
  /* 2 */
  background-image: none;
  /* 2 */
}

/*
Use the modern Firefox focus style for all focusable elements.
*/

:-moz-focusring {
  outline: auto;
}

/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/

:-moz-ui-invalid {
  box-shadow: none;
}

/*
Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
  vertical-align: baseline;
}

/*
Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/*
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/

[type='search'] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}

/*
Remove the inner padding in Chrome and Safari on macOS.
*/

::-webkit-search-decoration {
  -webkit-appearance: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/

::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

/*
Add the correct display in Chrome and Safari.
*/

summary {
  display: list-item;
}

/*
Removes the default spacing and border for appropriate elements.
*/

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

/*
Reset default styling for dialogs.
*/

dialog {
  padding: 0;
}

/*
Prevent resizing textareas horizontally by default.
*/

textarea {
  resize: vertical;
}

/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/

input::-moz-placeholder, textarea::-moz-placeholder {
  opacity: 1;
  /* 1 */
  color: #9ca3af;
  /* 2 */
}

input::placeholder,
textarea::placeholder {
  opacity: 1;
  /* 1 */
  color: #9ca3af;
  /* 2 */
}

/*
Set the default cursor for buttons.
*/

button,
[role="button"] {
  cursor: pointer;
}

/*
Make sure disabled buttons don't get the pointer cursor.
*/

:disabled {
  cursor: default;
}

/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block;
  /* 1 */
  vertical-align: middle;
  /* 2 */
}

/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/

img,
video {
  max-width: 100%;
  height: auto;
}

/* Make elements with the HTML hidden attribute stay hidden by default */

[hidden] {
  display: none;
}

[type='text'],[type='email'],[type='url'],[type='password'],[type='number'],[type='date'],[type='datetime-local'],[type='month'],[type='search'],[type='tel'],[type='time'],[type='week'],[multiple],textarea,select {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background-color: #fff;
  border-color: #6b7280;
  border-width: 1px;
  border-radius: 0px;
  padding-top: 0.5rem;
  padding-right: 0.75rem;
  padding-bottom: 0.5rem;
  padding-left: 0.75rem;
  font-size: 1rem;
  line-height: 1.5rem;
  --tw-shadow: 0 0 #0000;
}

[type='text']:focus, [type='email']:focus, [type='url']:focus, [type='password']:focus, [type='number']:focus, [type='date']:focus, [type='datetime-local']:focus, [type='month']:focus, [type='search']:focus, [type='tel']:focus, [type='time']:focus, [type='week']:focus, [multiple]:focus, textarea:focus, select:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
  --tw-ring-inset: var(--tw-empty,/*!*/ /*!*/);
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: #2563eb;
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  border-color: #2563eb;
}

input::-moz-placeholder, textarea::-moz-placeholder {
  color: #6b7280;
  opacity: 1;
}

input::placeholder,textarea::placeholder {
  color: #6b7280;
  opacity: 1;
}

::-webkit-datetime-edit-fields-wrapper {
  padding: 0;
}

::-webkit-date-and-time-value {
  min-height: 1.5em;
}

::-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-top: 0;
  padding-bottom: 0;
}

select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 0.5rem center;
  background-repeat: no-repeat;
  background-size: 1.5em 1.5em;
  padding-right: 2.5rem;
  -webkit-print-color-adjust: exact;
          print-color-adjust: exact;
}

[multiple] {
  background-image: initial;
  background-position: initial;
  background-repeat: unset;
  background-size: initial;
  padding-right: 0.75rem;
  -webkit-print-color-adjust: unset;
          print-color-adjust: unset;
}

[type='checkbox'],[type='radio'] {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  padding: 0;
  -webkit-print-color-adjust: exact;
          print-color-adjust: exact;
  display: inline-block;
  vertical-align: middle;
  background-origin: border-box;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  flex-shrink: 0;
  height: 1rem;
  width: 1rem;
  color: #2563eb;
  background-color: #fff;
  border-color: #6b7280;
  border-width: 1px;
  --tw-shadow: 0 0 #0000;
}

[type='checkbox'] {
  border-radius: 0px;
}

[type='radio'] {
  border-radius: 100%;
}

[type='checkbox']:focus,[type='radio']:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
  --tw-ring-inset: var(--tw-empty,/*!*/ /*!*/);
  --tw-ring-offset-width: 2px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: #2563eb;
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
}

[type='checkbox']:checked,[type='radio']:checked {
  border-color: transparent;
  background-color: currentColor;
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
}

[type='checkbox']:checked {
  background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");
}

[type='radio']:checked {
  background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");
}

[type='checkbox']:checked:hover,[type='checkbox']:checked:focus,[type='radio']:checked:hover,[type='radio']:checked:focus {
  border-color: transparent;
  background-color: currentColor;
}

[type='checkbox']:indeterminate {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3e%3c/svg%3e");
  border-color: transparent;
  background-color: currentColor;
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
}

[type='checkbox']:indeterminate:hover,[type='checkbox']:indeterminate:focus {
  border-color: transparent;
  background-color: currentColor;
}

[type='file'] {
  background: unset;
  border-color: inherit;
  border-width: 0;
  border-radius: 0;
  padding: 0;
  font-size: unset;
  line-height: inherit;
}

[type='file']:focus {
  outline: 1px solid ButtonText;
  outline: 1px auto -webkit-focus-ring-color;
}

*, ::before, ::after {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

::backdrop {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

.container {
  width: 100%;
}

@media (min-width: 640px) {
  .container {
    max-width: 640px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 768px;
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: 1024px;
  }
}

@media (min-width: 1280px) {
  .container {
    max-width: 1280px;
  }
}

@media (min-width: 1536px) {
  .container {
    max-width: 1536px;
  }
}

.hero-arrow-left-solid {
  --hero-arrow-left-solid: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true" data-slot="icon">  <path fill-rule="evenodd" d="M11.03 3.97a.75.75 0 0 1 0 1.06l-6.22 6.22H21a.75.75 0 0 1 0 1.5H4.81l6.22 6.22a.75.75 0 1 1-1.06 1.06l-7.5-7.5a.75.75 0 0 1 0-1.06l7.5-7.5a.75.75 0 0 1 1.06 0Z" clip-rule="evenodd"/></svg>');
  -webkit-mask: var(--hero-arrow-left-solid);
  mask: var(--hero-arrow-left-solid);
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  background-color: currentColor;
  vertical-align: middle;
  display: inline-block;
  width: 1.5rem;
  height: 1.5rem;
}

.hero-arrow-path {
  --hero-arrow-path: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" aria-hidden="true" data-slot="icon">  <path stroke-linecap="round" stroke-linejoin="round" d="M16.023 9.348h4.992v-.001M2.985 19.644v-4.992m0 0h4.992m-4.993 0 3.181 3.183a8.25 8.25 0 0 0 13.803-3.7M4.031 9.865a8.25 8.25 0 0 1 13.803-3.7l3.181 3.182m0-4.991v4.99"/></svg>');
  -webkit-mask: var(--hero-arrow-path);
  mask: var(--hero-arrow-path);
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  background-color: currentColor;
  vertical-align: middle;
  display: inline-block;
  width: 1.5rem;
  height: 1.5rem;
}

.hero-exclamation-circle-mini {
  --hero-exclamation-circle-mini: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true" data-slot="icon">  <path fill-rule="evenodd" d="M18 10a8 8 0 1 1-16 0 8 8 0 0 1 16 0Zm-8-5a.75.75 0 0 1 .75.75v4.5a.75.75 0 0 1-1.5 0v-4.5A.75.75 0 0 1 10 5Zm0 10a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z" clip-rule="evenodd"/></svg>');
  -webkit-mask: var(--hero-exclamation-circle-mini);
  mask: var(--hero-exclamation-circle-mini);
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  background-color: currentColor;
  vertical-align: middle;
  display: inline-block;
  width: 1.25rem;
  height: 1.25rem;
}

.hero-information-circle-mini {
  --hero-information-circle-mini: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true" data-slot="icon">  <path fill-rule="evenodd" d="M18 10a8 8 0 1 1-16 0 8 8 0 0 1 16 0Zm-7-4a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM9 9a.75.75 0 0 0 0 1.5h.253a.25.25 0 0 1 .244.304l-.459 2.066A1.75 1.75 0 0 0 10.747 15H11a.75.75 0 0 0 0-1.5h-.253a.25.25 0 0 1-.244-.304l.459-2.066A1.75 1.75 0 0 0 9.253 9H9Z" clip-rule="evenodd"/></svg>');
  -webkit-mask: var(--hero-information-circle-mini);
  mask: var(--hero-information-circle-mini);
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  background-color: currentColor;
  vertical-align: middle;
  display: inline-block;
  width: 1.25rem;
  height: 1.25rem;
}

.hero-x-mark-solid {
  --hero-x-mark-solid: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true" data-slot="icon">  <path fill-rule="evenodd" d="M5.47 5.47a.75.75 0 0 1 1.06 0L12 10.94l5.47-5.47a.75.75 0 1 1 1.06 1.06L13.06 12l5.47 5.47a.75.75 0 1 1-1.06 1.06L12 13.06l-5.47 5.47a.75.75 0 0 1-1.06-1.06L10.94 12 5.47 6.53a.75.75 0 0 1 0-1.06Z" clip-rule="evenodd"/></svg>');
  -webkit-mask: var(--hero-x-mark-solid);
  mask: var(--hero-x-mark-solid);
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  background-color: currentColor;
  vertical-align: middle;
  display: inline-block;
  width: 1.5rem;
  height: 1.5rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.static {
  position: static;
}

.fixed {
  position: fixed;
}

.absolute {
  position: absolute;
}

.relative {
  position: relative;
}

.inset-0 {
  inset: 0px;
}

.-inset-y-px {
  top: -1px;
  bottom: -1px;
}

.-left-4 {
  left: -1rem;
}

.-right-4 {
  right: -1rem;
}

.left-0 {
  left: 0px;
}

.right-0 {
  right: 0px;
}

.right-1 {
  right: 0.25rem;
}

.right-2 {
  right: 0.5rem;
}

.right-5 {
  right: 1.25rem;
}

.top-1 {
  top: 0.25rem;
}

.top-2 {
  top: 0.5rem;
}

.top-6 {
  top: 1.5rem;
}

.z-50 {
  z-index: 50;
}

.-m-3 {
  margin: -0.75rem;
}

.-my-4 {
  margin-top: -1rem;
  margin-bottom: -1rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.ml-1 {
  margin-left: 0.25rem;
}

.ml-2 {
  margin-left: 0.5rem;
}

.ml-4 {
  margin-left: 1rem;
}

.mr-2 {
  margin-right: 0.5rem;
}

.mt-0 {
  margin-top: 0px;
}

.mt-0\.5 {
  margin-top: 0.125rem;
}

.mt-10 {
  margin-top: 2.5rem;
}

.mt-11 {
  margin-top: 2.75rem;
}

.mt-14 {
  margin-top: 3.5rem;
}

.mt-16 {
  margin-top: 4rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-3 {
  margin-top: 0.75rem;
}

.mt-4 {
  margin-top: 1rem;
}

.block {
  display: block;
}

.inline {
  display: inline;
}

.flex {
  display: flex;
}

.table {
  display: table;
}

.contents {
  display: contents;
}

.hidden {
  display: none;
}

.h-3 {
  height: 0.75rem;
}

.h-4 {
  height: 1rem;
}

.h-5 {
  height: 1.25rem;
}

.min-h-\[6rem\] {
  min-height: 6rem;
}

.min-h-full {
  min-height: 100%;
}

.w-1\/4 {
  width: 25%;
}

.w-14 {
  width: 3.5rem;
}

.w-3 {
  width: 0.75rem;
}

.w-4 {
  width: 1rem;
}

.w-5 {
  width: 1.25rem;
}

.w-80 {
  width: 20rem;
}

.w-\[40rem\] {
  width: 40rem;
}

.w-full {
  width: 100%;
}

.max-w-3xl {
  max-width: 48rem;
}

.max-w-sm {
  max-width: 24rem;
}

.flex-none {
  flex: none;
}

.translate-y-0 {
  --tw-translate-y: 0px;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.translate-y-4 {
  --tw-translate-y: 1rem;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.transform {
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.animate-spin {
  animation: spin 1s linear infinite;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-1 {
  gap: 0.25rem;
}

.gap-1\.5 {
  gap: 0.375rem;
}

.gap-3 {
  gap: 0.75rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

.space-y-12 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(3rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(3rem * var(--tw-space-y-reverse));
}

.space-y-8 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(2rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(2rem * var(--tw-space-y-reverse));
}

.divide-y > :not([hidden]) ~ :not([hidden]) {
  --tw-divide-y-reverse: 0;
  border-top-width: calc(1px * calc(1 - var(--tw-divide-y-reverse)));
  border-bottom-width: calc(1px * var(--tw-divide-y-reverse));
}

.divide-zinc-100 > :not([hidden]) ~ :not([hidden]) {
  --tw-divide-opacity: 1;
  border-color: rgb(244 244 245 / var(--tw-divide-opacity));
}

.overflow-hidden {
  overflow: hidden;
}

.overflow-y-auto {
  overflow-y: auto;
}

.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.whitespace-nowrap {
  white-space: nowrap;
}

.rounded {
  border-radius: 0.25rem;
}

.rounded-2xl {
  border-radius: 1rem;
}

.rounded-lg {
  border-radius: 0.5rem;
}

.rounded-md {
  border-radius: 0.375rem;
}

.border {
  border-width: 1px;
}

.border-t {
  border-top-width: 1px;
}

.border-gray-300 {
  --tw-border-opacity: 1;
  border-color: rgb(209 213 219 / var(--tw-border-opacity));
}

.border-rose-400 {
  --tw-border-opacity: 1;
  border-color: rgb(251 113 133 / var(--tw-border-opacity));
}

.border-zinc-200 {
  --tw-border-opacity: 1;
  border-color: rgb(228 228 231 / var(--tw-border-opacity));
}

.border-zinc-300 {
  --tw-border-opacity: 1;
  border-color: rgb(212 212 216 / var(--tw-border-opacity));
}

.bg-emerald-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(236 253 245 / var(--tw-bg-opacity));
}

.bg-rose-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(255 241 242 / var(--tw-bg-opacity));
}

.bg-white {
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity));
}

.bg-zinc-50\/90 {
  background-color: rgb(250 250 250 / 0.9);
}

.bg-zinc-900 {
  --tw-bg-opacity: 1;
  background-color: rgb(24 24 27 / var(--tw-bg-opacity));
}

.fill-cyan-900 {
  fill: #164e63;
}

.fill-rose-900 {
  fill: #881337;
}

.p-0 {
  padding: 0px;
}

.p-14 {
  padding: 3.5rem;
}

.p-2 {
  padding: 0.5rem;
}

.p-3 {
  padding: 0.75rem;
}

.p-4 {
  padding: 1rem;
}

.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.pb-4 {
  padding-bottom: 1rem;
}

.pr-6 {
  padding-right: 1.5rem;
}

.text-left {
  text-align: left;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.font-medium {
  font-weight: 500;
}

.font-normal {
  font-weight: 400;
}

.font-semibold {
  font-weight: 600;
}

.capitalize {
  text-transform: capitalize;
}

.leading-5 {
  line-height: 1.25rem;
}

.leading-6 {
  line-height: 1.5rem;
}

.leading-8 {
  line-height: 2rem;
}

.text-brand {
  --tw-text-opacity: 1;
  color: rgb(253 79 0 / var(--tw-text-opacity));
}

.text-emerald-800 {
  --tw-text-opacity: 1;
  color: rgb(6 95 70 / var(--tw-text-opacity));
}

.text-rose-600 {
  --tw-text-opacity: 1;
  color: rgb(225 29 72 / var(--tw-text-opacity));
}

.text-rose-900 {
  --tw-text-opacity: 1;
  color: rgb(136 19 55 / var(--tw-text-opacity));
}

.text-white {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity));
}

.text-zinc-500 {
  --tw-text-opacity: 1;
  color: rgb(113 113 122 / var(--tw-text-opacity));
}

.text-zinc-600 {
  --tw-text-opacity: 1;
  color: rgb(82 82 91 / var(--tw-text-opacity));
}

.text-zinc-700 {
  --tw-text-opacity: 1;
  color: rgb(63 63 70 / var(--tw-text-opacity));
}

.text-zinc-800 {
  --tw-text-opacity: 1;
  color: rgb(39 39 42 / var(--tw-text-opacity));
}

.text-zinc-900 {
  --tw-text-opacity: 1;
  color: rgb(24 24 27 / var(--tw-text-opacity));
}

.opacity-0 {
  opacity: 0;
}

.opacity-100 {
  opacity: 1;
}

.opacity-20 {
  opacity: 0.2;
}

.opacity-40 {
  opacity: 0.4;
}

.shadow-lg {
  --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.shadow-md {
  --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.shadow-sm {
  --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.shadow-zinc-700\/10 {
  --tw-shadow-color: rgb(63 63 70 / 0.1);
  --tw-shadow: var(--tw-shadow-colored);
}

.outline {
  outline-style: solid;
}

.ring-1 {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}

.ring-emerald-500 {
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(16 185 129 / var(--tw-ring-opacity));
}

.ring-rose-500 {
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(244 63 94 / var(--tw-ring-opacity));
}

.ring-zinc-700\/10 {
  --tw-ring-color: rgb(63 63 70 / 0.1);
}

.filter {
  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);
}

.transition {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-opacity {
  transition-property: opacity;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.duration-200 {
  transition-duration: 200ms;
}

.duration-300 {
  transition-duration: 300ms;
}

.ease-in {
  transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
}

.ease-out {
  transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
}

.\[scrollbar-gutter\:stable\] {
  scrollbar-gutter: stable;
}

:root{
  --navy:#0B1726;
  --navy-2:#0F2236;
  --navy-3:#13273D;
  --line:#1C3350;
  --accent:#38B6E8;
  --accent-2:#127AAA;
  --accent-ink:#06121D;
  --text:#E8EEF5;
  --muted:#8DA2C0;
}

html,body{
  height:100%
}

body{
  margin:0;
  background:var(--navy);
  color:var(--text);
  font-family:'Inter',system-ui,-apple-system,sans-serif;
  min-height:100vh;
}

/* ===== barra superior ===== */

.ts-topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 22px;
  border-bottom:1px solid var(--line);
  background:var(--navy-2);
}

.ts-brand{
  color:var(--text);
  text-decoration:none;
  font-weight:800;
  letter-spacing:.3px;
  font-size:1.15rem
}

.ts-brand::before{
  content:"✚ ";
  color:var(--accent)
}

.ts-topnav{
  display:flex;
  align-items:center;
  gap:16px
}

.ts-me{
  color:var(--muted);
  font-size:.85rem
}

.ts-link{
  color:var(--muted);
  text-decoration:none;
  font-weight:600;
  font-size:.9rem
}

.ts-link:hover{
  color:var(--text)
}

.ts-cta{
  background:var(--accent);
  color:var(--accent-ink);
  padding:7px 14px;
  border-radius:9px
}

/* ===== contenedor con tarjeta (login/ajustes) ===== */

.ts-main{
  display:flex;
  align-items:flex-start;
  justify-content:center;
  padding:48px 16px
}

.ts-card{
  width:100%;
  max-width:420px;
  background:var(--navy-2);
  border:1px solid var(--line);
  border-radius:16px;
  padding:28px
}

.ts-card .bg-white{
  background:transparent !important
}

.ts-card input, .ts-card select, .ts-card textarea{
  background:var(--navy-3);
  border:1px solid var(--line);
  color:var(--text);
  border-radius:10px;
  width:100%;
  padding:11px 13px;
  outline:none;
  font-size:.95rem;
}

.ts-card input:focus, .ts-card select:focus{
  border-color:var(--accent)
}

.ts-card input[type=checkbox]{
  width:16px;
  height:16px;
  padding:0;
  accent-color:var(--accent)
}

.ts-card label{
  color:var(--text);
  font-weight:600
}

.ts-card h1,.ts-card h2,.ts-card .text-zinc-900,.ts-card .text-zinc-800{
  color:var(--text) !important
}

.ts-card .text-zinc-700,.ts-card .text-zinc-600,.ts-card .text-zinc-500,.ts-card .text-zinc-400{
  color:var(--muted) !important
}

.ts-card a{
  color:var(--accent)
}

.ts-card button, .ts-card [type=submit]{
  background:var(--accent) !important;
  color:var(--accent-ink) !important;
  border:0;
  border-radius:10px;
  font-weight:700;
  padding:11px 16px;
  cursor:pointer;
}

/* ===== portada ===== */

.ts-hero{
  position:relative;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:80px 16px;
  min-height:72vh
}

.ts-hero-video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  -o-object-fit:cover;
     object-fit:cover;
  z-index:0
}

.ts-hero-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(11,23,38,.55), rgba(11,23,38,.74));
  z-index:1
}

.ts-hero-inner{
  position:relative;
  z-index:2;
  max-width:640px;
  text-align:center
}

.ts-hero h1{
  font-size:3rem;
  margin:0;
  font-weight:800;
  letter-spacing:.5px
}

.ts-hero-sub{
  color:var(--accent);
  font-weight:600;
  margin:6px 0 0
}

.ts-hero-lead{
  color:var(--muted);
  font-size:1.1rem;
  margin:18px auto 0;
  max-width:480px
}

.ts-hero-actions{
  display:flex;
  gap:12px;
  justify-content:center;
  margin:28px 0 0;
  flex-wrap:wrap
}

.ts-btn{
  background:var(--accent);
  color:var(--accent-ink);
  text-decoration:none;
  font-weight:700;
  padding:12px 22px;
  border-radius:11px
}

.ts-btn-ghost{
  background:transparent;
  color:var(--text);
  border:1px solid var(--line)
}

.ts-hero-note{
  color:var(--muted);
  font-size:.85rem;
  margin-top:34px
}

/* ===== panel supervisor ===== */

.ts-main-wide{
  padding:0
}

.adm-inner{
  max-width:1000px;
  margin:0 auto;
  padding:22px 16px 48px
}

.adm-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:18px
}

.adm-top h1{
  font-size:1.4rem;
  font-weight:700;
  margin:0
}

.adm-back{
  color:var(--accent);
  text-decoration:none;
  font-weight:600
}

.adm-card{
  background:var(--navy-2);
  border:1px solid var(--line);
  border-radius:14px;
  padding:18px
}

.adm-card h2{
  margin:0 0 14px;
  font-size:1.1rem
}

.adm-form{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
  margin-bottom:16px
}

.adm-form input, .adm-form select{
  background:var(--navy-3);
  border:1px solid var(--line);
  color:var(--text);
  border-radius:9px;
  padding:9px 11px;
  font-size:.9rem;
  outline:none
}

.adm-form input{
  flex:1;
  min-width:120px
}

.adm button{
  background:var(--accent);
  color:var(--accent-ink);
  border:0;
  border-radius:9px;
  padding:8px 13px;
  font-weight:700;
  cursor:pointer;
  font-size:.85rem
}

.adm button[type=button]{
  background:var(--navy-3);
  color:var(--text);
  border:1px solid var(--line)
}

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

.adm-table th{
  text-align:left;
  font-size:.72rem;
  text-transform:uppercase;
  letter-spacing:.06em;
  color:var(--muted);
  padding:6px 8px;
  border-bottom:1px solid var(--line)
}

.adm-table td{
  padding:10px 8px;
  border-bottom:1px solid var(--line);
  vertical-align:top;
  font-size:.9rem
}

.adm-table tr.is-off{
  opacity:.55
}

.adm-table select{
  background:var(--navy-3);
  border:1px solid var(--line);
  color:var(--text);
  border-radius:8px;
  padding:6px 8px;
  font-size:.85rem
}

.adm-mail{
  font-size:.75rem;
  color:var(--muted)
}

.adm-pill{
  display:inline-block;
  padding:2px 9px;
  border-radius:20px;
  font-size:.75rem;
  background:#54606f;
  color:#fff
}

.adm-pill.on{
  background:#1db954
}

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

.adm-reset{
  flex-basis:100%;
  display:flex;
  gap:6px;
  margin-top:6px
}

.adm-reset input{
  flex:1;
  background:var(--navy-3);
  border:1px solid var(--line);
  color:var(--text);
  border-radius:8px;
  padding:7px 9px
}

.adm-del{
  background:#7a2230 !important;
  color:#ffd7dc !important;
  border:1px solid #9e2d3e !important
}

.adm-del:hover{
  background:#9e2d3e !important
}

/* ===== panel clínico (inicio) ===== */

.ts-dash{
  padding:40px 16px
}

.ts-dash-inner{
  max-width:900px;
  margin:0 auto
}

.ts-dash-inner h1{
  font-size:1.6rem;
  margin:0 0 2px
}

.ts-dash-sub{
  color:var(--muted);
  margin:0 0 22px
}

.ts-cards{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(180px,1fr));
  gap:14px
}

.ts-dcard{
  display:flex;
  flex-direction:column;
  gap:4px;
  background:var(--navy-2);
  border:1px solid var(--line);
  border-radius:14px;
  padding:18px;
  text-decoration:none;
  color:var(--text)
}

.ts-dcard:hover{
  border-color:var(--accent)
}

.ts-dcard.is-soon{
  opacity:.55;
  pointer-events:none
}

.ts-dcard-ico{
  font-size:1.8rem
}

.ts-dcard-t{
  font-weight:700;
  font-size:1.05rem
}

.ts-dcard-d{
  color:var(--muted);
  font-size:.85rem
}

/* ===== pantallas clínicas (pacientes) ===== */

.cl-inner{
  max-width:1000px;
  margin:0 auto;
  padding:22px 16px 48px
}

.cl-top{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  margin-bottom:16px;
  gap:12px
}

.cl-top h1{
  font-size:1.5rem;
  margin:4px 0 0
}

.cl-back{
  color:var(--accent);
  text-decoration:none;
  font-weight:600;
  font-size:.9rem
}

.cl-primary{
  background:var(--accent);
  color:var(--accent-ink);
  border:0;
  border-radius:10px;
  padding:10px 16px;
  font-weight:700;
  cursor:pointer
}

.cl-search{
  margin-bottom:14px
}

.cl-search input{
  width:100%;
  background:var(--navy-3);
  border:1px solid var(--line);
  color:var(--text);
  border-radius:11px;
  padding:11px 14px;
  outline:none;
  font-size:.95rem
}

.cl-search input:focus{
  border-color:var(--accent)
}

.cl-card{
  background:var(--navy-2);
  border:1px solid var(--line);
  border-radius:14px;
  padding:18px;
  margin-bottom:16px
}

.cl-card h2{
  margin:0 0 12px;
  font-size:1.1rem
}

.cl-newcard{
  border-color:var(--accent-2)
}

.cl-form{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px
}

.cl-form input, .cl-form select, .cl-form textarea{
  background:var(--navy-3);
  border:1px solid var(--line);
  color:var(--text);
  border-radius:9px;
  padding:10px 12px;
  outline:none;
  font-size:.9rem;
  width:100%
}

.cl-form input:focus, .cl-form select:focus, .cl-form textarea:focus{
  border-color:var(--accent)
}

.cl-wide{
  grid-column:1 / -1
}

.cl-form-actions{
  grid-column:1 / -1;
  display:flex;
  gap:8px
}

.cl-form-actions button{
  background:var(--accent);
  color:var(--accent-ink);
  border:0;
  border-radius:9px;
  padding:10px 16px;
  font-weight:700;
  cursor:pointer
}

.cl-form-actions button[type=button]{
  background:var(--navy-3);
  color:var(--text);
  border:1px solid var(--line)
}

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

.cl-table th{
  text-align:left;
  font-size:.72rem;
  text-transform:uppercase;
  letter-spacing:.06em;
  color:var(--muted);
  padding:8px;
  border-bottom:1px solid var(--line)
}

.cl-table td{
  padding:12px 8px;
  border-bottom:1px solid var(--line);
  font-size:.92rem
}

.cl-row{
  cursor:pointer
}

.cl-row:hover td{
  background:var(--navy-3)
}

.cl-empty{
  color:var(--muted);
  text-align:center;
  padding:22px !important
}

.cl-ficha{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(200px,1fr));
  gap:14px;
  margin:0
}

.cl-ficha dt{
  color:var(--muted);
  font-size:.72rem;
  text-transform:uppercase;
  letter-spacing:.05em
}

.cl-ficha dd{
  margin:2px 0 0;
  font-size:.98rem
}

.cl-notas{
  border-top:1px solid var(--line);
  margin-top:16px;
  padding-top:12px
}

.cl-notas h3{
  margin:0 0 6px;
  font-size:.9rem;
  color:var(--muted)
}

.cl-notas p{
  margin:0;
  white-space:pre-wrap
}

@media (max-width:640px){
  .cl-form{
    grid-template-columns:1fr
  }
}

/* ===== visitas ===== */

.cl-tabs{
  display:flex;
  gap:8px;
  margin-bottom:14px;
  flex-wrap:wrap
}

.cl-tab{
  background:var(--navy-3);
  color:var(--muted);
  border:1px solid var(--line);
  border-radius:20px;
  padding:7px 15px;
  font-weight:600;
  font-size:.85rem;
  cursor:pointer
}

.cl-tab.is-active{
  background:var(--accent);
  color:var(--accent-ink);
  border-color:var(--accent)
}

.cl-badge{
  display:inline-block;
  padding:3px 10px;
  border-radius:20px;
  font-size:.75rem;
  font-weight:600
}

.cl-badge.e-nueva{
  background:#1f3a52;
  color:#8fd0ff
}

.cl-badge.e-asignada{
  background:#17506a;
  color:#aee6ff
}

.cl-badge.e-cerrada{
  background:#3a4654;
  color:#c7d2de
}

.cl-link{
  color:var(--accent);
  text-decoration:none
}

.cl-link:hover{
  text-decoration:underline
}

.cl-visit-actions{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  margin-top:16px;
  border-top:1px solid var(--line);
  padding-top:14px
}

.cl-visit-actions button{
  background:var(--accent);
  color:var(--accent-ink);
  border:0;
  border-radius:9px;
  padding:9px 14px;
  font-weight:700;
  cursor:pointer
}

.cl-visit-actions .cl-close{
  background:#7a2230;
  color:#ffd7dc
}

.cl-assign{
  display:flex;
  gap:6px;
  align-items:center
}

.cl-assign select{
  background:var(--navy-3);
  border:1px solid var(--line);
  color:var(--text);
  border-radius:9px;
  padding:9px 11px;
  font-size:.88rem
}

.cl-assign button{
  background:var(--navy-3);
  color:var(--text);
  border:1px solid var(--line)
}

/* ===== agenda ===== */

.ag-nav{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:14px
}

.ag-nav>button{
  background:var(--navy-3);
  color:var(--text);
  border:1px solid var(--line);
  border-radius:9px;
  width:38px;
  height:38px;
  font-size:1.2rem;
  cursor:pointer
}

.ag-fecha{
  display:flex;
  flex-direction:column;
  min-width:200px;
  text-align:center
}

.ag-fecha strong{
  font-size:1.05rem
}

.ag-fecha span{
  color:var(--muted);
  font-size:.85rem
}

.ag-hoy{
  width:auto !important;
  padding:0 14px;
  background:var(--accent) !important;
  color:var(--accent-ink) !important;
  border:0 !important;
  font-weight:700
}

.ag-acts{
  display:flex;
  gap:6px
}

.ag-acts button{
  background:#1db954;
  color:#04210f;
  border:0;
  border-radius:8px;
  width:34px;
  height:30px;
  font-weight:700;
  cursor:pointer
}

.ag-acts .ag-x{
  background:#7a2230;
  color:#ffd7dc
}

.cl-badge.c-programada{
  background:#17506a;
  color:#aee6ff
}

.cl-badge.c-realizada{
  background:#1b5e34;
  color:#a9f0c2
}

.cl-badge.c-cancelada{
  background:#3a4654;
  color:#c7d2de
}

.cl-table tr.is-off td{
  opacity:.5
}

/* ===== chat de la visita ===== */

.vc-chat{
  display:flex;
  flex-direction:column;
  gap:8px;
  max-height:340px;
  overflow-y:auto;
  padding:6px 2px 10px
}

.vc-msg{
  max-width:78%;
  align-self:flex-start;
  background:var(--navy-3);
  border:1px solid var(--line);
  border-radius:4px 12px 12px 12px;
  padding:7px 12px
}

.vc-msg.vc-mine{
  align-self:flex-end;
  background:var(--accent-2);
  border-color:var(--accent-2);
  border-radius:12px 4px 12px 12px;
  color:#EAF6FF
}

.vc-meta{
  font-size:.7rem;
  color:var(--muted);
  margin-bottom:2px
}

.vc-msg.vc-mine .vc-meta{
  color:#cfeaff
}

.vc-body{
  white-space:pre-wrap;
  word-wrap:break-word;
  line-height:1.4
}

.vc-compose{
  display:flex;
  gap:8px;
  margin-top:12px;
  border-top:1px solid var(--line);
  padding-top:12px
}

.vc-compose input{
  flex:1;
  background:var(--navy-3);
  border:1px solid var(--line);
  color:var(--text);
  border-radius:11px;
  padding:11px 14px;
  outline:none;
  font-size:.95rem
}

.vc-compose input:focus{
  border-color:var(--accent)
}

.vc-compose button{
  background:var(--accent);
  color:var(--accent-ink);
  border:0;
  border-radius:11px;
  padding:0 20px;
  font-weight:700;
  cursor:pointer
}

/* ===== monitorización de constantes ===== */

.cl-top-actions{
  display:flex;
  gap:8px;
  align-items:center
}

.cl-ghost{
  background:var(--navy-3);
  color:var(--text);
  border:1px solid var(--line);
  text-decoration:none;
  display:inline-flex;
  align-items:center
}

.mon-when{
  font-size:.75rem;
  color:var(--muted);
  font-weight:400;
  margin-left:8px
}

.mon-tiles{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(125px,1fr));
  gap:10px
}

.mon-tile{
  background:var(--navy-3);
  border:1px solid var(--line);
  border-left:3px solid var(--line);
  border-radius:10px;
  padding:10px 12px;
  display:flex;
  flex-direction:column;
  gap:3px
}

.mon-tile.mon-ok{
  border-left-color:#3ec27a
}

.mon-tile.mon-low{
  border-left-color:#e3b23c
}

.mon-tile.mon-high{
  border-left-color:#ef6a6a
}

.mon-t-lbl{
  font-size:.68rem;
  text-transform:uppercase;
  letter-spacing:.05em;
  color:var(--muted)
}

.mon-t-val{
  font-size:1.15rem;
  font-weight:700
}

.mon-t-val em{
  font-size:.72rem;
  font-weight:500;
  color:var(--muted);
  font-style:normal
}

.mon-leyenda{
  font-size:.78rem;
  color:var(--muted);
  margin:14px 0 0;
  display:flex;
  align-items:center;
  flex-wrap:wrap
}

.mon-dot{
  display:inline-block;
  width:10px;
  height:10px;
  border-radius:50%;
  margin:0 5px 0 12px
}

.mon-dot:first-child{
  margin-left:0
}

.mon-dot.mon-ok{
  background:#3ec27a
}

.mon-dot.mon-low{
  background:#e3b23c
}

.mon-dot.mon-high{
  background:#ef6a6a
}

.mon-nota{
  margin-left:8px;
  font-style:italic
}

.mon-form{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(150px,1fr));
  gap:12px
}

.mon-f{
  display:flex;
  flex-direction:column;
  gap:4px;
  font-size:.7rem;
  text-transform:uppercase;
  letter-spacing:.04em;
  color:var(--muted)
}

.mon-f input{
  background:var(--navy-3);
  border:1px solid var(--line);
  color:var(--text);
  border-radius:9px;
  padding:9px 11px;
  font-size:.95rem;
  outline:none;
  text-transform:none;
  width:100%
}

.mon-f input:focus{
  border-color:var(--accent)
}

.mon-f-wide{
  grid-column:1 / -1
}

.mon-actions{
  grid-column:1 / -1;
  display:flex
}

.mon-actions button{
  background:var(--accent);
  color:var(--accent-ink);
  border:0;
  border-radius:9px;
  padding:10px 18px;
  font-weight:700;
  cursor:pointer
}

.mon-charts{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(240px,1fr));
  gap:16px
}

.mon-chart-box{
  background:var(--navy-3);
  border:1px solid var(--line);
  border-radius:10px;
  padding:12px
}

.mon-chart-head{
  display:flex;
  justify-content:space-between;
  font-size:.8rem;
  margin-bottom:6px
}

.mon-chart-head span:first-child{
  color:var(--muted)
}

.mon-chart-last{
  font-weight:700
}

.mon-chart{
  width:100%;
  height:auto;
  display:block;
  overflow:visible
}

.mon-chart-range{
  display:flex;
  justify-content:space-between;
  font-size:.68rem;
  color:var(--muted);
  margin-top:4px
}

.mon-scroll{
  overflow-x:auto
}

.mon-hist{
  min-width:720px
}

.mon-hist th{
  text-align:center
}

.mon-hist th:first-child{
  text-align:left
}

.mon-hist td{
  text-align:center
}

.mon-hist td.mon-fecha{
  text-align:left;
  white-space:nowrap;
  color:var(--muted);
  font-size:.82rem
}

.mon-hist td.mon-low{
  color:#edc766;
  font-weight:600
}

.mon-hist td.mon-high{
  color:#f08a8a;
  font-weight:600
}

/* ===== umbrales configurables ===== */

.adm-top-links{
  display:flex;
  gap:16px;
  align-items:center
}

.adm-intro{
  color:var(--muted);
  font-size:.88rem;
  line-height:1.5;
  margin:0 0 14px
}

.umb-in{
  width:100px;
  background:var(--navy-3);
  border:1px solid var(--line);
  color:var(--text);
  border-radius:8px;
  padding:7px 9px;
  outline:none;
  font-size:.9rem
}

.umb-in:focus{
  border-color:var(--accent)
}

.umb-actions{
  display:flex;
  gap:10px;
  margin-top:16px
}

.umb-actions button{
  background:var(--accent);
  color:var(--accent-ink);
  border:0;
  border-radius:9px;
  padding:10px 18px;
  font-weight:700;
  cursor:pointer
}

.umb-actions button[type=button]{
  background:var(--navy-3);
  color:var(--text);
  border:1px solid var(--line)
}

/* ===== control de errores en constantes ===== */

.mon-formerr{
  background:#3a2020;
  border:1px solid #ef6a6a;
  color:#f3b4b4;
  padding:10px 14px;
  border-radius:9px;
  margin-bottom:14px;
  font-size:.88rem
}

.mon-err{
  color:#f08a8a;
  font-size:.72rem;
  margin-top:3px;
  text-transform:none;
  letter-spacing:0;
  font-weight:600
}

.mon-in-err{
  border-color:#ef6a6a !important
}

/* ===== panel de alertas ===== */

.alr-list{
  display:flex;
  flex-direction:column;
  gap:10px;
  margin-top:12px
}

.alr-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  background:var(--navy-3);
  border:1px solid var(--line);
  border-radius:11px;
  padding:12px 14px;
  text-decoration:none;
  color:var(--text);
  flex-wrap:wrap
}

.alr-row:hover{
  border-color:var(--accent)
}

.alr-pac{
  display:flex;
  flex-direction:column;
  gap:2px;
  min-width:160px
}

.alr-nombre{
  font-weight:700
}

.alr-fecha{
  font-size:.75rem;
  color:var(--muted)
}

.alr-badges{
  display:flex;
  gap:6px;
  flex-wrap:wrap;
  justify-content:flex-end
}

.alr-badge{
  padding:3px 10px;
  border-radius:20px;
  font-size:.78rem;
  font-weight:600;
  border:1px solid var(--line)
}

.alr-badge.mon-low{
  background:#3a3320;
  color:#edc766;
  border-color:#6b5a28
}

.alr-badge.mon-high{
  background:#3a2020;
  color:#f08a8a;
  border-color:#6b2e2e
}

/* ===== cuestionarios ===== */

.cue-check{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:.9rem;
  color:var(--text)
}

.cue-check input{
  width:16px;
  height:16px;
  accent-color:var(--accent)
}

.cue-q{
  background:var(--navy-3);
  border:1px solid var(--line);
  border-radius:11px;
  padding:14px;
  margin-bottom:12px
}

.cue-q-txt{
  font-weight:600;
  margin-bottom:10px
}

.cue-opts{
  display:flex;
  gap:8px;
  flex-wrap:wrap
}

.cue-opt{
  display:flex;
  align-items:center;
  gap:5px;
  background:var(--navy-2);
  border:1px solid var(--line);
  border-radius:9px;
  padding:7px 12px;
  cursor:pointer;
  font-size:.9rem
}

.cue-opt input{
  accent-color:var(--accent)
}

.cue-score{
  font-size:1.4rem;
  font-weight:800;
  color:var(--accent)
}

/* ===== pasar cuestionarios ===== */

.cue-select{
  width:100%;
  background:var(--navy-3);
  border:1px solid var(--line);
  color:var(--text);
  border-radius:10px;
  padding:11px 14px;
  outline:none;
  font-size:.95rem
}

.cue-select:focus{
  border-color:var(--accent)
}

.cue-fill{
  margin-top:14px
}

.cue-num{
  width:160px;
  background:var(--navy-3);
  border:1px solid var(--line);
  color:var(--text);
  border-radius:9px;
  padding:9px 11px;
  outline:none
}

.cue-num:focus{
  border-color:var(--accent)
}

.cue-score-sm{
  font-weight:700;
  color:var(--accent)
}

/* ===== informe imprimible ===== */

.inf-wrap{
  max-width:900px;
  margin:0 auto;
  padding:18px 16px 60px
}

.inf-tools{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:14px
}

.inf-print{
  background:var(--accent);
  color:var(--accent-ink);
  border:0;
  border-radius:9px;
  padding:10px 18px;
  font-weight:700;
  cursor:pointer
}

.inf-paper{
  background:#fff;
  color:#15202b;
  border-radius:10px;
  padding:36px 40px;
  box-shadow:0 10px 40px rgba(0,0,0,.35)
}

.inf-head{
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  border-bottom:2px solid #0B1726;
  padding-bottom:10px
}

.inf-brand{
  font-weight:800;
  font-size:1.3rem;
  color:#0B1726
}

.inf-meta{
  font-size:.8rem;
  color:#5a6b7b
}

.inf-title{
  font-size:1.4rem;
  margin:18px 0 6px;
  color:#0B1726
}

.inf-sec{
  margin-top:22px
}

.inf-sec h2{
  font-size:1.05rem;
  color:#0B1726;
  border-bottom:1px solid #d5dde5;
  padding-bottom:5px;
  margin:0 0 10px
}

.inf-sub{
  font-size:.8rem;
  color:#5a6b7b;
  margin:0 0 8px
}

.inf-empty{
  color:#7a8a99;
  font-style:italic
}

.inf-kv{
  width:100%;
  border-collapse:collapse
}

.inf-kv th{
  text-align:left;
  font-size:.7rem;
  text-transform:uppercase;
  letter-spacing:.04em;
  color:#5a6b7b;
  padding:5px 10px 5px 0;
  width:110px;
  vertical-align:top
}

.inf-kv td{
  padding:5px 20px 5px 0;
  font-size:.92rem
}

.inf-tbl{
  width:100%;
  border-collapse:collapse;
  font-size:.85rem
}

.inf-tbl th{
  text-align:left;
  background:#eef3f7;
  color:#2a3b4b;
  padding:7px 9px;
  border:1px solid #d5dde5;
  font-size:.72rem;
  text-transform:uppercase;
  letter-spacing:.03em
}

.inf-tbl td{
  padding:7px 9px;
  border:1px solid #d5dde5;
  vertical-align:top
}

.inf-notas{
  white-space:pre-wrap;
  max-width:260px
}

.inf-foot{
  margin-top:30px;
  padding-top:12px;
  border-top:1px solid #d5dde5;
  font-size:.72rem;
  color:#7a8a99;
  text-align:center
}

@media print{
  body{
    background:#fff !important
  }

  .ts-topbar, .inf-tools{
    display:none !important
  }

  .inf-wrap{
    max-width:none;
    padding:0
  }

  .inf-paper{
    box-shadow:none;
    border-radius:0;
    padding:0
  }

  .inf-tbl th{
    background:#eef3f7 !important;
    -webkit-print-color-adjust:exact;
    print-color-adjust:exact
  }
}

/* ===== adjuntos ===== */

.adj-drop{
  border:1px dashed var(--line);
  border-radius:11px;
  padding:18px;
  display:flex;
  flex-direction:column;
  gap:8px;
  background:var(--navy-3)
}

.adj-hint{
  font-size:.78rem;
  color:var(--muted)
}

.adj-entry{
  display:flex;
  align-items:center;
  gap:12px;
  margin-top:10px;
  flex-wrap:wrap
}

.adj-entry progress{
  flex:1;
  height:8px
}

.adj-x{
  background:var(--navy-3);
  color:var(--text);
  border:1px solid var(--line);
  border-radius:7px;
  padding:3px 9px;
  cursor:pointer
}

/* ===== videoconsulta ===== */

.vc-estado{
  font-size:.75rem;
  color:var(--accent);
  font-weight:600;
  margin-left:8px
}

.vc-video{
  position:relative;
  width:100%;
  background:#000;
  border:1px solid var(--line);
  border-radius:12px;
  overflow:hidden;
  aspect-ratio:16/9
}

.vc-remote{
  width:100%;
  height:100%;
  -o-object-fit:cover;
     object-fit:cover;
  display:block;
  background:#06121d
}

.vc-local{
  position:absolute;
  right:12px;
  bottom:12px;
  width:28%;
  max-width:200px;
  border:2px solid var(--navy);
  border-radius:9px;
  background:#000;
  -o-object-fit:cover;
     object-fit:cover;
  box-shadow:0 4px 16px rgba(0,0,0,.5)
}

.vc-controls{
  display:flex;
  gap:10px;
  margin-top:12px
}

.vc-controls button{
  background:var(--accent);
  color:var(--accent-ink);
  border:0;
  border-radius:10px;
  padding:10px 18px;
  font-weight:700;
  cursor:pointer
}

.vc-controls button.vc-hang{
  background:#3a2020;
  color:#f08a8a;
  border:1px solid #6b2e2e
}

.vc-media{
  position:absolute;
  left:12px;
  bottom:12px;
  display:flex;
  gap:8px;
  z-index:2
}

.vc-mbtn{
  background:rgba(0,0,0,.55);
  color:#fff;
  border:1px solid rgba(255,255,255,.35);
  border-radius:999px;
  padding:8px 14px;
  font-weight:600;
  font-size:.85rem;
  cursor:pointer;
  -webkit-backdrop-filter:blur(2px);
          backdrop-filter:blur(2px)
}

.vc-mbtn:hover{
  background:rgba(0,0,0,.75)
}

.vc-mbtn.off{
  background:#3a2020;
  color:#f5a3a3;
  border-color:#6b2e2e
}

.vc-mbtn:disabled{
  opacity:.45;
  cursor:not-allowed
}

.vc-mbtn.vc-sound{
  background:var(--accent);
  color:var(--accent-ink);
  border-color:var(--accent)
}

.vc-nota{
  font-size:.78rem;
  color:var(--muted);
  margin:10px 0 0
}

/* ===== pie de pagina ===== */

.ts-footer{
  display:flex;
  flex-wrap:wrap;
  gap:10px 18px;
  align-items:center;
  justify-content:space-between;
  padding:18px 20px;
  border-top:1px solid var(--line);
  color:var(--muted);
  font-size:.85rem
}

.ts-footer-brand{
  opacity:.85
}

.ts-footer-nav{
  display:flex;
  gap:16px;
  flex-wrap:wrap
}

.ts-footer-link{
  color:var(--muted);
  text-decoration:none
}

.ts-footer-link:hover{
  color:var(--text);
  text-decoration:underline
}

/* ===== banner de cookies ===== */

.ts-cookie-banner{
  position:fixed;
  left:12px;
  right:12px;
  bottom:12px;
  z-index:50;
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  align-items:center;
  justify-content:space-between;
  max-width:980px;
  margin:0 auto;
  background:var(--navy);
  border:1px solid var(--line);
  border-radius:12px;
  padding:14px 18px;
  box-shadow:0 10px 30px rgba(0,0,0,.45)
}

.ts-cookie-banner[hidden]{
  display:none
}

.ts-cookie-text{
  margin:0;
  color:var(--text);
  font-size:.9rem;
  flex:1 1 320px
}

.ts-cookie-more{
  color:var(--accent);
  text-decoration:none
}

.ts-cookie-more:hover{
  text-decoration:underline
}

.ts-cookie-btn{
  background:var(--accent);
  color:var(--accent-ink);
  border:0;
  border-radius:10px;
  padding:10px 20px;
  font-weight:700;
  cursor:pointer;
  white-space:nowrap
}

/* ===== paginas legales ===== */

.ts-legal{
  display:flex;
  justify-content:center;
  padding:40px 16px 64px
}

.ts-legal-inner{
  max-width:760px;
  width:100%
}

.ts-legal-back{
  color:var(--muted);
  text-decoration:none;
  font-size:.9rem
}

.ts-legal-back:hover{
  color:var(--text)
}

.ts-legal h1{
  font-size:2rem;
  font-weight:800;
  margin:14px 0 6px
}

.ts-legal h2{
  font-size:1.15rem;
  font-weight:700;
  margin:26px 0 8px;
  color:var(--text)
}

.ts-legal p, .ts-legal li{
  color:var(--muted);
  line-height:1.6;
  font-size:1rem
}

.ts-legal ul{
  margin:8px 0 0;
  padding-left:20px
}

.ts-legal li{
  margin:4px 0
}

.ts-legal strong{
  color:var(--text)
}

.ts-legal-draft{
  background:#2a2410;
  border:1px solid #5c4e1e;
  color:#e8d89a;
  border-radius:10px;
  padding:12px 14px;
  margin:14px 0 8px;
  font-size:.9rem
}

.ts-legal-updated{
  margin-top:28px;
  font-size:.82rem;
  opacity:.75
}

/* ===== interconsulta ===== */

.ic-chat{
  display:flex;
  flex-direction:column;
  gap:10px;
  margin-bottom:12px;
  max-height:360px;
  overflow-y:auto
}

.ic-msg{
  background:var(--navy);
  border:1px solid var(--line);
  border-radius:10px;
  padding:8px 12px
}

.ic-msg-autor{
  font-size:.8rem;
  color:var(--accent);
  font-weight:600;
  margin-bottom:2px
}

.ic-msg-cuerpo{
  color:var(--text);
  white-space:pre-wrap
}

.ic-ia{
  margin-top:12px;
  border:1px solid var(--accent);
  border-radius:10px;
  overflow:hidden
}

.ic-ia-badge{
  background:var(--accent);
  color:var(--accent-ink);
  font-weight:700;
  font-size:.8rem;
  padding:6px 12px
}

.ic-ia-texto{
  padding:12px;
  white-space:pre-wrap;
  color:var(--text)
}

.ic-seudo{
  margin:10px 0 0;
  padding:8px 12px;
  border:1px dashed var(--line);
  border-radius:9px;
  background:rgba(0,0,0,.18);
  color:var(--muted);
  font-size:.86rem
}

/* ===== historia clínica: filtros de la línea de tiempo ===== */

.hc-filtros{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:6px 0 14px
}

.hc-chip{
  background:transparent;
  color:var(--text);
  border:1px solid var(--line);
  border-radius:999px;
  padding:6px 14px;
  cursor:pointer;
  font-weight:600;
  font-size:.85rem
}

.hc-chip.on{
  background:var(--accent);
  color:var(--accent-ink);
  border-color:var(--accent)
}

.hc-cell{
  background:transparent;
  border:0;
  color:var(--accent);
  cursor:pointer;
  font:inherit;
  padding:0;
  text-align:left;
  -webkit-text-decoration:underline dotted;
          text-decoration:underline dotted
}

.hc-cell:hover{
  text-decoration:underline
}

.hc-banner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:8px 12px;
  border:1px solid var(--accent);
  border-radius:9px;
  margin-bottom:12px;
  background:rgba(0,0,0,.18)
}

/* ===== agenda: vistas dia/semana/mes ===== */

.ag-views{
  display:flex;
  gap:8px;
  margin:10px 0 4px
}

.ag-view{
  background:transparent;
  color:var(--text);
  border:1px solid var(--line);
  border-radius:9px;
  padding:7px 16px;
  cursor:pointer;
  font-weight:600
}

.ag-view.on{
  background:var(--accent);
  color:var(--accent-ink);
  border-color:var(--accent)
}

.ag-week{
  display:grid;
  grid-template-columns:repeat(7,1fr);
  gap:6px;
  margin-top:10px
}

.ag-col{
  background:var(--navy);
  border:1px solid var(--line);
  border-radius:10px;
  min-height:140px;
  display:flex;
  flex-direction:column;
  overflow:hidden
}

.ag-col.ag-hoy-col{
  border-color:var(--accent)
}

.ag-col-head{
  background:transparent;
  border:0;
  border-bottom:1px solid var(--line);
  color:var(--text);
  padding:8px;
  cursor:pointer;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:2px
}

.ag-col-dia{
  font-size:.72rem;
  color:var(--muted);
  text-transform:uppercase
}

.ag-col-num{
  font-size:1.1rem;
  font-weight:700
}

.ag-col-body{
  padding:6px;
  display:flex;
  flex-direction:column;
  gap:5px
}

.ag-item{
  background:rgba(0,0,0,.22);
  border:1px solid var(--line);
  border-radius:7px;
  padding:4px 7px;
  font-size:.78rem;
  display:flex;
  flex-direction:column
}

.ag-item.is-off{
  opacity:.45;
  text-decoration:line-through
}

.ag-item-h{
  color:var(--accent);
  font-weight:700
}

.ag-item-p{
  color:var(--text);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis
}

.ag-col-vacio{
  color:var(--muted);
  text-align:center;
  margin:6px 0
}

.ag-month{
  display:grid;
  grid-template-columns:repeat(7,1fr);
  gap:5px;
  margin-top:10px
}

.ag-mh{
  text-align:center;
  font-size:.74rem;
  color:var(--muted);
  text-transform:uppercase;
  padding:4px 0
}

.ag-cell{
  position:relative;
  background:var(--navy);
  border:1px solid var(--line);
  border-radius:9px;
  min-height:74px;
  cursor:pointer;
  color:var(--text);
  text-align:left;
  padding:6px 8px
}

.ag-cell.ag-cell-off{
  opacity:.4
}

.ag-cell.ag-cell-hoy{
  border-color:var(--accent)
}

.ag-cell-num{
  font-weight:700
}

.ag-cell-badge{
  position:absolute;
  right:6px;
  bottom:6px;
  background:var(--accent);
  color:var(--accent-ink);
  border-radius:20px;
  font-size:.72rem;
  font-weight:700;
  padding:1px 8px
}

.hover\:cursor-pointer:hover {
  cursor: pointer;
}

.hover\:bg-zinc-50:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(250 250 250 / var(--tw-bg-opacity));
}

.hover\:bg-zinc-700:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(63 63 70 / var(--tw-bg-opacity));
}

.hover\:text-zinc-700:hover {
  --tw-text-opacity: 1;
  color: rgb(63 63 70 / var(--tw-text-opacity));
}

.hover\:underline:hover {
  text-decoration-line: underline;
}

.hover\:opacity-40:hover {
  opacity: 0.4;
}

.focus\:border-rose-400:focus {
  --tw-border-opacity: 1;
  border-color: rgb(251 113 133 / var(--tw-border-opacity));
}

.focus\:border-zinc-400:focus {
  --tw-border-opacity: 1;
  border-color: rgb(161 161 170 / var(--tw-border-opacity));
}

.focus\:ring-0:focus {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}

.active\:text-white\/80:active {
  color: rgb(255 255 255 / 0.8);
}

.group:hover .group-hover\:bg-zinc-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(250 250 250 / var(--tw-bg-opacity));
}

.group:hover .group-hover\:opacity-70 {
  opacity: 0.7;
}

.phx-submit-loading.phx-submit-loading\:opacity-75 {
  opacity: 0.75;
}

.phx-submit-loading .phx-submit-loading\:opacity-75 {
  opacity: 0.75;
}

@media (min-width: 640px) {
  .sm\:w-96 {
    width: 24rem;
  }

  .sm\:w-full {
    width: 100%;
  }

  .sm\:translate-y-0 {
    --tw-translate-y: 0px;
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
  }

  .sm\:scale-100 {
    --tw-scale-x: 1;
    --tw-scale-y: 1;
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
  }

  .sm\:scale-95 {
    --tw-scale-x: .95;
    --tw-scale-y: .95;
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
  }

  .sm\:gap-8 {
    gap: 2rem;
  }

  .sm\:overflow-visible {
    overflow: visible;
  }

  .sm\:rounded-l-xl {
    border-top-left-radius: 0.75rem;
    border-bottom-left-radius: 0.75rem;
  }

  .sm\:rounded-r-xl {
    border-top-right-radius: 0.75rem;
    border-bottom-right-radius: 0.75rem;
  }

  .sm\:p-6 {
    padding: 1.5rem;
  }

  .sm\:px-0 {
    padding-left: 0px;
    padding-right: 0px;
  }

  .sm\:text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
  }

  .sm\:leading-6 {
    line-height: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .lg\:py-8 {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
}
