/* Account services surround the preserved Claude interface; no new visual shell. */
html,body{width:100%;height:100%;min-height:0;margin:0;background:#f6f1ea;overflow:hidden}
.ambient,#app{display:none!important}
#candyFrame{position:fixed;inset:0;width:100%;height:100%;border:0;display:block;background:#f6f1ea;visibility:hidden}
#candyFrame.live{visibility:visible}
#welcome{display:none}
html.needs-welcome #candyFrame{visibility:hidden}
html.needs-welcome #welcome{display:flex;position:fixed;inset:0;z-index:2000;box-sizing:border-box;flex-direction:column;justify-content:flex-end;gap:12px;padding:calc(28px + env(safe-area-inset-top)) 22px calc(28px + env(safe-area-inset-bottom));background:#f6f1ea;color:#2b2140;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans","Apple SD Gothic Neo",sans-serif}
html.needs-welcome #welcome h1{margin:0;font-size:34px;line-height:1.25;font-weight:650}
html.needs-welcome #welcome p{margin:0;font-size:16px;line-height:1.6;color:#5c5368}
html.needs-welcome #welcome .eyebrow{font-size:13px;letter-spacing:.08em;color:#8a7b96}
html.needs-welcome #welcome button{min-height:52px;border-radius:16px;font-size:17px;font-weight:650}
html.needs-welcome #welcome .primary{background:#1f2a44;color:#fff}
html.needs-welcome #welcome .secondary{background:#fff;color:#1f2a44}
#overlay{z-index:1000}#dialog{background:rgba(255,251,246,.97);color:#2b2140;border:1px solid #fff;border-radius:28px;box-shadow:0 24px 70px #140c2866;max-width:480px}
#dialog h2{font-weight:800;font-family:"PingFang SC",system-ui,sans-serif;letter-spacing:0}#dialog .primary{background:#1f2a44;border-radius:18px;font-weight:800;color:#fff}#dialog .secondary{background:linear-gradient(145deg,#ffe7b8,#ffc15e);border:1px solid #fff9;border-radius:18px;font-weight:750;color:#533608}#dialog input,#dialog textarea{background:#fff;border-radius:14px;font-size:16px}#toast{z-index:1100;background:#1f2a44;color:#fff}
body.boot-error #app{display:block!important;background:#fff9;color:#2b2140;position:relative;z-index:5;max-width:480px;margin:12vh auto;padding:24px;border-radius:24px}body.boot-error #candyFrame{display:none}
@media(max-width:600px){#dialog{border-radius:26px 26px 0 0;padding-bottom:calc(24px + env(safe-area-inset-bottom))}}
@media(min-width:640px){body.phone-preview #candyFrame{width:390px;height:min(844px,96dvh);inset:2dvh auto auto 50%;transform:translateX(-50%);border-radius:34px;box-shadow:0 30px 80px #0006}}

html.needs-welcome #welcome .wmark{margin-top:auto;border-radius:18px;box-shadow:0 8px 24px rgba(60,40,100,.16)}
html.needs-welcome #welcome .wlist{margin:4px 0 8px;padding:0;list-style:none;display:grid;gap:10px}
html.needs-welcome #welcome .wlist li{position:relative;padding-left:22px;font-size:15px;line-height:1.5;color:#3d3450}
html.needs-welcome #welcome .wlist li::before{content:'';position:absolute;left:2px;top:.55em;width:9px;height:9px;border-radius:50%;background:#E0701E}
