@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400;
  src: url("/Content/fonts/OpenSans-Regular.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 600 700;
  src: url("/Content/fonts/OpenSans-Bold.ttf") format("truetype");
  font-display: swap;
}
:root {
  --teal: #63c5c2;
  --teal-dark: #4bb8b4;
  --mint: #eef8f7;
  --ink: #345062;
  --line: #c8d8de;
  --bg: #f4f6f7;
  --white: #ffffff;
  --brand-blue: #17428c;
  /* Placo official greens (from PTTStyle.css): primary and hover/active */
  --placo-green: #67b9b0;
  --placo-green-dark: #42b1b2;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Open Sans", Arial, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.legacy-topbar {
  min-height: 70px;
  background: #fff;
  border-bottom: 2px solid var(--placo-green);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
}

.brand-left {
  display: flex;
  gap: 14px;
  align-items: center;
}

.brand-left img {
  height: 38px;
  width: auto;
}

.brand-left .logo-placo-top {
  height: 36px;
}

.lang-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 4px;
  background: var(--placo-green);
  color: #fff;
  font-size: 0.9rem;
  padding: 4px 8px;
}

.lang-pill img {
  width: 16px;
  height: 16px;
}

.legacy-hero {
  position: relative;
  flex: 1;
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  min-height: 640px;
  background: url("/assets/legacy/bg-plano.jpg") center 42% / cover no-repeat;
  border-bottom: 1px solid #d6e2e7;
  padding: 18px 22px 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  grid-template-areas:
    "title title"
    "copy login"
    "free login";
  column-gap: 28px;
  row-gap: 18px;
  align-content: start;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(248, 251, 252, 0.58);
  z-index: 0;
}

.hero-title-card,
.hero-copy-card,
.legacy-login-card,
.status-wrap {
  position: relative;
  z-index: 2;
}

.hero-title-card {
  grid-area: title;
  max-width: 840px;
  margin: 0;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #cfdbe2;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px 18px;
}

.ptt-logo {
  width: 102px;
  height: auto;
}

.hero-title-card h1 {
  margin: 0;
  font-family: "Open Sans", Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--placo-green);
  font-size: 2rem;
}

.hero-title-card p {
  margin: 6px 0 0;
  color: #3f5c71;
  font-size: 1.05rem;
}

.hero-copy-card {
  grid-area: copy;
  margin: 26px 0 0;
  max-width: 690px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid #dce8eb;
  padding: 16px;
}

.hero-copy-card h2 {
  margin: 0;
  color: var(--placo-green);
  font-size: 1.5rem;
  font-weight: 700;
}

.hero-copy-card p {
  margin: 8px 0;
  font-size: 1.02rem;
  color: var(--placo-green);
}

.hero-copy-card .chrome-ad {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #4f6477;
  font-size: 0.95rem;
}

.hero-copy-card .chrome-ad img {
  width: 20px;
  height: 20px;
}

.hero-copy-card small {
  display: block;
  margin-top: 10px;
  color: #4a5f70;
}

.hero-free-card {
  grid-area: free;
  position: relative;
  left: auto;
  bottom: auto;
  width: 230px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(103,185,176,0.25);
  padding: 14px;
}

.legacy-login-card {
  grid-area: login;
  position: relative;
  right: auto;
  top: auto;
  width: min(350px, 90vw);
  background: rgba(255, 255, 255, 0.93);
  border: 1px solid var(--placo-green);
  padding: 20px 20px 16px;
  margin-top: 8px;
}

.legacy-login-card h3 {
  margin: 0 0 12px;
  text-align: center;
  color: var(--placo-green);
  font-size: 1.6rem;
  font-family: "Open Sans", Arial, sans-serif;
  font-weight: 700;
}

label {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 12px;
  text-align: left;
}

input {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--placo-green);
  padding: 7px 0;
  font-family: "Open Sans", Arial, sans-serif;
  background: transparent;
}

input:focus {
  outline: 0;
  border-bottom-color: var(--placo-green-dark);
}

