:root {
  --mo-ink: #152b42;
  --mo-muted: #62758a;
  --mo-blue: #287844;
  --mo-blue-dark: #1b5b34;
  --mo-teal: #168b83;
  --mo-bg: #f2f6fb;
  --mo-line: #dce5ef;
  --mo-card: #ffffff;
  --mo-shadow: 0 18px 50px rgba(21, 43, 66, .09);
  --mo-radius: 18px;
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--mo-bg); }
body {
  min-height: 100vh;
  margin: 0;
  color: var(--mo-ink);
  background: radial-gradient(ellipse at 88% 0, rgba(13, 141, 145, .09), transparent 34%), var(--mo-bg);
  font: 15px/1.55 Inter, "Segoe UI", Roboto, Arial, sans-serif;
}
a { color: var(--mo-blue); text-decoration: none; }
a:hover { color: var(--mo-blue-dark); }
.ideastm { width: min(1180px, calc(100% - 48px)); max-width: 1180px; }
.ideastm.mb { margin-bottom: 42px; clear: both; }
.ideastm .heading {
  position: relative !important;
  top: auto !important;
  display: block;
  width: 100%;
  padding: 18px 26px 20px;
  background: rgba(255, 255, 255, .97) !important;
  border: 1px solid rgba(220, 229, 239, .9);
  border-top: 0;
  border-radius: 0 0 22px 22px;
  box-shadow: 0 8px 26px rgba(21, 43, 66, .06);
  z-index: 10;
}
.ideastm .heading > .itm_8 { width: 290px; margin: 0; }
.ideastm .heading > .itm_15 { width: auto; left: auto; margin: 0; float: right; }
.ideastm .heading .logo { margin: 0; max-width: 100%; }
.ideastm .heading .slogan,
.ideastm .heading .sloganb {
  width: 100%;
  left: auto;
  margin: 14px 0 0;
  padding: 0;
  color: var(--mo-muted);
  font-size: 14px;
  line-height: 1.45;
}
.ideastm .heading .slogan { color: var(--mo-ink); font-weight: 600; }
.ideastm .shead { display: block; height: 24px; }
.ideastm .topnav { margin: 4px 0 0; color: var(--mo-muted); font-size: 13px; line-height: 1.5; }
.ideastm .topnav .txt { float: none; display: inline; }
.ideastm .topnav a.signout,
.ideastm #signin_submit,
.ideastm input[type="submit"],
.ideastm input[type="button"],
.ideastm button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--mo-blue), var(--mo-teal)) !important;
  box-shadow: 0 7px 16px rgba(23, 105, 224, .2);
  color: #fff !important;
  font: 600 14px/1.2 Inter, "Segoe UI", Roboto, Arial, sans-serif;
  text-shadow: none !important;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}
