/* MKSE ONE Login & Public Access v1.2.0 — premium secure portal */
:root {
    --one-navy-1000: #03122f;
    --one-navy-950: #061a42;
    --one-navy-900: #082555;
    --one-navy-800: #0c3572;
    --one-blue-700: #0f54c5;
    --one-blue-600: #1268ef;
    --one-blue-500: #2688ff;
    --one-cyan: #62bcff;
    --one-ink: #0a1b3f;
    --one-text: #263858;
    --one-muted: #72809a;
    --one-line: #dce5f2;
    --one-soft: #f4f8fd;
    --one-white: #ffffff;
    --one-success: #0ba96f;
    --one-warning: #f3a325;
    --one-danger: #e25561;
    --one-shadow: 0 24px 70px rgba(12, 42, 96, .14);
}

html, body.mkse-login-page { min-height: 100%; }
body.mkse-login-page {
    margin: 0;
    min-width: 320px;
    overflow-x: hidden;
    background: #f6f9fe !important;
    color: var(--one-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}
body.mkse-login-page *, body.mkse-login-page *:before, body.mkse-login-page *:after { box-sizing: border-box; }
body.mkse-login-page a { text-decoration: none; transition: .2s ease; }
body.mkse-login-page button, body.mkse-login-page input, body.mkse-login-page select { font-family: inherit; }

.mkse-login-stage {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(520px, .8fr);
}

/* LEFT BRAND EXPERIENCE */
.mkse-brand-panel {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at 64% 34%, rgba(38,136,255,.30), transparent 25%),
        radial-gradient(circle at 85% 18%, rgba(98,188,255,.20), transparent 20%),
        linear-gradient(137deg, var(--one-navy-1000) 0%, var(--one-navy-950) 44%, #0a2d68 100%);
    color: #fff;
    padding: clamp(46px, 5.8vw, 105px);
}
.mkse-brand-panel:after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 34%;
    z-index: -1;
    background: linear-gradient(180deg, transparent 0%, rgba(3,12,33,.28) 55%, rgba(3,12,33,.74) 100%);
}
.mkse-login-grid {
    position: absolute;
    inset: 0;
    opacity: .34;
    z-index: -4;
    background-image:
        linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(135deg, rgba(0,0,0,.82), transparent 72%);
}
.mkse-login-glow { position: absolute; border-radius: 50%; filter: blur(1px); z-index: -3; }
.mkse-login-glow-a { width: 520px; height: 520px; right: -170px; top: -170px; border: 1px solid rgba(133,202,255,.18); box-shadow: inset 0 0 120px rgba(33,122,255,.13); }
.mkse-login-glow-a:before, .mkse-login-glow-a:after { content:""; position:absolute; border-radius:50%; border:1px solid rgba(255,255,255,.10); }
.mkse-login-glow-a:before { inset: 60px; }
.mkse-login-glow-a:after { inset: 126px; }
.mkse-login-glow-b { width: 340px; height: 340px; left: -140px; bottom: -110px; background: radial-gradient(circle, rgba(28,112,230,.25), transparent 70%); }

.mkse-login-mountains { position: absolute; inset: 0; overflow: hidden; z-index: -2; pointer-events: none; }
.mkse-mountain { position: absolute; bottom: -6%; height: 44%; opacity: .52; filter: saturate(1.1); transform-origin: bottom; }
.mkse-mountain-a { left: -8%; width: 52%; background: linear-gradient(140deg, rgba(38,136,255,.18), rgba(5,25,66,.75)); clip-path: polygon(0 100%, 18% 66%, 33% 78%, 53% 22%, 69% 60%, 82% 48%, 100% 100%); }
.mkse-mountain-b { left: 26%; width: 57%; height: 50%; background: linear-gradient(145deg, rgba(86,176,255,.34), rgba(4,21,56,.86)); clip-path: polygon(0 100%, 21% 63%, 38% 76%, 58% 8%, 72% 57%, 84% 42%, 100% 100%); }
.mkse-mountain-c { right: -12%; width: 58%; height: 46%; background: linear-gradient(145deg, rgba(75,158,255,.28), rgba(3,17,46,.9)); clip-path: polygon(0 100%, 15% 72%, 31% 83%, 50% 31%, 66% 69%, 79% 56%, 100% 100%); }
.mkse-mountain-light { position:absolute; width:45%; height:1px; left:38%; bottom:35%; transform:rotate(-15deg); background:linear-gradient(90deg, transparent, rgba(102,190,255,.8), transparent); box-shadow: 0 0 18px rgba(58,157,255,.75); }

