@layer xone-reset, xone-base, xone-responsive, xone-layout, xone-components, xone-project;
@layer xone-reset {
  xone-island { display: block; }
  *, *::before, *::after { box-sizing: border-box; }
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/Roboto-Regular.ttf') format('truetype');
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/Roboto-Medium.ttf') format('truetype');
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/Roboto-Bold.ttf') format('truetype');
}
@layer xone-base {
  /* Layout primitives — paridad baselineCss.ts del xml-renderer */
  body { display: flex; flex-direction: column; align-items: stretch; min-height: 100dvh; margin: 0; }
  .xone-canvas {
    display: flex; flex-direction: column; align-items: stretch;
    flex: 1 1 auto; min-height: 0; width: 100%;
    container-type: inline-size; container-name: xoneCanvas;
    font-family: 'Roboto', sans-serif;
  }
  .xone-canvas[data-responsive="1"] {
    min-height: 100dvh;
    --xone-p-unit: calc(100cqw / var(--xone-base-width));
    --xone-font-unit: calc(var(--xone-font-factor) * 100cqw / var(--xone-base-width));
  }
  .xone-canvas[data-responsive="1"][data-canvas-mode="fluid"] {
    width: min(100vw, var(--xone-canvas-max-width, 540px));
    align-self: center;
  }
  .xone-canvas[data-responsive="1"][data-canvas-mode="viewport"] {
    width: 100vw; max-width: none; align-self: stretch;
  }
  .xone-canvas[data-responsive="1"][data-canvas-mode="fixed"] {
    width: calc(var(--xone-base-width) * 1px);
    height: calc(var(--xone-base-height) * 1px);
    flex: 0 0 auto; min-height: 0; align-self: center;
  }
  .xone-canvas[data-responsive="1"][data-canvas-mode="letterbox"] {
    aspect-ratio: var(--xone-base-width) / var(--xone-base-height);
    width: min(100vw, calc(100dvh * var(--xone-base-width) / var(--xone-base-height)));
    flex: 0 0 auto; min-height: 0; align-self: center;
  }
  .xone-canvas[data-responsive="1"][data-canvas-align="left"]   { align-self: flex-start; }
  .xone-canvas[data-responsive="1"][data-canvas-align="right"]  { align-self: flex-end; }
  .xone-canvas[data-responsive="1"][data-canvas-align="center"] { align-self: center; }
  .xone-coll { flex: 1 1 auto; min-height: 100%; }
  .xone-group { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; }
  .xone-frame {
    display: flex; flex-direction: column; min-height: 0;
    position: relative;
  }
  .xone-row {
    display: flex; flex-direction: row; align-items: stretch;
    width: 100%; gap: 0; flex: 0 0 auto; align-self: stretch;
  }
  .xone-prop { display: flex; flex-direction: column; width: 100%; min-height: 0; }
  .xone-prop-tl { display: block; width: 100%; }

  /* Inputs */
  .xone-prop input, .xone-prop textarea, .xone-prop select {
    width: 100%; height: 100%;
    padding: 12px 14px; border: 1px solid currentColor; border-radius: 8px;
    background: transparent; color: inherit; font-family: inherit;
    font-size: inherit; outline: none;
  }
  .xone-prop input:focus, .xone-prop textarea:focus, .xone-prop select:focus {
    border-color: var(--xone-border-color-focus, currentColor);
    box-shadow: 0 0 0 3px rgba(0,0,0,.08);
  }

  /* Buttons */
  .xone-prop-b {
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; border: none; background: transparent;
    color: inherit; font-family: inherit; font-size: inherit;
    padding: 0; min-width: 0;
  }

  /* Vertical center */
  .xone-prop.xone-prop-centered-y {
    display: flex; flex-direction: column; justify-content: center;
  }

  /* Line clamp */
  .xone-prop-tl .xone-label-text.xone-label-clamp {
    display: -webkit-box; -webkit-box-orient: vertical;
    overflow: hidden; text-overflow: ellipsis;
  }

  /* Floating labels */
  .xone-field-floating { position: relative; display: block; height: 100%; font-size: inherit; }
  .xone-field-floating input,
  .xone-field-floating textarea { width: 100%; height: 100%; box-sizing: border-box; font-family: inherit; font-size: inherit; }
  .xone-floating-label {
    position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
    pointer-events: none; transition: all 0.15s ease;
    font-size: inherit; opacity: 0.5;
  }
  .xone-field-floating input:focus + .xone-floating-label,
  .xone-field-floating input:not(:placeholder-shown) + .xone-floating-label,
  .xone-field-floating textarea:focus + .xone-floating-label,
  .xone-field-floating textarea:not(:placeholder-shown) + .xone-floating-label {
    top: 6px; transform: translateY(0); font-size: 0.65em; opacity: 1;
  }

  /* Password toggle */
  .xone-field { position: relative; display: flex; align-items: center; height: 100%; }
  .xone-field input { flex: 1 1 auto; padding-right: 40px; }
  .xone-field-floating:has(.xone-password-toggle) input { padding-right: 40px; }
  .xone-password-toggle {
    position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
    background: transparent; border: none; cursor: pointer; color: #9AA0A6;
    padding: 6px; border-radius: 50%; line-height: 0;
    display: inline-flex; align-items: center; justify-content: center;
  }
  .xone-password-toggle svg { width: 20px; height: 20px; display: block; }
  .xone-password-toggle:hover { color: #2D3436; }
  .xone-password-toggle.is-visible { color: #2D3436; }

  /* Contents (prop type="Z") — layout aplicado por islands-runtime */
  .xone-prop-z { position: relative; min-height: 0; }
  .xone-contents { display: flex; flex-direction: column; gap: 8px; width: 100%; }
  .xone-contents.is-gridview { display: grid; gap: 8px; }
  .xone-contents.is-recyclerview { display: flex; gap: 6px; }
  .xone-contents[data-orientation="horizontal"] {
    flex-direction: row; overflow-x: auto; overflow-y: hidden;
    scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  }
  .xone-contents[data-orientation="horizontal"] > .xone-content-item {
    width: auto; flex: 0 0 auto; scroll-snap-align: start;
  }
  .xone-content-item {
    display: flex; flex-direction: column; width: 100%;
    cursor: pointer; transition: filter 0.1s ease;
  }
  .xone-content-item:hover { filter: brightness(0.97); }
  .xone-contents-empty {
    color: #9AA0A6; text-align: center; padding: 16px; font-size: 12px;
  }
}
@layer xone-project {
.lblCampo {
    color: #1B6B5AFF;
    font-size: 19px;
    font-weight: bold;
    height: -2;
    width: 100%;
    border: none;
}

.campoInput {
    width: 100%;
    height: 55px;
    margin-top: 4px;
    background-color: #F8FAFBFF;
    border-radius: 25px;
    border: true;
    border-width: 1px;
    border-color: #EEEEEE;
    color: #B0BEC5FF;
    font-size: 20px;
    --xone-align: left|center;
}

.textoGeneral {
    border: none;
    border: none; padding: 0;
    font-size: 20px;
}

.btnEntrar {
    width: 100%;
    height: 55px;
    margin-top: 10px;
    background-color: #1B6B5AFF;
    color: #FFFFFFFF;
    font-size: 22px;
    font-weight: bold;
    border-radius: 25px;
    --xone-align: center;
    ripple-effect: true;
}

.btnCancelar {
    width: 100%;
    height: 55px;
    margin-top: 10px;
    background-color: #F0F4F8FF;
    border: true;
    border-color: #DDE5EFFF;
    color: #8FA8C0FF;
    font-size: 22px;
    border-radius: 25px;
    --xone-align: center;
    ripple-effect: true;
}

.txtFooterCo {
    color: #888888;
    font-size: 18px;
    --xone-align: center;
    border: none;
    border: none; padding: 0;
    width: 100%;
    margin-top: 15px;
}

.txtFooterVer {
    color: #BBBBBB;
    font-size: 17px;
    --xone-align: center;
    border: none;
    border: none; padding: 0;
    width: 100%;
}

.btnSalir {
    background-color: #00000000;
    border: true;
    border-color: #FFFFFFFF;
    border-width: 1px;
    color: #FFFFFFFF;
    font-size: 19px;
    border-radius: 6px;
    height: 30px;
    width: 70px;
}

.sidebarSeccion {
    color: #999999FF;
    font-size: 17px;
    font-weight: bold;
    height: -2;
    width: 100%;
    border: none;
    margin-top: 10px;
    margin-left: 12px;
    margin-bottom: 2px;
}

.sidebarItem {
    background-color: #00000000;
    color: #555555FF;
    font-size: 19px;
    border: none;
    height: 32px;
    width: 100%;
    --xone-align: left|center;
    border-left-width: 3;
    border-left-color: #00000000;
}

.sidebarItemActivo {
    background-color: #E8F4EEFF;
    color: #1A3A2AFF;
    font-size: 19px;
    border: none;
    height: 32px;
    width: 100%;
    --xone-align: left|center;
    border-left-width: 3;
    border-left-color: #1B5E46FF;
    font-weight: bold;
}

.sidebarServicio {
    background-color: #00000000;
    color: #1A3A2AFF;
    font-size: 20px;
    border: none;
    height: 36px;
    width: 100%;
    --xone-align: left|center;
    border-left-width: 3;
    border-left-color: #00000000;
    font-weight: bold;
}

.sidebarSubItem {
    background-color: #F8FAFBFF;
    color: #777777FF;
    font-size: 18px;
    border: none;
    height: 28px;
    width: 100%;
    --xone-align: left|center;
    border-left-width: 3;
    border-left-color: #00000000;
}

.planillaTab {
    background-color: #FFFFFFFF;
    color: #888888FF;
    font-size: 20px;
    border: none;
    border-bottom-width: 2;
    border-bottom-color: #00000000;
    height: 36px;
    --xone-align: center|center;
}

.planillaTabActivo {
    background-color: #FFFFFFFF;
    color: #BB4E86FF;
    font-size: 20px;
    border: none;
    border-bottom-width: 2;
    border-bottom-color: #BB4E86FF;
    height: 36px;
    --xone-align: center|center;
    font-weight: bold;
}

.planillaChip {
    background-color: #FFFFFFFF;
    color: #888888FF;
    font-size: 18px;
    border-width: 1px;
    border-color: #E0E0E0FF;
    border-radius: 20px;
    height: 24px;
}

.planillaChipActivo {
    background-color: #BB4E86FF;
    color: #FFFFFFFF;
    font-size: 18px;
    border-width: 1px;
    border-color: #BB4E86FF;
    border-radius: 20px;
    height: 24px;
}

.planillaMesBtn {
    background-color: #00000000;
    color: #BB4E86FF;
    font-size: 26px;
    border: none;
    height: 36px;
    width: 36px;
    --xone-align: center|center;
}

.planillaDow {
    color: #888888FF;
    font-size: 18px;
    font-weight: bold;
    border: none;
    --xone-align: center|center;
    height: 28px;
}

.piTab {
    background-color: #FFFFFFFF;
    color: #888888FF;
    font-size: 20px;
    border: none;
    border-bottom-width: 2;
    border-bottom-color: #00000000;
    height: 38px;
    --xone-align: center|center;
}

.piTabActivo {
    background-color: #FFFFFFFF;
    color: #C0392BFF;
    font-size: 20px;
    border: none;
    border-bottom-width: 2;
    border-bottom-color: #C0392BFF;
    height: 38px;
    --xone-align: center|center;
    font-weight: bold;
}

.piChip {
    background-color: #FFFFFFFF;
    color: #888888FF;
    font-size: 18px;
    border-width: 1px;
    border-color: #E0E0E0FF;
    border-radius: 20px;
    height: 24px;
}

.piChipActivo {
    background-color: #C0392BFF;
    color: #FFFFFFFF;
    font-size: 18px;
    border-width: 1px;
    border-color: #C0392BFF;
    border-radius: 20px;
    height: 24px;
}

.piChipNuevo {
    background-color: #C0392BFF;
    color: #FFFFFFFF;
    font-size: 18px;
    border-width: 1px;
    border-color: #C0392BFF;
    border-radius: 20px;
    height: 24px;
    font-weight: bold;
}
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  @view-transition { navigation: none; }
}