/* copied from system/web/login.src.html by py appbuild.py: never edit here */
html{overflow-y:auto}
#vCode .formerr.on{margin-bottom:12px}#cdIn{font:600 22px Oswald,sans-serif;letter-spacing:.4em;text-align:center}#vCode .lead{text-align:center}   /* one screen, no scroll: no room kept for a bar */
/* login.html: log in, sign up, reset and contact (the card flips). The approved Sign-in Lab (08-10-2026), built by dashboard.py from
   system/web/login.src.html. Standalone: no rail, header, footer or player data. Light only. No page scroll at 1024 x 768 and up.
   LOCKED page: change it only on Amr's request, then refresh the lock baselines. */
:root{
  --display:'Oswald','Arial Narrow',Impact,sans-serif; --text:'Inter',system-ui,-apple-system,'Segoe UI',sans-serif;
  --railbg:#15181C; --scrim:rgba(10,12,15,.88); --onimg:#FFFFFF; --onimg-2:rgba(255,255,255,.82);
  color-scheme:light;
}
html,body{height:100%}
body{margin:0;background:var(--bg);color:var(--ink);font:14px/1.5 var(--text);overflow:hidden}
*{box-sizing:border-box}
a{color:inherit}
[hidden]{display:none!important}
/* ---- the sign-in screen: one card on a bright, welcoming ground; the picture left, the form right */
.auth{height:100%;display:grid;place-items:center;padding:24px;background:var(--bg)}   /* plain: paper with the grain on light, near black on dark; no coloured glow (Amr's review 02-11-2026) */
.acard{width:min(1180px,100%);height:min(740px,100%);min-height:0;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);grid-template-rows:minmax(0,1fr);gap:0;padding:12px;background:var(--card);border-radius:28px;box-shadow:0 30px 80px rgba(17,17,17,.12),0 2px 6px rgba(17,17,17,.04)}
.pic{position:relative;border-radius:20px;overflow:hidden;background:#20262C center/cover no-repeat;display:flex;flex-direction:column;justify-content:space-between;padding:28px 34px 34px;color:var(--onimg)}
.pic .cpitch{display:none}
.acard.ct .pic{background:#1C2026 url('system/assets/brand/contact.jpg') 40% 62%/cover no-repeat!important;color:#fff}   /* the ball in the net (his photo, 09-10-2026) */
.acard.ct .pic::before{background:linear-gradient(180deg,rgba(10,12,15,.55) 0%,rgba(10,12,15,0) 24%,rgba(10,12,15,0) 50%,rgba(10,12,15,.62) 78%,rgba(10,12,15,.82) 100%)}
.acard.ct .pic .cpitch{display:flex}.acard.ct .pic .spitch{display:none}
.acard.ct .pic .cpitch h2{color:#fff}.acard.ct .pic .cpitch h2 strong{color:var(--amber)}
.acard.ct .pic .cpitch p{color:rgba(255,255,255,.82)}
.acard.ct .brand .badge{box-shadow:0 0 0 1px rgba(255,255,255,.14)}
.pic::before{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(10,12,15,.28) 0%,rgba(10,12,15,0) 20%,rgba(10,12,15,0) 48%,rgba(10,12,15,.62) 78%,rgba(10,12,15,.8) 100%)}
.pic>*{position:relative}
.brand{display:inline-flex;align-items:center;gap:12px;text-decoration:none;color:var(--onimg);align-self:flex-start}
.brand .badge{width:46px;height:46px;border-radius:50%;background:var(--rail-bg,#111111);display:grid;place-items:center;box-shadow:0 0 0 1px rgba(255,255,255,.16),0 6px 18px rgba(0,0,0,.25)}   /* the yellow mark on the black of the app's side menu, in both themes (Amr's review 02-11-2026: on dark the disc had turned white) */
.brand svg{width:26px;height:26px}
.brand b{font:600 24px/1 var(--display);letter-spacing:.03em;text-transform:uppercase;text-shadow:0 1px 12px rgba(0,0,0,.25)}.brand b span{color:var(--amber)}
.pitch{display:flex;flex-direction:column;gap:14px;max-width:480px}
.pitch h2{margin:0;font:300 52px/1.02 var(--display);letter-spacing:.01em;text-transform:uppercase;text-wrap:balance}
.pitch h2 strong{font-weight:600;color:var(--amber)}
.pitch p{margin:0;font-size:15px;line-height:1.55;color:var(--onimg-2);max-width:42ch}

.side{position:relative;display:flex;flex-direction:column;min-height:0;overflow:auto;padding:22px 28px 18px}
.formbox{flex:1;display:flex;flex-direction:column;justify-content:center;width:100%;max-width:380px;margin:0 auto;padding:8px 0}
.modes{align-self:center;width:250px;margin-bottom:26px}
.formbox h1{margin:0;text-align:center;font:600 32px/1.1 var(--display);letter-spacing:.02em;text-transform:uppercase}
.socrow{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:6px;font-size:12px;color:var(--muted)}
.soc{display:flex;gap:8px}
.sbtn{width:34px;height:34px;border:1px solid var(--line);border-radius:10px;display:grid;place-items:center;color:var(--ink);background:var(--card);transition:background .15s,border-color .15s,transform .12s}
.sbtn:hover{background:var(--hover);border-color:var(--line-2)}.sbtn:active{transform:scale(.96)}.sbtn:focus-visible{outline:0;box-shadow:var(--focus)}
.sbtn svg{width:16px;height:16px}.sbtn img.xb{width:14px;height:14px;object-fit:contain}
/* the card turns over to the contact form and back */
.acard{transform-style:preserve-3d;will-change:transform}
.acard.flip-out{animation:flipOut .24s cubic-bezier(.4,0,1,1) forwards}
.acard.flip-in{animation:flipIn .3s cubic-bezier(0,0,.2,1) forwards}
.acard.rev.flip-out{animation-name:flipOutR}.acard.rev.flip-in{animation-name:flipInR}
@keyframes flipOut{from{transform:perspective(2400px) rotateY(0)}to{transform:perspective(2400px) rotateY(90deg)}}
@keyframes flipIn{from{transform:perspective(2400px) rotateY(-90deg)}to{transform:perspective(2400px) rotateY(0)}}
@keyframes flipOutR{from{transform:perspective(2400px) rotateY(0)}to{transform:perspective(2400px) rotateY(-90deg)}}
@keyframes flipInR{from{transform:perspective(2400px) rotateY(90deg)}to{transform:perspective(2400px) rotateY(0)}}
.two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.opt{font-weight:500;text-transform:none;letter-spacing:0;color:var(--faint);font-size:11px}
#vContact{max-width:460px}
#ctMsg{height:84px;min-height:84px;resize:none;overflow-y:auto}
#vContact .stack{gap:12px}#ctPhoneF{width:calc(50% - 6px)}#vContact .lead{margin-bottom:16px}
#ctMsgF{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:10px;row-gap:6px}
#ctMsgF>.uf-l,#ctMsgF>textarea{grid-column:1/-1}
@media (max-height:780px){#ctMsg{height:64px;min-height:64px}#vContact .stack{gap:10px}.socrow{margin-top:0}.side{padding-top:14px;padding-bottom:12px}.help{margin-top:4px}#vContact .lead{margin-bottom:12px}}
#ctMsgF>.uf-e{grid-column:1;grid-row:3}#ctMsgF>.uf-n{grid-column:2;grid-row:3;margin-top:0}
.formbox .lead{margin:8px 0 24px;text-align:center;color:var(--muted);font-size:14px;line-height:1.5}
.stack{display:flex;flex-direction:column;gap:16px}
.under{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:-6px}
.lnk{border:0;background:none;padding:0;font:600 13px var(--text);color:var(--ink);cursor:pointer;text-decoration:none;border-radius:4px}
.lnk:hover{text-decoration:underline;text-underline-offset:3px}
.lnk:focus-visible{outline:0;box-shadow:var(--focus)}
.ub.block{width:100%;height:44px;font-size:14px}
.or{display:flex;align-items:center;gap:12px;color:var(--faint);font-size:12px}
.or::before,.or::after{content:'';flex:1;height:1px;background:var(--rule)}
.back{display:inline-flex;align-items:center;gap:6px}
.help .lnk{height:22px;display:inline-flex;align-items:center}
.back svg{width:16px;height:16px}
.eye{border:0;background:none;padding:4px;margin-right:-6px;color:var(--muted);cursor:pointer;display:inline-flex;border-radius:6px}
.eye:hover{color:var(--ink)}.eye:focus-visible{outline:0;box-shadow:var(--focus)}
.eye svg{width:18px;height:18px}
.caps{font-size:11.5px;color:var(--amber-ink);display:flex;align-items:center;gap:5px}
.caps svg{width:13px;height:13px}
.sugg{font-size:12px;color:var(--muted)}.sugg button{font-size:12px}
.rules{list-style:none;margin:2px 0 0;padding:0;display:flex;gap:16px;flex-wrap:wrap;font-size:12px;color:var(--muted)}
.rules li{display:flex;align-items:center;gap:6px}
.rules i{width:14px;height:14px;border-radius:50%;border:1.5px solid var(--line-2);display:inline-grid;place-items:center;transition:background .15s,border-color .15s}
.rules li.ok{color:var(--ok)}.rules li.ok i{background:var(--ok);border-color:var(--ok)}
.rules li.ok i::after{content:'';width:6px;height:3px;border-left:1.6px solid var(--card);border-bottom:1.6px solid var(--card);transform:rotate(-45deg) translate(0,-1px)}
.us.wide{display:flex;width:100%}.us.wide>button{flex:1}
.formerr{display:none}.formerr.on{display:flex}
.unote.error{background:var(--red-soft);border-color:#F3C7C2;color:#7A1C14}.unote.error>svg{color:var(--danger)}
.unote.ok{background:var(--green-soft);border-color:#BFE3CD}.unote.ok>svg{color:var(--ok)}
.unote.info{background:var(--amber-soft);border-color:#F5E29A;color:#4A3D00}.unote.info>svg{color:var(--amber-ink)}
.unote .ub{flex:0 0 auto}
.help{position:relative;align-self:center;margin-top:10px}
.helpp{position:absolute;left:50%;transform:translateX(-50%);bottom:calc(100% + 8px);width:300px;background:var(--card);border:1px solid var(--line);border-radius:12px;box-shadow:0 14px 34px rgba(17,17,17,.14);padding:14px;z-index:30;display:flex;flex-direction:column;gap:8px}
.helpp .k{font:600 10px var(--text);letter-spacing:.11em;text-transform:uppercase;color:var(--label)}
.helpp .r{display:flex;align-items:center;gap:10px;font-size:13px}
.helpp .r span{flex:1;min-width:0;user-select:all;font-variant-numeric:tabular-nums}
.helpp .r>svg{width:16px;height:16px;color:var(--muted)}
.cpy{width:30px;height:30px;border:0;border-radius:8px;background:none;color:var(--muted);display:grid;place-items:center;cursor:pointer}
.cpy:hover{background:var(--hover);color:var(--ink)}.cpy:focus-visible{outline:0;box-shadow:var(--focus)}.cpy svg{width:15px;height:15px}
@media (max-width:900px){.acard{grid-template-columns:minmax(0,1fr)}.pic{display:none}.auth{padding:12px}.side{padding:18px 16px}}
@media (max-height:780px){.pitch p{display:none}.pitch h2{font-size:40px}.modes{margin-bottom:14px}.formbox .lead{margin:6px 0 14px}.stack{gap:12px}.formbox h1{font-size:28px}}

@media (prefers-reduced-motion: reduce){*{transition:none!important;animation:none!important}}
/* page to page cross-fade, as on every app page (4.82); never on reduced motion */
@view-transition{navigation:auto}::view-transition-old(root),::view-transition-new(root){animation-duration:180ms}
@media (prefers-reduced-motion:reduce){@view-transition{navigation:none}}
