/* Sign-in / sign-up layout. Loaded after each page's inline styles.
   Phones: big logo above the card on a lively gradient.
   Desktop (>= 980px): split screen — animated brand panel left, form right. */
:root{--auth-lime:#d5f268;--auth-forest:#0f160d;--auth-ink:#20251f}
body{background:var(--auth-forest);position:relative;isolation:isolate}
body::before{content:'';position:fixed;inset:0;z-index:-1;pointer-events:none;
  background:
    radial-gradient(60vmax 40vmax at 10% -10%,rgba(213,242,104,.20),transparent 60%),
    radial-gradient(50vmax 40vmax at 110% 110%,rgba(64,140,110,.28),transparent 60%),
    linear-gradient(180deg,#121a10,#0b100a)}
.auth-logo{margin:0 auto 26px}
.auth-logo img{height:48px;width:auto;display:block}
.auth-card{position:relative;z-index:1}

/* brand panel: hidden on phones */
.auth-aside{display:none}

@media (min-width:980px){
  body{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(460px,.92fr);align-items:stretch;justify-content:stretch;padding:0;min-height:100vh}
  body::before{background:#0b100a}
  .auth-main{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:48px 40px;background:linear-gradient(180deg,#f6f8f1,#eef2e6);min-height:100vh}
  .auth-main .auth-logo{display:none}
  .auth-card{box-shadow:0 30px 80px rgba(16,24,12,.16),0 2px 0 rgba(255,255,255,.6) inset;border:1px solid rgba(32,37,31,.06)}
  .auth-aside{display:flex;flex-direction:column;position:relative;overflow:hidden;min-height:100vh;padding:44px 56px 48px;color:#eef3e8;background:#0d140b}
  .auth-aside-logo{position:relative;z-index:3;display:inline-block;align-self:flex-start}
  .auth-aside-logo img{height:64px;width:auto;display:block;filter:drop-shadow(0 6px 24px rgba(213,242,104,.25))}
  .auth-aside-copy{position:relative;z-index:3;margin-top:auto;max-width:560px}
  .auth-kicker{font:700 11px/1.4 Manrope,sans-serif;letter-spacing:.16em;text-transform:uppercase;color:#d5f268;margin:0 0 14px}
  .auth-aside h2{font:400 clamp(40px,3.6vw,58px)/1.02 'Instrument Serif',Georgia,serif;letter-spacing:-.035em;margin:0 0 18px;color:#f6f9f1}
  .auth-aside h2 em{color:#d5f268}
  .auth-aside-copy>p{font:500 15px/1.7 Manrope,sans-serif;color:#c7d1bf;margin:0 0 22px;max-width:48ch}
  .auth-steps{list-style:none;margin:0;padding:0;display:flex;gap:10px;flex-wrap:wrap}
  .auth-steps li{display:inline-flex;align-items:center;gap:8px;padding:8px 14px 8px 8px;border-radius:999px;background:rgba(255,255,255,.06);border:1px solid rgba(213,242,104,.18);font:700 12px Manrope,sans-serif;color:#eef3e8;backdrop-filter:blur(6px)}
  .auth-steps li span{display:inline-grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#d5f268;color:#141a0d;font-size:10px}

  /* animated aurora */
  .auth-aurora{position:absolute;inset:-20%;z-index:0;filter:blur(60px);opacity:.9}
  .auth-aurora i{position:absolute;border-radius:50%;mix-blend-mode:screen;animation:auth-drift 18s ease-in-out infinite alternate}
  .auth-aurora i:nth-child(1){width:52%;height:52%;left:8%;top:6%;background:radial-gradient(circle,rgba(213,242,104,.55),transparent 65%)}
  .auth-aurora i:nth-child(2){width:60%;height:60%;right:-4%;top:28%;background:radial-gradient(circle,rgba(46,160,120,.55),transparent 65%);animation-duration:22s;animation-delay:-6s}
  .auth-aurora i:nth-child(3){width:46%;height:46%;left:22%;bottom:-6%;background:radial-gradient(circle,rgba(120,90,220,.38),transparent 65%);animation-duration:26s;animation-delay:-12s}
  @keyframes auth-drift{0%{transform:translate3d(0,0,0) scale(1)}50%{transform:translate3d(6%,-5%,0) scale(1.12)}100%{transform:translate3d(-5%,6%,0) scale(.95)}}
  .auth-grid{position:absolute;inset:0;z-index:1;opacity:.5;
    background-image:linear-gradient(rgba(255,255,255,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.05) 1px,transparent 1px);
    background-size:56px 56px;-webkit-mask-image:radial-gradient(ellipse at 60% 40%,#000 20%,transparent 75%);mask-image:radial-gradient(ellipse at 60% 40%,#000 20%,transparent 75%)}

  /* floating product glimpse */
  .auth-float{position:absolute;z-index:2;right:7%;top:16%;width:min(340px,38%);pointer-events:none}
  .auth-report{background:rgba(250,252,246,.96);color:#20251f;border-radius:18px;padding:18px 18px 14px;box-shadow:0 30px 70px rgba(0,0,0,.45);transform:rotate(-3deg);animation:auth-bob 7s ease-in-out infinite}
  .auth-report small{display:block;font:700 9.5px Manrope,sans-serif;letter-spacing:.14em;text-transform:uppercase;color:#56701f;margin-bottom:6px}
  .auth-report strong{display:block;font:400 24px/1.1 'Instrument Serif',Georgia,serif;margin-bottom:12px}
  .auth-report .bar{height:6px;border-radius:6px;background:#e6ecd9;overflow:hidden;margin-bottom:12px}
  .auth-report .bar span{display:block;height:100%;background:linear-gradient(90deg,#b9d84a,#d5f268)}
  .auth-report ul{margin:0;padding:0;list-style:none;display:grid;gap:7px}
  .auth-report li{font:600 11.5px/1.35 Manrope,sans-serif;color:#3c4638;padding-left:16px;position:relative}
  .auth-report li::before{content:'';position:absolute;left:0;top:5px;width:7px;height:7px;border-radius:50%;background:#e06a4a}
  .auth-chip{position:absolute;padding:9px 13px;border-radius:999px;background:#141c11;color:#eef3e8;border:1px solid rgba(213,242,104,.28);font:700 11.5px Manrope,sans-serif;white-space:nowrap;box-shadow:0 14px 34px rgba(0,0,0,.4);animation:auth-bob 6s ease-in-out infinite}
  .auth-chip b{color:#d5f268}
  .auth-chip.a{left:-34px;top:-22px;animation-delay:-2s}
  .auth-chip.b{right:-20px;bottom:-26px;background:#d5f268;color:#141a0d;border-color:#d5f268;animation-delay:-4s}
  @keyframes auth-bob{0%,100%{translate:0 0}50%{translate:0 -10px}}
}
@media (min-width:980px) and (max-height:760px){.auth-float{display:none}}
@media (prefers-reduced-motion:reduce){.auth-aurora i,.auth-report,.auth-chip{animation:none!important}}


/* Auth refresh: make the brand panel feel like a real product workspace,
   not a decorative gradient with an isolated floating card. */
@media (min-width:980px){
  .auth-aside{
    padding:38px clamp(32px,4vw,58px) 42px;
    background:
      radial-gradient(ellipse at 76% 40%,rgba(213,242,104,.10),transparent 43%),
      linear-gradient(145deg,#10180e 0%,#0b100a 62%,#111b12 100%);
  }
  .auth-aside::after{
    content:'';
    position:absolute;z-index:1;left:0;right:0;bottom:0;height:1px;
    background:linear-gradient(90deg,transparent,rgba(213,242,104,.5),transparent);
  }
  .auth-aside-logo img{height:52px;filter:none}
  .auth-aside-copy{max-width:470px;margin-top:auto;padding-top:335px}
  .auth-aside-copy .auth-kicker{display:inline-flex;align-items:center;gap:9px;margin-bottom:13px}
  .auth-aside-copy .auth-kicker::before{content:'';width:7px;height:7px;border-radius:50%;background:var(--auth-lime);box-shadow:0 0 16px rgba(213,242,104,.75)}
  .auth-aside h2{max-width:9.5ch;font-size:clamp(42px,4vw,60px);line-height:.99;margin-bottom:15px}
  .auth-aside-copy>p{max-width:42ch;font-size:13px;line-height:1.7;margin-bottom:18px;color:#c8d2c0}
  .auth-steps{gap:7px}
  .auth-steps li{font-size:10px;padding:6px 10px 6px 6px;background:rgba(255,255,255,.045);border-color:rgba(213,242,104,.14)}
  .auth-steps li span{width:21px;height:21px;font-size:9px}
  .auth-float{
    top:18%;left:clamp(32px,5vw,72px);right:auto;
    width:min(530px,calc(100% - 100px));
    max-width:calc(100% - 64px);
    filter:drop-shadow(0 24px 42px rgba(0,0,0,.2));
  }
  .auth-report{
    position:relative;padding:19px 20px 18px;border-radius:16px;
    border:1px solid rgba(255,255,255,.72);
    box-shadow:0 24px 65px rgba(0,0,0,.34);
    transform:rotate(-1.4deg);
    animation:auth-bob 8s ease-in-out infinite;
  }
  .auth-report::before{
    content:'ILLUSTRATIVE WORKSPACE PREVIEW';
    display:block;margin:-1px 0 14px;padding-bottom:10px;
    border-bottom:1px solid rgba(32,37,31,.09);
    font:800 8px/1.2 Manrope,sans-serif;letter-spacing:.14em;color:#6b7565;
  }
  .auth-report-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
  .auth-report small{margin-bottom:5px}
  .auth-report strong{font-size:clamp(21px,2vw,27px);margin-bottom:0}
  .auth-report-status{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;border-radius:999px;padding:7px 9px;background:#edf4dc;color:#3f5b1a;font:800 8px Manrope,sans-serif;letter-spacing:.04em;text-transform:uppercase}
  .auth-report-status::before{content:'';width:5px;height:5px;border-radius:50%;background:#83a62d}
  .auth-report-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:16px 0 13px}
  .auth-report-metric{padding:10px 11px;border:1px solid #e6eadd;border-radius:10px;background:#fbfcf7}
  .auth-report-metric b{display:block;font:400 23px/1 'Instrument Serif',Georgia,serif;color:#20251f;margin-bottom:5px}
  .auth-report-metric span{display:block;font:700 8px/1.35 Manrope,sans-serif;letter-spacing:.04em;color:#6c7567;text-transform:uppercase}
  .auth-report .bar{margin-bottom:14px}
  .auth-report ul{gap:7px}
  .auth-report li{font-size:10px;line-height:1.4;padding:8px 10px 8px 25px;background:#f4f6ee;border-radius:8px}
  .auth-report li::before{left:10px;top:13px;width:6px;height:6px;background:#d17a54}
  .auth-chip{font-size:10px;box-shadow:0 10px 26px rgba(0,0,0,.32)}
  .auth-chip.a{left:-19px;top:-18px}
  .auth-chip.b{right:-15px;bottom:-17px}
  .auth-panel-foot{
    position:absolute;left:clamp(32px,4vw,58px);right:clamp(32px,4vw,58px);bottom:16px;
    display:flex;align-items:center;justify-content:space-between;gap:12px;
    color:#7e8b78;font:700 9px Manrope,sans-serif;letter-spacing:.1em;text-transform:uppercase;
  }
  .auth-panel-foot span{display:inline-flex;align-items:center;gap:7px}
  .auth-panel-foot span::before{content:'';width:5px;height:5px;border-radius:50%;background:#91ad49}
}
@media (min-width:980px) and (max-height:850px){
  .auth-float{display:block}
  .auth-aside-copy{padding-top:300px}
  .auth-float{top:15%;width:min(490px,calc(100% - 90px))}
  .auth-report-metrics{margin:11px 0}
  .auth-report li{padding-top:6px;padding-bottom:6px}
  .auth-panel-foot{display:none}
}
@media (min-width:980px) and (max-height:700px){
  .auth-aside{padding-top:24px;padding-bottom:24px}
  .auth-aside-copy{padding-top:275px}
  .auth-aside h2{font-size:38px}
  .auth-aside-copy>p{margin-bottom:10px}
  .auth-steps{display:none}
  .auth-float{top:13%;width:min(420px,calc(100% - 100px))}
  .auth-report-metrics{display:none}
  .auth-report li{padding-top:5px;padding-bottom:5px}
}
@media (max-width:979px){
  .auth-aside{display:none}
  .auth-main{width:100%}
}
@media (prefers-reduced-motion:reduce){
  .auth-report,.auth-chip{animation:none!important}
}
