:root{--text:#6b6375;--text-h:#08060d;--bg:#fff;--border:#e5e4e7;--code-bg:#f4f3ec;--accent:#aa3bff;--accent-bg:#aa3bff1a;--accent-border:#aa3bff80;--social-bg:#f4f3ec80;--shadow:#0000001a 0 10px 15px -3px, #0000000d 0 4px 6px -2px;--sans:system-ui, "Segoe UI", Roboto, sans-serif;--heading:system-ui, "Segoe UI", Roboto, sans-serif;--mono:ui-monospace, Consolas, monospace;font:18px/145% var(--sans);letter-spacing:.18px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;color:var(--text);background:var(--bg);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial}}@media (width<=1024px){:root{font-size:16px}}@media (prefers-color-scheme:dark){:root{--text:#9ca3af;--text-h:#f3f4f6;--bg:#16171d;--border:#2e303a;--code-bg:#1f2028;--accent:#c084fc;--accent-bg:#c084fc26;--accent-border:#c084fc80;--social-bg:#2f303a80;--shadow:#0006 0 10px 15px -3px, #00000040 0 4px 6px -2px}#social .button-icon{filter:invert()brightness(2)}}#root{text-align:left;box-sizing:border-box;border-inline:none;flex-direction:column;width:100%;max-width:none;min-height:100svh;margin:0;display:flex}body{margin:0}h1,h2{font-family:var(--heading);color:var(--text-h);font-weight:500}h1{letter-spacing:-1.68px;margin:32px 0;font-size:56px}@media (width<=1024px){h1{margin:20px 0;font-size:36px}}h2{letter-spacing:-.24px;margin:0 0 8px;font-size:24px;line-height:118%}@media (width<=1024px){h2{font-size:20px}}p{margin:0}code,.counter{font-family:var(--mono);color:var(--text-h);border-radius:4px;display:inline-flex}code{background:var(--code-bg);padding:4px 8px;font-size:15px;line-height:135%}.layout{color:#101828;background:#f5f7fb;min-height:100vh}.topbar{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);z-index:9;background:#fffc;border-bottom:1px solid #e8ecf5;justify-content:space-between;align-items:center;height:68px;padding:0 22px;display:flex;position:sticky;top:0}.topbarLeft{align-items:center;gap:12px;display:flex}.logoDot{background:linear-gradient(#7158ff 0%,#4f46e5 100%);border-radius:50%;width:12px;height:12px;box-shadow:0 0 0 6px #4f46e51a}.brand{font-size:18px;font-weight:700;line-height:1.2}.subtitle{color:#6b7280;font-size:12px}.topbarRight{align-items:center;gap:10px;display:flex}.statusTag{color:#065f46;background:#d1fae5;border:1px solid #a7f3d0;border-radius:999px;padding:4px 10px;font-size:12px}.main{grid-template-columns:340px minmax(0,1fr);gap:16px;padding:16px;display:grid}.sidebarCard{background:#fff;border:1px solid #e8ecf5;border-radius:16px;flex-direction:column;gap:12px;height:calc(100vh - 102px);padding:14px;display:flex;position:sticky;top:84px}.sidebarHeader{justify-content:space-between;align-items:center;display:flex}.sectionTitle{letter-spacing:.4px;text-transform:uppercase;color:#6b7280;font-size:12px;font-weight:700}.appsCount{color:#6b7280;background:#f3f4f6;border-radius:999px;padding:3px 8px;font-size:12px}.newApp{gap:8px;display:flex}.input{color:#111827;background:#fff;border:1px solid #d7deea;border-radius:12px;flex:1;min-width:0;padding:10px 12px}.input:focus{border-color:#6d5efc;outline:none;box-shadow:0 0 0 3px #6d5efc21}.button{color:#111827;cursor:pointer;background:#fff;border:1px solid #d7deea;border-radius:12px;padding:10px 12px;transition:all .2s}.button:hover:not(:disabled){border-color:#bcc6d8;transform:translateY(-1px)}.button:disabled{opacity:.55;cursor:not-allowed}.button.primary{color:#fff;background:linear-gradient(#7863ff 0%,#5f4cff 100%);border:none}.button.ghost{background:#fff}.button.mini{border-radius:10px;padding:6px 10px;font-size:12px}.button.danger{color:#b42318;background:#fff8f7;border-color:#fecdca}.button.danger:hover:not(:disabled){background:#fef3f2;border-color:#f97066}.appList{flex-direction:column;gap:8px;padding-right:2px;display:flex;overflow:auto}.appRow{gap:8px;display:flex}.appItem{text-align:left;cursor:pointer;background:#fff;border:1px solid #e4e9f4;border-radius:12px;flex:1;padding:10px 12px}.appItem:hover{border-color:#c8d1e5}.appRowActive .appItem{background:#fbfaff;border-color:#6958fb;box-shadow:0 0 0 3px #6958fb1f}.appName{font-size:14px;font-weight:700}.appMain{align-items:center;gap:10px;display:flex}.appIcon{object-fit:cover;background:#fff;border:1px solid #e5e7eb;border-radius:8px;flex-shrink:0;width:28px;height:28px}.appIconFallback{color:#4f46e5;background:#eef2ff;justify-content:center;align-items:center;font-size:13px;font-weight:700;display:inline-flex}.heroTitleRow{align-items:center;gap:10px;display:flex}.heroIcon{object-fit:cover;background:#fff;border:1px solid #e5e7eb;border-radius:10px;width:32px;height:32px}.heroIconFallback{color:#4f46e5;background:#eef2ff;justify-content:center;align-items:center;font-size:14px;font-weight:700;display:inline-flex}.deleteBtn{color:#dc2626;cursor:pointer;background:#fff;border:1px solid #fecaca;border-radius:12px;padding:0 10px}.deleteBtn:hover:not(:disabled){background:#fef2f2}.content{min-width:0}.contentStack{flex-direction:column;gap:12px;max-width:980px;display:flex}.heroCard{background:linear-gradient(145deg,#fff 0%,#f7f8ff 100%);border:1px solid #e8ecf5;border-radius:16px;justify-content:space-between;gap:16px;padding:16px;display:flex}.heroMain{min-width:0}.title{margin:0;font-size:24px}.metaText{color:#6b7280;margin-top:6px;font-size:13px}.heroStats{align-items:stretch;gap:10px;display:flex}.statItem{background:#fff;border:1px solid #e4e9f4;border-radius:12px;min-width:90px;padding:10px 12px}.statLabel{color:#6b7280;font-size:12px}.statValue{margin-top:4px;font-size:20px;font-weight:700}.statPill{border-radius:999px;width:fit-content;margin-top:6px;padding:4px 8px;font-size:12px;font-weight:600}.statPill.on{color:#166534;background:#dcfce7}.statPill.off{color:#991b1b;background:#fee2e2}.card{background:#fff;border:1px solid #e8ecf5;border-radius:16px;flex-direction:column;gap:12px;padding:14px;display:flex}.cardTitle{font-size:14px;font-weight:700}.kvGrid{gap:10px;display:grid}.kvItem{background:#fafbfe;border:1px solid #edf0f7;border-radius:12px;gap:6px;padding:10px;display:grid}.kvLabel{color:#6b7280;font-size:12px}.kvValue{word-break:break-all;color:#111827;font-size:13px;display:block}.toggles{flex-direction:column;gap:10px;display:flex}.toggleRow{background:#fafbfe;border:1px solid #edf0f7;border-radius:12px;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;display:flex}.toggleLabel{font-size:14px;font-weight:600}.toggleDesc{color:#6b7280;margin-top:2px;font-size:12px}.switch{width:44px;height:24px;display:inline-block;position:relative}.switch input{opacity:0;width:0;height:0}.slider{cursor:pointer;background:#d1d5db;border-radius:999px;transition:all .2s;position:absolute;inset:0}.slider:before{content:"";background:#fff;border-radius:50%;width:18px;height:18px;transition:all .2s;position:absolute;top:3px;left:3px}.switch input:checked+.slider{background:#5f4cff}.switch input:checked+.slider:before{transform:translate(20px)}.switch input:disabled+.slider{opacity:.6;cursor:not-allowed}.apiBlock{background:#fafbfe;border:1px solid #edf0f7;border-radius:12px;flex-direction:column;gap:10px;padding:10px;display:flex}.apiBlock pre{margin:0;overflow:auto}.muted{color:#6b7280;font-size:12px}.alert{border:1px solid;border-radius:12px;margin-bottom:10px;padding:10px 12px;font-size:13px}.alert.error{color:#991b1b;white-space:pre-wrap;word-break:break-word;background:#fef2f2;border-color:#fecaca}.alert.success{color:#166534;background:#ecfdf3;border-color:#a7f3d0}.empty,.emptyTip{color:#6b7280;font-size:13px}.empty{padding:18px 4px}.modalMask{z-index:30;background:#10182873;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.modalCard{background:#fff;border:1px solid #e8ecf5;border-radius:16px;width:460px;max-width:calc(100vw - 24px);padding:14px;box-shadow:0 20px 40px #0f172a38}.modalTitle{margin-bottom:10px;font-size:16px;font-weight:700}.modalBody{gap:8px;display:grid}.uploadZone{cursor:pointer;background:#f8faff;border:1px dashed #c9d3e7;border-radius:12px;padding:12px}.uploadZoneDrag{background:#eef0ff;border-color:#5f4cff}.uploadHint{color:#6b7280;font-size:13px;line-height:1.5}.uploadPreview{align-items:center;gap:10px;display:flex}.uploadPreviewImg{object-fit:cover;background:#fff;border:1px solid #dbe2ef;border-radius:12px;width:44px;height:44px}.uploadFileName{color:#334155;text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-size:13px;overflow:hidden}.hiddenFileInput{display:none}.fieldLabel{color:#6b7280;font-size:12px}.modalActions{justify-content:flex-end;gap:8px;margin-top:12px;display:flex}@media (width<=1080px){.main{grid-template-columns:1fr}.sidebarCard{height:auto;position:static}.heroCard{flex-direction:column}}.postbackModal{flex-direction:column;width:820px;min-height:0;max-height:80vh;display:flex;overflow:hidden}.postbackIntro{margin-bottom:10px}.postbackActions{margin-top:0;margin-bottom:6px}.postbackList{flex-direction:column;flex:1;gap:8px;min-height:0;display:flex;overflow-y:auto}.postbackListItem{text-align:left;cursor:pointer;background:#fafbfe;border:1px solid #e8ecf5;border-radius:12px;padding:10px 12px;transition:border-color .18s,box-shadow .18s,background .18s}.postbackListItem:hover{background:#fcfcff;border-color:#6d5efc;box-shadow:inset 0 0 0 1px #6d5efc1f}.postbackListItem:hover .postbackPreviewCode{background:#171729}.postbackDetailsPage{scrollbar-gutter:stable;flex-direction:column;flex:1;gap:10px;min-height:0;padding-bottom:10px;padding-right:4px;display:flex;overflow-y:auto}.postbackSectionTitle{color:#475467;letter-spacing:.02em;flex-shrink:0;font-size:12px;font-weight:700}.postbackDetailItem{background:#fff;border:1px solid #e8ecf5;border-radius:10px;padding:8px 10px}.postbackItemHeader{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:8px;margin-bottom:8px;display:flex}.postbackHeaderMain{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.postbackTag{color:#4f46e5;background:#eef2ff;border-radius:999px;padding:2px 8px;font-size:11px;font-weight:600}.postbackIp{color:#6b7280;font-size:12px}.postbackMethod{color:#334155;font-size:12px;font-weight:600}.postbackTime{color:#9ca3af;font-size:12px}.postbackPreviewText{color:#e5e7eb;word-break:break-all;font-size:12px;line-height:1.5;display:block}.postbackPreviewCode{background:#1e1e2e;border:1px solid #ffffff0a;border-radius:8px;margin-top:8px;padding:10px 12px}.postbackDetailGrid{flex-shrink:0;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.postbackDetailItemFull{grid-column:1/-1}.postbackDetailLabel{color:#6b7280;margin-bottom:4px;font-size:11px}.postbackDetailValue{color:#111827;word-break:break-all;font-size:12px}.postbackMono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.postbackCodeBlock{background:#fff;border:1px solid #e5eaf4;border-radius:10px;flex-shrink:0;overflow:hidden}.postbackCodeBlockPrimary{border-color:#c7d2fe;box-shadow:0 0 0 1px #6366f114}.postbackCodeHeader{color:#334155;border-bottom:1px solid #e5eaf4;justify-content:space-between;align-items:center;gap:8px;padding:8px 10px;font-size:12px;font-weight:600;display:flex}.postbackCodeTextarea{box-sizing:border-box;color:#cdd6f4;resize:none;white-space:pre-wrap;word-break:break-all;-webkit-user-select:text;user-select:text;-webkit-text-fill-color:#cdd6f4;opacity:1;background:#1e1e2e;border:0;outline:none;width:100%;min-height:96px;max-height:320px;margin:0;padding:10px 12px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:12px;line-height:1.5;display:block;overflow:hidden}.postbackCodeTextarea::selection{background:#818cf859}.postbackMeta{color:#9ca3af;flex-wrap:wrap;justify-content:space-between;gap:12px;font-size:11px;display:flex}.postbackMoreDetails{background:#fff;border:1px solid #e5eaf4;border-radius:10px;flex-shrink:0;margin-bottom:4px}.postbackMoreDetails summary{cursor:pointer;color:#334155;justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;font-size:13px;font-weight:600;list-style:none;display:flex}.postbackMoreDetails summary::-webkit-details-marker{display:none}.postbackMoreDetails[open] summary{border-bottom:1px solid #e5eaf4}.postbackSummaryHint{color:#94a3b8;font-size:11px;font-weight:500}.postbackMoreContent{flex-direction:column;gap:10px;padding:10px;display:flex}@media (width<=1080px){.postbackModal{width:min(820px,100vw - 24px)}.postbackDetailGrid{grid-template-columns:1fr}}
