:root{color-scheme:light;--bg: #f6f1e8;--surface: #fffaf3;--surface-2: #f3eadc;--ink: #30271f;--muted: #7d7063;--brand: #8b5c38;--accent: #c9783f;--line: #e6d9c7;--success: #69866d;--danger: #a14f43;--shadow: 0 18px 44px rgba(83, 61, 39, .09)}*{box-sizing:border-box}[hidden]{display:none!important}html{background:#eee5d8}body{margin:0;min-width:320px;color:var(--ink);background:radial-gradient(circle at top left,#fff8ed,transparent 38%),var(--bg);font-family:-apple-system,BlinkMacSystemFont,SF Pro Text,PingFang SC,Segoe UI,sans-serif}button,input,textarea{font:inherit}button,label{-webkit-tap-highlight-color:transparent;touch-action:manipulation}button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid rgba(201,120,63,.28);outline-offset:2px}.phone-shell{width:100%;max-width:430px;min-height:100svh;margin:0 auto;position:relative;background:#faf6eff0;padding-bottom:calc(80px + env(safe-area-inset-bottom));overflow-x:clip}.app-header{position:sticky;top:0;z-index:20;padding:max(12px,env(safe-area-inset-top)) 17px 11px;background:#faf6efe0;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);border-bottom:1px solid rgba(230,217,199,.75)}.brand-row{min-height:40px;display:flex;align-items:center;gap:10px}.brand-row>div:first-child{min-width:0;display:grid}.brand-row strong{font-size:15px;letter-spacing:-.2px}.brand-row span{color:var(--muted);font-size:10px;margin-top:2px}.header-actions{margin-left:auto;display:flex;gap:7px}.icon-button{width:44px;height:44px;border:1px solid var(--line);border-radius:14px;background:var(--surface);color:var(--brand);font-size:18px;font-weight:750}.view{display:none;padding:16px 15px 2px}.view.active{display:block;animation:enter .22s ease both}@keyframes enter{0%{opacity:0;transform:translateY(4px)}}.hero{position:relative;overflow:hidden;padding:24px 19px 20px;border:1px solid var(--line);border-radius:30px;background:linear-gradient(155deg,#fffaf3 10%,#f1e4d4);box-shadow:var(--shadow)}.hero:after{content:"</>";position:absolute;right:-8px;top:18px;color:#8b5c3812;font:800 78px ui-monospace,monospace;transform:rotate(-8deg)}.hero h1{position:relative;margin:14px 0 10px;max-width:355px;font-size:clamp(25px,7vw,30px);line-height:1.16;letter-spacing:-.8px;z-index:1}.hero p{position:relative;margin:0 0 19px;color:#6e6256;font-size:13px;line-height:1.7;z-index:1}.eyebrow,.kicker{color:var(--brand);font-size:11px;font-weight:750;letter-spacing:.04em}.eyebrow{display:inline-flex;padding:7px 10px;border-radius:999px;background:#f1e2d0}.button{min-height:46px;padding:0 15px;border:0;border-radius:15px;display:inline-flex;align-items:center;justify-content:center;gap:7px;font-weight:700;font-size:13px;cursor:pointer;text-decoration:none}.button:active{transform:scale(.985)}.button.primary{color:#fffaf3;background:#3b3027}.button.secondary{color:#fffaf3;background:var(--accent)}.button.soft{color:var(--ink);background:#f2eadf;border:1px solid var(--line)}.button.danger{color:#fff;background:var(--danger)}.button.full{width:100%;margin-top:11px}.card{margin-top:14px;padding:17px;border:1px solid var(--line);border-radius:23px;background:var(--surface);box-shadow:0 12px 34px #533d270f}.section-heading{display:flex;align-items:start;justify-content:space-between;gap:12px}.section-heading h2,.install-card h2,.cloud-card h2{margin:4px 0 0;font-size:17px;letter-spacing:-.25px}.text-button{min-height:44px;border:0;background:transparent;color:var(--brand);font-size:12px}.guide-card ol{margin:15px 0 0;padding:0;list-style:none;display:grid;gap:9px}.guide-card li{display:grid;grid-template-columns:30px 1fr;gap:10px;padding:11px;border-radius:16px;background:#fbf6ef;border:1px solid #eee2d1}.guide-card li>span{width:30px;height:30px;display:grid;place-items:center;border-radius:10px;background:#efe0ce;color:var(--brand);font-size:12px;font-weight:800}.guide-card strong{font-size:13px}.guide-card p{margin:3px 0 0;color:var(--muted);font-size:11px;line-height:1.5}.wechat-warning,.risk-notice{margin-top:13px;padding:12px 13px;color:#885838;background:#f8e9d7;border:1px solid #ecd2b8;border-radius:16px;font-size:12px;line-height:1.55}.code-input{width:100%;min-height:144px;margin-top:13px;padding:13px;resize:vertical;border:1px solid var(--line);border-radius:16px;color:#4d4035;background:#f5ede2;font:12px/1.55 ui-monospace,SFMono-Regular,Menlo,monospace}.install-card{display:grid;grid-template-columns:44px 1fr;gap:12px;align-items:center}.install-card p,.cloud-card p{margin:5px 0 0;color:var(--muted);font-size:11px;line-height:1.5}.cloud-icon{width:44px;height:44px;display:grid;place-items:center;border-radius:15px;color:var(--brand);background:#efe1cf;font-size:20px}.empty-preview{min-height:60svh;display:grid;place-items:center;align-content:center;text-align:center}.empty-preview h2{margin:12px 0 4px}.empty-preview p{margin:0 0 18px;color:var(--muted);font-size:13px}.empty-icon{width:64px;height:64px;display:grid;place-items:center;border-radius:22px;color:var(--brand);background:var(--surface-2);font-size:30px}.summary-card{display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:11px;align-items:center;padding:13px;background:var(--surface);border:1px solid var(--line);border-radius:20px}.file-badge{width:48px;height:52px;display:grid;place-items:center;color:var(--brand);background:#f0dfcc;border-radius:14px;font:800 10px ui-monospace,monospace}.summary-main{min-width:0}.summary-main span{color:var(--muted);font-size:10px}.summary-main h2{overflow:hidden;margin:2px 0;font-size:14px;text-overflow:ellipsis;white-space:nowrap}.summary-main p{margin:0;color:var(--muted);font-size:10px}.status-dot{color:var(--success);font-size:10px;font-weight:700}.variable-card{margin-top:10px;padding:13px;display:flex;align-items:start;justify-content:space-between;gap:12px;border-radius:18px;background:#edf2eb;border:1px solid #d8e2d5}.variable-card h3{margin:4px 0 0;font-size:13px}.variable-card p{margin:4px 0 0;color:#667668;font-size:10px;line-height:1.45}.variable-list{max-width:48%;display:flex;flex-wrap:wrap;justify-content:end;gap:4px}.variable-list code{padding:5px 7px;border-radius:8px;color:#55705a;background:#fff;font-size:9px}.preview-heading{margin:13px 2px 9px;display:flex;align-items:center;justify-content:space-between;gap:12px}.preview-heading p{margin:3px 0 0;color:var(--muted);font-size:10px}.preview-heading button{min-height:44px;padding:0 13px;border:1px solid var(--line);border-radius:13px;color:var(--brand);background:var(--surface);font-size:11px;font-weight:700}.preview-heading-actions{display:flex;gap:7px}.preview-heading .quick-edit-button{color:#fff;background:var(--accent);border-color:var(--accent);box-shadow:0 7px 18px #c9783f33}.preview-stage{overflow:hidden;border:1px solid var(--line);border-radius:22px;background:#fff;box-shadow:var(--shadow)}.device{position:relative;width:100%;height:62svh;min-height:520px;margin:auto;overflow:hidden;background:#fff}.device iframe{width:100%;height:100%;border:0;background:#fff}.preview-tip{margin:9px 4px 0;color:var(--muted);font-size:10px;text-align:center}.action-grid{margin-top:12px;display:grid;grid-template-columns:1fr 1fr;gap:8px}.action-grid .button:first-child{grid-column:1 / -1}.editor-toolbar{position:sticky;top:62px;z-index:15;margin:9px 0;min-height:50px;padding:5px;display:grid;grid-template-columns:1.3fr repeat(4,auto);gap:3px;align-items:center;border-radius:16px;background:#fffaf3f5;border:1px solid var(--line);box-shadow:0 10px 24px #3c31281a;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.editor-toolbar button{min-width:44px;min-height:44px;padding:0 6px;border:0;border-radius:11px;color:var(--ink);background:#f1e8dd;font-size:10px;font-weight:700}.editor-toolbar button:disabled{opacity:.35}.editor-toolbar .toolbar-save{color:#fff;background:var(--accent)}.edit-live{padding-left:8px;color:var(--brand);font-size:10px;font-weight:750}.edit-live i{display:inline-block;width:7px;height:7px;margin-right:4px;border-radius:50%;background:#70a076}.page-heading{padding:8px 4px 12px}.page-heading h1{margin:6px 0 5px;font-size:28px}.page-heading p{margin:0;color:var(--muted);font-size:12px}.project-list{display:grid;gap:10px}.project-card{padding:14px;border:1px solid var(--line);border-radius:19px;background:var(--surface);box-shadow:0 8px 28px #533d270d}.project-top{display:flex;align-items:start;justify-content:space-between;gap:10px}.project-card h2{overflow:hidden;margin:0 0 5px;font-size:15px;text-overflow:ellipsis;white-space:nowrap}.project-card p{margin:0;color:var(--muted);font-size:10px}.project-actions{margin-top:11px;display:grid;grid-template-columns:1fr auto auto;gap:7px}.project-actions button{min-height:44px;padding:0 12px;border:0;border-radius:12px;color:var(--ink);background:#f2e9dd;font-size:11px;font-weight:700}.project-actions .open-project{color:#fff;background:#3c3128}.cloud-card{margin-top:13px;padding:15px;display:grid;grid-template-columns:44px 1fr auto;gap:11px;align-items:center;border:1px dashed #d8c7b1;border-radius:20px;background:#f7eee2}.cloud-card>span{color:var(--brand);font-size:9px;font-weight:750}.empty-card{padding:30px 18px;color:var(--muted);text-align:center;border:1px dashed var(--line);border-radius:20px;background:#fffaf3b3;font-size:12px;line-height:1.6}.account-card{margin-bottom:12px;padding:14px;display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid var(--line);border-radius:19px;background:var(--surface)}.account-card h2{margin:4px 0 2px;font-size:14px}.account-card p{margin:0;color:var(--muted);font-size:10px}.admin-invite-card{margin-top:14px;padding:16px;border:1px solid #d9c4a9;border-radius:22px;background:linear-gradient(155deg,#fffaf3,#f3e3d0);box-shadow:var(--shadow)}.admin-invite-card h2{margin:4px 0;font-size:18px}.admin-invite-card .section-heading p{margin:0;color:var(--muted);font-size:10px;line-height:1.5}.invite-list{margin-top:13px;display:grid;gap:8px}.invite-item{padding:12px;display:grid;grid-template-columns:1fr auto;gap:8px;border-radius:15px;background:#ffffffb8;border:1px solid var(--line)}.invite-item h3{margin:0 0 4px;font-size:13px}.invite-item p{margin:0;color:var(--muted);font-size:10px;line-height:1.5}.invite-item button{min-width:58px;min-height:44px;border:0;border-radius:12px;color:var(--danger);background:#f5e6e1;font-size:11px;font-weight:700}.invite-options{margin-top:12px;display:grid;grid-template-columns:1fr 1fr;gap:10px}.invite-code-output{margin:14px 0;padding:16px 10px;display:block;border:1px dashed var(--brand);border-radius:15px;color:var(--brand);background:#f7ecdf;text-align:center;font:800 20px/1.3 ui-monospace,monospace;letter-spacing:.08em}.bottom-nav{position:fixed;z-index:30;left:50%;bottom:0;width:min(100%,430px);height:calc(64px + env(safe-area-inset-bottom));padding:5px 10px max(5px,env(safe-area-inset-bottom));display:grid;grid-template-columns:repeat(3,1fr);transform:translate(-50%);border:1px solid rgba(230,217,199,.95);border-bottom:0;border-radius:22px 22px 0 0;background:#fffaf3f5;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);box-shadow:0 -8px 30px #533d271c}.bottom-nav button{border:0;border-radius:17px;display:grid;place-items:center;align-content:center;gap:3px;color:var(--muted);background:transparent;font-size:10px;font-weight:700}.bottom-nav button.active{color:var(--brand);background:#f0e1ce}.tab-icon{width:23px;height:23px;display:block;color:currentColor;background:currentColor;-webkit-mask-image:url(/p/html/icons/tab-icons.png);mask-image:url(/p/html/icons/tab-icons.png);-webkit-mask-size:300% 100%;mask-size:300% 100%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}.tab-icon-import{-webkit-mask-position:0 0;mask-position:0 0}.tab-icon-preview{-webkit-mask-position:50% 0;mask-position:50% 0}.tab-icon-projects{-webkit-mask-position:100% 0;mask-position:100% 0}.modal{width:min(calc(100% - 28px),400px);max-height:min(84svh,680px);padding:0;border:1px solid var(--line);border-radius:24px;color:var(--ink);background:var(--surface);box-shadow:0 25px 90px #2d221940}.modal::backdrop{background:#2d231b7a;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.modal form{padding:19px}.modal-head{display:flex;justify-content:space-between;gap:10px}.modal h2{margin:4px 0 16px;font-size:20px}.close-button{width:44px;height:44px;border:0;border-radius:14px;color:var(--muted);background:#f1e8dd;font-size:20px}.modal label{display:grid;gap:7px;color:var(--muted);font-size:11px;font-weight:700}.modal textarea,.modal input:not([type=color]){width:100%;min-height:46px;padding:11px;border:1px solid var(--line);border-radius:13px;color:var(--ink);background:#f7f0e7;font-size:14px}.modal textarea{resize:vertical}.color-grid{margin-top:12px;display:grid;grid-template-columns:1fr 1fr;gap:10px}.color-grid label{padding:10px;grid-template-columns:1fr 38px;align-items:center;border:1px solid var(--line);border-radius:14px}input[type=color]{width:38px;height:38px;padding:2px;border:0;border-radius:10px;background:transparent}.palette{margin-top:12px;display:flex;gap:8px;flex-wrap:wrap}.palette button{width:34px;height:34px;border:3px solid white;border-radius:50%;box-shadow:0 0 0 1px var(--line)}.modal-actions{margin-top:17px;display:grid;grid-template-columns:1fr 1fr;gap:9px}.modal-actions.stacked{grid-template-columns:1fr}.form-error{color:var(--danger);font-size:11px;line-height:1.5}.help-content{display:grid;gap:12px;max-height:52svh;overflow:auto;overscroll-behavior:contain}.help-content section{padding:12px;border:1px solid var(--line);border-radius:15px;background:#f8f1e8}.help-content h3{margin:0 0 7px;font-size:13px}.help-content p,.help-content ol{margin:0;color:var(--muted);font-size:11px;line-height:1.65}.help-content ol{padding-left:19px}.toast{position:fixed;z-index:100;left:50%;bottom:calc(76px + env(safe-area-inset-bottom));width:max-content;max-width:calc(100% - 34px);padding:10px 14px;opacity:0;pointer-events:none;transform:translate(-50%,10px);border-radius:999px;color:#fff;background:#3c3128;box-shadow:0 14px 32px #3c312833;font-size:12px;transition:.2s ease}.toast.show{opacity:1;transform:translate(-50%)}.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}body.fullscreen-preview .app-header,body.fullscreen-preview .bottom-nav,body.fullscreen-preview .summary-card,body.fullscreen-preview .variable-card,body.fullscreen-preview .risk-notice,body.fullscreen-preview .preview-tip,body.fullscreen-preview .action-grid,body.fullscreen-preview .preview-heading>div:first-child,body.fullscreen-preview .quick-edit-button{display:none!important}body.fullscreen-preview .phone-shell{max-width:none;padding:0}body.fullscreen-preview .view{padding:0}body.fullscreen-preview .preview-heading{position:fixed;z-index:50;top:max(8px,env(safe-area-inset-top));right:10px;margin:0}body.fullscreen-preview .preview-heading button{color:#fff;background:#30271fe0;border-color:transparent;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}body.fullscreen-preview .preview-stage{padding:0;border-radius:0;background:#fff}body.fullscreen-preview .device{width:100%;max-width:none;height:100svh;border-radius:0}body.fullscreen-preview .editor-toolbar{position:fixed;top:58px;left:50%;width:min(calc(100% - 20px),420px);transform:translate(-50%)}@media(min-width:700px){.phone-shell{min-height:calc(100vh - 40px);margin:20px auto;border-radius:38px;box-shadow:0 24px 80px #533d2729}}@media(max-width:360px){.preview-heading{align-items:end}.preview-heading-actions{gap:5px}.preview-heading button{padding:0 9px;font-size:10px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}.auth-gate{min-height:100svh;padding:max(28px,env(safe-area-inset-top)) 18px max(28px,env(safe-area-inset-bottom));display:grid;place-items:center}.auth-card{width:min(100%,400px);padding:25px 20px;border:1px solid var(--line);border-radius:28px;background:var(--surface);box-shadow:var(--shadow)}.auth-card h1{margin:16px 0 8px;font-size:27px}.auth-card>p{margin:0 0 18px;color:var(--muted);font-size:12px;line-height:1.6}.auth-card label{display:grid;gap:7px;margin-top:13px;color:var(--muted);font-size:11px;font-weight:700}.auth-card input{min-height:48px;padding:0 13px;border:1px solid var(--line);border-radius:14px;color:var(--ink);background:#f7f0e7;font-size:15px}.auth-tabs{margin-bottom:10px;padding:4px;display:grid;grid-template-columns:1fr 1fr;border-radius:15px;background:#f2e8dc}.auth-tabs button{min-height:44px;border:0;border-radius:12px;color:var(--muted);background:transparent;font-weight:700}.auth-tabs button.active{color:#fff;background:var(--brand)}.otp-sent{color:var(--muted);font-size:12px;line-height:1.6}
