:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:#f7f6fc;background:#090a12;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden}body{background:radial-gradient(circle at 85% 0%,#292145,transparent 45%),#090a12}button,input{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible{outline:2px solid #b59cff;outline-offset:2px}.app{max-width:540px;margin:auto;display:flex;flex-direction:column;height:100dvh;min-height:360px;background:linear-gradient(160deg,#161629,#0c0e18 65%);box-shadow:0 0 60px #0007}.topbar{flex:0 0 auto;min-height:78px;padding:calc(14px + env(safe-area-inset-top)) 22px 14px;display:flex;align-items:center;gap:12px;border-bottom:1px solid #ffffff12}.logo{background:linear-gradient(135deg,#ba8cff,#6f4fe0);width:44px;height:44px;border-radius:14px;display:grid;place-items:center;font-size:28px;box-shadow:0 8px 24px #6548cd50}.brand{flex:1;display:flex;flex-direction:column;gap:3px}.brand strong{font-size:21px;letter-spacing:-.8px}.brand span{font-size:10px;color:#afabc5;letter-spacing:2px}.iconbtn{width:36px;height:36px;border:1px solid #ffffff18;border-radius:50%;background:#ffffff0b;color:#c3b8dd;font-size:22px}.main{flex:1;min-height:0}.screen{height:100%;overflow:auto}.hidden{display:none!important}#inbox{padding:28px 20px 20px;display:flex;flex-direction:column}.heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:21px}.eyebrow,.section-label{font-size:10px;font-weight:800;letter-spacing:1.7px;color:#b69bff}.heading h1{margin:7px 0 0;font-size:37px;letter-spacing:-1.6px}.accent{color:#c0a2ff}.pill{background:#2a2443;color:#c7b3ff;padding:8px 12px;border-radius:25px;font-size:11px}.demo{display:flex;align-items:flex-start;gap:11px;background:linear-gradient(125deg,#332547,#231b32);border:1px solid #9a70cc5e;border-radius:15px;padding:14px;margin-bottom:20px}.demo strong{font-size:13px}.demo p{color:#c5b8d4;font-size:12px;margin:5px 0 0;line-height:1.5}.pulse{display:block;min-width:8px;height:8px;background:#d7b6ff;border-radius:50%;margin-top:5px;box-shadow:0 0 11px #cba8ff}.search{display:flex;align-items:center;gap:10px;padding:10px 13px;background:#1d1d2e;border:1px solid #ffffff17;border-radius:12px;margin-bottom:23px}.search span{font-size:25px;color:#aaa3c0}.search input{background:transparent;border:0;color:white;width:100%;font-size:14px;outline:none}.search input::placeholder{color:#8987a0}.section-label{color:#8e8aa2;margin:0 0 10px}.chatrow{display:flex;gap:13px;align-items:center;text-align:left;border:0;background:transparent;color:white;width:100%;padding:14px 2px;border-radius:12px}.chatrow:active{background:#ffffff12}.avatar{height:51px;width:51px;display:grid;place-items:center;background:linear-gradient(140deg,#625087,#332c4d);border-radius:17px;color:#e5d6ff;font-size:23px;font-weight:700;flex-shrink:0}.avatar.small{width:42px;height:42px;font-size:17px}.preview{flex:1;min-width:0}.preview strong{display:block;font-size:14px;margin-bottom:7px}.preview small{color:#aaa5bc;font-size:12px;display:block;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.chatrow time{font-size:10px;color:#9691ad;align-self:flex-start}.inbox-footer{margin:auto auto 0;text-align:center;padding-top:30px;color:#a899d0;font-size:23px}.inbox-footer p{font-size:12px;line-height:1.6;color:#8f8da7}.inbox-footer strong{color:#d6cde6}.navbar{height:calc(67px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);flex-shrink:0;border-top:1px solid #ffffff12;background:#131423;display:flex;justify-content:space-evenly}.navbar button{background:none;border:0;color:#807b99;min-width:105px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px}.navbar button.selected{color:#c8b3ff}.navbar button span{font-size:23px}.navbar button small{font-size:11px}#chat{display:flex;flex-direction:column}.chatbar{display:flex;gap:12px;align-items:center;padding:12px 15px;border-bottom:1px solid #ffffff14}.chatbar button{background:none;border:0;font-size:36px;color:#c3a9ff}.chatbar strong{display:block;font-size:14px}.chatbar small{display:block;font-size:11px;color:#aaa2bd;margin-top:5px}.messages{flex:1;display:flex;flex-direction:column;gap:12px;overflow:auto;padding:20px 15px}.note{font-size:11px;line-height:1.5;color:#bbb1d0;background:#ffffff0a;border:1px solid #ffffff14;border-radius:10px;text-align:center;padding:10px}.bubble{max-width:85%;padding:12px 14px;border-radius:17px;line-height:1.55;font-size:14px;overflow-wrap:anywhere}.bubble.them{align-self:flex-start;background:#25253a;border-bottom-left-radius:4px}.bubble.me{align-self:flex-end;background:linear-gradient(130deg,#9274ee,#6853d1);border-bottom-right-radius:4px}.bubble time{display:block;color:#ffffffaa;font-size:10px;text-align:right;margin-top:5px}.compose{display:flex;align-items:center;gap:8px;padding:12px 14px 16px;border-top:1px solid #ffffff14}.compose input{min-width:0;flex:1;color:white;border-radius:26px;background:#25253b;border:1px solid #ffffff12;padding:13px 15px;font-size:14px}.compose button{background:#8567e6;color:white;border:0;width:43px;height:43px;border-radius:50%;font-size:20px}dialog{background:#211c32;color:white;border:1px solid #5c477e;border-radius:18px;max-width:min(420px,calc(100vw - 30px));padding:23px}dialog::backdrop{background:#000b}.dialog-head{display:flex;align-items:center;justify-content:space-between}.dialog-head h2{margin:0}.dialog-head button{background:none;border:0;color:#c9bce1;font-size:19px}dialog p{font-size:13px;color:#c5bbd5;line-height:1.6}.primary{margin-top:8px;padding:13px;width:100%;color:white;background:#8063df;border:0;border-radius:12px;font-weight:700}@media(min-width:600px){.app{border-left:1px solid #36334a;border-right:1px solid #36334a}}