/* CRM shortcut + mobile navigation. */
.dj-crm-access,.dj-crm-access *,.dj-crm-mobile-nav,.dj-crm-mobile-nav *{box-sizing:border-box}
.dj-crm-access{position:relative;display:inline-block;max-width:100%;font-family:inherit;line-height:1.4;color:#003376}
.dj-crm-access details,.dj-crm-nav-details{position:relative}
.dj-crm-access-trigger,.dj-crm-nav-item-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:36px;max-width:100%;border:0;border-radius:999px;background:#003376;color:#fff!important;padding:8px 14px;font-size:13px;font-weight:700;text-decoration:none!important;cursor:pointer;list-style:none;white-space:nowrap;box-shadow:0 6px 16px rgba(0,51,118,.13)}
.dj-crm-access summary::-webkit-details-marker,.dj-crm-nav-details summary::-webkit-details-marker{display:none}
.dj-crm-access-trigger:hover,.dj-crm-access-trigger:focus-visible,.dj-crm-nav-item-button:hover,.dj-crm-nav-item-button:focus-visible{background:#0d87d8;color:#fff!important}
.dj-crm-access-symbol,.dj-crm-nav-icon{font-size:14px;line-height:1;display:inline-flex;align-items:center;justify-content:center}
.dj-crm-access-symbol-svg svg,.dj-crm-nav-icon svg{width:16px;height:16px;display:block}
.dj-crm-access-panel{position:absolute;top:calc(100% + 10px);right:0;z-index:100000;width:min(340px,calc(100vw - 24px));max-height:min(78vh,650px);overflow-y:auto;padding:22px;border-radius:16px;background:#fff;color:#003376;box-shadow:0 15px 44px rgba(0,29,77,.25);border:1px solid #dce7f0;text-align:left;font-size:14px}
.dj-crm-access-panel::before{content:'';position:absolute;right:20px;top:-5px;width:10px;height:10px;background:#fff;transform:rotate(45deg);border-left:1px solid #dce7f0;border-top:1px solid #dce7f0}
.dj-crm-access-panel strong{display:block;font-size:17px;line-height:1.35;margin:0 0 8px}
.dj-crm-access-note{color:#496177;font-size:12px;line-height:1.5;margin:0 0 16px}
.dj-crm-access form,.dj-crm-access form p{margin:0 0 12px}
.dj-crm-access form label{display:block;margin-bottom:5px;color:#003376;font-size:13px;font-weight:650}
.dj-crm-access form .input{display:block;width:100%;max-width:100%;min-height:42px;border:1px solid #c8d8e7;border-radius:9px;background:#fff;color:#172b44;padding:9px 11px;font-size:16px;box-shadow:none}
.dj-crm-access form .input:focus{border-color:#0d87d8;outline:2px solid rgba(13,135,216,.2)}
.dj-crm-access form .login-remember label{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:400}
.dj-crm-access form .login-remember input{margin:0}
.dj-crm-access form input[type=submit]{display:block;width:100%;background:#0d87d8;color:#fff;border:0;border-radius:9px;min-height:42px;cursor:pointer;font-weight:700;font-size:14px}
.dj-crm-access form input[type=submit]:hover{background:#003376}
.dj-crm-access-forgot{display:inline-block;margin-top:2px;font-size:13px;color:#006bb4!important;text-decoration:underline}
.dj-crm-access-inline{display:block;width:min(100%,430px);border:1px solid #dce7f0;border-radius:16px;padding:22px;background:#fff;box-shadow:0 7px 28px rgba(0,51,118,.08)}
.dj-crm-access-inline h2{font-size:21px;margin:0 0 8px;color:#003376}
.dj-crm-access-unauthorized{display:inline-flex;flex-wrap:wrap;gap:6px;font-size:13px;align-items:center}
.dj-crm-access-unauthorized a{color:#006bb4}
.dj-crm-access-header .dj-crm-access-trigger,.dj-crm-access-ready .dj-crm-access-trigger{border-radius:14px;min-height:38px;padding:8px 15px;background:#003376}
.dj-crm-mobile-nav{display:none}
.dj-crm-mobile-nav-inner{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;align-items:stretch;width:100%}
.dj-crm-nav-item,.dj-crm-nav-item-button{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:6px;min-height:62px;padding:8px 6px;border-radius:16px;background:#fff;color:#003376!important;text-decoration:none!important;border:1px solid rgba(0,51,118,.08);box-shadow:0 4px 18px rgba(0,37,86,.08)}
.dj-crm-nav-item:hover,.dj-crm-nav-item:focus-visible,.dj-crm-nav-item-button:hover,.dj-crm-nav-item-button:focus-visible{background:#eef7fe;color:#003376!important}
.dj-crm-nav-item .dj-crm-nav-icon,.dj-crm-nav-item-button .dj-crm-nav-icon{width:24px;height:24px;color:#0a5fc6}
.dj-crm-nav-item .dj-crm-nav-icon svg,.dj-crm-nav-item-button .dj-crm-nav-icon svg{width:24px;height:24px}
.dj-crm-nav-label{font-size:11px;line-height:1.2;font-weight:700}
/* The Agent button uses the same neutral card as all other mobile links. */
.dj-crm-nav-item-primary,.dj-crm-nav-item-primary .dj-crm-nav-icon,.dj-crm-nav-item-primary .dj-crm-nav-label{background:transparent;color:inherit!important;border-color:inherit}
.dj-crm-nav-item-primary.dj-crm-nav-item,.dj-crm-nav-details.dj-crm-nav-item-primary > .dj-crm-nav-item-button{background:#fff;color:#003376!important;border:1px solid rgba(0,51,118,.08);box-shadow:0 4px 18px rgba(0,37,86,.08)}
.dj-crm-nav-item-primary.dj-crm-nav-item:hover,.dj-crm-nav-item-primary.dj-crm-nav-item:focus-visible,.dj-crm-nav-details.dj-crm-nav-item-primary > .dj-crm-nav-item-button:hover,.dj-crm-nav-details.dj-crm-nav-item-primary > .dj-crm-nav-item-button:focus-visible{background:#eef7fe!important;color:#003376!important}
.dj-crm-nav-item-primary .dj-crm-nav-icon,.dj-crm-nav-item-primary .dj-crm-nav-icon svg{color:#0a5fc6!important}
.dj-crm-nav-item-primary .dj-crm-nav-label{color:#003376!important}
/* A <details> wrapper should occupy exactly one grid cell, like an <a>. */
.dj-crm-mobile-nav-inner > .dj-crm-nav-details{width:100%;min-width:0;height:100%;align-self:stretch}
.dj-crm-mobile-nav-inner > .dj-crm-nav-details > .dj-crm-nav-item-button{display:flex;width:100%;height:100%;min-height:62px;max-width:100%;padding:8px 6px;border-radius:16px;flex-direction:column;gap:6px;white-space:normal;font-size:inherit;line-height:normal;box-shadow:0 4px 18px rgba(0,37,86,.08)}
.dj-crm-mobile-nav-inner > .dj-crm-nav-details .dj-crm-nav-icon{width:24px;height:24px;color:#0a5fc6}
.dj-crm-mobile-nav-inner > .dj-crm-nav-details .dj-crm-nav-icon svg{width:24px;height:24px}
.dj-crm-mobile-nav-inner > .dj-crm-nav-details .dj-crm-nav-label{font-size:11px;line-height:1.2;font-weight:700;color:#003376}
.dj-crm-nav-item-secondary{border-color:rgba(13,135,216,.28);background:#f5fbff}
.dj-crm-nav-details .dj-crm-access-panel{position:fixed;left:12px;right:12px;top:auto;bottom:calc(88px + env(safe-area-inset-bottom, 0px));width:auto;max-height:calc(100dvh - 120px);z-index:100002}
.dj-crm-nav-details .dj-crm-access-panel::before{display:none}
@media (max-width: 991px){
  .dj-crm-mobile-nav{display:block;position:fixed;left:0;right:0;bottom:0;z-index:99998;padding:10px 10px calc(10px + env(safe-area-inset-bottom, 0px));background:linear-gradient(180deg,rgba(255,255,255,0),rgba(255,255,255,.92) 18%,#fff 42%)}
  body{padding-bottom:calc(92px + env(safe-area-inset-bottom, 0px))}
}
@media (max-width: 767px){
  .dj-crm-access-panel{position:fixed;left:12px;right:12px;top:clamp(66px,15vh,140px);width:auto;max-height:calc(100dvh - 95px)}
  .dj-crm-access-panel::before{display:none}
  .dj-crm-access-trigger{min-height:36px;padding:8px 12px;font-size:13px}
  .dj-crm-mobile-nav-inner{gap:6px}
  .dj-crm-nav-item,.dj-crm-nav-item-button{min-height:60px;padding:8px 4px;border-radius:14px}
  .dj-crm-mobile-nav-inner > .dj-crm-nav-details > .dj-crm-nav-item-button{min-height:60px;padding:8px 4px;border-radius:14px}
  .dj-crm-nav-label{font-size:10.5px}
}
