/* Mech Tech onboarding: black / white / red */
.ob-login .ob-card{width:min(440px,100%);animation:obRise .45s cubic-bezier(.2,.8,.2,1)}
.ob-link{display:block;margin:14px auto 0;background:none;border:0;color:#fff;font-weight:700;text-decoration:underline;text-underline-offset:4px;text-decoration-color:#c82735}
.ob-link:hover{color:#ff6b77}
.ob-divider{display:flex;align-items:center;gap:10px;margin:20px 0 14px;color:#8a8a92;font-size:10px;letter-spacing:1.6px;text-transform:uppercase}
.ob-divider:before,.ob-divider:after{content:'';flex:1;height:1px;background:#3b3b40}
.ob-cta{letter-spacing:1.4px;text-transform:uppercase;min-height:48px;background:#c82735!important}
.btn.ob-ghost{background:transparent;color:#fff;border:1px solid #4a4a50}
.btn.ob-ghost:hover{border-color:#fff}
.ob-login .ob-ghost{margin-top:10px;letter-spacing:1.4px;text-transform:uppercase;min-height:46px}
.ob-dev{margin-top:12px;font-size:11px;color:#8a8a92;text-align:center;border:1px dashed #3b3b40;border-radius:8px;padding:6px}
.ob-dev b{color:#fff;font-family:ui-monospace,Menlo,monospace;letter-spacing:1px}

/* registration popup: centered, scrollable on every size */
.ob-backdrop{background:#000c!important;align-items:center!important;padding:16px!important;animation:obFade .2s ease}
.ob-modal{background:#09090b!important;color:#fff;border:1px solid #3b3b40;width:min(760px,100%)!important;max-height:calc(100dvh - 32px)!important;border-radius:16px!important;display:flex;flex-direction:column;overflow:hidden!important;animation:obPop .32s cubic-bezier(.2,.9,.25,1.1)}
.ob-modal form{display:flex;flex-direction:column;min-height:0;flex:1}
.ob-head{display:grid;grid-template-columns:44px 1fr 44px;align-items:center;gap:8px;padding:14px 16px;border-bottom:1px solid #2a2a2e;flex:none}
.ob-head-title{text-align:center}.ob-head h2{margin:2px 0 0;font-size:20px;line-height:1.2;letter-spacing:-.3px;color:#fff}
.ob-icon{width:44px;height:44px;border-radius:10px;background:#18181b;border:1px solid #3b3b40;color:#fff;font-size:22px;line-height:1}
.ob-icon:hover{border-color:#c82735}
.ob-body{padding:20px 22px;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;flex:1;min-height:0;display:flex;flex-direction:column;gap:14px}
.ob-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;padding:14px 22px;border-top:1px solid #2a2a2e;flex:none}
.ob-modal label{color:#fff!important}
.ob-modal .tiny,.ob-modal .hint{color:#a8a8af}
.ob-modal input,.ob-modal select,.ob-modal textarea{background:#050506;color:#fff;border:1px solid #55555c}
.ob-modal input::placeholder,.ob-modal textarea::placeholder{color:#85858c}
.ob-modal input:focus,.ob-modal select:focus,.ob-modal textarea:focus{border-color:#fff;outline:0;box-shadow:0 0 0 3px #ffffff22}
.ob-modal .ob-invalid{border-color:#e0414f;box-shadow:0 0 0 3px #c8273533}
.ob-lede{margin:0;color:#d6d6da;font-size:15px}
.ob-center{text-align:center;justify-content:center}
.ob-section{font-size:10px;font-weight:800;letter-spacing:1.6px;text-transform:uppercase;color:#c82735;border-bottom:1px solid #2a2a2e;padding-bottom:6px}
.ob-error{background:#2a0b0f;border:1px solid #c82735;color:#ffd5d9;border-radius:10px;padding:10px 12px;font-size:13px}
.ob-code{min-height:20px;font-size:13px;margin-top:6px;color:#a8a8af}
.ob-code.ok{color:#fff;border-left:3px solid #c82735;padding-left:10px}.ob-code.ok span{display:block;font-size:12px;color:#a8a8af}
.ob-code.bad{color:#ff8c96}
.ob-choices{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.ob-choice{border:1px solid #3b3b40;border-radius:14px;padding:18px;display:flex;flex-direction:column;gap:10px;background:#0f0f12;transition:transform .2s ease,border-color .2s ease}
.ob-choice:hover{transform:translateY(-3px);border-color:#c82735}
.ob-choice h3{margin:0;font-size:18px;color:#fff}
.ob-choice-tag{font-size:10px;font-weight:800;letter-spacing:1.6px;text-transform:uppercase;color:#c82735}
.ob-choice ul{margin:0 0 6px;padding-left:18px;color:#c8c8ce;font-size:13px;flex:1}
.ob-success{display:flex;flex-direction:column;gap:16px;align-items:stretch;text-align:center}
.ob-check{width:56px;height:56px;border-radius:50%;border:2px solid #c82735;margin:4px auto;position:relative;animation:obPop .4s ease}
.ob-check:after{content:'';position:absolute;left:19px;top:12px;width:12px;height:22px;border:solid #fff;border-width:0 3px 3px 0;transform:rotate(45deg)}
.ob-codebox{border:1px solid #c82735;border-radius:14px;padding:16px;background:#140608}
.ob-codebox small{display:block;color:#a8a8af;letter-spacing:1.4px;text-transform:uppercase;font-size:10px}
.ob-codebox b{display:block;font:800 34px/1.2 ui-monospace,Menlo,monospace;letter-spacing:4px;color:#fff;margin:6px 0;word-break:break-all}
.ob-codebox span{color:#c8c8ce;font-size:13px}
.ob-steps{text-align:left;color:#d6d6da;font-size:14px;margin:0;padding-left:20px;display:flex;flex-direction:column;gap:6px}
@keyframes obFade{from{opacity:0}to{opacity:1}}
@keyframes obPop{from{opacity:0;transform:translateY(14px) scale(.97)}to{opacity:1;transform:none}}
@keyframes obRise{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
@media(max-width:720px){.ob-backdrop{padding:10px!important}.ob-modal{max-height:calc(100dvh - 20px)!important}.ob-choices{grid-template-columns:1fr}.ob-body{padding:16px}.ob-foot{padding:12px 16px}.ob-foot>.tiny{width:100%}.ob-foot .row{width:100%}.ob-foot .row .btn{flex:1}.ob-head h2{font-size:17px}}

/* learn page */
.lp{min-height:100dvh;background:#050505;color:#fff;padding:0 20px 60px}
.lp-top{display:flex;justify-content:space-between;align-items:center;max-width:1040px;margin:0 auto;padding:18px 0;border-bottom:1px solid #2a2a2e;position:sticky;top:0;background:#050505ee;backdrop-filter:blur(6px);z-index:3}
.lp-top img{height:38px;width:auto}
.lp-hero{max-width:1040px;margin:0 auto;padding:72px 0 48px;animation:obRise .6s ease}
.lp-kicker{color:#c82735;font-weight:800;letter-spacing:4px;font-size:12px}
.lp-hero h1{font-size:clamp(38px,8vw,92px);line-height:.95;letter-spacing:-2px;margin:12px 0 18px;font-weight:900}
.lp-tag{font-size:clamp(18px,2.4vw,24px);color:#fff;font-weight:700;border-left:4px solid #c82735;padding-left:14px}
.lp-hero p{max-width:760px;color:#c8c8ce;font-size:17px;line-height:1.65}
.lp-sections{max-width:1040px;margin:0 auto}
.lp-sec{display:grid;grid-template-columns:90px 1fr;gap:20px;padding:34px 0;border-top:1px solid #2a2a2e}
.lp-num{font:800 30px/1 ui-monospace,Menlo,monospace;color:#c82735}
.lp-sec h2{margin:0 0 12px;font-size:clamp(19px,2.6vw,26px);letter-spacing:.5px}
.lp-sec p{color:#c8c8ce;max-width:720px;line-height:1.65;margin:0 0 10px}
.lp-list{list-style:none;padding:0;margin:6px 0 14px;display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:8px}
.lp-list li{border:1px solid #3b3b40;border-radius:9px;padding:9px 12px;font-size:14px;color:#fff}
.lp-sec blockquote{margin:6px 0;border-left:3px solid #c82735;padding:10px 16px;background:#111114;border-radius:0 10px 10px 0;color:#fff;font-style:italic;max-width:720px}
.lp-foot{max-width:1040px;margin:30px auto 0;border-top:1px solid #c82735;padding-top:34px;text-align:center}
.lp-foot h2{font-size:clamp(20px,3vw,30px);margin:0 0 20px}
.lp-actions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}
.lp-actions .btn{min-height:48px;padding:12px 20px}
@media(max-width:720px){.lp-sec{grid-template-columns:1fr;gap:6px}.lp-hero{padding:44px 0 30px}.lp-actions .btn{width:100%}}

/* admin + mobile jobs (inside light app shell) */
.ob-admin-grid{display:grid;grid-template-columns:minmax(220px,300px) 1fr;gap:18px}
.ob-codecard{background:#0b0b0b;color:#fff;border-radius:14px;padding:18px;display:flex;flex-direction:column;gap:10px}
.ob-codecard small{color:#a8a8af;letter-spacing:1.4px;text-transform:uppercase;font-size:10px}
.ob-codecard b{font:800 28px/1.1 ui-monospace,Menlo,monospace;letter-spacing:3px;word-break:break-all}
.ob-codecard .tiny{color:#a8a8af}
.ob-facts{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:12px;margin:0}
.ob-facts dt{font-size:11px;color:#6b7280;font-weight:700;text-transform:uppercase;letter-spacing:.6px}
.ob-facts dd{margin:2px 0 0;font-weight:600;overflow-wrap:anywhere}
.ob-done summary{cursor:pointer;margin-top:12px;font-weight:700}
.ob-skel{display:flex;flex-direction:column;gap:12px}
.ob-skel div{height:18px;border-radius:6px;background:linear-gradient(90deg,#eee,#f7f7f7,#eee);background-size:200% 100%;animation:obShim 1.2s infinite linear}
.ob-skel div:first-child{width:40%;height:24px}
@keyframes obShim{to{background-position:-200% 0}}
.mj-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);gap:18px;align-items:start}
.mj-card{display:block;width:100%;text-align:left;background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:13px 14px;margin-bottom:9px;color:#111;transition:border-color .15s,transform .15s}
.mj-card:hover{border-color:#c62828;transform:translateY(-1px)}
.mj-card.open{border-color:#c62828;box-shadow:inset 3px 0 0 #c62828}
.mj-detail{animation:obRise .3s ease}
.mj-title{font-size:21px!important;margin:4px 0 0!important}
.mj-steps{display:flex;gap:4px;margin:14px 0}
.mj-steps span{flex:1;font-size:11px;font-weight:700;text-align:center;padding:7px 4px;border-radius:7px;background:#f1f1f3;color:#6b7280}
.mj-steps span.done{background:#c62828;color:#fff}
.mj-video{display:flex;align-items:center;justify-content:center;height:142px;border-radius:10px;background:#0b0b0b;color:#fff;text-decoration:none;font-size:13px;padding:8px;text-align:center}
.status.mj-s-declined{background:#f1f1f3;color:#555}
@media(max-width:900px){.mj-layout,.ob-admin-grid{grid-template-columns:1fr}}

/* ===== login: service bay ===== */
.ob-bay{position:relative;min-height:100dvh;display:block!important;padding:0!important;overflow-x:hidden;isolation:isolate}
.ob-bay-photo{position:absolute;inset:0 0 auto 0;height:min(52vh,680px);z-index:-1;background:url(/login-service-bay.jpg) center 68%/cover no-repeat}
.ob-bay-photo:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,#0000 0%,#0003 35%,#000c 70%,#050505 100%)}
.ob-bay-inner{width:min(440px,100%);margin:0 auto;padding:clamp(88px,14vh,130px) 16px calc(20px + env(safe-area-inset-bottom));box-sizing:border-box}
.ob-bay-brand{text-align:center;animation:obRise .5s cubic-bezier(.2,.8,.2,1)}
.ob-bay-brand .eyebrow{letter-spacing:3px;font-size:11px;font-weight:800;text-transform:uppercase}
.ob-bay .login-logo{display:block;width:min(280px,72%);height:auto;margin:6px auto 8px;filter:drop-shadow(0 4px 16px #000a)}
.ob-bay-brand .hint{margin:0 auto 12px;max-width:340px;font-size:14px;line-height:1.5}
.ob-bay .login-card{width:100%;box-sizing:border-box;padding:16px 16px;border:1px solid;border-radius:14px;backdrop-filter:blur(6px);box-shadow:0 20px 50px #000a}
.ob-bay .form-field label{font-weight:700;font-size:13px}
.ob-in{position:relative}
.ob-in>svg{position:absolute;left:13px;top:50%;width:19px;height:19px;transform:translateY(-50%);fill:none;stroke:#a9abad;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.ob-in input{width:100%;box-sizing:border-box;min-height:46px;padding-left:44px!important;border-radius:9px}
.ob-in input[name=password]{padding-right:48px!important}
.ob-eye{position:absolute;right:4px;top:50%;transform:translateY(-50%);width:40px;height:40px;display:grid;place-items:center;background:none;border:0;border-radius:8px;cursor:pointer}
.ob-eye svg{width:20px;height:20px;fill:none;stroke:#c4c6c8;stroke-width:1.6;stroke-linecap:round}
.ob-eye .ob-eye-hide,.ob-eye[aria-pressed=true] .ob-eye-show{display:none}
.ob-eye[aria-pressed=true] .ob-eye-hide{display:block}
.ob-bay #login-form .btn.teal{min-height:46px;font-weight:700;margin-top:4px}
.ob-bay .ob-dev[hidden]{display:none}
@media(max-height:700px) and (max-width:767px){.ob-bay-inner{padding-top:76px}.ob-bay .login-logo{width:min(240px,64%)}}
@media(min-width:768px){.ob-bay-photo{height:100vh;height:100dvh;position:fixed}.ob-bay-photo:after{background:linear-gradient(180deg,#0000 0%,#0004 40%,#000d 80%,#050505 100%)}.ob-bay-inner{margin:0 auto 0 clamp(24px,6vw,96px);padding-top:clamp(28px,8vh,120px)}}
@media(min-width:1100px){.ob-bay-photo{background-position:center 55%}.ob-bay-photo:after{background:linear-gradient(270deg,#0000 30%,#000c 75%),linear-gradient(180deg,#0000 50%,#050505)}.ob-bay-inner{padding-top:6vh}}
@media(min-width:768px) and (max-height:900px){.ob-bay-inner{padding-top:clamp(14px,3vh,28px)}.ob-bay .login-logo{width:min(190px,60%);margin:2px auto 4px}.ob-bay-brand .hint{margin-bottom:8px;font-size:13px;line-height:1.4}.ob-bay .login-card{padding:12px 16px}.ob-bay #login-form{gap:8px}.ob-in input{min-height:42px}.ob-bay #login-form .btn.teal{min-height:44px;margin-top:2px}.ob-bay .ob-dev{margin-top:8px;padding:4px}.ob-bay .ob-link{margin-top:8px}.ob-bay .ob-divider{margin:10px 0 8px}.ob-bay .ob-cta{min-height:44px}.ob-login .ob-ghost{margin-top:8px;min-height:44px}.ob-login .fd-login-btn{margin-top:8px}}

/* ===== login footer (login-footer.js) ===== */
.ob-bay{display:flex!important;flex-direction:column}
.ob-bay>.ob-bay-inner{flex:1 0 auto}
.ob-bay .lf-footer{position:relative;z-index:1;width:100%;box-sizing:border-box;background:#000;color:#fff;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:6px max(16px,env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));margin-top:0}
.ob-bay .lf-est{color:#fff;font-size:13px;font-weight:600;letter-spacing:.3px}
.ob-bay .lf-icons{display:flex;gap:4px;margin-left:auto}
.ob-bay .lf-social{width:44px;height:44px;display:grid;place-items:center;background:none;border:0;padding:0;border-radius:8px;color:#fff;opacity:1;cursor:pointer}
.ob-bay .lf-social[disabled]{cursor:default;color:#fff;opacity:1}
.ob-bay .lf-social svg{width:22px;height:22px}
.ob-bay .lf-social:focus-visible{outline:2px solid #e10600;outline-offset:2px}
.ob-bay a.lf-social:hover{color:#e10600}
.ob-bay>.ob-bay-inner{padding-bottom:12px}
@media(min-width:768px){.ob-bay .lf-footer{padding-left:32px;padding-right:32px}}
