/* 1.52.00.39 sign-in and account pages: premium cream, charcoal and gold (LinkedIn Premium style).
   Light on purpose: sign-in pages do not follow the dark theme. Layout: brand left, card right on laptops;
   one friendly column on iPad and phones. Nothing is removed, only restyled and rearranged. */
:root[data-theme] body.auth{
  --card:#fff;--ink:#16191C;--ink-2:#3F4650;--ink-3:#6B6455;--line:#E3DAC4;--brand:#0A5C63;--bg:#F3F2EF;
  color-scheme:light;color:#16191C;display:block;min-height:100vh;padding:0;
  background:radial-gradient(900px 520px at 88% -8%,rgba(248,199,126,.55),transparent 62%),radial-gradient(700px 480px at -6% 108%,rgba(231,163,62,.22),transparent 60%),#F3F2EF}
body.auth .auth-wrap{width:100%;max-width:480px;margin:0 auto;padding:28px 18px 34px;min-height:100vh;display:flex;flex-direction:column;justify-content:center}

/* brand */
body.auth .auth-brand{position:relative;align-items:flex-start;text-align:left;gap:.5rem;color:#16191C;margin:0 0 18px}
body.auth .auth-brand .logo-badge{width:56px;height:56px;border-radius:15px;box-shadow:0 16px 28px -16px rgba(8,71,77,.6)}
body.auth .auth-brand .logo-word{font-size:2.3rem;line-height:1.05;font-weight:700;color:#B87A12;letter-spacing:-.01em}
body.auth .auth-brand .logo-word b{color:#1FA3AC;font-weight:700}
body.auth .auth-brand small{display:flex;flex-direction:column;gap:2px;color:#16191C;font:700 1.18rem/1.3 "Bricolage Grotesque",system-ui,sans-serif;max-width:22rem}
body.auth .auth-brand small .g{background:linear-gradient(90deg,#E7A33E,#915907);-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent}

/* card */
body.auth .auth-card{background:#fff;border:1px solid #E8DFC9;border-radius:20px;padding:24px 24px 20px;box-shadow:0 30px 60px -34px rgba(60,38,6,.45),0 2px 0 rgba(255,255,255,.8) inset}
body.auth .auth-card h1{font:800 1.45rem/1.15 "Bricolage Grotesque",system-ui,sans-serif;color:#16191C;margin:0 0 8px}
body.auth .auth-card .muted{color:#4A5560}
body.auth .auth-card a{color:#915907}
body.auth .auth-card .sx-ctx{color:#16191C}
body.auth .auth-card .flash{border-radius:12px}

/* one tap block */
:root[data-theme] body.auth .sio-card{padding:0;border:0;border-radius:0;background:none;box-shadow:none;margin:0 0 10px}
body.auth .sio-card::before{display:none}
:root[data-theme] body.auth .sio-card .sio-k{color:#915907;font-weight:800;letter-spacing:.1em}
:root[data-theme] body.auth .sio-card .sio-s,:root[data-theme] body.auth .sio-or{color:#6B6455}
:root[data-theme] body.auth .sio-or::before,:root[data-theme] body.auth .sio-or::after{background:#E3DAC4}
body.auth .sio-btns{display:grid;gap:10px;grid-template-columns:1fr}
body.auth .sio-b{border-radius:12px;min-height:46px;font-weight:700;font-size:15px}
:root[data-theme] body.auth .sio-card .sio-google{background:#fff;color:#16191C!important;border:1px solid #CFC5AB}
:root[data-theme] body.auth .sio-card .sio-microsoft{background:#fff;color:#16191C!important;border:1px solid #CFC5AB}
:root[data-theme] body.auth .sio-card .sio-linkedin{background:#0A66C2;color:#fff!important;border:1px solid #0A66C2}

/* email code: gold */
body.auth .sx-codebtn{display:flex;align-items:center;gap:12px;border-radius:14px;padding:12px 14px;background:linear-gradient(135deg,#F8C77E,#E7A33E);border:1px solid #D18B24;color:#2B1A00;text-decoration:none;box-shadow:0 14px 26px -18px rgba(145,89,7,.7)}
body.auth .sx-codebtn b{color:#2B1A00}
body.auth .sx-codebtn small{color:#4A2E00;font-size:12.5px;line-height:1.3}
body.auth .sx-codebtn svg{flex:none}

/* password form */
body.auth .sio-or{margin:12px 0 8px}
body.auth .auth-card label{color:#16191C;font-weight:700}
body.auth .auth-card input[type=email],body.auth .auth-card input[type=password],body.auth .auth-card input[type=text]{background:#fff;color:#16191C;border:1px solid #CFC5AB;border-radius:10px;min-height:44px}
body.auth .auth-card input:focus{outline:0;border-color:#E7A33E;box-shadow:0 0 0 3px rgba(231,163,62,.35)}
body.auth .auth-card .stack{gap:10px}
body.auth .auth-card .btn{border-radius:12px;min-height:46px;font-weight:700;background:#16191C;color:#fff;border:1px solid #16191C}
body.auth .auth-card .btn:hover{background:#2A2F35}
body.auth .auth-card .btn.sec{background:#fff;color:#16191C;border:1px solid #CFC5AB}
body.auth .auth-card .btn.sec:hover{border-color:#E7A33E;background:#FBF3DF}
body.auth .auth-card .muted[style]{color:#6B6455;line-height:1.4}
body.auth .auth-links{margin-top:12px}
body.auth .auth-links a{font-weight:700}

/* app download and footer */
body.auth .auth-app{max-width:none;background:#fff;border:1px solid #E8DFC9;border-radius:14px;color:#16191C;margin:14px 0 0}
body.auth .auth-app:hover{border-color:#E7A33E}
body.auth .auth-app small{color:#6B6455}
body.auth .auth-app-ic{background:linear-gradient(135deg,#F8C77E,#E7A33E);border-radius:12px}
body.auth .auth-app-ic .i{stroke:#2B1A00}
body.auth .auth-foot{color:#6B6455;text-align:left;margin-top:12px;font-size:.8rem}
body.auth .auth-foot a{color:#915907;font-weight:700}

/* laptop: brand left, card right, nothing hidden below the fold */
@media (min-width:960px){
  body.auth .auth-wrap:has(.lg-cols){max-width:1180px;padding:28px 40px;display:grid;grid-template-columns:minmax(300px,380px) minmax(0,1fr);grid-template-rows:auto auto 1fr;grid-template-areas:"brand card" "app card" "foot card";column-gap:56px;align-content:center}
  body.auth .auth-wrap:has(.lg-cols) .auth-brand{grid-area:brand;margin:0}
  body.auth .auth-wrap:has(.lg-cols) .auth-card{grid-area:card;align-self:center;padding:26px 28px 22px}
  body.auth .auth-wrap:has(.lg-cols) .auth-app{grid-area:app;margin-top:18px;align-self:start}
  body.auth .auth-wrap:has(.lg-cols) .auth-foot{grid-area:foot;align-self:end;margin:0}
  body.auth .auth-wrap:has(.lg-cols) .auth-brand .logo-word{font-size:2.9rem}
  body.auth .auth-wrap:has(.lg-cols) .auth-brand small{font-size:1.35rem}
  body.auth .lg-cols{display:grid;grid-template-columns:minmax(0,1fr) 1px minmax(0,1fr);gap:0 26px;align-items:start;margin-top:6px}
  body.auth .lg-cols::before{content:"or";grid-column:2;grid-row:1;align-self:center;justify-self:center;width:30px;height:30px;margin:0 -15px;display:grid;place-items:center;background:#fff;color:#6B6455;font:700 12px system-ui,sans-serif;position:relative;z-index:1;order:2}
  body.auth .lg-cols::after{content:"";grid-column:2;grid-row:1;align-self:stretch;background:#E3DAC4;width:1px}
  body.auth .lg-a{grid-column:1;grid-row:1}
  body.auth .lg-b{grid-column:3;grid-row:1}
  body.auth .lg-a .sio-or,body.auth .lg-a .sio-card .sio-or{display:none}
  body.auth .lg-cols .sio-btns{grid-template-columns:1fr}
}

/* iPad and large phones */
@media (min-width:600px) and (max-width:959px){
  body.auth .auth-wrap{max-width:560px;padding:34px 24px 44px}
  body.auth .auth-brand{align-items:center;text-align:center}
  body.auth .auth-brand small{align-items:center;max-width:none}
}
/* phones */
@media (max-width:599px){
  body.auth .auth-wrap{padding:22px 14px 30px;justify-content:flex-start}
  body.auth .auth-brand{flex-direction:row;flex-wrap:wrap;align-items:center;gap:6px 12px;margin-bottom:14px}
  body.auth .auth-brand .logo-badge{width:46px;height:46px;border-radius:13px}
  body.auth .auth-brand .logo-word{font-size:1.8rem}
  body.auth .auth-brand small{flex:1 1 100%;font-size:1rem}
  body.auth .auth-card{padding:18px 16px 16px;border-radius:18px}
  body.auth .auth-card h1{font-size:1.3rem}
  body.auth .sio-b,body.auth .auth-card .btn{min-height:48px}
  body.auth .auth-card input{font-size:16px}
}
@media (prefers-reduced-motion:no-preference){
  body.auth .auth-brand,body.auth .auth-card,body.auth .auth-app{animation:authup .6s ease-out both}
  body.auth .auth-card{animation-delay:.12s}body.auth .auth-app{animation-delay:.24s}
  @keyframes authup{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
}
body.auth [hidden]{display:none!important}
/* other account pages (forgot password, sign up, code): compact brand row so the form is not pushed down */
@media (min-width:600px){
  body.auth .auth-wrap:not(:has(.lg-cols)){justify-content:flex-start;padding-top:36px}
  body.auth .auth-wrap:not(:has(.lg-cols)) .auth-brand{flex-direction:row;flex-wrap:wrap;align-items:center;gap:4px 14px;margin-bottom:16px}
  body.auth .auth-wrap:not(:has(.lg-cols)) .auth-brand .logo-badge{width:48px;height:48px;border-radius:13px}
  body.auth .auth-wrap:not(:has(.lg-cols)) .auth-brand .logo-word{font-size:2rem}
  body.auth .auth-wrap:not(:has(.lg-cols)) .auth-brand small{flex:1 1 100%;flex-direction:row;flex-wrap:wrap;gap:2px 8px;font-size:.98rem;max-width:none}
}

/* 1.52.00.51 lock screen: same look as sign-in (brand left, one card right, one-tap ways left, password right) */
body.auth .m12-lock-head{display:flex;align-items:center;gap:14px;margin:0 0 12px}
body.auth .m12-lock-head .m12-lock-ico{width:56px;height:56px;border-radius:17px;margin:0;flex:none}
body.auth .m12-lock-head .m12-lock-who{text-align:left;margin:0;font-size:.98rem;line-height:1.35;overflow-wrap:anywhere}
body.auth .m12-lock-why{background:#FBF8F0;border:1px solid #E8DFC9;border-radius:14px;padding:.3rem .9rem;margin:0 0 14px;font-size:.9rem;color:#2A2E33}
body.auth .m12-lock-why p{margin:.55rem 0}
body.auth .lk-tap{display:flex;align-items:center;gap:6px;margin:0 0 10px;font:800 11.5px/1.2 system-ui,sans-serif;letter-spacing:.09em;text-transform:uppercase;color:#915907}
body.auth .lg-a .btn.m12-big{margin-bottom:10px}
body.auth .lk-codebtn{width:100%;font:inherit;text-align:left;cursor:pointer;min-height:56px}
body.auth .lk-codebtn:hover{filter:brightness(1.03)}
body.auth .lk-one{margin-top:4px}
body.auth .m12-lock-out{margin-top:14px}
body.auth .pk-msg{margin:8px 0 10px;font-size:.9rem;line-height:1.4}
@media (min-width:960px){
  body.auth .lg-cols .m12-lock-why{font-size:.88rem}
}
@media (max-width:959px){
  body.auth .lg-cols{display:block}
  body.auth .lg-cols .lg-b{margin-top:6px}
}
@media (max-width:599px){
  body.auth .m12-lock-head{gap:12px}
  body.auth .m12-lock-head .m12-lock-ico{width:48px;height:48px;border-radius:14px}
  body.auth .m12-lock-why{font-size:.88rem;padding:.2rem .8rem}
  body.auth .lk-codebtn{min-height:60px}
}
body.auth .m12-lock-out .linkbtn{min-height:44px;padding:10px 14px;display:inline-flex;align-items:center}
body.auth .m12-lock-head .m12-lock-who,body.auth .m12-lock-why,body.auth .lk-codebtn span{min-width:0}
@media (max-width:359px){
  body.auth .auth-wrap{padding-left:10px;padding-right:10px}
  body.auth .auth-card{padding-left:12px;padding-right:12px}
  body.auth .lg-a .btn.m12-big{font-size:.98rem!important;padding-left:10px;padding-right:10px;white-space:normal;line-height:1.25}
}
body.auth .lg-a .btn.m12-big{white-space:normal;line-height:1.25;padding:10px 14px;min-height:52px;text-wrap:balance}

/* 1.52.00.70 sign-in side panel: QR code, rotating cards, help line. Soft backgrounds only, no coloured bars or divider lines. */
body.auth .auth-promo{margin-top:16px;display:grid;gap:12px}
body.auth .ap-stage{background:linear-gradient(160deg,#FFFBF1,#F6EAD0);border:1px solid #E8DFC9;border-radius:20px;padding:20px 20px 16px;min-height:236px;display:flex;flex-direction:column;justify-content:space-between}
body.auth .ap-slide{display:flex;gap:16px;align-items:center}
body.auth .ap-slide[hidden]{display:none!important}
body.auth .ap-qr{flex:0 0 auto;width:112px;height:112px;background:#fff;border-radius:14px;padding:6px;box-shadow:0 10px 22px -14px rgba(60,40,0,.35)}
body.auth .ap-qr svg{display:block;width:100%;height:100%}
body.auth .ap-ic{flex:0 0 auto;width:64px;height:64px;border-radius:18px;background:#fff;color:#1FA3AC;display:grid;place-items:center;box-shadow:0 10px 22px -14px rgba(60,40,0,.35)}
body.auth .ap-ic svg{width:30px;height:30px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
body.auth .ap-txt{display:flex;flex-direction:column;gap:6px;min-width:0}
body.auth .ap-k{font:800 .68rem/1 "Bricolage Grotesque",system-ui,sans-serif;letter-spacing:.12em;text-transform:uppercase;color:#915907}
body.auth .ap-h{font:800 1.18rem/1.2 "Bricolage Grotesque",system-ui,sans-serif;color:#16191C;margin:0}
body.auth .ap-p{font-size:.88rem;line-height:1.4;color:#4A5560;margin:0}
body.auth .ap-go{align-self:flex-start;display:inline-flex;align-items:center;min-height:40px;padding:0 16px;border-radius:12px;background:#16191C;color:#fff!important;font-weight:700;font-size:.9rem;text-decoration:none}
body.auth .ap-dots{display:flex;gap:8px;margin-top:12px}
body.auth .ap-dot{width:9px;height:9px;padding:0;border:0;border-radius:50%;background:#D9CBA6;cursor:pointer}
body.auth .ap-dot[aria-current="true"]{background:#915907;width:22px;border-radius:6px}
body.auth .ap-links{display:flex;flex-wrap:wrap;gap:8px}
body.auth .ap-links a{display:inline-flex;align-items:center;min-height:36px;padding:0 14px;border-radius:999px;background:#fff;border:1px solid #E8DFC9;color:#16191C!important;font-weight:600;font-size:.85rem;text-decoration:none}
body.auth .ap-help{font-size:.82rem;line-height:1.45;color:#4A5560;margin:0}
body.auth .auth-promo .mdwm{color:#1FA3AC}body.auth .auth-promo .mdwm b{color:#16191C;font-weight:inherit}
@media (min-width:960px){
  body.auth .auth-wrap:has(.lg-cols):has(.auth-promo){grid-template-rows:auto auto auto 1fr;grid-template-areas:"brand card" "app card" "promo card" "foot card"}
  body.auth .auth-wrap:has(.lg-cols) .auth-promo{grid-area:promo;align-self:start}
}
@media (max-width:599px){
  body.auth .ap-stage{padding:16px 14px 14px;min-height:0}
  body.auth .ap-slide{flex-direction:column;align-items:flex-start}
}
@media (max-width:599px){body.auth .ap-qr{display:none}} /* a phone cannot scan its own screen: the button is enough */
