/* Live-system additions on top of the mock-up's app.css */
:root{--mb:0px}
.mockbar{display:none}
.boot{position:fixed;inset:0;display:grid;place-content:center;justify-items:center;gap:10px;background:var(--bg);z-index:400}
.boot .logo,.auth .logo{width:44px;height:44px;border-radius:12px;background:linear-gradient(135deg,#7c3aed,#0891b2);color:#fff;display:grid;place-items:center;font-weight:800}
.auth{position:fixed;inset:0;display:grid;place-items:center;background:var(--bg);z-index:350;padding:16px}
.boot[hidden],.auth[hidden],.hold[hidden],.app2[hidden]{display:none!important}
.auth .box{width:100%;max-width:380px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:28px 24px;box-shadow:0 10px 30px rgba(15,23,42,.06)}
.auth h1{font-size:19px;margin:14px 0 4px}
.auth label{display:block;font-size:12px;font-weight:600;color:var(--ink2);margin-top:14px}
.auth input{width:100%;margin-top:5px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:#fff}
.auth input:focus{outline:2px solid #c4b5fd;border-color:#a78bfa}
.auth button.go{width:100%;margin-top:18px;padding:11px;border:0;border-radius:10px;background:#0f172a;color:#fff;font-weight:700;cursor:pointer}
.auth button.go:disabled{opacity:.6}
.auth .err{color:#b91c1c;font-size:12.5px;margin-top:10px;min-height:16px}
.auth details{margin-top:16px;font-size:12px;color:var(--muted)}
.auth details code{font-family:var(--mono);font-size:11.5px}
.auth .demo{display:grid;grid-template-columns:auto 1fr;gap:3px 10px;margin-top:8px}
.auth .demo a{cursor:pointer;color:#6d28d9;text-decoration:underline}
/* system on hold (bot is working) */
.hold{position:fixed;inset:0;z-index:500;background:rgba(15,23,42,.55);backdrop-filter:blur(3px);display:grid;place-items:center;padding:16px}
.hold .box{width:100%;max-width:440px;background:#fff;border-radius:16px;padding:26px 24px;text-align:center;box-shadow:0 20px 50px rgba(0,0,0,.25)}
.hold .spin{width:38px;height:38px;border-radius:50%;border:4px solid #ede9fe;border-top-color:#7c3aed;margin:0 auto 14px;animation:hs 1s linear infinite}
@keyframes hs{to{transform:rotate(360deg)}}
.hold h2{font-size:18px;margin:0 0 6px}
.hold .meta{font-size:12px;color:var(--muted);margin-top:12px;line-height:1.6}
.hold .force{margin-top:16px;border:1px solid #fecaca;background:#fef2f2;color:#b91c1c;border-radius:9px;padding:8px 12px;font-weight:600;cursor:pointer}
.umenu{position:relative}
.umenu .um-pop{position:absolute;left:0;right:0;bottom:calc(100% + 6px);background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 10px 30px rgba(15,23,42,.12);min-width:220px;padding:6px;z-index:90}
.umenu .um-pop button{display:flex;width:100%;gap:8px;align-items:center;border:0;background:none;padding:8px 10px;border-radius:8px;cursor:pointer;text-align:left}
.umenu .um-pop button:hover{background:var(--line2)}
/* System settings (Platform console) */
.setrow{display:flex;gap:16px;align-items:flex-start;padding:10px 0;border-top:1px solid #f1f5f9}
.setrow:first-child{border-top:0}
.setl{flex:1;min-width:0}
.setc{width:min(340px,48%);display:flex;flex-direction:column;gap:4px}
.setc .inp{width:100%}
.setbool{display:flex;gap:8px;align-items:center;font-size:13.5px}
@media (max-width:640px){.setrow{flex-direction:column;gap:6px}.setc{width:100%}}
/* Grok's proposed changes in the chat */
.gk-acts{display:flex;flex-direction:column;gap:6px;margin-top:8px}
.gk-act{display:flex;gap:8px;align-items:center;flex-wrap:wrap;border:1px solid #e2e8f0;border-radius:10px;padding:8px 10px;background:#f8fafc;font-size:13.5px}
.gk-act .gk-s{flex:1;min-width:160px}
/* link-style buttons (e.g. "server default", "Try again", "Copy"): no browser button box */
button.lnk{background:none;border:0;padding:0;margin:0;font:inherit;font-weight:600;color:#1d4ed8;cursor:pointer;line-height:inherit}
button.lnk.xs{font-size:12px}
button.lnk:disabled{color:#94a3b8;cursor:default;text-decoration:none}
/* long messages (server errors, addresses) wrap instead of running off the card */
.note>div{min-width:0;overflow-wrap:anywhere}
/* tick boxes with their text beside them (Email & cloud, System settings) */
.setbool,.fgrid label.setbool{display:flex;flex-direction:row;align-items:flex-start;gap:8px;font-weight:400}
.setbool input[type=checkbox]{width:auto;flex:none;margin:3px 0 0}
.setbool span{flex:1;min-width:0}
.gk-away{border-left:3px solid #c7d2fe;padding:4px 0 4px 10px;margin:8px 0}
/* tick boxes: the app's colour, a consistent size, aligned with their text */
input[type=checkbox]{accent-color:#4f46e5;width:15px;height:15px;cursor:pointer;flex:none}
input[type=checkbox]:disabled{cursor:default}
.bscope{display:flex;align-items:center;gap:7px;font-size:12.5px;line-height:1.3;white-space:nowrap;padding:3px 0;cursor:pointer}
.bscope input{margin:0}
/* Google set-up guide on the Integrations card */
.ggs summary{cursor:pointer;list-style:revert}
.ggs-list{display:flex;flex-direction:column;gap:4px;margin:8px 0}
.ggs-c{font-size:12.5px}
.ggs-steps{margin:8px 0 6px;padding-left:18px;font-size:12.5px;line-height:1.55}
.ggs-steps li{margin-bottom:5px}
.fw-connect{border:1px solid #c7d2fe;background:#eef2ff;border-radius:12px;padding:10px 12px;margin-top:10px}
