/* Matong staff access. Scoped to authentication; the workspace keeps its theme. */
.auth-scene{--auth-ink:#18323d;--auth-muted:#526a74;--auth-primary:#09445a;--auth-accent:#c53547;--auth-line:#d5e0df;position:relative;isolation:isolate;display:flex;flex-direction:column;min-height:100vh;min-height:100svh;padding:32px clamp(24px,5vw,88px) 22px;overflow:clip;background:#102e3a;color:#fff;color-scheme:light;font-family:'IBM Plex Sans',Arial,sans-serif;font-size:16px;line-height:1.5}
.auth-scene,.auth-scene *,.auth-scene *::before,.auth-scene *::after{box-sizing:border-box}
.auth-scene h1,.auth-scene h2,.auth-scene p{margin:0}
.auth-backdrop{position:absolute;inset:0;z-index:-1;overflow:hidden;pointer-events:none}
.auth-backdrop img{display:block;width:100%;height:100%;object-fit:cover;object-position:62% center;opacity:.88}
.auth-backdrop::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,#062b3d70 0%,#062b3d06 32%,#062b3d33 54%,#041e2bdb 100%),linear-gradient(90deg,#062b3d15 25%,#042b3d70 60%,#042b3d99)}
.auth-header,.auth-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;width:100%;max-width:1600px;margin-inline:auto}
.auth-header{min-height:54px;flex-shrink:0}
.auth-brand{display:flex;align-items:center;gap:13px;color:#fff;text-decoration:none;font-size:15px;font-weight:600;letter-spacing:.075em;line-height:1.35}
.auth-brand-mark{display:grid;place-items:center;width:60px;height:54px;background:#fff;border-radius:8px;overflow:hidden}
.auth-brand-mark img{display:block;width:54px;height:44px;object-fit:contain}
.auth-brand small{display:block;margin-top:5px;font-size:12px;font-weight:400;letter-spacing:.04em;color:#e1e9ec}
.auth-website{display:flex;align-items:center;gap:10px;min-height:44px;color:#fff;text-decoration:none;font-size:13px;border-bottom:1px solid #ffffff69}
.auth-website:hover{border-color:#fff}
.auth-content{display:grid;grid-template-columns:minmax(0,460px) minmax(0,1fr);align-items:center;gap:clamp(56px,8.5vw,150px);width:100%;max-width:1440px;margin:auto;padding-block:clamp(36px,6vh,72px)}
.auth-card{width:100%;padding:38px 40px 25px;background:#fff;color:var(--auth-ink);border:1px solid #ffffffa6;border-radius:22px;box-shadow:0 20px 75px #03192529;animation:auth-arrive .5s ease-out both}
.auth-card-top{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:26px;color:var(--auth-primary)}
.auth-eyebrow{display:inline-flex;align-items:center;gap:9px;font-size:10px;font-weight:600;letter-spacing:.16em}
.auth-eyebrow::before{content:'';display:block;width:6px;height:6px;background:var(--auth-accent);border-radius:1px}
.auth-card h1{font-size:clamp(28px,2.5vw,36px);font-weight:600;line-height:1.18;letter-spacing:-.035em;color:var(--auth-ink)}
.auth-description{margin-top:10px!important;font-size:14px;color:var(--auth-muted);line-height:1.6}
.auth-card form{margin-top:29px}
.auth-fields{display:grid;gap:22px;border:0;padding:0;margin:0;min-width:0}
.auth-field{min-width:0}
.auth-field label{display:block;margin:0 0 8px;font-size:13px;font-weight:500;color:var(--auth-ink)}
.auth-label-row{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
.auth-label-row .auth-link{margin-top:-10px;margin-bottom:0;padding-block:10px;font-size:12px;flex-shrink:0}
.auth-scene .auth-field input,.auth-scene .auth-field select{display:block;width:100%;max-width:100%;height:51px;min-height:51px;padding:12px 14px;border:1px solid var(--auth-line);border-radius:8px;background:#f8faf9;color:var(--auth-ink);font:inherit;font-size:16px;font-weight:400;line-height:1.3;box-shadow:0 1px 2px #082b3c04;transition:border-color .16s,box-shadow .16s,background .16s}
.auth-scene .auth-field input::placeholder{color:#72858c;opacity:1;font-size:14px}
.auth-scene .auth-field input:focus,.auth-scene .auth-field select:focus{outline:0;border-color:var(--auth-primary);box-shadow:0 0 0 3px #09445a1c;background:#fff}
.auth-scene input:-webkit-autofill{-webkit-text-fill-color:var(--auth-ink);-webkit-box-shadow:0 0 0 100px #f1f6f5 inset}
.auth-password{position:relative}
.auth-scene .auth-password input{padding-right:52px}
.auth-reveal{position:absolute;right:4px;top:4px;display:grid;place-items:center;width:44px;height:43px;border:0;border-radius:6px;background:transparent;color:#526a74;cursor:pointer}
.auth-reveal:hover{background:#eaf0ef;color:var(--auth-primary)}
.auth-caps{margin-top:7px!important;font-size:12px;color:#835b13}
.auth-scene #auth-code{font-variant-numeric:tabular-nums;letter-spacing:.35em}
.auth-link,.auth-back{display:inline-flex;align-items:center;justify-content:center;border:0;background:none;color:var(--auth-primary);text-decoration:underline;text-underline-offset:4px;font-family:inherit;font-size:13px;font-weight:500;line-height:1.5;min-height:44px;padding:10px 0;cursor:pointer}
.auth-link:hover,.auth-back:hover{color:#042b3d;text-decoration-thickness:2px}
.auth-submit{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;min-height:52px;margin-top:27px;padding:13px 20px;border:1px solid var(--auth-primary);border-radius:8px;background:var(--auth-primary);color:#fff;font-family:inherit;font-size:15px;font-weight:500;line-height:1.5;cursor:pointer;transition:background .16s,transform .16s,box-shadow .16s}
.auth-submit:hover{background:#063449;box-shadow:0 4px 12px #09445a24}
.auth-submit:active{transform:translateY(1px)}
.auth-submit svg{margin-left:auto}
.auth-submit::before{content:'';width:18px;margin-right:auto}
.auth-submit:disabled::before{display:none}
.auth-scene button:disabled{cursor:wait;opacity:.65}
.auth-scene fieldset:disabled input,.auth-scene fieldset:disabled select{opacity:.7}
.auth-scene :focus-visible{outline:3px solid var(--auth-accent);outline-offset:4px}
.auth-feedback{margin-top:18px!important;border:1px solid #c8dce4;border-radius:8px;padding:12px 14px;color:#245b73;background:#edf5f8;font-size:13px;line-height:1.6;overflow-wrap:anywhere}
.auth-feedback-error{background:#fbeef0;border-color:#efc8cf;color:#91273a}
.auth-feedback-success{background:#edf6f0;border-color:#c2decd;color:#216446}
.auth-invitation{margin-top:27px;text-align:center;color:var(--auth-muted);font-size:12px;line-height:1.65}
.auth-invitation>span{display:block;color:var(--auth-ink);font-weight:500}
.auth-invitation p{margin-top:3px}
.auth-card-footer{display:flex;justify-content:center;align-items:center;gap:7px;margin-top:27px;padding-top:18px;border-top:1px solid #eaf0ef;color:var(--auth-muted);font-size:11px}
.auth-recovery{display:grid;justify-items:start;margin-top:12px}
.auth-back{margin-top:14px}
.auth-story{align-self:end;padding-bottom:32px;max-width:540px;animation:auth-arrive .65s ease-out both}
.auth-story-eyebrow{display:block;font-size:10px;font-weight:500;letter-spacing:.18em;color:#e1e9ec;margin-bottom:22px}
.auth-story h2{font-size:clamp(44px,5.5vw,82px);font-weight:500;line-height:1.04;letter-spacing:-.045em;color:#fff;text-wrap:balance}
.auth-story p{margin-top:23px;color:#edf2f4;font-size:16px;line-height:1.7}
.auth-story-rule{width:38px;height:3px;margin-top:30px;background:#df6472}
.auth-story-caption{display:block;margin-top:21px;color:#e1e9ec;font-size:9px;letter-spacing:.11em}
.auth-story-caption span{margin-inline:7px;color:#df6472}
.auth-footer{font-size:11px;color:#e1e9ec;flex-shrink:0;line-height:1.5}
.auth-spinner{width:17px;height:17px;border:2px solid #ffffff59;border-top-color:#fff;border-radius:50%;animation:auth-spin .75s linear infinite}
@keyframes auth-arrive{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
@keyframes auth-spin{to{transform:rotate(360deg)}}
@media(min-width:1600px){.auth-content{max-width:1480px;grid-template-columns:minmax(0,480px) minmax(0,1fr)}.auth-card{padding:44px 44px 28px}}
@media(max-width:1000px){.auth-content{gap:50px;grid-template-columns:minmax(0,420px) minmax(0,1fr)}.auth-card{padding:32px 30px 24px}.auth-story h2{font-size:48px}.auth-story p{font-size:14px}.auth-story-eyebrow{line-height:1.9;max-width:190px}}
@media(max-width:900px){.auth-scene{padding:22px 20px 20px;background:#eff3f2;min-height:100svh;color:var(--auth-ink)}.auth-backdrop{height:320px;bottom:auto}.auth-backdrop img{object-position:65% 40%}.auth-backdrop::after{background:linear-gradient(180deg,#042b3da6,#042b3d40)}.auth-header{max-width:460px;min-height:48px}.auth-brand{font-size:12px;gap:10px;letter-spacing:.05em}.auth-brand-mark{width:49px;height:45px;border-radius:7px}.auth-brand-mark img{width:45px;height:38px}.auth-brand small{font-size:11px;margin-top:3px}.auth-website{font-size:0;gap:0;border:1px solid #ffffff60;border-radius:50%;width:44px;justify-content:center;flex-shrink:0}.auth-website svg{width:18px;height:18px}.auth-content{display:block;max-width:460px;margin:0 auto;padding:38px 0 28px}.auth-card{padding:30px 28px 22px;border-radius:18px;box-shadow:0 12px 35px #042b3d13}.auth-card-top{margin-bottom:23px}.auth-card h1{font-size:31px}.auth-story{display:none}.auth-footer{margin-top:auto;max-width:460px;color:#526a74;font-size:10px;gap:10px;flex-wrap:wrap}}
@media(max-width:380px){.auth-scene{padding-inline:16px}.auth-card{padding-inline:22px}.auth-label-row{gap:8px}.auth-card h1{font-size:29px}.auth-description{font-size:13px}.auth-footer{font-size:9px}}
@media(prefers-reduced-motion:reduce){.auth-scene *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(forced-colors:active){.auth-submit{border:2px solid ButtonText}.auth-card{border:1px solid CanvasText}.auth-brand,.auth-website{color:LinkText}}
