:root{color:#111827;background:#eef1f6;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}html,body,#root{height:100%}body{margin:0;overflow:hidden}button,input{font:inherit}.shell{flex-direction:column;height:100%;display:flex;overflow:hidden}.topbar{-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#ffffffc7;border-bottom:1px solid #d9dde6;flex:none;justify-content:space-between;gap:16px;padding:16px 20px;display:flex}.topbar h1{margin:0;font-size:20px}.topbar p{color:#667085;margin:4px 0 0}.topbar code{color:#475467;background:#f2f4f7;border-radius:999px;align-self:start;padding:6px 8px;font-size:12px}.workspace{flex:auto;grid-template-columns:minmax(390px,500px) minmax(420px,1fr);gap:20px;min-height:0;padding:22px;display:grid;overflow:hidden}.phoneStage{place-items:center;min-height:0;display:grid;overflow:hidden}.iphone{background:#fff;border:10px solid #111;border-radius:48px;flex-direction:column;width:min(390px,100%);height:min(780px,100vh - 130px);min-height:620px;display:flex;position:relative;overflow:hidden;box-shadow:0 30px 90px #10182847,inset 0 0 0 1px #ffffff2e}.island{z-index:3;background:#050505;border-radius:999px;width:112px;height:32px;position:absolute;top:12px;left:50%;transform:translate(-50%)}.phoneHeader{background:#f9fafbf0;border-bottom:1px solid #e5e7eb;align-items:center;gap:10px;padding:56px 18px 12px;display:flex}.avatar{color:#fff;background:linear-gradient(135deg,#111827,#667085);border-radius:50%;place-items:center;width:34px;height:34px;font-weight:800;display:grid}.phoneHeader strong,.phoneHeader span{display:block}.phoneHeader span{color:#667085;margin-top:2px;font-size:12px}.messageList{background:#fff;flex:1;min-height:0;padding:14px 10px 18px;overflow:auto}.imessageRow{margin:6px 0;display:flex}.imessageRow.outgoing{justify-content:flex-end}.imessageRow.incoming{justify-content:flex-start}.imessageBubble{white-space:pre-wrap;border-radius:18px;max-width:74%;padding:9px 12px;line-height:1.32}.imessageBubble.blue{color:#fff;background:#0a84ff;border-bottom-right-radius:5px}.imessageBubble.gray{color:#111827;background:#e9e9eb;border-bottom-left-radius:5px}.typingRow{min-height:34px}.typingBubble{background:#e9e9eb;border-radius:18px 18px 18px 5px;align-items:center;gap:4px;padding:11px 13px;display:inline-flex}.typingBubble span{background:#8e8e93;border-radius:50%;width:7px;height:7px;animation:1.15s ease-in-out infinite typingDot}.typingBubble span:nth-child(2){animation-delay:.15s}.typingBubble span:nth-child(3){animation-delay:.3s}@keyframes typingDot{0%,80%,to{opacity:.45;transform:translateY(0)}40%{opacity:1;transform:translateY(-4px)}}.galleryRow{width:100%}.galleryBubble{background:#e9e9eb;border-radius:20px 20px 20px 5px;gap:8px;width:min(310px,86%);padding:8px;display:grid}.imessageProductCard{color:inherit;background:#fff;border-radius:14px;grid-template-columns:78px 1fr;gap:9px;padding:7px;text-decoration:none;display:grid;overflow:hidden}.imessageProductCard img{object-fit:cover;border-radius:10px;width:78px;height:78px}.imessageProductCard strong,.imessageProductCard span,.imessageProductCard code{display:block}.imessageProductCard strong{font-size:13px;line-height:1.2}.imessageProductCard span{color:#344054;margin-top:4px;font-size:13px}.imessageProductCard code{color:#667085;white-space:nowrap;text-overflow:ellipsis;margin-top:6px;font-size:10px;overflow:hidden}.phoneComposer{background:#f9fafb;border-top:1px solid #e5e7eb;grid-template-columns:1fr 34px;gap:8px;padding:10px 12px 18px;display:grid}.phoneComposer input{background:#fff;border:1px solid #d0d5dd;border-radius:999px;min-width:0;padding:8px 12px}.phoneComposer button{color:#fff;cursor:pointer;background:#0a84ff;border:0;border-radius:50%;width:34px;height:34px;font-weight:800}.phoneComposer button:disabled{cursor:not-allowed;opacity:.35}.debugStage{grid-template-columns:minmax(330px,.8fr) minmax(360px,1fr);gap:14px;min-height:0;display:grid;overflow:hidden}.panel{background:#fff;border:1px solid #d9dde6;border-radius:18px;flex-direction:column;min-height:0;display:flex;overflow:hidden;box-shadow:0 12px 40px #10182814}.panel header{border-bottom:1px solid #eaecf0;flex:none;padding:12px 14px;font-weight:700}.traceList,.inspectorPanel pre{flex:1;min-height:0;overflow:auto}.traceList{max-height:100%;padding:10px;overflow-y:auto}.runTraceCard{background:#fcfcfd;border:1px solid #eaecf0;border-radius:14px;margin-bottom:10px}.runTraceHeader{cursor:pointer;text-align:left;background:0 0;border:0;border-radius:14px 14px 0 0;grid-template-columns:18px minmax(0,1fr) auto auto auto auto;align-items:center;gap:8px;width:100%;padding:10px;display:grid}.chevron{color:#667085;font-size:18px}.runText{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-weight:700;overflow:hidden}.metric{color:#475467;white-space:nowrap;background:#f2f4f7;border-radius:999px;padding:3px 7px;font-size:11px}.metric.hot{color:#067647;background:#d1fadf}.metric.cost{color:#b54708;background:#fef0c7}.toolPillRow{flex-wrap:wrap;gap:6px;padding:0 10px 10px 36px;display:flex}.toolPill,.mutedPill{border-radius:999px;padding:5px 8px;font-size:12px}.toolPill{color:#067647;cursor:pointer;background:#ecfdf3;border:1px solid #abefc6;gap:6px;display:inline-flex}.toolPill.selected{outline:2px solid #17b26a}.toolPill small{opacity:.72}.mutedPill{color:#667085;background:#f2f4f7}.runTraceDetails{border-top:1px solid #eaecf0;padding:10px}.detailGrid{grid-template-columns:auto 1fr;gap:6px 10px;margin-bottom:10px;font-size:12px;display:grid}.detailGrid span{color:#667085}.detailGrid code{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.compactEventList{gap:5px;display:grid}.compactEvent{cursor:pointer;text-align:left;background:0 0;border:0;border-radius:9px;grid-template-columns:74px 1fr 44px;align-items:center;gap:8px;width:100%;padding:7px;display:grid}.compactEvent:hover,.compactEvent.selected{background:#f2f4f7}.source{text-align:center;background:#eaecf0;border-radius:999px;padding:2px 7px;font-size:11px}.source.pi{background:#d1e9ff}.source.runtime{background:#e9d7fe}.source.tool{background:#d1fadf}.source.delivery{background:#fedf89}.compactEvent small{color:#667085;text-align:right}.inspectorPanel pre{white-space:pre-wrap;margin:0;padding:12px;font-size:12px;line-height:1.4}.empty{color:#667085;padding:14px}@media (width<=980px){.workspace,.debugStage{grid-template-columns:1fr}.iphone{height:720px}}