.btn {
  width: 100%;
  border: 0;
  cursor: pointer;
  border-radius: 2px;
  padding: 9px 12px;
  margin-bottom: 10px;
  font-size: 0.97rem;
  font-weight: 600;
}

.btn-main {
  background: var(--brand-blue);
  color: #fff;
}

.btn-icon {
  font-size: 1.1rem;
  margin-right: 6px;
  vertical-align: middle;
}

.btn-alt {
  background: #9c9fa5;
  color: #fff;
}

.btn-ghost {
  background: #f6f7f8;
  color: #6f7780;
  border: 1px solid #d2d7da;
}

.helper-link {
  display: block;
  text-align: center;
  color: var(--placo-green);
  margin: -2px 0 10px;
  text-decoration: none;
}

.helper-link:hover {
  text-decoration: underline;
}

.field-wrap {
  position: relative;
}

.field-icon {
  position: absolute;
  left: 8px;
  top: 8px;
  font-size: 0.95rem;
  opacity: 1;
  color: var(--placo-green);
}

.field-wrap input {
  padding-left: 30px;
}

.status-wrap {
  display: none;
}

.badge {
  border-radius: 99px;
  padding: 5px 10px;
  font-size: 0.8rem;
  border: 1px solid;
}

.badge-muted {
  color: #6f7d89;
  border-color: #cfd6dc;
  background: #f1f4f7;
}

.badge-ok {
  color: var(--placo-green-dark);
  border-color: rgba(66,177,178,0.35);
  background: #edfbf2;
}

.badge-err {
  color: #a42b3a;
  border-color: #e5a8b0;
  background: #fff2f4;
}

.hint {
  margin: 6px 0 0;
  color: #607789;
}

.console-wrap {
  display: none;
}

