/* DMAC Universal Authentication & Profile — v1.4.6d */
*{box-sizing:border-box}.dmac-auth-page{margin:0;min-height:100vh;color:#132e4e;font:14px/1.55 system-ui,-apple-system,"Segoe UI",sans-serif;background:#edf4fc}.dmac-auth-page .auth-stage{min-height:100svh;display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;padding:22px 16px;isolation:isolate}.dmac-auth-page .auth-backdrop{position:fixed;inset:0;z-index:-1;background:radial-gradient(circle at 84% 12%,#c9f3fb 0,transparent 38%),radial-gradient(circle at 0 100%,#d5e6fc 0,transparent 38%),linear-gradient(140deg,#edf4fb,#f8fbff)}.dmac-auth-page .auth-modal{width:min(100%,448px);background:#fff;overflow:hidden;border-radius:21px;border:1px solid #d7e6f4;box-shadow:0 24px 70px rgba(12,42,78,.14)}.dmac-auth-page .auth-top{color:#fff;background:linear-gradient(115deg,#0d2d50 0%,#104a70 75%,#067d9e 100%);padding:25px 30px 28px;position:relative}.dmac-auth-page .auth-top:after{content:"";width:170px;height:170px;border-radius:100%;border:1px solid #ffffff21;position:absolute;right:-35px;top:-65px;pointer-events:none}.dmac-auth-page .auth-brand{display:flex;align-items:center;gap:12px;font-size:19px;font-weight:800;letter-spacing:.025em}.dmac-auth-page .auth-brand img{width:40px;height:40px;object-fit:contain}.dmac-auth-page .auth-brand small{display:block;font-size:10px;font-weight:650;letter-spacing:.18em;color:#83e4fb}.dmac-auth-page .auth-eyebrow{font-size:10px;color:#9eeafa;font-weight:850;letter-spacing:.2em;margin-top:24px}.dmac-auth-page .auth-top h1{margin:6px 0 4px;font-size:27px;line-height:1.25;letter-spacing:-.04em}.dmac-auth-page .auth-top p{margin:0;color:#c0dff0;font-size:13px}.dmac-auth-page .auth-body{padding:25px 30px 23px}.dmac-auth-page .auth-account{display:flex;align-items:center;gap:12px;background:#f2f7fd;border:1px solid #e0edf8;border-radius:12px;padding:12px 13px;margin-bottom:18px}.dmac-auth-page .auth-account-icon{width:37px;height:37px;border-radius:11px;display:grid;place-items:center;background:#ddf8fb;color:#0084ad;font-size:18px;flex:none}.dmac-auth-page .auth-account span{display:block;color:#6886a2;font-size:11px}.dmac-auth-page .auth-account strong{display:block;font-size:14px;color:#132f52;overflow-wrap:anywhere}.dmac-auth-page label{font-weight:750;font-size:12.5px;color:#234a70;display:block;margin:14px 0 7px}.dmac-auth-page .auth-optional{font-weight:450;color:#7892aa}.dmac-auth-page .auth-field{position:relative;display:flex;align-items:center}.dmac-auth-page .auth-field>span{position:absolute;left:13px;font-size:17px;color:#0386b5;pointer-events:none}.dmac-auth-page .auth-field input{width:100%;height:46px;border:1px solid #cbdff1;border-radius:10px;background:#f9fbfe;padding:10px 56px 10px 38px;font:inherit;color:#123b60;outline:none}.dmac-auth-page .auth-field input:focus,.dmac-auth-page .auth-details input:focus{border-color:#009ec7;box-shadow:0 0 0 3px #00b5e620}.dmac-auth-page .auth-field input::placeholder,.dmac-auth-page .auth-details input::placeholder{color:#89a0b8}.dmac-auth-page .auth-eye{position:absolute;right:7px;border:0;background:transparent;padding:8px 9px;border-radius:8px;color:#26739a;cursor:pointer;font-weight:700;font-size:12px}.dmac-auth-page .auth-eye:hover{background:#e9f5fb}.dmac-auth-page .auth-submit{height:48px;width:100%;margin-top:21px;background:linear-gradient(100deg,#1278b4,#00a3c4);border:0;border-radius:10px;color:#fff;font-weight:800;font-size:14px;display:flex;align-items:center;justify-content:center;gap:8px;cursor:pointer;box-shadow:0 9px 18px #0c8eb024}.dmac-auth-page .auth-submit:hover{filter:brightness(1.04)}.dmac-auth-page .auth-foot{font-size:11px;text-align:center;color:#7991a8;margin:18px 0 0}.dmac-auth-page .auth-copyright{font-size:11px;text-align:center;color:#7890aa;margin-top:20px}.dmac-auth-page .auth-error{background:#fff0f2;border:1px solid #fac7cc;border-radius:10px;color:#a92545;padding:11px;font-size:12px}.dmac-auth-page .auth-details{margin-top:15px;padding:12px;border:1px dashed #c9deeb;border-radius:10px;background:#f7fbfd}.dmac-auth-page .auth-details summary{cursor:pointer;font-size:12px;font-weight:700;color:#165a7e}.dmac-auth-page .auth-details input{width:100%;height:42px;border:1px solid #ccdfef;border-radius:9px;background:#fff;padding:9px 10px;outline:none}.dmac-auth-page .auth-details p{font-size:11px;color:#7790a8;margin:8px 0 0}@media(max-width:500px){.dmac-auth-page .auth-stage{padding:14px}.dmac-auth-page .auth-modal{border-radius:16px}.dmac-auth-page .auth-top{padding:20px}.dmac-auth-page .auth-body{padding:20px}.dmac-auth-page .auth-top h1{font-size:24px}}
/* Exactly one DMAC account dropdown layout on every host and every role. */
.dmac-app .navbar-custom-menu .dropdown.user.user-menu{position:relative!important;float:none}
.dmac-app .navbar-custom-menu .dropdown.user.user-menu>.dropdown-menu{position:absolute!important;right:0!important;left:auto!important;transform:none!important;float:none!important;width:340px!important;min-width:0!important;max-width:calc(100vw - 18px)!important;padding:0!important;border:1px solid #d5e4f1!important;border-radius:18px!important;overflow:hidden!important;box-shadow:0 24px 54px #0d34542b!important;margin:7px 0 0!important;z-index:1080!important}
.dmac-app .navbar-custom-menu .dropdown.user.user-menu>.dropdown-menu .user-header{min-height:0!important;padding:20px 14px!important;background:linear-gradient(115deg,#173b66,#08728f)!important;text-align:center!important}
.dmac-app .navbar-custom-menu .dropdown.user.user-menu>.dropdown-menu .user-header img{display:block!important;width:82px!important;height:82px!important;max-width:82px!important;max-height:82px!important;object-fit:cover;border:3px solid #ffffff77;border-radius:50%;margin:0 auto 10px!important;float:none!important}
.dmac-app .navbar-custom-menu .dropdown.user.user-menu>.dropdown-menu .user-header p{margin:0!important;color:#fff;line-height:1.4}
.dmac-app .navbar-custom-menu .dropdown.user.user-menu>.dropdown-menu .user-header small{font-size:12px;overflow-wrap:anywhere}
.dmac-app .navbar-custom-menu .dropdown.user.user-menu>.dropdown-menu .user-footer{display:flex!important;align-items:center;gap:10px;padding:14px!important;margin:0!important;float:none!important;background:#f8fbff!important}
.dmac-app .navbar-custom-menu .dropdown.user.user-menu>.dropdown-menu .user-footer>div{flex:1 1 0!important;width:calc(50% - 5px)!important;max-width:none!important;padding:0!important;margin:0!important;float:none!important;min-width:0!important}
.dmac-app .navbar-custom-menu .dropdown.user.user-menu>.dropdown-menu .user-footer form{margin:0!important}
.dmac-app .navbar-custom-menu .dropdown.user.user-menu>.dropdown-menu .user-footer button{width:100%!important;min-height:44px!important;border:0!important;background:#1175ad!important;color:#fff!important;font-size:13px!important;font-weight:700!important;border-radius:10px!important;padding:8px 5px!important;white-space:nowrap!important}
.dmac-app .navbar-custom-menu .dropdown.user.user-menu>.dropdown-menu .user-footer button:hover{background:#0b587f!important}
.dmac-app .navbar-custom-menu .dropdown.user.user-menu .dropdown-toggle .user-image{flex:none;object-fit:cover}
@media(max-width:600px){.dmac-app .navbar-custom-menu .dropdown.user.user-menu>.dropdown-menu{width:min(340px,calc(100vw - 18px))!important;right:0!important;left:auto!important;margin-top:5px!important}.dmac-app .navbar-custom-menu .dropdown.user.user-menu>.dropdown-menu .user-header{padding:17px 13px!important}}

/* DMAC v1.4.6g — Premium Login Visual Polish. CSS only; no auth/session behavior changes. */
.dmac-auth-page {
  color: #102d49;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
  background: #eff5fb;
}
.dmac-auth-page .auth-stage {
  padding: 30px 18px;
  min-height: 100vh;
  min-height: 100svh;
}
.dmac-auth-page .auth-backdrop {
  background:
    radial-gradient(ellipse 70% 56% at 0% 0%, rgba(124,210,235,.26) 0%, transparent 70%),
    radial-gradient(ellipse 62% 65% at 100% 100%, rgba(124,166,231,.18) 0%, transparent 73%),
    linear-gradient(135deg, #edf5fb 0%, #f8fbfe 60%, #eef5fd 100%);
}
.dmac-auth-page .auth-modal {
  width: min(100%, 476px);
  border: 1px solid rgba(203,222,235,.88);
  border-radius: 24px;
  box-shadow: 0 26px 80px rgba(9,38,67,.14), 0 4px 18px rgba(9,38,67,.04);
}
.dmac-auth-page .auth-top {
  padding: 31px 37px 33px;
  background:
    radial-gradient(circle at 105% -10%, rgba(46,174,209,.4) 0%, transparent 44%),
    linear-gradient(120deg,#0b223c 0%,#103c5f 61%,#116585 100%);
  isolation: isolate;
}
.dmac-auth-page .auth-top::before {
  content:"";
  position:absolute;
  inset:auto 0 0;
  height:3px;
  background:linear-gradient(90deg,#41d3eb,#10acd2 55%,#5ac8e5);
  opacity:.86;
}
.dmac-auth-page .auth-top::after {
  width: 220px;
  height: 220px;
  top:-115px;
  right:-73px;
  border:1px solid rgba(158,231,248,.15);
  box-shadow:0 0 0 36px rgba(158,231,248,.035),0 0 0 75px rgba(158,231,248,.022);
  z-index:-1;
}
.dmac-auth-page .auth-brand {
  font-size:22px;
  line-height:1.2;
  letter-spacing:.035em;
  font-weight:800;
  gap:14px;
  color:#fff;
}
.dmac-auth-page .auth-brand img {
  display:block;
  width:46px;
  height:46px;
  flex:none;
  object-fit:contain;
  filter:brightness(0) invert(1);
  opacity:.97;
}
.dmac-auth-page .auth-brand small {
  padding-top:5px;
  letter-spacing:.21em;
  font-size:10px;
  font-weight:720;
  color:#8be9f8;
}
.dmac-auth-page .auth-eyebrow {
  display:inline-block;
  width:max-content;
  margin-top:34px;
  padding:6px 9px;
  border-radius:6px;
  background:rgba(97,197,228,.12);
  border:1px solid rgba(132,223,244,.19);
  font-size:10px;
  line-height:1;
  letter-spacing:.2em;
  color:#a6effd;
}
.dmac-auth-page .auth-top h1 {
  margin:14px 0 8px;
  font-size:32px;
  letter-spacing:-.055em;
  font-weight:770;
  line-height:1.16;
}
.dmac-auth-page .auth-top p {
  max-width:300px;
  line-height:1.55;
  font-size:13px;
  color:#c4e2ef;
}
.dmac-auth-page .auth-body {padding:31px 37px 30px;}
.dmac-auth-page .auth-account {
  padding:12px 14px;
  gap:13px;
  margin-bottom:24px;
  border:1px solid #dceaf3;
  background:linear-gradient(110deg,#f1f7fc 0%,#f9fbff 100%);
  border-radius:13px;
}
.dmac-auth-page .auth-account-icon {
  width:43px;
  height:43px;
  border-radius:12px;
  background:#dff4f8;
  font-size:0;
  color:transparent;
}
.dmac-auth-page .auth-account-icon::before {
  content:"";
  display:block;
  width:22px;
  height:22px;
  background-position:center;
  background-repeat:no-repeat;
  background-size:contain;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a819d' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21h18M5 21V7l7-4 7 4v14M9 10v2m6-2v2M9 16v2m6-2v2'/%3E%3C/svg%3E");
}
.dmac-auth-page .auth-account span {font-size:11px;color:#6d859a;font-weight:600;}
.dmac-auth-page .auth-account strong {font-size:15px;font-weight:800;color:#143453;}
.dmac-auth-page label {
  font-size:12.5px;
  margin:17px 0 8px;
  font-weight:720;
  color:#183b59;
}
.dmac-auth-page .auth-field>span {
  display:block;
  width:20px;
  height:20px;
  left:16px;
  top:50%;
  transform:translateY(-50%);
  background-position:center;
  background-repeat:no-repeat;
  background-size:contain;
  font-size:0;
  color:transparent;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23557d9b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c0-4.5 3.4-7 8-7s8 2.5 8 7'/%3E%3C/svg%3E");
}
.dmac-auth-page .auth-field:has(input[type="password"])>span,
.dmac-auth-page .auth-field:has(#dmac_auth_password)>span {
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23557d9b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='10' width='14' height='11' rx='2'/%3E%3Cpath d='M8 10V7a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E");
}
.dmac-auth-page .auth-field input {
  height:52px;
  border:1px solid #cfdfec;
  background:#fbfdff;
  border-radius:12px;
  padding:12px 60px 12px 46px;
  box-shadow:0 1px 1px rgba(17,54,86,.015);
  font-size:13.5px;
  transition:border-color .16s ease, box-shadow .16s ease, background .16s ease;
}
.dmac-auth-page .auth-field input:hover {background:#fff;border-color:#aacbdf;}
.dmac-auth-page .auth-field input:focus {
  background:#fff;
  border-color:#12a4c3;
  box-shadow:0 0 0 4px rgba(22,179,206,.12);
}
.dmac-auth-page .auth-field input::placeholder {color:#8aa0b6;}
.dmac-auth-page .auth-eye {
  right:8px;
  min-width:46px;
  min-height:34px;
  color:#087ca2;
  font-weight:750;
  font-size:12px;
}
.dmac-auth-page .auth-eye:focus-visible,
.dmac-auth-page .auth-submit:focus-visible {outline:3px solid #68d8ec;outline-offset:3px;}
.dmac-auth-page .auth-submit {
  margin-top:27px;
  height:53px;
  border-radius:12px;
  background:linear-gradient(100deg,#0a80b3 0%,#08a9c3 100%);
  box-shadow:0 12px 23px rgba(10,130,174,.2);
  font-size:14.5px;
  letter-spacing:.005em;
  transition:transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.dmac-auth-page .auth-submit:hover {filter:brightness(1.04);transform:translateY(-1px);box-shadow:0 16px 28px rgba(10,130,174,.24);}
.dmac-auth-page .auth-foot {font-size:11px;line-height:1.7;color:#728da3;margin-top:22px;}
.dmac-auth-page .auth-copyright {color:#819bb0;font-size:10.5px;margin-top:21px;letter-spacing:.01em;}
.dmac-auth-page .auth-details {border:1px solid #d6e7f0;background:#f8fbfe;border-radius:12px;}
.dmac-auth-page .auth-details summary {font-size:12px;color:#1e6484;}
@media(min-width:980px) {
  .dmac-auth-page .auth-modal {
    width:min(100%,860px);
    min-height:508px;
    display:grid;
    grid-template-columns:minmax(0, .95fr) minmax(0, 1.05fr);
    border-radius:26px;
  }
  .dmac-auth-page .auth-top {display:flex;flex-direction:column;align-items:flex-start;padding:47px 42px 42px;}
  .dmac-auth-page .auth-brand {margin-bottom:auto;}
  .dmac-auth-page .auth-eyebrow {margin-top:auto;}
  .dmac-auth-page .auth-top h1 {font-size:35px;line-height:1.16;}
  .dmac-auth-page .auth-body {align-self:center;padding:39px 43px;}
  .dmac-auth-page .auth-account {margin-bottom:25px;}
}
@media(max-width:500px) {
  .dmac-auth-page .auth-stage {padding:14px 13px;}
  .dmac-auth-page .auth-modal {border-radius:19px;}
  .dmac-auth-page .auth-top {padding:25px 25px 26px;}
  .dmac-auth-page .auth-brand {font-size:20px;gap:11px;}
  .dmac-auth-page .auth-brand img {width:42px;height:42px;}
  .dmac-auth-page .auth-top h1 {font-size:27px;}
  .dmac-auth-page .auth-eyebrow {margin-top:22px;}
  .dmac-auth-page .auth-body {padding:23px 24px 25px;}
  .dmac-auth-page .auth-account {margin-bottom:18px;}
  .dmac-auth-page .auth-submit {margin-top:24px;}
}
@media(max-width:350px) {
  .dmac-auth-page .auth-top {padding:21px;}
  .dmac-auth-page .auth-body {padding:20px;}
  .dmac-auth-page .auth-top h1 {font-size:25px;}
}
@media(prefers-reduced-motion:reduce) {
  .dmac-auth-page .auth-field input,.dmac-auth-page .auth-submit {transition:none;}
}