.ideastm .topnav a.signout:hover,
.ideastm #signin_submit:hover,
.ideastm input[type="submit"]:hover,
.ideastm input[type="button"]:hover,
.ideastm button:hover {
  color: #fff !important;
  filter: brightness(.97);
  box-shadow: 0 10px 22px rgba(23, 105, 224, .25);
  transform: translateY(-1px);
}
.ideastm .statusb {
  position: static;
  float: right;
  width: auto;
  margin: 10px 0 0 18px;
  padding: 9px 14px;
  border: 1px solid var(--mo-line);
  border-radius: 999px;
  background: #f7fafc;
  color: var(--mo-muted);
  font: 500 13px/1.35 Inter, "Segoe UI", Roboto, Arial, sans-serif;
}
.ideastm .statusb b { color: var(--mo-ink); }
#menu { margin: 18px 0 0; text-align: left; }
#menu > ul {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: left;
}
#menu ul li { position: relative; float: none !important; display: block; margin: 0; text-align: left; }
#menu ul li a {
  display: block;
  padding: 10px 13px;
  border-radius: 9px;
  color: var(--mo-muted);
  font: 600 13px/1.3 Inter, "Segoe UI", Roboto, Arial, sans-serif;
  transition: background .15s ease, color .15s ease;
}
#menu ul li a:hover,
#menu ul li:hover > a { background: #edf4ff; color: var(--mo-blue-dark); }
#menu ul ul {
  position: absolute;
  top: calc(100% + 3px);
  left: 0;
  z-index: 30;
  display: none;
  min-width: 220px;
  margin: 0;
  padding: 7px;
  border: 1px solid var(--mo-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--mo-shadow);
  list-style: none;
  text-align: left;
}
#menu ul li:hover > ul,
#menu ul li:focus-within > ul { display: block; }
#menu ul ul li { width: 100%; }
#menu ul ul li a { padding: 10px 12px; white-space: nowrap; }
.ideastm > .itm_24 {
  width: 100%;
  margin: 0;
  padding: 28px;
  border: 1px solid rgba(220, 229, 239, .9);
  border-radius: var(--mo-radius);
  background: var(--mo-card);
  box-shadow: var(--mo-shadow);
}
.ideastm .itm_24 h1,
.ideastm .itm_24 h2,
.ideastm .itm_24 h3 { color: var(--mo-ink); font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif; }
.ideastm .itm_24 h1 { margin: 0 0 16px; font-size: clamp(24px, 3vw, 34px); line-height: 1.2; }
.ideastm .itm_24 h2 { margin: 0 0 14px; font-size: 22px; }
.ideastm .itm_24 h3 { font-size: 17px; font-weight: 650; }
.ideastm p { color: var(--mo-muted); font: inherit; }
.ideastm table { max-width: 100%; border-color: var(--mo-line); border-collapse: collapse; }
.ideastm .itm_24 > table { width: 100%; }
.ideastm .itm_24 table th {
  padding: 12px 14px;
  border: 1px solid var(--mo-line);
  background: #f3f7fb;
  color: var(--mo-ink);
  font: 650 13px/1.4 Inter, "Segoe UI", Roboto, Arial, sans-serif;
  text-align: left;
}
.ideastm .itm_24 table td { padding: 11px 14px; border: 1px solid var(--mo-line); color: #34495e; }
.ideastm input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
.ideastm select,
.ideastm textarea {
  max-width: 100%;
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid #cbd7e4;
  border-radius: 9px;
  background: #fff;
  color: var(--mo-ink);
  font: 14px/1.4 Inter, "Segoe UI", Roboto, Arial, sans-serif;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.ideastm textarea { min-height: 100px; }
.ideastm input:focus,
.ideastm select:focus,
.ideastm textarea:focus {
  border-color: var(--mo-blue);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(23, 105, 224, .14);
}
.ideastm input[type="checkbox"], .ideastm input[type="radio"] { accent-color: var(--mo-blue); }
.ideastm .registrate {
  width: 100%;
  margin: 24px 0 0;
  padding: 30px;
  border: 1px solid var(--mo-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--mo-shadow);
}
.ideastm .registrate fieldset { margin: 0; padding: 0; border: 0; }
.ideastm .registrate #topnav { margin: 0 0 20px; color: var(--mo-ink); font-size: 22px; font-weight: 700; }
.ideastm .registrate form p { margin: 0 0 14px; }
.ideastm .registrate form br { display: none; }
.ideastm .registrate form label { display: block; margin: 0 0 6px; color: var(--mo-ink); font-size: 13px; font-weight: 650; }
.ideastm .registrate form input[type="text"],
.ideastm .registrate form input[type="password"] { width: 100%; min-height: 48px; }
.ideastm .registrate #signin_submit { width: 100%; min-height: 48px; margin: 4px 0 8px; font-size: 15px; }
.ideastm .registrate .forgot { margin: 12px 0 0; color: var(--mo-muted); font-size: 13px; line-height: 1.5; }
.ideastm .registrate .status { position: static; width: auto; margin: 0 0 14px; color: #a12a36; font: 600 13px/1.5 Inter, "Segoe UI", Roboto, Arial, sans-serif; text-align: left; }
.ideastm .fuente {
  padding: 24px 0 0;
  color: var(--mo-ink);
  font: 750 clamp(30px, 4vw, 48px)/1.12 Inter, "Segoe UI", Roboto, Arial, sans-serif;
  letter-spacing: -.035em;
}
.ideastm .fuente > span { display: none; }
.ideastm .fuente > div { max-width: 560px; margin-top: 12px; color: var(--mo-muted); font-size: 17px; font-weight: 450; letter-spacing: 0; line-height: 1.5; }
.ideastm .fuente_welcome { color: var(--mo-ink); font: 750 clamp(28px, 4vw, 42px)/1.15 Inter, "Segoe UI", Roboto, Arial, sans-serif; letter-spacing: -.03em; }
.ideastm .fuente_welcome > div { margin-top: 8px; color: var(--mo-muted); font-size: 16px; font-weight: 450; letter-spacing: 0; }
.ideastm .msj { max-width: 760px; margin: 18px 0; color: var(--mo-muted); font-size: 16px; line-height: 1.8; }
.ideastm .links .email { margin-top: 20px; padding: 14px 16px; border-radius: 12px; background: #f3f7fb; color: var(--mo-muted); }
body .bar {
  position: relative;
  width: 100%;
  height: auto;
  margin-top: 34px;
  padding: 18px 0;
  border: 0;
  border-top: 1px solid var(--mo-line);
  background: transparent;
  color: var(--mo-muted);
  font: 12px/1.5 Inter, "Segoe UI", Roboto, Arial, sans-serif;
}
body .bar .copy,
body .bar .foot { float: none; color: var(--mo-muted); font: inherit; }
body .bar .foot { margin-top: 6px; }
body .bar .foot ul { position: static; display: flex; flex-wrap: wrap; gap: 8px; width: auto; margin: 0; padding: 0; text-align: left; }
body .bar .foot ul li { float: none; }
body .bar .foot ul li a { margin: 0; padding: 0; color: var(--mo-muted); }
body .bar .foot ul li a:hover { color: var(--mo-blue); }
::selection { background: rgba(23, 105, 224, .18); }
:focus-visible { outline: 3px solid rgba(23, 105, 224, .45); outline-offset: 2px; }

.ideastm.mb > .itm_14 { width: 54%; margin: 28px 2% 0 0; }
.ideastm.mb > .itm_10 { width: 42%; margin: 16px 0 0; }
@media (max-width: 820px) {
  .ideastm { width: calc(100% - 28px); }
  .ideastm .heading { padding: 16px 18px; border-radius: 0 0 16px 16px; }
  .ideastm .heading > .itm_8 { width: 100%; float: none; }
  .ideastm .heading > .itm_15 { width: 100%; float: none; }
  .ideastm .heading .statusb { float: none; margin: 10px 0 0; display: inline-block; }
  #menu { margin-top: 12px; }
  #menu > ul { gap: 3px; }
  #menu ul li a { padding: 9px 10px; }
  .ideastm.mb > .itm_14,
  .ideastm.mb > .itm_10 { float: none; width: 100%; margin: 0; }
  .ideastm.mb > .itm_14 { padding: 0 8px; }
  .ideastm .registrate { margin-top: 20px; padding: 24px; }
  .ideastm > .itm_24 { padding: 20px; }
  .ideastm .itm_24 table { display: block; overflow-x: auto; white-space: nowrap; }
}

@media (max-width: 520px) {
  .ideastm { width: calc(100% - 20px); }
  .ideastm .heading { padding: 14px; }
  .ideastm .heading .logo { transform: scale(.86); transform-origin: left center; }
  .ideastm .fuente { padding-top: 16px; }
  .ideastm .fuente > div { font-size: 15px; }
  .ideastm .registrate { padding: 20px; border-radius: 16px; }
  .ideastm > .itm_24 { padding: 16px; }
  #menu > ul { align-items: stretch; }
  #menu > ul > li { flex: 1 1 42%; }
  #menu ul li a { padding: 9px 8px; }
  #menu ul ul { position: static; min-width: 0; box-shadow: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

.ideastm #menu ul li > span { display: none; }
.ideastm #topnav a.signout { display: inline-flex; background: linear-gradient(135deg, var(--mo-blue), var(--mo-teal)) !important; }
.ideastm #topnav a.signin { width: auto; min-height: 40px; background: linear-gradient(135deg, var(--mo-blue), var(--mo-teal)) !important; border-radius: 9px; color: #fff; }


/* UAT header alignment and visible session control */
.ideastm .heading {
  display: grid;
  grid-template-columns: minmax(264px, 1fr) auto;
  align-items: center;
  column-gap: 24px;
}
.ideastm .heading > .itm_8 {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  align-items: center;
  width: auto;
  min-height: 76px;
}
.ideastm .heading .logo {
  flex: 0 0 264px;
  width: 264px;
  height: 60px;
  margin: 0;
  background-position: 0 0;
}
.ideastm .heading > .itm_15 {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  width: auto;
  float: none;
  left: auto;
  margin: 0;
  text-align: right;
}
.ideastm .heading > .cl { display: none; }
.ideastm .heading > .sloganb {
  grid-column: 1 / -1;
  grid-row: 2;
  margin-top: 12px;
}
.ideastm #topnav a.signout {
  box-sizing: border-box;
  width: auto;
  height: auto;
  min-width: 128px;
  min-height: 40px;
  margin: 0 0 0 12px;
  padding: 10px 14px;
  float: none;
  align-items: center;
  text-align: center;
}
.ideastm #topnav a.signout span {
  display: inline-block;
  padding: 0;
  background: none;
  color: #fff;
  line-height: 1.2;
  white-space: nowrap;
}
@media (max-width: 820px) {
  .ideastm .heading {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 8px;
  }
  .ideastm .heading > .itm_8 { grid-column: 1; grid-row: 1; }
  .ideastm .heading > .itm_15 {
    grid-column: 1;
    grid-row: 2;
    text-align: left;
  }
  .ideastm .heading > .sloganb { grid-column: 1; grid-row: 3; }
}


/* UAT directory page: restore table contrast and full action labels */
.ideastm .topnav {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
}
.ideastm #topnav a.signout { margin: 0; }
.ideastm .itm_24 form[name="fm_phonebook_24"] input[type="button"] {
  width: auto;
  min-width: 0;
  white-space: nowrap;
  margin: 0 8px 10px 0;
}
.ideastm .itm_24 table.sortable td.box_title {
  padding: 12px 14px;
  border: 1px solid var(--mo-line);
  background: #eaf1f8;
  color: #243b53;
  font: 650 13px/1.4 Inter, "Segoe UI", Roboto, Arial, sans-serif;
  text-align: left;
}
.ideastm .itm_24 table.sortable td.box_text_odd,
.ideastm .itm_24 table.sortable td.box_text_even {
  padding: 12px 14px;
  border: 1px solid var(--mo-line);
  background: #fff;
  color: #34495e;
  font: 13px/1.45 Inter, "Segoe UI", Roboto, Arial, sans-serif;
}
.ideastm .itm_24 table.sortable tr:hover td.box_text_odd,
.ideastm .itm_24 table.sortable tr:hover td.box_text_even {
  background: #f1f6fc;
}
@media (max-width: 820px) {
  .ideastm .topnav {
    flex-direction: row-reverse;
    justify-content: flex-end;
    flex-wrap: wrap;
  }
}

/* UAT brand mark and compact account header */
.ideastm .heading { padding: 10px 22px 12px; }
.ideastm .heading > .itm_8 { min-height: 62px; }
.ideastm .heading .mo-brand {
  display: block;
  width: 238px;
  max-width: 100%;
  margin: 0;
  line-height: 0;
}
.ideastm .heading .mo-brand img {
  display: block;
  width: 100%;
  height: auto;
}
.ideastm .heading > .itm_15 { align-self: center; }
.ideastm .topnav {
  flex-direction: row;
  justify-content: flex-end;
  gap: 14px;
}
.ideastm .statusb { margin-top: 7px; padding: 7px 12px; }
.ideastm .heading .sloganb { margin-top: 7px; }
#menu { margin-top: 7px; }
#menu ul li a { padding-top: 8px; padding-bottom: 8px; }
@media (max-width: 820px) {
  .ideastm .heading { padding: 12px 16px; }
  .ideastm .heading .mo-brand { width: 226px; }
  .ideastm .heading > .itm_15 { align-self: start; }
}


/* UAT palette and account controls */
.ideastm .topnav {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: end;
  row-gap: 5px;
  flex-direction: initial;
  gap: 5px;
}
.ideastm #topnav a.signout {
  min-width: 0;
  min-height: 32px;
  padding: 7px 12px;
  font-size: 12px;
}
.ideastm .heading { padding-top: 8px; padding-bottom: 9px; }
.ideastm .heading > .itm_8 { min-height: 56px; }
.ideastm .heading .mo-brand { width: 238px; }
.ideastm .heading .sloganb { margin-top: 5px; }
#menu { margin-top: 5px; }
#menu > ul > li:first-child { display: none; }
#menu > ul > li:nth-child(3) { order: -1; }
#menu ul li a { padding-top: 7px; padding-bottom: 7px; }
@media (max-width: 820px) {
  .ideastm .topnav {
    justify-items: start;
  }
}

/* UAT login page */
.login-page { width: min(1120px, calc(100% - 48px)); }
.login-page .heading {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  padding: 9px 22px;
}
.login-page .heading > .itm_8 { grid-column: 1; grid-row: 1; min-height: 56px; }
.login-page .heading > .slogan {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  width: auto;
  margin: 0;
  text-align: right;
  color: var(--mo-muted);
  font-size: 14px;
  font-weight: 600;
}
.login-page .heading > .cl { display: none; }
.login-page .shead { height: 12px; }
.login-page > .itm_14 { width: 52%; margin: 38px 2% 34px 0; }
.login-page > .itm_10 { width: 44%; margin: 30px 0 34px; }
.login-page .fuente {
  padding: 0;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.12;
}
.login-page .fuente > div { max-width: 580px; margin-top: 12px; font-size: 18px; }
.login-page .login-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 26px 0 18px;
}
.login-page .login-highlights span {
  padding: 8px 12px;
  border: 1px solid var(--mo-line);
  border-radius: 999px;
  background: rgba(255,255,255,.8);
  color: var(--mo-muted);
  font-size: 12px;
  font-weight: 600;
}
.login-page .links .email { display: inline-block; margin-top: 6px; }
.login-page .registrate {
  margin: 0;
  padding: 34px;
  border-color: rgba(220, 229, 239, .9);
  border-radius: 20px;
  box-shadow: 0 20px 54px rgba(21, 43, 66, .11);
}
.login-page .registrate #topnav {
  margin: 0 0 22px;
  color: var(--mo-ink);
  font-size: 23px;
}
.login-page .registrate form p { margin-bottom: 16px; }
.login-page .registrate form input[type="text"],
.login-page .registrate form input[type="password"] { min-height: 48px; }
.login-page .registrate .forgot { margin-top: 18px; line-height: 1.6; }
.login-page .registrate .forgot a { color: var(--mo-blue-dark); font-weight: 650; }
@media (max-width: 820px) {
  .login-page { width: calc(100% - 28px); }
  .login-page .heading { grid-template-columns: 1fr; row-gap: 6px; }
  .login-page .heading > .slogan {
    grid-column: 1;
    grid-row: 2;
    text-align: left;
    padding: 0 0 4px;
  }
  .login-page > .itm_14 { width: 100%; margin: 28px 0 22px; }
  .login-page > .itm_10 { width: 100%; margin: 0 0 28px; }
  .login-page .registrate { padding: 26px; }
}
@media (max-width: 520px) {
  .login-page { width: calc(100% - 20px); }
  .login-page .heading { padding: 12px 14px; }
  .login-page .fuente { font-size: 34px; }
  .login-page .fuente > div { font-size: 16px; }
  .login-page .login-highlights { gap: 7px; margin: 20px 0 14px; }
  .login-page .login-highlights span { padding: 7px 9px; }
  .login-page .registrate { padding: 22px; }
}