/* Modal aviso legal */
.modal.hidden { display: none; }
.modal { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; }
.modal-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.45); }
.modal-dialog { position: relative; background: #fff; max-width: 900px; width: calc(100% - 60px); border: 1px solid #e6e6e6; box-shadow: 1px 1px 6px rgba(0,0,0,0.2); padding: 18px 22px; border-radius: 4px; }
.modal-close { position: absolute; right: 12px; top: 8px; background: transparent; border: none; font-size: 22px; cursor: pointer; }
.modal h2 { text-align: center; margin: 6px 0 12px; color: var(--placo-green); }
.modal-body { max-height: 300px; overflow: auto; color: #444; font-size: 14px; line-height: 1.4; padding: 6px 4px; }
.modal-actions { display: flex; justify-content: center; gap: 12px; margin-top: 14px; }

/* Style to match original legal modal */
.modal .modal-body h2 {
  color: var(--teal-dark);
  font-size: 1.45rem;
  margin-top: 0;
}
.modal .aviso-legal-content { padding: 8px 6px; font-size: 0.95rem; color: #444; }
.modal .accept-btn {
  display: block;
  width: 100%;
  background: var(--placo-green);
  color: #fff;
  border: 0;
  padding: 10px 12px;
  margin: 12px 0 6px;
  border-radius: 4px;
  font-weight: 700;
  text-align: center;
}
.modal .accept-btn:active { transform: translateY(1px); }
.modal .modal-actions { justify-content: center; gap: 14px; }
.modal .modal-actions .btn { width: 140px; }
.modal .modal-actions .btn-ghost { background: #fff; border: 1px solid #d2d7da; color: #6f7780; }
.modal .modal-dialog { max-width: 760px; }

/* Internal overlay for embedded pages */
/* removed iframe overlay styles — navigation now loads inline */
/* keeping no-op rules to avoid layout shifts if referenced */
.internal-overlay { display: none; }
.internal-frame-wrap { display: none; }


body.mode-console .status-wrap {
  display: flex;
}

body.mode-console .console-wrap {
  display: block;
}

.console-title {
  max-width: 1300px;
  margin: 0 auto 10px;
  font-family: "Barlow Condensed", sans-serif;
  color: #4a687a;
  letter-spacing: 0.04em;
}

.layout {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.panel {
  background: #fff;
  border: 1px solid #d9e4ea;
  border-radius: 10px;
  padding: 12px;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
}

.panel h3 {
  margin: 0;
  color: #3f5c71;
  text-transform: uppercase;
  font-family: "Barlow Condensed", sans-serif;
  letter-spacing: 0.03em;
}

.btn-mini {
  width: auto;
  padding: 6px 10px;
  margin: 0;
  border: 1px solid #b8cad5;
  background: #f8fbfd;
  color: #3c5568;
}

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

.inline-check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #d6e2e8;
  border-radius: 8px;
  background: #f6f9fb;
  padding: 4px 8px;
  margin: 0;
}

.inline-check input {
  width: auto;
  border: 0;
  margin: 0;
}

.list-box {
  min-height: 170px;
  max-height: 320px;
  overflow: auto;
  border: 1px dashed #c4d4df;
  border-radius: 10px;
  background: #fbfdff;
  padding: 8px;
}

.list-item {
  border: 1px solid transparent;
  border-radius: 9px;
  padding: 10px;
  margin-bottom: 8px;
  background: #fff;
  cursor: pointer;
}

.list-item:hover {
  border-color: #9fb8c7;
}

.list-item.active {
  border-color: var(--teal-dark);
  background: #eefaf9;
}

.kv-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.kv {
  border: 1px solid #d7e3e9;
  border-radius: 8px;
  padding: 10px;
  background: #fff;
}

.kv b {
  display: block;
  text-transform: uppercase;
  color: #53708a;
  font-size: 0.8rem;
  margin-bottom: 3px;
}

.panel-log {
  max-width: 1300px;
  margin: 10px auto 0;
}

.log-box {
  margin: 0;
  background: #162027;
  color: #c3f5d7;
  border-radius: 8px;
  min-height: 120px;
  max-height: 260px;
  overflow: auto;
  padding: 10px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.82rem;
}

.legacy-footer {
  min-height: 70px;
  background: #fff;
  border-top: 1px solid #d6e0e6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  color: #4f6678;
  font-size: 0.8rem;
  margin-top: auto;
}

.legacy-footer-left p {
  margin: 2px 0;
}

.legal-links {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.legal-links a {
  color: #17428c;
  text-decoration: none;
}

.legal-links a:hover {
  text-decoration: underline;
}

.legacy-footer-logo {
  height: 28px;
  width: auto;
}

@media (min-width: 1024px) {
  .layout {
    grid-template-columns: 1fr 1fr;
  }

  .panel-detail {
    grid-column: span 2;
  }
}

@media (max-width: 1000px) {
  .legacy-hero {
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "copy"
      "free"
      "login";
    max-width: none;
  }

  .hero-free-card {
    position: relative;
    left: auto;
    bottom: auto;
    margin: 0;
  }

  .legacy-login-card {
    position: relative;
    top: auto;
    right: auto;
    margin: 0;
    width: 100%;
    max-width: 380px;
  }

  .hero-copy-card {
    margin: 0;
  }

  .status-wrap {
    top: 10px;
    right: 10px;
  }
}

@media (max-width: 720px) {
  .brand-left img {
    height: 28px;
  }

  .hero-title-card {
    flex-direction: column;
    text-align: center;
  }

  .hero-title-card h1 {
    font-size: 1.45rem;
  }

  .legacy-footer {
    height: auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* Mirror override for legacy ConsultaSistemas */
body {
  background: #f1f1f1;
  font: 13px/18px "Open Sans", Arial, sans-serif;
  color: #6f6f6f;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.legacy-topbar {
  min-height: 70px;
  border-bottom: 2px solid var(--placo-green);
  box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
  padding: 0 8px;
}

.brand-left {
  height: 100%;
}

.brand-left img {
  height: 58px;
  margin: 0 5px;
}

.brand-left .logo-placo-top {
  height: 58px;
}

.consulta-sistemas {
  flex: 1;
  min-height: calc(100vh - 140px);
  height: calc(100vh - 140px);
  padding: 20px;
  position: relative;
  background: url("/assets/legacy/bg-plano.jpg");
  background-size: cover;
  background-position: center center;
  overflow: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
}

.consulta-sistemas .hero-overlay {
  background: rgba(180, 180, 180, 0.1);
}

#bloqueIntroduccion {
  width: 60%;
  max-width: 1200px;
  height: 120px;
  padding: 20px;
  background: #fff;
  display: flex;
  align-items: center;
  margin: 0 auto 20px;
  border: 1px solid var(--placo-green);
  box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 2;
}

#bloqueIntroduccion .ptt-logo {
  height: 100%;
  width: auto;
  margin: 0 30px;
}

#bloqueIntroduccion div {
  padding: 10px;
  color: var(--placo-green);
  text-align: left;
}

#bloqueIntroduccion div h2 {
  font-weight: 700;
  padding-bottom: 10px;
  font-size: 20px;
  text-transform: uppercase;
  margin: 0;
  color: var(--placo-green);
}

#bloqueIntroduccion div p {
  font-size: 16px;
  margin: 0;
  color: var(--placo-green);
}

.consulta-inner {
  width: 60%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}


#bloqueInfo {
  float: left;
  width: 510px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

#bloqueInfo p {
  font-size: 16px;
  margin: 5px 0;
  text-align: left;
  color: var(--placo-green);
}

#bloqueInfo #InfoLegal {
  font-size: 10px;
  color: #444;
  margin: 10px 0 0;
}

