/* Critical CSS — first paint del login staff. Full styles.css carga async. */
:root{
  --bg:#0f1419;--surface:#1a2332;--surface-2:#243044;--text:#f0f4f8;--muted:#94a3b8;
  --accent:#f59e0b;--accent-hover:#d97706;--radius:12px;--shadow:0 8px 32px rgba(0,0,0,.35);
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;overflow-x:hidden}
body.atmosphere-login{
  margin:0;min-height:100vh;min-height:100dvh;background:#0d1117;color:var(--text);
  font-family:"Segoe UI",system-ui,-apple-system,sans-serif;line-height:1.5;overflow-x:hidden;
}
body.atmosphere-login img{max-width:100%}
body.atmosphere-login a{color:var(--accent);text-decoration:none}
body.atmosphere-login .container{width:min(1100px,92%);margin:0 auto}
body.atmosphere-login .site-top-fixed{
  position:fixed;top:0;left:0;right:0;z-index:150;background:#0d1117;
  border-bottom:1px solid rgba(255,255,255,.08);padding-top:env(safe-area-inset-top,0px);
}
body.atmosphere-login .site-top-spacer{height:3.25rem;flex-shrink:0}
body.atmosphere-login .site-header{border:0;background:transparent}
body.atmosphere-login .build-banner{display:none}
body.atmosphere-login .header-inner--guest{
  display:flex;justify-content:space-between;align-items:center;gap:.5rem;padding:.45rem 0;
}
body.atmosphere-login .site-header--restaurant .brand-block{display:none}
body.atmosphere-login .login-top-brand{
  display:inline-flex;align-items:center;gap:.4rem;color:#fff;font-size:.9rem;font-weight:800;
  letter-spacing:.04em;min-width:0;flex:1 1 auto;max-width:calc(100% - 3.25rem);overflow:hidden;
}
body.atmosphere-login .login-top-brand strong{font-weight:800;white-space:nowrap}
body.atmosphere-login .login-top-brand>span:last-child{
  color:var(--accent);font-size:.72rem;font-weight:700;letter-spacing:0;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;
}
body.atmosphere-login .login-top-chef{display:inline-flex;color:var(--accent);flex:0 0 auto}
body.atmosphere-login .guest-app-menu--header{flex:0 0 auto;margin-left:auto}
body.atmosphere-login .guest-app-menu-btn{
  width:2.6rem;height:2.6rem;border:1px solid rgba(245,158,11,.45);border-radius:10px;
  background:rgba(15,23,42,.55);color:var(--accent);display:inline-flex;align-items:center;justify-content:center;cursor:pointer;
}
body.atmosphere-login .guest-app-menu-panel[hidden]{display:none!important}
body.atmosphere-login .atmosphere,
body.atmosphere-login .float-rail,
body.atmosphere-login .login-hero,
body.atmosphere-login .auth-card-icon,
body.atmosphere-login .site-footer,
body.atmosphere-login .footer-info-modal{display:none}
body.atmosphere-login main.container{
  display:flex;flex-direction:column;align-items:stretch;width:min(28rem,92%);
  min-height:0;padding:.65rem 0 1.1rem;position:relative;z-index:5;
}
body.atmosphere-login main.container>.flash-messages{width:100%;margin:0 0 .75rem}
body.atmosphere-login .flash{
  margin:0;padding:.45rem .85rem;border-radius:999px;font-size:.82rem;font-weight:600;text-align:center;
}
body.atmosphere-login .flash-error{background:#7f1d1d;color:#fecaca}
body.atmosphere-login .flash-success{background:rgba(21,128,61,.92);color:#ecfdf5}
body.atmosphere-login .auth-card{
  display:flex;flex-direction:column;align-items:stretch;width:100%;margin:0;
  padding:1.1rem 1.1rem 1.05rem;text-align:center;background:#152033;
  border:1px solid rgba(245,158,11,.45);border-radius:18px;box-shadow:0 12px 32px rgba(0,0,0,.28);
}
body.atmosphere-login .auth-card .page-back{
  display:inline-flex;align-items:center;gap:.4rem;align-self:flex-start;min-height:44px;
  margin:0 0 .75rem;color:var(--accent);font-size:.95rem;font-weight:700;
}
body.atmosphere-login .auth-card .page-back::before{
  content:"";width:1.05rem;height:1.05rem;flex-shrink:0;background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2'%3E%3Cpath d='M15 18l-6-6 6-6'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2'%3E%3Cpath d='M15 18l-6-6 6-6'/%3E%3C/svg%3E") center/contain no-repeat;
}
body.atmosphere-login .auth-card-logo-wrap{display:flex;justify-content:center;margin:0 0 .75rem}
body.atmosphere-login .auth-card-logo{
  width:4.25rem;height:4.25rem;border-radius:50%;object-fit:cover;background:#fff;
  border:3px solid rgba(255,255,255,.92);box-shadow:0 8px 22px rgba(0,0,0,.35);
}
body.atmosphere-login .auth-card-logo--fallback{
  display:inline-flex;align-items:center;justify-content:center;color:#b45309;font-weight:800;font-size:1.35rem;
}
body.atmosphere-login .auth-card-head{display:block;margin-bottom:.2rem}
body.atmosphere-login .auth-card h1{
  margin:0 0 .85rem;font-size:1.35rem;font-weight:700;color:#fff;line-height:1.2;
}
body.atmosphere-login .auth-card h1 span{display:block;color:var(--accent);font-weight:800;font-size:1.45rem}
body.atmosphere-login .auth-form{text-align:left}
body.atmosphere-login .auth-form label{
  display:block;margin:0 0 .35rem;text-transform:uppercase;letter-spacing:.08em;
  font-size:.68rem;font-weight:700;color:#94a3b8;
}
body.atmosphere-login .auth-form .auth-input{position:relative;margin-bottom:1rem}
body.atmosphere-login .auth-form .auth-input input{
  width:100%;margin:0;padding:.65rem 3rem .65rem 2.55rem;border:0;border-radius:12px;
  background:#e8edf5;color:#0f172a;min-height:2.85rem;font-size:.98rem;
}
body.atmosphere-login .auth-input-icon{
  position:absolute;left:.75rem;top:50%;transform:translateY(-50%);color:#64748b;display:flex;pointer-events:none;
}
body.atmosphere-login .auth-input-toggle{
  position:absolute;right:.35rem;top:50%;transform:translateY(-50%);width:44px;height:44px;
  border:0;background:transparent;color:#64748b;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;
}
body.atmosphere-login .auth-input-toggle .auth-eye-off{display:none}
body.atmosphere-login .auth-input-toggle.is-visible .auth-eye-on{display:none}
body.atmosphere-login .auth-input-toggle.is-visible .auth-eye-off{display:block}
body.atmosphere-login .btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.45rem;
  border:0;border-radius:12px;cursor:pointer;font-weight:800;text-decoration:none;
}
body.atmosphere-login .btn-primary{background:var(--accent);color:#07101e}
body.atmosphere-login .btn-block{width:100%}
body.atmosphere-login .auth-submit{min-height:2.9rem;font-size:1.05rem;margin-top:.25rem}
body.atmosphere-login .auth-secure{display:block;margin-top:1.1rem;color:#94a3b8}
body.atmosphere-login .auth-secure>span{
  display:flex;align-items:center;gap:.65rem;justify-content:center;text-transform:uppercase;
  letter-spacing:.12em;font-size:.68rem;font-weight:700;color:var(--accent);
}
body.atmosphere-login .auth-secure>span::before,
body.atmosphere-login .auth-secure>span::after{content:"";flex:1;height:1px;background:rgba(245,158,11,.35)}
body.atmosphere-login .auth-secure p{
  display:flex;align-items:center;justify-content:center;gap:.35rem;margin:.45rem 0 0;font-size:.78rem;
}
body.atmosphere-login .login-bottom-brand{
  display:flex;flex-direction:column;align-items:center;margin-top:1.35rem;text-align:center;color:#fff;
}
body.atmosphere-login .login-bottom-icon{color:var(--accent);margin-bottom:.25rem}
body.atmosphere-login .login-bottom-brand strong{font-size:1rem}
body.atmosphere-login .login-bottom-brand p{margin:.2rem 0 0;color:#cbd5e1;font-size:.88rem}
body.atmosphere-login .login-bottom-brand span{color:var(--accent);font-weight:700}

@media (min-width:769px){
  body.atmosphere-login{background:#05070c}
  body.atmosphere-login .build-banner{display:grid}
  body.atmosphere-login .site-top-spacer{height:5rem}
  body.atmosphere-login .site-top-fixed{
    background:rgba(12,16,23,.55);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);
    border-bottom-color:rgba(245,158,11,.18);
  }
  body.atmosphere-login .site-header--restaurant .brand-block{
    display:inline-flex;align-items:center;gap:.65rem;color:#fff;min-width:0;
  }
  body.atmosphere-login .brand-logo{
    width:2.4rem;height:2.4rem;border-radius:8px;object-fit:cover;background:#fff;flex:0 0 auto;
  }
  body.atmosphere-login .brand-text{display:flex;flex-direction:column;min-width:0}
  body.atmosphere-login .brand-name{font-weight:800;font-size:.95rem;line-height:1.15}
  body.atmosphere-login .brand-meta{color:#94a3b8;font-size:.72rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  body.atmosphere-login .login-top-brand{display:none}
  body.atmosphere-login .atmosphere{display:block;position:fixed;inset:0;z-index:1;overflow:hidden;pointer-events:none}
  body.atmosphere-login .atmosphere-photo{
    position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;
    filter:saturate(1.05) brightness(.78);
  }
  body.atmosphere-login .atmosphere-vignette{
    position:absolute;inset:0;
    background:
      radial-gradient(ellipse at center,transparent 42%,rgba(8,10,16,.28) 72%,rgba(5,7,12,.72) 100%),
      linear-gradient(180deg,rgba(8,10,16,.22) 0%,rgba(8,10,16,.08) 45%,rgba(5,7,12,.55) 100%);
  }
  body.atmosphere-login .atmosphere-glow{display:none}
  body.atmosphere-login main.container{
    width:min(440px,92%);align-items:center;min-height:calc(100dvh - 11rem);
    padding-top:1.25rem;padding-bottom:2rem;
  }
  body.atmosphere-login .auth-card{
    width:min(440px,100%);margin:0 auto 1.5rem;padding:1.5rem;text-align:left;
    background:rgba(15,23,42,.82);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);
    border:1px solid rgba(245,158,11,.28);border-radius:var(--radius);
    box-shadow:0 0 40px rgba(245,158,11,.12),0 20px 50px rgba(0,0,0,.45);
  }
  body.atmosphere-login .auth-card-logo-wrap,
  body.atmosphere-login .auth-secure,
  body.atmosphere-login .login-bottom-brand{display:none}
  body.atmosphere-login .auth-card h1{font-size:1.6rem;margin:0 0 1rem}
  body.atmosphere-login .auth-card h1 span{display:inline;font-size:inherit;font-weight:inherit;color:inherit}
  body.atmosphere-login .auth-form .auth-input input{
    background:var(--surface-2);color:var(--text);border:1px solid rgba(255,255,255,.12);border-radius:8px;
  }
  body.atmosphere-login .auth-input-icon,
  body.atmosphere-login .auth-input-toggle{color:var(--muted)}
  body.atmosphere-login .site-footer{display:block;position:relative;z-index:5;background:transparent;border:0;padding:1rem 0 1.5rem}
  body.atmosphere-login .footer-bar{display:flex;align-items:center;justify-content:center;gap:.75rem}
  body.atmosphere-login .footer-restaurant-name{margin:0;color:#cbd5e1;font-weight:700}
  body.atmosphere-login .footer-info-btn{
    width:2.4rem;height:2.4rem;border:1px solid rgba(255,255,255,.14);border-radius:999px;
    background:rgba(15,23,42,.55);color:#e2e8f0;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;
  }
  body.atmosphere-login .footer-restaurant-details{display:none}
}
