/* La Maru Employee Registration, mobile first. All rules are scoped to .lmer so the theme cannot break the form. */
.lmer{--brand:#5a6a4c;--brand2:#4b5a3f;--ink:#141414;--muted:#5f5f5f;--line:#d9d9d6;--soft:#f5f5f3;--ok:#1f7a45;--okbg:#e6f3eb;--err:#b3261e;--errbg:#fdf0ef;--focus:#c58a2a;
 box-sizing:border-box;max-width:680px;margin:0 auto;padding:16px 16px calc(24px + env(safe-area-inset-bottom,0px));color:var(--ink);
 font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-size:16px;line-height:1.5;-webkit-text-size-adjust:100%;text-align:left}
.lmer *,.lmer *::before,.lmer *::after{box-sizing:border-box}
.lmer button,.lmer input,.lmer select,.lmer textarea{font:inherit;color:inherit;letter-spacing:normal;text-transform:none;margin:0}
.lmer [hidden]{display:none!important}
.lmer :focus-visible{outline:3px solid var(--focus);outline-offset:2px}
.lmer p{margin:0 0 10px}
.lmer-hidden{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none}
.lmer .lmer-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;opacity:0}

/* header */
.lmer-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:6px 0 18px}
.lmer-brand{display:flex;align-items:center;gap:10px;font-size:22px;font-weight:800;letter-spacing:.18em}
.lmer-brand img{height:44px;width:auto;display:block}
.lmer-lang{display:inline-flex;border:1px solid var(--line);border-radius:999px;padding:3px;background:#fff}
.lmer-lang button{border:0;background:none;min-width:48px;min-height:44px;border-radius:999px;font-weight:700;font-size:14px;cursor:pointer;color:var(--muted)}
.lmer-lang button[aria-pressed="true"]{background:var(--brand);color:#fff}
.lmer-note{background:#fff7e0;border:1px solid #f0d58a;border-radius:10px;padding:10px 12px;margin-bottom:14px;font-size:14px}

/* cards and type */
.lmer-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:20px 16px}
.lmer-center{text-align:center}
.lmer-h1{font-size:24px;line-height:1.25;font-weight:750;margin:0 0 10px}
.lmer-h2{font-size:22px;line-height:1.25;font-weight:750;margin:0 0 16px}
.lmer-h2:focus{outline:none}
.lmer-intro,.lmer-muted,.lmer-help,.lmer-tip{color:var(--muted)}
.lmer-help{font-size:14px;margin:-2px 0 6px}
.lmer-tip{font-size:14px;background:var(--soft);border-radius:10px;padding:10px 12px}
.lmer-alert{background:var(--errbg);color:var(--err);border-radius:10px;padding:10px 12px;margin-bottom:16px;font-weight:600}

/* home: split screen */
.lmer.is-home{max-width:680px}
@media (min-width:900px){.lmer.is-home{max-width:1080px}}
.lmer-home{display:grid;grid-template-columns:1fr;border-radius:22px;overflow:hidden;background:#fff;box-shadow:0 18px 50px rgba(30,40,24,.14);border:1px solid #e3e5df}
.lmer-hero{background:var(--brand);color:#fff;padding:26px 22px 22px;display:flex;flex-direction:column;gap:18px}
.lmer-hero-logo{width:96px;height:auto;display:block}
.lmer-hero .lmer-brand{color:#fff}
.lmer-hero-title{font-size:30px;line-height:1.1;font-weight:800;margin:0 0 10px;color:#fff;letter-spacing:-.01em}
.lmer-hero-txt p{margin:0 0 10px;color:rgba(255,255,255,.9)}
.lmer-hero-need{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.18);border-radius:14px;padding:12px 14px;margin-top:12px}
.lmer-hero-need ul{margin:6px 0;padding-left:20px}
.lmer-hero-need p{font-size:14px;margin:0;color:rgba(255,255,255,.8)}
.lmer-hero-foot{margin:auto 0 0;font-size:13px;color:rgba(255,255,255,.7)}
.lmer-login{padding:24px 20px 26px;display:flex;flex-direction:column;justify-content:center;background:#fff}
.lmer .lmer-login>*{flex:none}
.lmer-login-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:22px;font-size:13px}
.lmer-login-title{font-size:26px;line-height:1.15;font-weight:800;margin:0 0 6px}
.lmer-login > .lmer-muted{margin-bottom:18px}
@media (max-width:899px){.lmer-hero-foot{display:none}.lmer-hero-need{display:none}}
@media (max-width:599px){.lmer-hero{gap:12px;padding:22px 20px 20px}.lmer-hero-logo{width:72px}.lmer-hero-title{font-size:26px;margin-bottom:6px}.lmer-hero-txt p{font-size:15px;line-height:1.45}.lmer-login-title{font-size:23px}.lmer-login-top{margin-bottom:16px}}
@media (min-width:600px){.lmer-hero{padding:32px}.lmer-login{padding:32px}}
@media (min-width:900px){
 .lmer-home{grid-template-columns:1.05fr 1fr;min-height:620px}
 .lmer-hero{padding:44px 44px 30px}
 .lmer-hero-logo{width:132px}
 .lmer-hero-title{font-size:44px}
 .lmer-login{padding:48px 52px}
}
/* start and access screens */
.lmer-kicker{font-size:13px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin:0 0 8px}
.lmer-lead{font-size:17px;margin:0 0 6px}
.lmer-start .lmer-choose{font-size:19px;margin:22px 0 0;padding-top:18px;border-top:1px solid var(--line)}
.lmer-need{background:var(--soft);border-radius:12px;padding:12px 14px;margin:14px 0 16px}
.lmer-need ul{margin:6px 0 6px;padding-left:20px}
.lmer-need li{margin:2px 0}
.lmer-need p{margin:0;font-size:14px}
.lmer-codewrap{display:flex;gap:8px;align-items:stretch}
.lmer-codewrap .lmer-input{flex:1;min-width:0}
.lmer-codewrap .lmer-btn.sm{min-height:52px}
.lmer-loggedout{background:var(--soft);border-radius:12px;padding:12px 14px;margin:14px 0;font-size:15px}
/* language screen */
.lmer-langbig{display:grid;gap:12px;margin-top:18px}

/* progress */
.lmer-progress{margin-bottom:14px}
.lmer-ptext{display:flex;justify-content:space-between;gap:10px;font-size:14px;color:var(--muted);margin-bottom:6px}
.lmer-ptext b{color:var(--ink)}
.lmer-bar{height:6px;background:#e7e7e4;border-radius:99px;overflow:hidden}
.lmer-bar i{display:block;height:100%;background:var(--brand);border-radius:99px;transition:width .25s}

/* fields */
.lmer-fields{display:flex;flex-wrap:wrap;gap:0 12px}
.lmer-fields>*{flex:1 1 100%;min-width:0}
.lmer-field{flex:1 1 100%;min-width:0;margin-bottom:18px}
.lmer-label{display:block;font-weight:650;margin:0 0 6px;padding:0;font-size:16px}
.lmer-opt{font-weight:400;color:var(--muted);font-size:14px}
.lmer .lmer-input{display:block;width:100%;min-height:52px;padding:12px 14px;border:1.5px solid #bdbdb8;border-radius:12px;background:#fff;font-size:16px;line-height:1.3;-webkit-appearance:none;appearance:none;box-shadow:none}
.lmer select.lmer-input{padding-right:36px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23141414' stroke-width='2' fill='none'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center}
.lmer .lmer-input:focus{border-color:var(--brand);outline:none;box-shadow:0 0 0 3px rgba(197,138,42,.35)}
.lmer textarea.lmer-input{min-height:110px}
.lmer-code{font-size:22px!important;letter-spacing:.2em;text-transform:uppercase;text-align:center}
.lmer .has-err .lmer-input{border-color:var(--err)}
.lmer-err{color:var(--err);font-size:14px;font-weight:600;margin:6px 0 0}
.lmer fieldset{border:0;margin:0;padding:0;min-width:0}
.lmer legend{padding:0}
.lmer-choices{display:grid;gap:8px}
.lmer-choice{display:flex;align-items:flex-start;gap:12px;min-height:52px;padding:13px 14px;border:1.5px solid var(--line);border-radius:12px;background:#fff;cursor:pointer;font-weight:500}
.lmer-choice input{width:22px;height:22px;flex:none;margin:1px 0 0;accent-color:var(--brand)}
.lmer-choice:has(input:checked){border-color:var(--brand);background:#eef1ea}
.lmer-choice.big{font-weight:650}
.lmer-single{border:0;padding:4px 0;background:none}
.lmer-single:has(input:checked){background:none}
.lmer-date-row{display:grid;grid-template-columns:1fr 1.6fr 1.2fr;gap:8px}
.lmer-date-row label span{display:block;font-size:13px;color:var(--muted);margin-bottom:4px}

/* uploads */
.lmer-idtype{margin-bottom:6px}
.lmer-ups{display:grid;gap:14px;width:100%;margin-bottom:18px}
.lmer-up{border:1.5px dashed #bdbdb8;border-radius:14px;padding:14px;background:#fff;width:100%}
.lmer-up.has-err{border-color:var(--err);background:var(--errbg)}
.lmer-up-title{font-weight:700;margin-bottom:10px}
.lmer-up-btns{display:grid;grid-template-columns:1fr;gap:8px}
.lmer-prev{position:relative;border-radius:10px;overflow:hidden;background:var(--soft);margin-bottom:10px}
.lmer-prev img{display:block;width:100%;height:auto;max-height:320px;object-fit:contain;background:#eee}
.lmer-pdf{padding:22px;text-align:center;font-weight:700}
.lmer-pdf small{display:block;font-weight:400;color:var(--muted);word-break:break-all}
.lmer-ok{position:absolute;left:8px;top:8px;background:var(--okbg);color:var(--ok);font-weight:700;font-size:14px;border-radius:999px;padding:3px 10px}

/* declarations */
.lmer-extra{background:var(--soft);border-radius:10px;padding:12px;margin-bottom:14px;width:100%}
.lmer-decl{width:100%;margin-bottom:14px;padding:12px;border:1.5px solid var(--line);border-radius:12px}
.lmer-decl.has-err{border-color:var(--err);background:var(--errbg)}
.lmer-link{display:inline;border:0;background:none;padding:0;color:inherit;font-weight:700;text-decoration:underline;cursor:pointer}

/* buttons */
.lmer .lmer-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:52px;padding:12px 18px;border:1.5px solid var(--brand);border-radius:12px;background:var(--brand);color:#fff;font-weight:700;font-size:16px;cursor:pointer;text-decoration:none;line-height:1.2;width:100%}
.lmer .lmer-btn svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.lmer .lmer-btn:hover{background:var(--brand2);border-color:var(--brand2)}
.lmer .lmer-btn.ghost{background:#fff;color:var(--ink);border-color:#bdbdb8}
.lmer .lmer-btn.ghost:hover{background:var(--soft);border-color:var(--ink)}
.lmer .lmer-btn.ok{background:var(--brand);border-color:var(--brand)}
.lmer .lmer-btn.sm{min-height:44px;padding:8px 14px;font-size:15px;width:auto}
.lmer .lmer-btn.big{min-height:60px;font-size:18px}
.lmer .lmer-btn.full{margin-top:6px}
.lmer .lmer-btn:disabled{opacity:.55;cursor:wait}
.lmer-nav{position:sticky;bottom:0;display:grid;grid-template-columns:1fr 1.6fr;gap:10px;margin:8px -16px -20px;padding:12px 16px calc(12px + env(safe-area-inset-bottom,0px));background:rgba(255,255,255,.96);border-top:1px solid var(--line);border-radius:0 0 16px 16px}

/* review */
.lmer-rv{border:1px solid var(--line);border-radius:12px;margin-bottom:12px;width:100%;overflow:hidden}
.lmer-rv-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 8px 8px 14px;background:var(--soft)}
.lmer-rv-head h3{margin:0;font-size:16px;font-weight:750}
.lmer-rv dl{margin:0;padding:4px 14px 8px}
.lmer-rv-row{padding:8px 0;border-bottom:1px solid #eeeeec}
.lmer-rv-row:last-child{border-bottom:0}
.lmer-rv dt{font-size:13px;color:var(--muted)}
.lmer-rv dd{margin:0;font-weight:600;overflow-wrap:anywhere}
.lmer-okc{color:var(--ok)}

/* done */
.lmer-done:focus{outline:none}
.lmer-check{width:64px;height:64px;border-radius:50%;background:var(--okbg);color:var(--ok);font-size:34px;font-weight:800;display:grid;place-items:center;margin:4px auto 14px}

/* privacy modal: full screen on phones */
.lmer-modal-wrap{position:fixed;inset:0;z-index:999999;background:rgba(0,0,0,.45);display:flex;align-items:stretch;justify-content:center;padding:0;max-width:none}
.lmer-modal{background:#fff;width:100%;height:100%;display:flex;flex-direction:column}
.lmer-modal-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:calc(12px + env(safe-area-inset-top,0px)) 16px 12px;border-bottom:1px solid var(--line)}
.lmer-modal-head h2{margin:0;font-size:19px}
.lmer-modal-body{flex:1;overflow-y:auto;-webkit-overflow-scrolling:touch;padding:16px}
.lmer-modal-foot{padding:12px 16px calc(12px + env(safe-area-inset-bottom,0px));border-top:1px solid var(--line)}
html.lmer-noscroll,html.lmer-noscroll body{overflow:hidden}

/* small phones */
@media (max-width:359px){
 .lmer{padding-left:10px;padding-right:10px}
 .lmer-card{padding:16px 12px}
 .lmer-nav{margin-left:-12px;margin-right:-12px}
 .lmer-date-row{grid-template-columns:1fr 1fr}
 .lmer-date-row label:nth-child(2){grid-column:1/-1;grid-row:1}
}
/* tablet and up */
@media (min-width:600px){
 .lmer{padding:28px 24px 40px}
 .lmer-card{padding:28px}
 .lmer-h1{font-size:28px}
 .lmer-up-btns{grid-template-columns:1fr 1fr}
 .lmer-langbig{grid-template-columns:1fr 1fr}
 .lmer-nav{position:static;margin:16px 0 0;padding:0;border:0;background:none;border-radius:0}
}
@media (min-width:768px){
 .lmer-field.half{flex:1 1 calc(50% - 6px)}
 .lmer-ups{grid-template-columns:1fr 1fr}
 .lmer-modal-wrap{align-items:center;padding:24px}
 .lmer-modal{max-width:720px;height:auto;max-height:86vh;border-radius:16px;overflow:hidden}
}
@media (min-width:1024px){
 .lmer{max-width:720px}
}
@media (prefers-reduced-motion:reduce){.lmer *{transition:none!important}}