#bloqueInfo .ChromeAd {
  margin: 10px 0 0;
  display: flex;
  align-items: center;
}

#bloqueInfo .ChromeAd span {
  font-size: 10px;
  color: #444;
}

#bloqueInfo .ChromeAd img {
  width: 20px;
  height: 20px;
  margin-right: 10px;
}

#bloqueSinRegistro {
  position: absolute;
  left: 0;
  bottom: 0;
}

.pageLayout .select {
  text-transform: none;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid rgba(103,185,176,0.35);
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  display: flex;
  justify-content: flex-start;
  align-items: center;
  position: relative;
  z-index: 5;
  border-radius: 6px;
  min-width: 420px;
}

.pageLayout .select i {
  /* Rounded teal icon block */
  background: var(--placo-green);
  color: #fff;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-size: 18px;
  margin-right: 18px;
}

.pageLayout .select h3 {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pageLayout .select h3 .btn-main {
  width: 240px;
  height: 44px;
  background: var(--placo-green);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  border-radius: 6px;
  box-shadow: 0 6px 18px rgba(66,171,166,0.14);
  padding: 0 18px;
}

.pageLayout .select .btn-main {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Ensure select box sits above hero overlay but below modal */
.pageLayout .select {
  position: relative;
  z-index: 5;
}

.dev-status {
  display: none; /* hide the small square to match remote appearance */
}

/* Fix small rounded checkbox-looking element if present */
.pageLayout .select .tiny-box {
  display: none;
}

#bloqueAccesoUsuario {
  float: right;
}

.containerLogin article {
  box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  background: #fff;
  width: 320px;
  box-sizing: border-box;
  padding: 20px 30px;
  margin: 0 auto;
  border: 1px solid var(--placo-green);
}

.containerLogin article h3 {
  font-size: 20px;
  margin: 0 0 20px;
  color: var(--placo-green);
  text-align: left;
  font-family: "Open Sans", Arial, sans-serif;
}

.containerLogin article label {
  display: block;
  font-weight: 600;
  color: #222;
  margin-bottom: 10px;
}

.containerLogin article input {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--placo-green);
  padding: 10px 10px 10px 40px;
  height: 35px;
  font-family: "Open Sans", Arial, sans-serif;
  margin-bottom: 14px;
}

.field-wrap {
  position: relative;
}

.field-icon {
  position: absolute;
  left: 10px;
  top: 9px;
  font-size: 18px;
  color: var(--placo-green);
}

.btn {
  border-radius: 3px;
}

.btn-main {
  background: var(--placo-green);
}

.btn-alt {
  background: #999;
}

.helper-link {
  color: var(--placo-green);
  margin: 2px 0 14px;
}

.page-legal {
  margin: 2px 0;
}

.page-legal a {
  color: var(--placo-green);
  text-decoration: none;
  margin-right: 10px;
}

.page-legal span {
  color: #777;
  margin-right: 10px;
}

