/* MKF Inventory / Consistent Login v4 — isolated presentation layer. */
:root{color-scheme:light;--mkf-bg:#f7f8f7;--mkf-ink:#24332c;--mkf-green:#14725a;--mkf-deep:#0c5d49;--mkf-muted:#829086;--mkf-line:#e5eee8;--mkf-surface:#fff;--mkf-focus:#9edac4}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body.mkf-login{margin:0;min-width:320px;background:var(--mkf-bg);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--mkf-ink);font-size:14px;-webkit-font-smoothing:antialiased}
.mkf-login button,.mkf-login input{font:inherit}
.mkf-login :is(button,input):focus-visible{outline:3px solid var(--mkf-focus);outline-offset:3px}
.mkf-login .auth-page{min-height:100vh;min-height:100dvh;display:flex;flex-direction:column}
.mkf-login .auth-topbar{width:min(1232px,calc(100% - 72px));margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px 0 18px;flex:none}
.mkf-login .auth-brand{display:flex;align-items:center;gap:11px;min-width:0}
.mkf-login .auth-brand-icon{width:42px;height:42px;display:grid;place-items:center;flex:none;background:#146d54;border-radius:12px;color:white;font-size:23px}
.mkf-login .auth-brand-type{display:flex;flex-direction:column;gap:3px}
.mkf-login .auth-brand-type strong{font-size:17px;line-height:1.05;font-weight:820;letter-spacing:-.052em;white-space:nowrap}
.mkf-login .auth-brand-type strong span{color:#718277;font-weight:520}
.mkf-login .auth-brand-type small{font-size:11px;color:#99a79d;letter-spacing:.01em}
.mkf-login .auth-access{display:flex;gap:8px;align-items:center;color:#8c9c90;font-size:12px;font-weight:600}
.mkf-login .auth-access i{font-size:17px;color:#7fa28c}
.mkf-login .auth-shell{display:grid;grid-template-columns:1.065fr .935fr;width:min(1232px,calc(100% - 72px));max-width:1232px;min-height:560px;flex:1;margin:0 auto;background:white;border:1px solid #e4ebe5;border-radius:20px;overflow:hidden;box-shadow:0 18px 60px rgba(32,67,44,.035)}
.mkf-login .auth-story{display:flex;flex-direction:column;justify-content:space-between;padding:54px clamp(35px,4.6vw,74px) 30px;background:radial-gradient(circle at 91% 3%,rgba(183,222,197,.28),transparent 32%),linear-gradient(140deg,#edf5ef 0%,#f3f8f3 65%,#eaf3ed 100%);border-right:1px solid #e3ece6;min-width:0}
.mkf-login .auth-kicker{display:inline-flex;align-items:center;gap:9px;color:#43806a;font-size:10px;font-weight:800;letter-spacing:.11em;margin-bottom:26px}
.mkf-login .auth-pulse{width:7px;height:7px;background:#18865b;border-radius:100%;box-shadow:0 0 0 4px #d8ece0;flex:none}
.mkf-login .auth-story h1{font-size:clamp(33px,3.2vw,48px);line-height:1.13;letter-spacing:-.059em;font-weight:800;margin:0 0 18px;max-width:480px}
.mkf-login .auth-story h1 em{font-style:normal;color:var(--mkf-green)}
.mkf-login .auth-story-top>p{font-size:14px;line-height:1.75;color:#687e70;margin:0;max-width:375px}
.mkf-login .auth-workspace{border:1px solid #dae9dd;background:rgba(255,255,255,.82);border-radius:15px;padding:18px 20px;margin:30px 0 18px;box-shadow:0 12px 32px rgba(17,73,48,.045)}
.mkf-login .auth-workspace-heading{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:0 0 7px}
.mkf-login .auth-workspace-heading>div{display:grid;gap:4px}
.mkf-login .auth-small-overline{font-size:9px;color:#8fa599;font-weight:800;letter-spacing:.1em}
.mkf-login .auth-workspace-heading strong{font-size:15px;letter-spacing:-.02em;font-weight:750}
.mkf-login .auth-workspace-heading>i{color:#74a188;font-size:22px}
.mkf-login .auth-workspace-row{display:flex;align-items:center;gap:11px;min-width:0;padding:13px 0;border-bottom:1px solid #ecf1ed}
.mkf-login .auth-workspace-row:last-child{border-bottom:0;padding-bottom:2px}
.mkf-login .auth-workspace-icon{width:37px;height:37px;border-radius:10px;display:grid;place-items:center;flex:none;font-size:19px}
.mkf-login .auth-workspace-icon.green{background:#e7f3e9;color:#23835e}
.mkf-login .auth-workspace-icon.mint{background:#e9f2f2;color:#558c8d}
.mkf-login .auth-workspace-icon.amber{background:#f8f3e7;color:#b08b48}
.mkf-login .auth-workspace-row>span:nth-child(2){display:grid;gap:3px;min-width:0;flex:1}
.mkf-login .auth-workspace-row strong{font-size:12px;line-height:1.3;font-weight:750;color:#2d4938}
.mkf-login .auth-workspace-row small{font-size:11px;color:#8da093;line-height:1.4}
.mkf-login .auth-workspace-check{color:#65a582;font-size:19px}
.mkf-login .auth-story-footer{font-size:11px;color:#849a89;display:flex;gap:8px;align-items:center;margin:0}
.mkf-login .auth-story-footer i{font-size:16px;color:#6eaa83}
.mkf-login .auth-form-section{display:flex;align-items:center;justify-content:center;min-width:0;padding:50px clamp(26px,5vw,78px)}
.mkf-login .auth-form-inner{width:100%;max-width:388px}
.mkf-login .auth-form-eyebrow{font-size:10px;font-weight:800;letter-spacing:.12em;color:#2e8364}
.mkf-login .auth-form-heading h2{font-size:clamp(26px,2.4vw,32px);line-height:1.2;letter-spacing:-.045em;margin:10px 0 7px;font-weight:790}
.mkf-login .auth-form-heading p{font-size:13px;color:#839185;line-height:1.55;margin:0}
.mkf-login .auth-form{display:grid;gap:19px;margin-top:35px}
.mkf-login .auth-field{display:grid;gap:9px}
.mkf-login .auth-field label{font-size:12px;line-height:1.25;color:#425548;font-weight:700}
.mkf-login .auth-input-wrap{display:flex;align-items:center;gap:11px;min-height:49px;border-radius:10px;border:1px solid #e0e8e2;background:#fcfdfc;padding:0 13px;transition:border-color .15s ease,box-shadow .15s ease,background .15s ease}
.mkf-login .auth-input-wrap:focus-within{background:white;border-color:#69b194;box-shadow:0 0 0 3px #e7f5ed}
.mkf-login .auth-input-wrap>i{font-size:19px;color:#8a9f91;flex:none}
.mkf-login .auth-input-wrap input{border:0;outline:0;box-shadow:none!important;background:transparent;min-width:0;width:100%;height:47px;padding:0;font-size:13px;color:#253d2d;appearance:none}
.mkf-login .auth-input-wrap input:focus-visible{outline:0}
.mkf-login .auth-input-wrap input::placeholder{color:#a3b0a7;opacity:1}
.mkf-login .auth-password-toggle{background:transparent;border:0;cursor:pointer;display:flex;gap:5px;align-items:center;color:#588b72;font-weight:750;padding:10px 0 10px 9px;font-size:11px;min-width:53px;justify-content:flex-end}
.mkf-login .auth-password-toggle i{font-size:16px}
.mkf-login .auth-password-toggle:hover{color:#0a6045}
.mkf-login .auth-submit{width:100%;display:flex;align-items:center;justify-content:center;gap:11px;min-height:49px;border:0;border-radius:10px;color:#fff;background:#14725a;cursor:pointer;font-size:13px;font-weight:750;transition:background .15s ease,transform .15s ease;margin-top:5px}
.mkf-login .auth-submit:hover{background:#0c5d49;transform:translateY(-1px)}
.mkf-login .auth-submit i{font-size:16px}
.mkf-login .auth-security-note{display:flex;align-items:flex-start;gap:10px;margin:27px 0 0;border-top:1px solid #ecf0ed;padding-top:21px}
.mkf-login .auth-security-icon{width:31px;height:31px;flex:none;display:grid;place-items:center;background:#edf6f0;color:#297c58;border-radius:9px;font-size:18px}
.mkf-login .auth-security-note p{margin:0;font-size:11px;line-height:1.6;color:#859589}
.mkf-login .auth-security-note p strong{display:block;font-weight:750;color:#526b58}
.mkf-login .auth-error{display:flex;gap:10px;align-items:flex-start;margin:18px 0 -8px;border:1px solid #f2d1ca;background:#fff4f2;color:#a8443b;padding:12px 13px;border-radius:10px;font-size:12px;line-height:1.5}
.mkf-login .auth-error i{font-size:18px;flex:none}
.mkf-login .auth-footer{display:flex;justify-content:space-between;gap:16px;width:min(1232px,calc(100% - 72px));margin:0 auto;padding:15px 1px 18px;color:#a5afa7;font-size:10px}
@media(max-width:900px){
  .mkf-login .auth-topbar,.mkf-login .auth-shell,.mkf-login .auth-footer{width:min(650px,calc(100% - 38px))}
  .mkf-login .auth-shell{grid-template-columns:1fr;flex:none;min-height:0}
  .mkf-login .auth-story{padding:28px 32px 22px;border-right:0;border-bottom:1px solid #e4ede6}
  .mkf-login .auth-story h1{font-size:32px;margin-bottom:10px}
  .mkf-login .auth-kicker{margin-bottom:12px}
  .mkf-login .auth-story-top>p{font-size:12px;line-height:1.6}
  .mkf-login .auth-workspace,.mkf-login .auth-story-footer{display:none}
  .mkf-login .auth-form-section{padding:35px 32px 38px}
  .mkf-login .auth-form-inner{max-width:500px}
  .mkf-login .auth-form{margin-top:25px}
}
@media(max-width:520px){
  .mkf-login .auth-topbar{padding:18px 0 18px}
  .mkf-login .auth-brand-icon{height:37px;width:37px;border-radius:10px;font-size:20px}
  .mkf-login .auth-brand-type strong{font-size:15px}
  .mkf-login .auth-access{font-size:0;gap:0}
  .mkf-login .auth-access i{font-size:20px}
  .mkf-login .auth-shell{border-radius:15px}
  .mkf-login .auth-story{padding:24px 23px 22px}
  .mkf-login .auth-story h1{font-size:29px;line-height:1.15}
  .mkf-login .auth-story-top>p{max-width:300px}
  .mkf-login .auth-form-section{padding:27px 23px 32px}
  .mkf-login .auth-form-heading h2{font-size:26px}
  .mkf-login .auth-form{gap:17px;margin-top:25px}
  .mkf-login .auth-footer{font-size:9px;padding:14px 1px}
  .mkf-login .auth-footer span:last-child{display:none}
}
@media(prefers-reduced-motion:reduce){.mkf-login .auth-submit,.mkf-login .auth-input-wrap{transition:none}.mkf-login .auth-submit:hover{transform:none}}