.mkse-brand-content { width: 100%; max-width: 790px; position: relative; z-index: 2; }
.mkse-one-lockup { display: flex; align-items: center; gap: 22px; margin-bottom: clamp(46px, 6vh, 78px); }
.mkse-one-mark { width: clamp(72px, 7vw, 112px); height: clamp(72px, 7vw, 112px); object-fit: contain; filter: drop-shadow(0 18px 24px rgba(0,0,0,.24)); }
.mkse-one-wordmark { padding-left: 23px; border-left: 1px solid rgba(255,255,255,.28); display: flex; flex-direction: column; gap: 4px; }
.mkse-one-wordmark strong { font-size: clamp(34px, 4.1vw, 64px); line-height: .95; letter-spacing: -.045em; color: #fff; }
.mkse-one-wordmark strong span { background: linear-gradient(180deg, #78cbff 0%, #2e8fff 46%, #0d5cdb 100%); -webkit-background-clip:text; background-clip:text; color:transparent; }
.mkse-one-wordmark small { font-size: clamp(14px, 1.25vw, 19px); color: rgba(238,247,255,.91); font-weight: 500; letter-spacing: -.01em; }

.mkse-system-label { display:inline-flex; align-items:center; gap:8px; padding:8px 12px; border-radius:999px; border:1px solid rgba(138,204,255,.20); background:rgba(33,105,206,.15); color:#bfe2ff; text-transform:uppercase; letter-spacing:.16em; font-weight:700; font-size:11px; }
.mkse-system-label i { color:#61bdff; }
.mkse-brand-story h1 { max-width: 700px; margin: 22px 0 18px; font-size: clamp(34px, 4.1vw, 62px); line-height: 1.05; letter-spacing: -.04em; color:#fff; font-weight:760; }
.mkse-brand-story h1 em { font-style:normal; color:#69bfff; }
.mkse-brand-story p { max-width: 650px; margin:0; color:rgba(225,239,252,.76); line-height:1.7; font-size:clamp(15px,1.2vw,18px); }

.mkse-parent-brand { display:grid; grid-template-columns:minmax(34px,100px) auto minmax(34px,100px); align-items:center; gap:16px; margin: clamp(34px,5vh,56px) 0 24px; max-width: 720px; }
.mkse-parent-rule { height:1px; background:linear-gradient(90deg, transparent, rgba(151,204,255,.56)); }
.mkse-parent-rule:last-child { background:linear-gradient(90deg, rgba(151,204,255,.56), transparent); }
.mkse-parent-title { display:flex; gap:12px; align-items:center; white-space:nowrap; }
.mkse-parent-title img { width:40px; height:40px; }
.mkse-parent-title div { display:flex; flex-direction:column; }
.mkse-parent-title small { color:#6dbaff; letter-spacing:.16em; font-size:9px; font-weight:800; }
.mkse-parent-title strong { color:#f8fbff; font-size:18px; letter-spacing:.01em; }
.mkse-parent-title p { margin:2px 0 0; color:rgba(219,235,250,.56); font-size:10px; }

.mkse-division-row { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; max-width:720px; }
.mkse-division-card { min-height:74px; padding:15px 17px; border-radius:15px; border:1px solid rgba(151,204,255,.16); background:linear-gradient(145deg, rgba(255,255,255,.09), rgba(255,255,255,.035)); box-shadow:inset 0 1px 0 rgba(255,255,255,.06); display:flex; flex-direction:column; justify-content:center; }
.mkse-division-card span { color:#fff; font-size:15px; font-weight:800; letter-spacing:.05em; }
.mkse-division-card small { color:rgba(220,237,252,.65); font-size:10px; margin-top:4px; }
.mkse-brand-signature { display:flex; align-items:center; gap:14px; margin-top:24px; color:#8fd0ff; font-size:11px; font-weight:800; letter-spacing:.19em; }
.mkse-brand-signature i { width:4px; height:4px; background:#61baff; border-radius:50%; box-shadow:0 0 12px rgba(97,186,255,.8); }

/* RIGHT ACCESS EXPERIENCE */
.mkse-auth-panel {
    min-height:100vh;
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;
    padding: 92px clamp(28px, 4.2vw, 72px) 34px;
    background:
        radial-gradient(circle at 92% 6%, rgba(53,137,255,.095), transparent 25%),
        radial-gradient(circle at 14% 91%, rgba(112,182,255,.07), transparent 27%),
        linear-gradient(150deg, #fff 0%, #f6f9fe 100%);
}
.mkse-auth-panel:before { content:""; position:absolute; inset:0 auto 0 0; width:1px; background:linear-gradient(180deg, rgba(69,151,255,.0), rgba(69,151,255,.40), rgba(69,151,255,.0)); }
.mkse-auth-panel:after { content:"ONE"; position:absolute; right:-25px; bottom:7%; font-size:clamp(120px,13vw,240px); font-weight:900; letter-spacing:-.08em; color:rgba(23,93,198,.025); pointer-events:none; }

.mkse-top-actions { display:flex; align-items:center; gap:10px; position:absolute; top:24px; right:clamp(24px,3vw,50px); z-index:10; }
.mkse-top-action { min-height:42px; display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:9px 14px; border:1px solid var(--one-line); border-radius:12px; background:rgba(255,255,255,.86); color:#435673; font-size:12px; font-weight:700; box-shadow:0 8px 26px rgba(19,58,112,.05); }
button.mkse-top-action { outline:0; }
.mkse-top-action:hover, .mkse-top-action:focus, .mkse-top-action[aria-expanded="true"] { background:#fff; color:var(--one-blue-700); border-color:#c8d9ef; transform:translateY(-1px); }
.mkse-job-link { background:var(--one-navy-900); border-color:var(--one-navy-900); color:#fff; }
.mkse-job-link:hover { background:var(--one-navy-800); color:#fff; }

.mkse-auth-shell { width:100%; max-width:680px; position:relative; z-index:2; }
.mkse-mobile-brand { display:none; }

.mkse-login-card { margin:0; border:1px solid #e0e8f4; border-radius:26px; overflow:hidden; background:rgba(255,255,255,.97); box-shadow:var(--one-shadow); }
.mkse-login-card .panel-body { padding: 28px 36px 34px; }
.mkse-auth-brandline { padding:30px 36px 0; display:flex; flex-direction:column; }
.mkse-auth-brandline > span { color:#5d77a0; font-size:10px; font-weight:900; letter-spacing:.22em; }
.mkse-auth-brandline > strong { color:var(--one-ink); font-size:clamp(34px,3vw,48px); line-height:1.02; margin-top:7px; letter-spacing:-.04em; }
.mkse-auth-brandline > strong em { font-style:normal; background:linear-gradient(180deg,#2c8cff,#0b57cf); -webkit-background-clip:text; background-clip:text; color:transparent; }
.mkse-auth-brandline > small { margin-top:5px; color:#465d7d; font-size:14px; font-weight:560; }

.mkse-portal-mode-note { margin:20px 36px 0; padding:13px 14px; border-radius:14px; background:#eef6ff; border:1px solid #d2e6ff; display:flex; align-items:flex-start; gap:11px; color:#2a4a76; }
.mkse-portal-mode-note > i { width:34px; height:34px; display:grid; place-items:center; border-radius:10px; background:#dcebff; color:var(--one-blue-700); }
.mkse-portal-mode-note div { display:flex; flex-direction:column; gap:2px; }
.mkse-portal-mode-note b { color:#163f78; font-size:12px; }
.mkse-portal-mode-note span { font-size:11px; line-height:1.45; color:#637899; }

.mkse-login-form-header { margin-bottom:24px; }
.mkse-secure-badge { display:inline-flex; align-items:center; gap:6px; color:#3973bb; background:#edf6ff; border:1px solid #dcecff; border-radius:999px; padding:6px 9px; font-size:9px; font-weight:900; letter-spacing:.12em; text-transform:uppercase; }
.mkse-login-form-header h2 { color:var(--one-ink); font-size:28px; line-height:1.12; font-weight:760; letter-spacing:-.03em; margin:13px 0 5px; }
.mkse-login-form-header p { color:var(--one-muted); font-size:12.5px; line-height:1.55; margin:0; max-width:500px; }

.mkse-login-page .form-group { margin-bottom:16px; }
.mkse-login-page .form-group label { color:#334866; font-size:10px; font-weight:800; letter-spacing:.02em; margin-bottom:7px; }
.mkse-login-page .form-control { height:52px; border:1px solid #d8e2ef; border-radius:12px; background:#f7faff; color:#173054; font-size:13px; box-shadow:none; padding:10px 44px 10px 14px; transition:border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.mkse-login-page select.form-control { padding-right:14px; }
.mkse-login-page .form-control:focus { background:#fff; border-color:#78aff8; box-shadow:0 0 0 4px rgba(38,136,255,.10); }
.mkse-login-page .has-feedback .form-control-feedback { right:9px; top:33px; color:#8291a8 !important; }
.mkse-password-field .form-control { padding-right:76px; }
.mkse-password-field .form-control-feedback { right:42px !important; }
.mkse-password-toggle { position:absolute; right:8px; bottom:7px; width:38px; height:38px; border:0; border-radius:9px; background:transparent; color:#8494ad; outline:0; }
.mkse-password-toggle:hover, .mkse-password-toggle:focus { color:var(--one-blue-700); background:#edf5ff; }

.mkse-login-meta { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:34px; margin:-2px 0 18px; }
.mkse-login-meta .checkbox { margin:0; }
.mkse-login-meta .checkbox label { color:#53647f; font-size:11px; font-weight:600; }
.mkse-forgot-link { color:#145fcf; font-size:11px; font-weight:750; }
.mkse-forgot-link:hover { color:#073e98; }

.mkse-login-buttons { display:flex; gap:10px; }
.mkse-login-buttons .btn { min-height:52px; border-radius:12px; font-size:12px; font-weight:800; border:0; box-shadow:none; }
.mkse-login-primary { flex:1; background:linear-gradient(135deg,#1268ef,#074cc7) !important; color:#fff !important; box-shadow:0 13px 26px rgba(18,104,239,.24) !important; }
.mkse-login-primary:hover, .mkse-login-primary:focus { transform:translateY(-1px); background:linear-gradient(135deg,#1d75f5,#0847b8) !important; }
.mkse-login-primary i { margin-left:9px; }
.mkse-login-attendance { flex:1; background:#102b59 !important; color:#fff !important; }
.mkse-login-attendance:hover { background:#0b2149 !important; }
.mkse-registration { margin-top:18px; }
.mkse-divider { position:relative; text-align:center; margin:14px 0; }
.mkse-divider:before { content:""; position:absolute; left:0; right:0; top:50%; height:1px; background:#e5ebf3; }
.mkse-divider span { position:relative; z-index:1; padding:0 12px; background:#fff; color:#9aa6b8; font-size:10px; }
.mkse-login-register, .mkse-login-card .btn-default { min-height:48px; border-radius:12px; border:1px solid #dce5f1; background:#fff; color:#334b6c; font-size:11px; font-weight:750; }
.mkse-login-register:hover, .mkse-login-card .btn-default:hover { border-color:#bed2ee; color:var(--one-blue-700); background:#f7fbff; }

/* Other auth subviews: register / forgot / reset */
.mkse-login-card .panel-body > p.text-center:first-child { margin:0 0 8px !important; color:var(--one-ink); font-size:24px; font-weight:760; letter-spacing:-.03em; }
.mkse-login-card .panel-body > form > p.text-center { color:var(--one-muted); font-size:12px; margin:0 0 22px; }
.mkse-login-card .row { margin-left:-5px; margin-right:-5px; }
.mkse-login-card .row > [class*="col-"] { padding-left:5px; padding-right:5px; }
.mkse-login-card .btn-danger, .mkse-login-card .btn-primary { min-height:48px; border:0; border-radius:11px; font-weight:750; }
.mkse-login-card .btn-danger { background:#d94b5b; }
.mkse-login-card a { color:var(--one-blue-700); }
.mkse-login-card .pt-lg { color:#8b98aa; font-size:11px; }

.mkse-recaptcha { margin:14px 0; transform-origin:left center; }
.error_login .alert, .mkse-auth-shell > .alert { border:0; border-radius:12px; box-shadow:none; font-size:11px; margin:0 0 12px; }

/* QUICK LINKS */
.mkse-login-links { margin-top:14px; padding:16px; border:1px solid #e1e8f3; border-radius:20px; background:rgba(255,255,255,.86); box-shadow:0 14px 38px rgba(25,61,117,.06); backdrop-filter:blur(10px); }
.mkse-links-heading { display:flex; align-items:center; justify-content:space-between; padding:0 3px 10px; }
.mkse-links-heading div { display:flex; flex-direction:column; gap:1px; }
.mkse-links-heading strong { color:#1b3154; font-size:12px; }
.mkse-links-heading small { color:#8a98aa; font-size:9.5px; }
.mkse-link-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
.mkse-link-card { min-height:68px; display:grid; grid-template-columns:38px minmax(0,1fr) 20px; align-items:center; gap:10px; padding:10px 11px; border:1px solid #e0e8f3; border-radius:13px; background:#fff; color:#233a5e; }
.mkse-link-card:hover { transform:translateY(-2px); border-color:#bfd6f7; box-shadow:0 10px 24px rgba(15,75,157,.08); }
.mkse-link-icon { width:38px; height:38px; display:grid; place-items:center; border-radius:11px; background:#eef5ff; color:#1866d5; font-size:16px; }
.mkse-link-card.instagram .mkse-link-icon { background:linear-gradient(145deg,#ffeff6,#fff3e7); color:#d82f73; }
.mkse-link-card.portal .mkse-link-icon { background:#eef8f4; color:#0c9870; }
.mkse-link-card.knowledge .mkse-link-icon { background:#f3efff; color:#684fd4; }
.mkse-link-card > span:nth-child(2) { min-width:0; display:flex; flex-direction:column; gap:2px; }
.mkse-link-card b { color:#17335e; font-size:10.5px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.mkse-link-card small { color:#8795a9; font-size:9.2px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.mkse-link-arrow { color:#8ba1be; font-size:10px; }

.mkse-login-footer { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:8px; margin-top:16px; color:#99a6b8; font-size:9.5px; }
.mkse-login-footer a { color:#667892; }
.mkse-footer-dot { width:3px; height:3px; border-radius:50%; background:#b8c3d1; }

/* Language menu */
.mkse-language-menu .dropdown-menu { border:1px solid #dce5ef; border-radius:13px; box-shadow:0 18px 42px rgba(21,50,94,.14); padding:6px; min-width:215px; }
.mkse-language-menu .dropdown-menu > li > a { border-radius:9px; padding:9px 10px; display:flex; align-items:center; gap:9px; color:#415675; }
.mkse-language-menu .dropdown-menu > li > a:hover { background:#f1f6fd; }
.mkse-language-option-copy { display:flex; flex-direction:column; flex:1; line-height:1.2; }
.mkse-language-option-copy b { font-size:11px; }
.mkse-language-option-copy small { color:#8d9aab; font-size:9px; }
.mkse-language-current-mark { color:var(--one-blue-600); }

/* RTL */
html[dir="rtl"] .mkse-one-wordmark { padding-left:0; padding-right:23px; border-left:0; border-right:1px solid rgba(255,255,255,.28); }
html[dir="rtl"] .mkse-login-page .form-control { padding-right:14px; padding-left:44px; }
html[dir="rtl"] .mkse-login-page .has-feedback .form-control-feedback { right:auto; left:9px; }
html[dir="rtl"] .mkse-password-field .form-control { padding-left:76px; }
html[dir="rtl"] .mkse-password-field .form-control-feedback { right:auto !important; left:42px !important; }
html[dir="rtl"] .mkse-password-toggle { right:auto; left:8px; }
html[dir="rtl"] .mkse-login-primary i { margin-left:0; margin-right:9px; transform:rotate(180deg); }
html[dir="rtl"] .mkse-top-actions { right:auto; left:clamp(24px,3vw,50px); }

@media (max-width: 1280px) {
    .mkse-login-stage { grid-template-columns:minmax(0,1.05fr) minmax(480px,.95fr); }
    .mkse-brand-panel { padding:52px; }
    .mkse-auth-panel { padding-left:38px; padding-right:38px; }
    .mkse-parent-brand { grid-template-columns:50px auto 50px; }
}

@media (max-width: 1040px) {
    .mkse-login-stage { grid-template-columns:1fr; }
    .mkse-brand-panel { min-height: auto; padding:34px 38px; display:block; }
    .mkse-login-mountains { opacity:.45; }
    .mkse-one-lockup { margin-bottom:20px; }
    .mkse-one-mark { width:64px; height:64px; }
    .mkse-one-wordmark strong { font-size:36px; }
    .mkse-brand-story h1 { font-size:32px; margin:15px 0 9px; }
    .mkse-brand-story p { max-width:780px; }
    .mkse-parent-brand, .mkse-division-row, .mkse-brand-signature { display:none; }
    .mkse-auth-panel { min-height:auto; padding:78px 26px 34px; }
    .mkse-auth-shell { max-width:720px; }
    .mkse-auth-panel:after { display:none; }
}

@media (max-width: 720px) {
    .mkse-brand-panel { display:none; }
    .mkse-auth-panel { min-height:100vh; padding:84px 16px 26px; align-items:flex-start; }
    .mkse-top-actions { top:18px; left:16px; right:16px; justify-content:flex-end; }
    html[dir="rtl"] .mkse-top-actions { left:16px; right:16px; }
    .mkse-top-action { min-height:38px; padding:7px 10px; }
    .mkse-job-link span { display:none; }
    .mkse-mobile-brand { display:flex; align-items:center; gap:10px; margin:0 0 14px; }
    .mkse-mobile-brand img { width:44px; height:44px; }
    .mkse-mobile-brand span { display:flex; flex-direction:column; }
    .mkse-mobile-brand strong { color:var(--one-ink); font-size:17px; letter-spacing:-.02em; }
    .mkse-mobile-brand small { color:#7e8ca0; font-size:9px; }
    .mkse-login-card { border-radius:20px; }
    .mkse-auth-brandline { padding:25px 22px 0; }
    .mkse-auth-brandline > strong { font-size:35px; }
    .mkse-login-card .panel-body { padding:23px 22px 26px; }
    .mkse-portal-mode-note { margin:16px 22px 0; }
    .mkse-link-grid { grid-template-columns:1fr; }
    .mkse-login-links { border-radius:17px; }
}

@media (max-width: 460px) {
    .mkse-login-buttons { flex-direction:column; }
    .mkse-login-meta { align-items:flex-start; }
    .mkse-login-card .row > [class*="col-"] { width:100%; float:none; margin-bottom:8px; }
    .mkse-login-card .row .pull-right { float:none !important; }
    .mkse-login-footer { line-height:1.5; }
}

/* ========================================================================== 
   MKSE ONE UI v1.6.0 - Login mobile final QA
   ========================================================================== */
@media(max-width:720px){
  .mkse-login-page{min-height:100dvh;background:#f4f7fb}
  .mkse-auth-panel{min-height:100dvh;padding-top:calc(76px + env(safe-area-inset-top,0px));padding-bottom:calc(22px + env(safe-area-inset-bottom,0px));padding-left:max(14px,env(safe-area-inset-left,0px));padding-right:max(14px,env(safe-area-inset-right,0px))}
  .mkse-top-actions{top:calc(12px + env(safe-area-inset-top,0px));left:max(14px,env(safe-area-inset-left,0px));right:max(14px,env(safe-area-inset-right,0px));gap:7px}
  .mkse-top-action{min-height:40px;border-radius:10px}
  .mkse-auth-shell{width:100%;max-width:520px}
  .mkse-login-card{box-shadow:0 16px 42px rgba(24,52,91,.11)}
  .mkse-login-page .form-control{min-height:46px;font-size:14px}
  .mkse-password-toggle{width:40px;height:40px}
  .mkse-login-primary,.mkse-login-secondary{min-height:45px}
  .mkse-login-links{margin-top:12px}
  .mkse-login-link-card{min-height:62px}
}
@media(max-width:520px){
  .mkse-mobile-brand{margin-bottom:10px}
  .mkse-login-links .mkse-link-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px}
  .mkse-login-link-card{padding:10px 9px}
  .mkse-login-link-card>span:last-of-type small{font-size:8px}
}
@media(max-width:390px){
  .mkse-auth-panel{padding-left:10px;padding-right:10px}
  .mkse-auth-brandline{padding:20px 17px 0}
  .mkse-auth-brandline>strong{font-size:29px}
  .mkse-login-card .panel-body{padding:19px 17px 21px}
  .mkse-login-links .mkse-link-grid{grid-template-columns:1fr}
  .mkse-login-meta{gap:8px;flex-direction:column}
  .mkse-login-meta .pull-right{width:100%;text-align:left}
  html[dir="rtl"] .mkse-login-meta .pull-right{text-align:right}
  .mkse-login-footer{font-size:8px}
}
@media(max-height:620px) and (orientation:landscape){
  .mkse-brand-panel{display:none}
  .mkse-auth-panel{min-height:100dvh;padding-top:58px;align-items:flex-start}
  .mkse-mobile-brand{display:flex}
  .mkse-login-links{margin-top:9px}
}
@media(prefers-reduced-motion:reduce){.mkse-login-page *{transition:none!important;animation:none!important}}

/* ========================================================================== 
   MKSE ONE UI v1.6.1 - Login mobile final polish
   ========================================================================== */
@media(max-width:520px){
  .mkse-auth-panel{padding-top:calc(66px + env(safe-area-inset-top,0px));padding-bottom:calc(16px + env(safe-area-inset-bottom,0px))}
  .mkse-top-actions{top:calc(9px + env(safe-area-inset-top,0px))}
  .mkse-mobile-brand{margin-bottom:7px}
  .mkse-mobile-brand img{width:40px;height:40px}
  .mkse-auth-brandline{padding:17px 18px 0}
  .mkse-auth-brandline>strong{font-size:31px}
  .mkse-auth-brandline>small{font-size:12px;margin-top:3px}
  .mkse-login-card .panel-body{padding:17px 18px 19px}
  .mkse-login-page .form-group{margin-bottom:12px}
  .mkse-login-meta{margin:-1px 0 12px;min-height:30px}
  .mkse-login-primary,.mkse-login-secondary{min-height:44px}
  .mkse-login-links{margin-top:9px;padding:11px;border-radius:15px}
  .mkse-links-heading{padding-bottom:7px}
  .mkse-link-card{min-height:56px;grid-template-columns:32px minmax(0,1fr) 15px;gap:7px;padding:8px}
  .mkse-link-icon{width:32px;height:32px;border-radius:9px;font-size:13px}
  .mkse-link-card b{font-size:9px}.mkse-link-card small{font-size:7.5px}
  .mkse-login-footer{margin-top:10px}
}
@media(max-width:390px){
  .mkse-auth-panel{padding-left:9px;padding-right:9px}
  .mkse-auth-brandline{padding:15px 15px 0}
  .mkse-auth-brandline>strong{font-size:28px}
  .mkse-login-card .panel-body{padding:15px 15px 17px}
  .mkse-login-links .mkse-link-grid{grid-template-columns:1fr 1fr!important;gap:6px!important}
  .mkse-link-card{grid-template-columns:29px minmax(0,1fr);min-height:54px;padding:7px}
  .mkse-link-card .mkse-link-arrow{display:none}
  .mkse-link-icon{width:29px;height:29px;font-size:12px}
  .mkse-link-card b{font-size:8px}.mkse-link-card small{font-size:6.8px}
  .mkse-links-heading small{display:none}
}