.page-legal a:hover {
  text-decoration: underline;
}

.legacy-footer {
  background: #fff;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 10px;
  text-align: left;
  align-content: center;
  align-items: center;
  box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  height: 70px;
  position: relative;
  margin-top: auto;
}

.legacy-footer .legal-links {
  position: absolute;
  left: 0;
  right: 0;
  display: block;
  margin: 0 auto;
  bottom: 5px;
  text-align: center;
  max-width: 50vw;
}

.legacy-footer .legal-links a {
  color: var(--placo-green);
  text-decoration: none;
  margin: 0 5px;
}

.legacy-footer .legal-links a:hover {
  text-decoration: underline;
}

.legacy-footer-logo {
  width: 100px;
  height: auto;
}

@media (max-width: 1400px) {
  #bloqueIntroduccion,
  .consulta-inner {
    width: 80%;
  }

  #bloqueInfo {
    width: 460px;
  }
}

@media (max-width: 1050px) {
  .consulta-sistemas {
    align-content: center;
  }

  #bloqueIntroduccion,
  .consulta-inner {
    width: 95%;
  }
}

@media (max-width: 880px) {
  #bloqueInfo,
  #bloqueAccesoUsuario {
    float: none;
    width: 100%;
  }

  #bloqueSinRegistro {
    position: static;
    margin: 20px 0;
  }

  .containerLogin article {
    width: 100%;
    max-width: 360px;
  }

  .consulta-inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .legacy-footer {
    height: auto;
    min-height: 90px;
    padding-bottom: 34px;
  }

  .legacy-footer .legal-links {
    max-width: 92vw;
  }
}

/* Final parity overrides for ConsultaSistemas.aspx look */
.brand-right {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.home-icon {
  color: #6f6f6f;
  font-size: 13px;
}

.consulta-sistemas {
  background-position: center center;
}

#bloqueIntroduccion {
  margin-top: 8px;
}

#bloqueInfo {
  min-height: 260px;
}

#bloqueInfo .ChromeAd {
  margin-top: 12px;
}

#bloqueInfo .ChromeAd span {
  font-size: 13px;
}

#bloqueSinRegistro {
  bottom: -95px;
}

.pageLayout .select {
  min-width: 270px;
  border-radius: 0;
  border: 1px solid #8fd7d2;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
  background: #fff;
  padding: 18px 22px;
}

.pageLayout .select i {
  width: 28px;
  height: 28px;
  border-radius: 0;
  margin-right: 18px;
  background: transparent;
  color: #66b9b0;
  font-size: 32px;
}

.pageLayout .select .btn-main {
  width: 202px;
  height: 40px;
  border-radius: 0;
  background: #66b9b0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  padding: 0;
}

.containerLogin article h3 {
  margin-bottom: 14px;
  text-align: center;
}

.containerLogin article label {
  font-size: 13px;
  font-weight: 600;
  color: #666;
  margin-bottom: 6px;
}

.containerLogin article input {
  font-size: 13px;
  color: #666;
}

.containerLogin article .btn-main {
  background: #66b9b0;
  margin-top: 4px;
}

.register-btn {
  margin: 0;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  padding: 0 12px;
  background: #a9abaf;
  color: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.helper-link {
  font-size: 13px;
  text-align: center;
  margin: 8px 0 18px;
}

.register-title {
  margin: 0;
  font-size: 22px;
  text-align: center;
}

.register-title a {
  color: #67b9b0;
  text-decoration: none;
}

.register-title a:hover {
  text-decoration: underline;
}

.hidden-ops {
  display: none;
}

.legacy-footer .legacy-footer-left a {
  color: #67b9b0;
  text-decoration: none;
  margin-right: 8px;
}

.legacy-footer .legacy-footer-left a:hover {
  text-decoration: underline;
}

.guest-modal-dialog {
  max-width: 520px;
}

.guest-modal-dialog .modal-body p {
  margin: 0 0 8px;
}

.guest-modal-dialog .modal-actions .btn {
  width: 170px;
  margin-bottom: 0;
}

@media (max-width: 1050px) {
  #bloqueSinRegistro {
    position: static;
    margin-top: 16px;
  }

  .pageLayout .select .btn-main {
    width: 190px;
  }
}

