/* MMS premium authentication · Scoped to the custom Filament 5 Login layout.
   No framework overrides, CDN requests, external fonts or JavaScript required. */
.mms-auth-shell{--mms-auth-ink:#101f35;--mms-auth-night:#0b192e;--mms-auth-primary:#2563eb;--mms-auth-accent:#d97706;min-height:100vh;min-height:100dvh;display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);background:#fbfcfe;color:#18263a;font-family:var(--font-family,inherit);isolation:isolate}
.mms-auth-shell *, .mms-auth-shell *::before,.mms-auth-shell *::after{box-sizing:border-box}
.mms-auth-skip{position:absolute;z-index:50;top:-100px;left:20px;padding:12px 18px;background:#fff;color:#13213b;border-radius:9px;text-decoration:none}
.mms-auth-skip:focus{top:12px;outline:3px solid var(--mms-auth-accent)}
.mms-auth-story{position:relative;overflow:hidden;background:radial-gradient(ellipse 80% 70% at 95% 92%,#213f60 0%,transparent 70%),linear-gradient(152deg,#122b48 0%,#091b30 63%,#071629 100%);color:#f7fbff;min-width:0}
.mms-auth-story:before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.032) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.032) 1px,transparent 1px);background-size:48px 48px;mask-image:linear-gradient(90deg,transparent 0%,#000 85%);pointer-events:none}
.mms-auth-story:after{content:"";position:absolute;width:460px;height:460px;border:1px solid rgba(255,255,255,.07);border-radius:50%;right:-245px;top:15%;box-shadow:0 0 0 90px rgba(255,255,255,.018),0 0 0 190px rgba(255,255,255,.013);pointer-events:none}
.mms-auth-story-glow{position:absolute;width:460px;height:460px;bottom:-240px;left:-120px;border-radius:50%;background:radial-gradient(circle,rgba(96,165,250,.13),transparent 72%);pointer-events:none}
.mms-auth-story-inner{width:min(100%,750px);min-height:100vh;min-height:100dvh;margin:0 auto;display:flex;flex-direction:column;padding:clamp(32px,5.4vw,78px) clamp(32px,6.2vw,104px) 32px;position:relative;z-index:1}
.mms-auth-brand{display:flex;align-items:center;gap:14px;min-width:0}
.mms-auth-brand-icon{width:52px;height:52px;display:flex;align-items:center;justify-content:center;border-radius:16px;background:rgba(255,255,255,.11);border:1px solid rgba(255,255,255,.16);color:#f8fafc;flex:none;box-shadow:0 8px 24px rgba(0,0,0,.12)}
.mms-auth-brand-icon svg{width:31px;height:31px}
.mms-auth-brand-icon img,.mms-auth-mobile-mark img{display:block;width:38px;height:38px;object-fit:contain}
.mms-auth-brand-copy{min-width:0;display:flex;flex-direction:column;gap:5px}
.mms-auth-brand-copy strong{display:block;font-size:16px;font-weight:740;line-height:1.25;letter-spacing:-.025em;overflow-wrap:anywhere}
.mms-auth-brand-copy small{font-size:9px;line-height:1.4;letter-spacing:.15em;color:#a4b8d0;font-weight:700}
.mms-auth-hero{margin-top:auto;padding:clamp(40px,7vh,88px) 0 22px}
.mms-auth-overline{display:flex;align-items:center;gap:10px;font-size:10px;letter-spacing:.165em;font-weight:750;color:#b7cee8}
.mms-auth-overline-dot{display:block;flex:none;width:7px;height:7px;border-radius:50%;background:var(--mms-auth-accent);box-shadow:0 0 0 5px rgba(255,255,255,.08)}
.mms-auth-hero h2{font-size:clamp(38px,4.1vw,65px);letter-spacing:-.062em;line-height:1.075;font-weight:760;margin:23px 0 20px;max-width:680px}
.mms-auth-hero h2 em{font-style:normal;color:#a9c5ec}
.mms-auth-hero p{max-width:510px;font-size:clamp(13px,1.15vw,16px);line-height:1.8;color:#afc0d4;margin:0}
.mms-auth-capabilities{display:grid;grid-template-columns:1fr;gap:9px;max-width:545px;margin:26px 0 42px}
.mms-auth-capability{display:flex;align-items:center;gap:15px;border:1px solid rgba(255,255,255,.095);border-radius:14px;background:rgba(255,255,255,.045);padding:13px 15px;backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}
.mms-auth-cap-icon{width:39px;height:39px;flex:none;border-radius:11px;background:rgba(173,208,255,.095);color:#a7c7ed;display:grid;place-items:center}
.mms-auth-cap-icon svg{width:21px;height:21px}
.mms-auth-capability strong{display:block;color:#f0f5fd;font-size:12.5px;font-weight:700;line-height:1.35}
.mms-auth-capability span{display:block;color:#a5b8cc;font-size:11.5px;line-height:1.5;margin-top:3px}
.mms-auth-story-footer{margin-top:auto;display:flex;align-items:center;gap:12px;color:#8eabc7;font-size:11px;line-height:1.5}
.mms-auth-footer-rule{width:24px;height:1px;background:var(--mms-auth-accent);flex:none}
.mms-auth-entry{min-width:0;display:flex;align-items:center;justify-content:center;background:#fbfcfe;padding:36px clamp(24px,5vw,100px);position:relative}
.mms-auth-entry-inner{width:min(100%,425px);margin:auto}
.mms-auth-mobile-brand{display:none}
.mms-auth-entry-eyebrow{display:block;color:var(--mms-auth-primary);font-size:10px;font-weight:800;letter-spacing:.16em;margin-bottom:16px}
.mms-auth-entry-heading h1{color:#15243a;font-size:clamp(28px,2.35vw,38px);letter-spacing:-.052em;font-weight:780;line-height:1.2;margin:0 0 13px}
.mms-auth-heading-dot{color:var(--mms-auth-primary)}
.mms-auth-entry-heading p{font-size:13.5px;color:#68788d;line-height:1.75;margin:0}
.mms-auth-form-wrap{margin-top:35px}
/* Keep Filament 5's real forms, actions and validation. Only style around them. */
.mms-auth-shell .fi-section,.mms-auth-shell .fi-sc{background:transparent;box-shadow:none;border:none}
.mms-auth-shell .fi-form{gap:19px}
.mms-auth-shell .fi-fo-field-label-content{font-weight:650;color:#26374c}
.mms-auth-shell .fi-input-wrp{border-radius:12px;min-height:46px;background:#fff;box-shadow:0 0 0 1px #dce4ed;transition:box-shadow .2s ease}
.mms-auth-shell .fi-input-wrp:focus-within{box-shadow:0 0 0 2px var(--mms-auth-primary),0 8px 24px rgba(24,52,100,.065)}
.mms-auth-shell .fi-btn{min-height:46px;border-radius:12px;font-weight:700;transition:transform .16s ease,box-shadow .16s ease}
.mms-auth-shell .fi-btn:hover{transform:translateY(-1px);box-shadow:0 8px 18px rgba(15,31,60,.1)}
.mms-auth-shell .fi-btn:focus-visible{outline:3px solid var(--mms-auth-accent);outline-offset:3px}
.mms-auth-access-note{display:flex;align-items:flex-start;gap:11px;border:1px solid #e7ecf2;border-radius:12px;background:#f3f6fa;margin-top:31px;padding:15px 16px;color:#68788a;font-size:11.5px;line-height:1.55}
.mms-auth-note-icon{width:31px;height:31px;display:grid;place-items:center;color:#4b657f;background:#e8eef6;border-radius:9px;flex:none}
.mms-auth-note-icon svg{width:17px;height:17px}
.mms-auth-access-note strong{color:#31435b;font-weight:720;font-size:12px}
.mms-auth-entry-footer{margin-top:48px;display:flex;flex-wrap:wrap;gap:10px;align-items:center;font-size:10.5px;color:#95a2b0;line-height:1.5}
.mms-auth-entry-footer-dot{width:3px;height:3px;background:#b5bfcb;border-radius:50%}
@media(max-width:1100px){.mms-auth-story-inner{padding:34px 42px}.mms-auth-entry{padding:36px 38px}.mms-auth-hero h2{font-size:42px}.mms-auth-capabilities{margin-bottom:26px}}
@media(max-width:850px){.mms-auth-shell{grid-template-columns:1fr}.mms-auth-story{display:none}.mms-auth-entry{min-height:100vh;min-height:100dvh;padding:38px 24px}.mms-auth-entry-inner{max-width:460px}.mms-auth-mobile-brand{display:flex;align-items:center;gap:12px;margin:0 0 58px;color:#1a2b41}.mms-auth-mobile-brand strong{font-size:15px;line-height:1.3;overflow-wrap:anywhere}.mms-auth-mobile-mark{width:47px;height:47px;border-radius:13px;display:grid;place-items:center;color:var(--mms-auth-primary);background:#e8effa;flex:none}.mms-auth-mobile-mark svg{width:28px;height:28px}.mms-auth-entry-footer{margin-top:55px}}
@media(max-width:480px){.mms-auth-entry{align-items:flex-start;padding:29px 22px 24px}.mms-auth-mobile-brand{margin-bottom:54px}.mms-auth-entry-heading h1{font-size:29px}.mms-auth-form-wrap{margin-top:29px}.mms-auth-entry-footer{margin-top:40px}}
@media(prefers-reduced-motion:reduce){.mms-auth-shell .fi-btn,.mms-auth-shell .fi-input-wrp{transition:none!important}.mms-auth-shell .fi-btn:hover{transform:none}}
/* Filament's optional dark mode should not make the light login pane unreadable. */
.dark .mms-auth-entry{background:#fbfcfe;color:#15243a}
.dark .mms-auth-entry h1,.dark .mms-auth-entry strong,.dark .mms-auth-entry .fi-fo-field-label-content{color:#15243a}

/* ====================================================================
   MMS PREMIUM LOGIN V2 · COMPACT AND BALANCED DESKTOP REFINEMENT
   Cosmetic only; Filament form, validation, login and sessions are intact.
   The layout is allowed to scroll on short screens or validation errors.
   ==================================================================== */
@media (min-width: 851px) {
  .mms-auth-story-inner {
    width: min(100%, 790px);
    padding: clamp(24px, 3.8vh, 46px) clamp(34px, 5.4vw, 96px) clamp(22px, 3.2vh, 34px);
  }
  .mms-auth-brand-icon {
    width: 60px;
    height: 60px;
    border-radius: 17px;
  }
  .mms-auth-brand-icon img { width: 46px; height: 46px; }
  .mms-auth-brand-icon svg { width: 34px; height: 34px; }
  .mms-auth-brand-copy strong { font-size: 17px; }
  .mms-auth-hero {
    padding: clamp(18px, 2.8vh, 30px) 0 0;
  }
  .mms-auth-hero h2 {
    font-size: clamp(38px, 3.25vw, 57px);
    line-height: 1.085;
    margin: 16px 0 14px;
    letter-spacing: -.057em;
  }
  .mms-auth-hero p {
    font-size: clamp(13px, 1vw, 15px);
    line-height: 1.62;
    max-width: 520px;
  }
  .mms-auth-capabilities {
    gap: 8px;
    max-width: 555px;
    margin: clamp(16px, 2.5vh, 26px) 0 clamp(14px, 2.5vh, 26px);
  }
  .mms-auth-capability {
    gap: 13px;
    padding: 9px 12px;
    border-radius: 12px;
  }
  .mms-auth-cap-icon { width: 36px; height: 36px; border-radius: 10px; }
  .mms-auth-cap-icon svg { width: 19px; height: 19px; }
  .mms-auth-capability strong { font-size: 12.5px; }
  .mms-auth-capability span { font-size: 11px; line-height: 1.4; margin-top: 2px; }
  .mms-auth-story-footer { font-size: 10.5px; }
  .mms-auth-entry { padding: 24px clamp(24px, 4.4vw, 86px); }
  .mms-auth-entry-heading h1 {
    font-size: clamp(29px, 2.25vw, 37px);
    line-height: 1.17;
    margin-bottom: 12px;
  }
  .mms-auth-entry-heading p { line-height: 1.6; }
  .mms-auth-form-wrap { margin-top: 27px; }
  .mms-auth-access-note { margin-top: 24px; padding: 13px 14px; }
  .mms-auth-entry-footer { margin-top: 32px; }
}
/* Reduced-height desktop: the right form stays usable, all three feature
   cards remain available, and small screens may scroll naturally. */
@media (min-width: 851px) and (max-height: 760px) {
  .mms-auth-story-inner { padding-top: 22px; padding-bottom: 20px; }
  .mms-auth-brand-icon { width: 52px; height: 52px; }
  .mms-auth-brand-icon img { width: 41px; height: 41px; }
  .mms-auth-hero { padding-top: 12px; }
  .mms-auth-hero h2 { font-size: clamp(35px, 3vw, 48px); margin: 11px 0; }
  .mms-auth-hero p { line-height: 1.48; }
  .mms-auth-capabilities { gap: 6px; margin: 12px 0; }
  .mms-auth-capability { padding: 7px 10px; }
  .mms-auth-cap-icon { width: 32px; height: 32px; }
  .mms-auth-entry-heading h1 { font-size: 30px; }
  .mms-auth-entry { padding-top: 18px; padding-bottom: 18px; }
  .mms-auth-form-wrap { margin-top: 19px; }
  .mms-auth-access-note { margin-top: 17px; }
  .mms-auth-entry-footer { margin-top: 20px; }
}
@media (min-width: 851px) and (max-width: 1100px) {
  .mms-auth-story-inner { padding-left: 34px; padding-right: 34px; }
  .mms-auth-entry { padding-left: 27px; padding-right: 27px; }
  .mms-auth-hero h2 { font-size: clamp(35px, 3.75vw, 45px); }
}
@media (max-width: 850px) {
  .mms-auth-entry { padding: 24px 24px; }
  .mms-auth-mobile-brand { margin-bottom: clamp(30px, 5vh, 46px); }
  .mms-auth-mobile-mark { width: 53px; height: 53px; }
  .mms-auth-mobile-mark img { width: 43px; height: 43px; }
  .mms-auth-entry-heading h1 { font-size: clamp(28px, 5vw, 35px); }
  .mms-auth-form-wrap { margin-top: 27px; }
  .mms-auth-access-note { margin-top: 23px; }
  .mms-auth-entry-footer { margin-top: 34px; }
}
@media (max-width: 480px) {
  .mms-auth-entry { padding: 23px 20px 24px; }
  .mms-auth-mobile-brand { margin-bottom: 33px; }
  .mms-auth-entry-heading h1 { font-size: 29px; }
  .mms-auth-entry-heading p { line-height: 1.55; }
  .mms-auth-form-wrap { margin-top: 24px; }
  .mms-auth-access-note { margin-top: 19px; }
  .mms-auth-entry-footer { margin-top: 27px; }
}
/* Keep keyboard focus obvious without changing Filament form semantics. */
.mms-auth-shell :is(a,button,input):focus-visible {
  outline-offset: 3px;
}
