/* Production additions (v2.0): sign-in screens, account, hidden demo controls. */
.pb-wrap{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:24px 16px;background:var(--bg,#f8f4ef)}
.pb-card{width:100%;max-width:440px;background:#fff;border-radius:18px;padding:28px 24px;box-shadow:0 10px 30px rgba(60,30,40,.08)}
.pb-card h1{font-size:24px;margin:14px 0 6px}
.pb-card form{display:flex;flex-direction:column;gap:12px;margin-top:14px}
.pb-card label{display:flex;flex-direction:column;gap:6px;font-size:14px}
.pb-card .pb-check{flex-direction:row;align-items:flex-start;gap:10px}
.pb-brand{display:flex;align-items:center;gap:12px;font-weight:600}
.pb-brand img{border-radius:12px}
.pb-err{color:#a23b3b;min-height:1em;margin:0}
.pb-consent{max-height:46vh;overflow:auto;border:1px solid #eee;border-radius:12px;padding:4px 14px;margin-top:10px;font-size:14px}
.pb-consent h3{font-size:15px;margin:14px 0 4px}
.mode-switch,.demo-switch,.demo-card{display:none!important}
.prod-account{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}
.prod-acc-actions{display:flex;flex-direction:column;gap:8px;align-items:stretch}
.prod-acc-actions .btn{text-align:center;text-decoration:none}
.prod-cohort{margin-bottom:12px}
html[data-saving="failed"] body::after{content:"Не сохранилось — проверьте связь";position:fixed;left:50%;bottom:84px;transform:translateX(-50%);background:#a23b3b;color:#fff;padding:8px 14px;border-radius:999px;font-size:13px;z-index:99}