body { color: #222; letter-spacing: 0; }
.legacy-topbar { height: 70px; flex: 0 0 70px; border-bottom: 1px solid #ddd; }
.brand-left img, .brand-left .logo-placo-top { height: 63px; }
.lang-pill img { width: 25px; height: 25px; }
.legacy-footer { color: #222; font-size: 13px; line-height: 18px; }
.consulta-sistemas { display: grid; grid-template-rows: 120px minmax(0, 1fr); gap: 20px; align-items: start; }
.consulta-sistemas .hero-overlay { display: none; }
#bloqueIntroduccion { margin: 0 auto; }
#bloqueIntroduccion div h2 { line-height: 27px; }
#bloqueIntroduccion div p, #bloqueInfo p { line-height: 22px; }
.consulta-inner { align-self: center; display: grid; grid-template-columns: 460px 320px; justify-content: space-between; align-items: start; }
#bloqueInfo { float: none; width: 460px; min-height: 0; }
#bloqueInfo #InfoLegal { line-height: 14px; }
#bloqueInfo .ChromeAd { margin-top: 10px; }
#bloqueInfo .ChromeAd span { font-size: 10px; }
#bloqueSinRegistro { position: static; margin-top: 20px; }
.pageLayout .select { min-width: 0; width: 302px; padding: 20px; }
.pageLayout .select i { flex: 0 0 40px; width: 40px; height: 40px; margin-right: 24px; }
.pageLayout .select .btn-main { width: 200px; flex: 0 1 200px; min-width: 0; margin-left: 0; font-size: 16px; font-weight: 700; }
.containerLogin article h3 { font-size: 20px; line-height: 27px; margin-bottom: 20px; font-weight: 700; }
.containerLogin article label { font-size: 13px; line-height: 18.56px; color: #222; font-weight: 400; margin: 0; }
.containerLogin .field-wrap { margin-bottom: 20px; }
#loginError { margin: -8px 0 16px; padding: 8px; color: #8d291f; background: #fff1ef; border-left: 3px solid #b43a2e; font-size: 12px; line-height: 18px; overflow-wrap: anywhere; }
.containerLogin #btnLogin:disabled { cursor: wait; opacity: .65; }
.containerLogin article input { height: 35px; margin: 0; font-size: 12px; color: #000; }
.containerLogin article .btn-main { font: 400 13px/20px "Open Sans", Arial, sans-serif; height: 30px; padding: 5px 10px; margin: 0 0 20px; background: #42b1b2; }
.containerLogin .helper-link { display: block; line-height: 18px; margin: 0 0 30px; }
.containerLogin .register-btn { font-weight: 700; }
.okta-completion { grid-template-rows: auto minmax(0, 1fr); }
.okta-completion #bloqueIntroduccion { height: auto; min-height: 120px; }
.okta-completion #bloqueIntroduccion .ptt-logo { height: auto; width: 90px; flex-shrink: 0; }
.okta-completion #oktaRetry { display: inline-block; width: auto; margin: 16px 0 0; text-decoration: none; }
.okta-completion #oktaRetry[hidden] { display: none; }
@media (min-width: 1401px) {
  .consulta-inner { grid-template-columns: 510px 320px; }
  #bloqueInfo { width: 510px; }
}
@media (max-width: 1050px) {
  .consulta-sistemas { height: auto; min-height: calc(100dvh - 140px); grid-template-rows: auto auto; }
  #bloqueIntroduccion { height: auto; min-height: 120px; }
  .consulta-inner { grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; padding-bottom: 110px; }
  #bloqueInfo { width: auto; }
  #bloqueSinRegistro { position: static; margin: 20px 0 0; }
}
@media (max-width: 880px) {
  .consulta-sistemas { padding: 20px 12px; }
  .consulta-inner { grid-template-columns: minmax(0, 1fr); padding-bottom: 0; }
  #bloqueSinRegistro { position: static; margin-top: 20px; }
  .pageLayout .select { max-width: 100%; }
  .pageLayout .select .btn-main { flex: 1; min-width: 0; }
  #bloqueAccesoUsuario { float: none; width: 100%; }
  #bloqueIntroduccion { padding: 16px; }
  #bloqueIntroduccion .ptt-logo { margin: 0 16px 0 0; max-width: 80px; height: auto; }
  #bloqueIntroduccion div { padding: 0; min-width: 0; }
  #bloqueIntroduccion div h2 { font-size: 18px; line-height: 24px; }
  #bloqueIntroduccion div p { font-size: 14px; line-height: 20px; }
  .brand-left img, .brand-left .logo-placo-top { height: 42px; margin: 0; }
  .brand-left { gap: 10px; }
}

.landing-entry .consulta-sistemas {
  height: auto;
  min-height: calc(100dvh - 140px);
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  gap: 28px;
  padding: 28px 20px 36px;
}
.landing-entry .consulta-sistemas .hero-overlay {
  display: block;
  background: rgba(255, 255, 255, .86);
}
.landing-entry #bloqueIntroduccion div h2,
.landing-entry #bloqueIntroduccion div p,
.landing-entry #bloqueInfo p { color: #26746e; }
.landing-entry #bloqueIntroduccion {
  width: min(100%, 860px);
  height: auto;
  min-height: 100px;
  background: transparent;
  border: 0;
  box-shadow: none;
  justify-content: center;
}
.landing-entry #bloqueIntroduccion .ptt-logo {
  width: 90px;
  height: auto;
  flex-shrink: 0;
}
.landing-entry .consulta-inner {
  width: min(100%, 560px);
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  padding-bottom: 0;
  align-self: center;
}
.landing-entry #bloqueAccesoUsuario {
  float: none;
  width: 100%;
}
.landing-entry .containerLogin article {
  width: 100%;
  padding: 28px;
  border: 1px solid #c8d8de;
  border-top: 4px solid var(--placo-green-dark);
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(34, 52, 62, .12);
}
.landing-entry .containerLogin article h3 {
  color: var(--ink);
  text-align: center;
  margin: 0 0 24px;
  font-size: 22px;
}
.landing-entry .access-actions {
  display: grid;
  gap: 12px;
}
.landing-entry .access-actions .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  height: auto;
  padding: 14px 16px;
  margin: 0;
  border-radius: 4px;
  font: 700 13px/20px "Open Sans", Arial, sans-serif;
  letter-spacing: 0;
  transition: background-color .15s ease;
}
.landing-entry .access-actions .btn i {
  flex: 0 0 20px;
  font-size: 18px;
}
.landing-entry .access-actions .btn span {
  min-width: 0;
  overflow-wrap: anywhere;
}
.landing-entry .access-actions .btn-main { background: var(--brand-blue); }
.landing-entry .access-actions .btn-main:hover { background: #103574; }
.landing-entry .access-actions .btn-alt { background: #26746e; }
.landing-entry .access-actions .btn-alt:hover { background: #1c5e59; }
.landing-entry .access-actions .btn-ghost { color: var(--ink); background: #f5f8f9; }
.landing-entry .access-actions .btn-ghost:hover { background: #e6eef1; }
.landing-entry .access-actions .btn:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}
.landing-entry #bloqueInfo {
  width: 100%;
  float: none;
  padding: 0 8px;
  background: transparent;
  box-shadow: none;
}
.landing-entry #bloqueInfo #InfoLegal {
  font-size: 11px;
  line-height: 17px;
  color: #345062;
}
@media (max-width: 600px) {
  .landing-entry .legacy-topbar { padding: 0 10px; }
  .landing-entry .brand-left { gap: 8px; }
  .landing-entry .brand-left img,
  .landing-entry .brand-left .logo-placo-top { height: 36px; }
  .landing-entry .consulta-sistemas { padding: 20px 16px 28px; gap: 20px; }
  .landing-entry #bloqueIntroduccion { padding: 0; }
  .landing-entry #bloqueIntroduccion .ptt-logo { width: 64px; margin: 0 12px 0 0; }
  .landing-entry .containerLogin article { padding: 24px 16px; }
}
