body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#f4f6f8;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;margin:0}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}*{box-sizing:border-box}body,html{-webkit-overflow-scrolling:touch;-webkit-tap-highlight-color:transparent;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;background:#f4f6f8;color:#0f172a;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;margin:0;overflow:hidden;overscroll-behavior:none;-webkit-overscroll-behavior:none;-webkit-user-select:none;user-select:none}#root,body,html{height:100vh;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);width:100%}#root{overflow:hidden}.app-root{align-items:center;display:flex;justify-content:center;overflow:hidden}.app-root,.screen-full{background:#f4f6f8;color:#0f172a;height:100vh;height:calc(100vh - env(safe-area-inset-top) - env(safe-area-inset-bottom));width:100%;width:calc(100vw - env(safe-area-inset-left) - env(safe-area-inset-right))}.screen-full{-webkit-overflow-scrolling:touch;overflow-x:hidden;overflow-y:auto;position:relative}@media screen and (max-width:768px){body,html{-webkit-overflow-scrolling:touch;bottom:0;left:0;overflow:hidden;overscroll-behavior:none;-webkit-overscroll-behavior:none;position:fixed;right:0;top:0}}@media screen and (max-height:100vh){.app-root,.chat-root,.screen-full{height:calc(100vh - env(safe-area-inset-top) - env(safe-area-inset-bottom))!important;max-height:calc(100vh - env(safe-area-inset-top) - env(safe-area-inset-bottom))!important}}@media screen and (-webkit-min-device-pixel-ratio:0){body,html{overflow:hidden;position:fixed}.screen-full,body,html{-webkit-overflow-scrolling:touch}.screen-full{overscroll-behavior:contain;-webkit-overscroll-behavior:contain}}.results-root{box-sizing:border-box;margin:0 auto;max-width:520px;padding:0 16px 24px;width:100%}.results-hero{grid-row-gap:10px;display:grid;margin-top:28px;place-items:center;row-gap:10px;text-align:center}.results-circle{background:#e9f7ef;border-radius:9999px;box-shadow:inset 0 0 0 2px #a7f3d0;color:#16a34a;display:grid;height:72px;place-items:center;width:72px}.results-title{font-weight:700}.results-sub{color:#6b7280}.result-card{background:#fff;border:1px solid #e5e7eb;border-radius:16px;margin-top:16px;padding:16px}.result-title{font-weight:600;margin-bottom:10px}.price-row{grid-gap:12px;display:grid;gap:12px;grid-template-columns:1fr 1fr}.price-box{background:#f8fafc;border:1px solid #e5e7eb;border-radius:12px;padding:10px}.price-box.alt{background:#eef2ff;border-color:#e0e7ff}.price-label{color:#6b7280;font-size:12px}.price-value{font-weight:700;margin-top:2px}.price-value.accent{color:#2563eb}.savings{align-items:center;background:#ecfdf5;border:1px solid #a7f3d0;border-radius:12px;color:#065f46;display:flex;font-weight:600;justify-content:space-between;margin-top:12px;padding:12px}.savings-value{color:#059669}.insight-row{display:grid;grid-template-columns:1fr auto;padding:8px 2px}.insight-name{color:#374151}.insight-value{font-weight:600}.insight-value.warn{color:#ef4444}.insight-value.good{color:#16a34a}.insight-value.info{color:#2563eb}.promo-card{background:#fff7ed;border:1px solid #ffedd5;border-radius:16px;color:#b45309;margin-top:16px;padding:14px}.promo-title{font-weight:700;margin-bottom:6px}.promo-text{font-size:14px}.promo-link{background:#0000;border:none;color:#ef4444;margin-top:8px;text-decoration:underline}.fields{grid-gap:10px;display:grid;gap:10px;margin-top:10px}.label{color:#7c2d12;font-size:12px;margin-bottom:6px}.input,.select{background:#fff7ed;border:1px solid #ffd1b1;border-radius:10px;box-sizing:border-box;color:#7c2d12;height:40px;padding:0 12px;width:100%}.input::placeholder{color:#b45309;opacity:.7}.textarea{border:1px solid #e5e7eb;border-radius:10px;box-sizing:border-box;min-height:120px;padding:10px 12px;width:100%}.enter-root .input{background:#fff;border:1px solid #e5e7eb;color:#111827}.enter-root .input::placeholder{color:#9ca3af}.enter-root .textarea{background:#fff}.container{max-width:420px;padding:24px 18px 32px;width:100%}.brand{font-size:22px;font-weight:800;letter-spacing:.2px;margin-top:6px;text-align:center}.avatar-wrap{align-items:center;display:flex;justify-content:center;margin:18px 0 10px}.avatar{background:radial-gradient(100% 100% at 30% 10%,#4ade80 0,#22c55e 50%,#16a34a 100%);border-radius:9999px;box-shadow:0 6px 18px #16a34a40;display:grid;height:92px;overflow:hidden;place-items:center;width:92px}.avatar img{height:100%;object-fit:cover;width:100%}.avatar-fallback{font-size:36px}.subtitle{color:#64748b;font-size:14px;margin-bottom:18px;text-align:center}.cards{grid-gap:14px;display:grid;gap:14px}.card{align-items:center;background:#fff;border:1px solid #e5e7eb;border-radius:14px;display:flex;gap:12px;padding:14px;transition:transform .06s ease,box-shadow .06s ease;width:100%}.card:active{transform:scale(.995)}.card:hover{background:#fafafa}.icon{border-radius:10px;box-shadow:inset 0 0 0 1px #1118270d;color:#111827;display:grid;height:40px;place-items:center;width:40px}.bg-purple{background:#efe7ff}.bg-green{background:#e9ffe7}.bg-gold{background:#fef3c7}.card-texts{text-align:left}.card-title{font-size:15px;font-weight:700}.card-sub{color:#6b7280;font-size:12px}.error-screen{color:#ef4444;display:grid;min-height:100vh;place-items:center}.upload-root{box-sizing:border-box;margin:0 auto;max-width:480px;padding:0 16px 24px;width:100%}.upload-topbar{align-items:center;grid-template-columns:40px 1fr 40px;height:56px;position:relative;top:0}.back-link,.upload-topbar{background:#0000;display:grid}.back-link{border:none;color:#111827;place-items:center}.upload-title{font-size:16px;font-weight:700;text-align:center}.upload-card{background:#fff;border:1px solid #e5e7eb;border-radius:16px;box-shadow:0 1px 0 #11182705;padding:16px}.upload-card-title{font-weight:600;margin-bottom:12px}.dropzone{grid-row-gap:10px;border:2px dashed #e5e7eb;border-radius:12px;color:#6b7280;display:grid;padding:28px 16px;place-items:center;row-gap:10px}.dropzone.drag{background:#f8fafc}.drop-title{color:#111827;font-weight:600;margin-top:4px;text-align:center}.drop-sub{font-size:12px;text-align:center}.device-circle{background:linear-gradient(180deg,#e8f8ee,#d1fadf);border-radius:9999px;box-shadow:inset 0 0 0 1px #10b98140;display:grid;height:48px;place-items:center;width:48px}.progress{background:#f1f5f9;border-radius:8px;height:6px;margin-top:12px;overflow:hidden;width:100%}.progress>div{background:linear-gradient(90deg,#a78bfa,#22c55e);height:100%}.tips{background:#eef2ff;border:1px solid #e0e7ff;border-radius:12px;margin-top:16px;padding:12px}.tips-title{color:#1f2937;font-weight:600;margin-bottom:6px}.tips ul{color:#2563eb;font-size:13px;margin:0;padding-left:18px}.stacked-preview{height:auto;overflow:visible;position:relative}.sp-layer,.stacked-preview{border-radius:16px;width:100%}.sp-layer{background:#000;border:1px solid #e5e7eb;overflow:hidden;transform-origin:center}.sp-0{filter:none;position:relative;z-index:3}.sp-1{filter:blur(2px) saturate(.95);left:-10px;top:-10px;transform:rotate(-3deg) scale(.985);z-index:2}.sp-1,.sp-2{position:absolute}.sp-2{filter:blur(3px) saturate(.9);left:-20px;top:-20px;transform:rotate(3deg) scale(.97);z-index:1}.sp-img{display:block;height:auto;width:100%}.sp-badge{align-items:center;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#111827cc;border-radius:9999px;box-shadow:0 4px 12px #00000040;color:#fff;display:inline-flex;font-size:12px;font-weight:700;height:28px;justify-content:center;min-width:28px;padding:0 8px;position:absolute;right:-10px;top:-10px;z-index:4}.success-text{color:#6b7280;font-size:13px;margin-top:8px;text-align:center}.actions{display:flex;justify-content:center;margin-top:18px}.primary-btn{background:#1976ff;border:none;border-radius:12px;color:#fff;font-weight:600;height:44px;max-width:360px;width:100%}.primary-btn:disabled{opacity:.5}.secondary-btn{background:#f1f5f9;border:1px solid #e2e8f0;border-radius:8px;color:#475569;font-size:14px;font-weight:500;height:36px;padding:0 16px}.analyze-wrap{grid-row-gap:14px;display:grid;margin-top:48px;place-items:center;row-gap:14px;text-align:center}.analyze-circle{background:#eef2ff;border-radius:9999px;box-shadow:inset 0 0 0 2px #bfdbfe;display:grid;height:72px;place-items:center;position:relative;width:72px}.analyze-circle:after{animation:halo 1.6s ease-out infinite;border:2px solid #93c5fd;border-radius:9999px;content:"";inset:-6px;opacity:.6;position:absolute}@keyframes halo{0%{opacity:.8;transform:scale(.8)}to{opacity:0;transform:scale(1.2)}}.analyze-circle.green{background:#ecfdf5;box-shadow:inset 0 0 0 2px #a7f3d0}.dots.green span{background:#22c55e}.analyze-title{color:#111827;font-weight:700}.analyze-sub{color:#6b7280;max-width:320px}.dots{display:flex;gap:6px;margin-top:8px}.dots span{animation:dotPulse 1.4s ease-in-out infinite;background:#2563eb;border-radius:9999px;display:inline-block;height:6px;opacity:.5;width:6px}.dots span:nth-child(2){animation-delay:.2s}.dots span:nth-child(3){animation-delay:.4s}@keyframes dotPulse{0%,80%,to{opacity:.4;transform:scale(.8)}40%{opacity:1;transform:scale(1.2)}}.analyze-foot{color:#6b7280;font-size:13px;margin-top:6px}.strategies-root{box-sizing:border-box;margin:0 auto;max-width:520px;padding:0 16px 24px;width:100%}.strategies-hero{margin:16px 0 8px;text-align:center}.strategies-title{font-size:18px;font-weight:700}.strategies-sub{color:#6b7280}.strategy-card{background:#fff;border:1px solid #e5e7eb;border-radius:16px;margin:14px 0;padding:16px}.strategy-header{justify-content:space-between;margin-bottom:10px}.left,.strategy-header{align-items:center;display:flex}.left{gap:10px}.strategy-icon{background:#f1f5f9;border-radius:10px;display:grid;height:36px;place-items:center;width:36px}.strategy-name{font-weight:700}.rate,.strategy-sub{color:#6b7280;font-size:12px}.rate{text-align:right}.rate b{color:#16a34a;font-size:14px;margin-left:6px}.bubble{background:#f8fafc;border-radius:12px;color:#374151;font-style:italic;padding:12px}.detail-link{background:#0000;border:none;color:#2563eb;text-decoration:underline}.detail-link,.details{margin-top:8px}.tone{margin-bottom:8px}.pc-group{margin-top:6px}.pc-title{font-weight:700}.pc-title.good{color:#16a34a}.pc-title.warn{color:#ef4444}.pro-tip{background:#faf5ff;border:1px solid #ede9fe;border-radius:16px;margin:16px 0;padding:14px}.pro-title{font-weight:700;margin-bottom:6px}.pro-text{color:#6b7280}.chat-root{display:grid;grid-template-rows:56px 1fr auto auto;height:100vh;margin:0 auto;max-width:520px;overflow:hidden;padding:0;width:100%}.chat-topbar{align-items:center;display:grid;grid-template-columns:40px 1fr 40px;height:56px;padding:0 16px}.chat-title-wrap{align-items:center;display:flex;gap:10px}.chat-avatar{background:#eef2ff;border-radius:9999px;color:#2563eb;display:grid;height:28px;place-items:center;width:28px}.chat-title{font-weight:700}.chat-sub{color:#6b7280;font-size:12px}.chat-area{-webkit-overflow-scrolling:touch;background:#f8fafc;flex:1 1;min-height:0;overflow-x:hidden;overflow-y:auto;padding:8px 16px}.row{display:flex;margin:6px 0}.row.right{justify-content:flex-end}.bubble{background:#fff;border:1px solid #e5e7eb;border-radius:14px;box-shadow:0 1px 0 #1118270a;color:#111827;max-width:82%;padding:10px 12px}.bubble.user{background:#2563eb;border-color:#0000;box-shadow:none;color:#fff}.bubble .imgs{grid-gap:6px;display:grid;gap:6px;grid-template-columns:repeat(3,80px)}.bubble .imgs img{border-radius:8px;height:80px;object-fit:cover;width:80px}.time{color:#64748b;font-size:11px;margin-top:4px}.row.right .time{color:#fff}.quick-chips{display:flex;flex-wrap:wrap;gap:8px;padding:6px 16px 8px}.chip{background:#fff;border:1px solid #e5e7eb;border-radius:18px;box-shadow:0 1px 0 #1118270a;font-size:12px;padding:6px 10px}.chip:hover{background:#f8fafc}.suggestions-container{display:flex;flex-direction:column;gap:6px;margin-top:8px}.suggestions-container .chip{line-height:1.4;text-align:left;white-space:normal;width:100%}.input-bar{grid-gap:8px;display:grid;gap:8px;grid-template-columns:40px 1fr 56px;padding:8px 16px}.attach{background:#fff;border:1px solid #e5e7eb;border-radius:10px}.text-input{border:1px solid #e5e7eb;border-radius:10px;height:40px;padding:0 12px}.send{background:#cbd5e1;border:none;border-radius:10px;color:#111827;font-weight:700;transition:all .15s ease}.send.active{background:#2563eb;color:#fff}.chip.copied{background:#dcfce7!important;border-color:#bbf7d0!important;color:#166534!important;transform:scale(1.02);transition:all .2s ease}.image-preview{background:#f8fafc;border-top:1px solid #e5e7eb;padding:8px 16px}.preview-images{display:flex;flex-wrap:wrap;gap:8px}.preview-item{border:1px solid #e5e7eb;border-radius:8px;overflow:hidden;position:relative}.preview-img{display:block;height:60px;object-fit:cover;width:60px}.remove-image{align-items:center;background:#ef4444;border:none;border-radius:50%;box-shadow:0 2px 4px #0003;color:#fff;cursor:pointer;display:flex;font-size:12px;font-weight:700;height:20px;justify-content:center;position:absolute;right:-8px;top:-8px;width:20px}.remove-image:hover{background:#dc2626}.empty-state,.error-state,.loading-state{align-items:center;display:flex;flex-direction:column;justify-content:center;padding:40px 20px;text-align:center}.loading-dots{display:flex;gap:8px;margin-bottom:16px}.loading-dots span{animation:dotPulse 1.4s ease-in-out infinite;background:#2563eb;border-radius:50%;display:inline-block;height:8px;opacity:.5;width:8px}.loading-dots span:nth-child(2){animation-delay:.2s}.loading-dots span:nth-child(3){animation-delay:.4s}.empty-text,.error-text,.loading-text{color:#6b7280;font-size:16px;margin-bottom:16px}.empty-icon,.error-icon{font-size:48px;margin-bottom:16px}.retry-btn{background:#2563eb;border:none;border-radius:8px;color:#fff;cursor:pointer;font-weight:500;padding:10px 20px}.retry-btn:hover{background:#1d4ed8}@media screen and (max-width:480px){.sp-layer,.stacked-preview{border-radius:12px}}.history-grid{grid-gap:12px;display:grid;gap:12px;grid-template-columns:repeat(2,1fr);margin:12px 16px 24px}.history-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;box-shadow:0 1px 2px #0000000d;overflow:hidden;text-align:left}.history-card-img{background-color:#f3f4f6;padding-top:64%;position:relative;width:100%}.history-card-img img{height:100%;left:0;object-fit:cover;position:absolute;top:0;width:100%}.history-card-img-placeholder{align-items:center;color:#9ca3af;display:flex;font-size:20px;inset:0;justify-content:center;position:absolute}.history-card-title{font-size:13px;font-weight:600;overflow:hidden;padding:8px 10px;text-overflow:ellipsis;white-space:nowrap}.images-grid{grid-gap:12px;display:grid;gap:12px;grid-template-columns:repeat(3,1fr);padding:8px}.images-grid.drag{background:#f8fafc;border-radius:12px}.grid-item{aspect-ratio:1;background:#f1f5f9;border:2px solid #e5e7eb;border-radius:12px;overflow:hidden;position:relative}.grid-img{display:block;height:100%;object-fit:cover;width:100%}.grid-progress{background:#f1f5f9e6;bottom:0;height:4px;left:0;position:absolute;right:0}.grid-progress-bar{background:linear-gradient(90deg,#a78bfa,#22c55e);height:100%;transition:width .3s ease}.grid-error{background:#ef4444f2;border-radius:6px;bottom:4px;font-size:10px;font-weight:600;left:4px;padding:4px 6px;text-align:center}.grid-error,.grid-remove{color:#fff;position:absolute;right:4px}.grid-remove{align-items:center;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#111827d9;border:none;border-radius:50%;box-shadow:0 2px 4px #0003;cursor:pointer;display:flex;height:24px;justify-content:center;top:4px;transition:all .2s ease;width:24px}.grid-remove:hover{background:#ef4444f2;transform:scale(1.1)}.grid-remove:active{transform:scale(.95)}.grid-add{align-items:center;aspect-ratio:1;background:#f8fafc;border:2px dashed #cbd5e1;border-radius:12px;color:#64748b;cursor:pointer;display:flex;flex-direction:column;justify-content:center;transition:all .2s ease}.grid-add:hover{background:#eff6ff;border-color:#2563eb;color:#2563eb}.grid-add:active{transform:scale(.98)}.grid-add-text{font-size:12px;font-weight:600;margin-top:6px}.subscription-screen{box-sizing:border-box;display:flex;flex-direction:column;height:100%;padding:1rem}.header{align-items:center;display:flex;margin-bottom:1.5rem}.header h1{font-size:1.2rem;margin:0 0 0 1rem}.back-button{background:none;border:none;cursor:pointer;font-size:1.5rem}.plans-container{display:flex;flex-direction:column;gap:1rem}.plan-card{background-color:#f7f7f7;border:1px solid #eee;border-radius:12px;padding:1rem;text-align:center}.plan-card h2{font-size:1rem;margin:0 0 .5rem}.price{color:#333;font-size:1.5rem;font-weight:700;margin:0 0 .75rem}.description{color:#666;font-size:.8rem;margin-bottom:1rem;min-height:40px}.subscribe-button{background-color:#007bff;border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:.9rem;padding:.6rem 1.2rem;width:100%}.subscribe-button:disabled{background-color:#ccc}.error-message{color:red;margin-bottom:1rem;text-align:center}.subscription-info{margin-bottom:1.5rem}.current-subscription{background-color:#f0fdf4;border:1px solid #bbf7d0;border-radius:12px;margin-bottom:1rem;padding:1.2rem}.current-subscription h2{color:#15803d;font-size:1.1rem;margin:0 0 .8rem}.days-left,.expires-info{font-size:.9rem;margin:.5rem 0}.benefits{margin-top:1rem}.benefits h3{color:#15803d;font-size:1rem;margin:0 0 .5rem}.benefits ul{color:#374151;font-size:.85rem;margin:0;padding-left:1.2rem}.benefits li{margin:.3rem 0}.renewal-info{background-color:#fef3c7;border:1px solid #fde68a;border-radius:12px;margin-bottom:1rem;padding:1rem}.renewal-info h3{color:#92400e;font-size:1rem;margin:0 0 .5rem}.renewal-info p{color:#92400e;font-size:.85rem;margin:0}.trial-info{margin-bottom:1.5rem}.trial-status{background-color:#eff6ff;border:1px solid #bfdbfe;border-radius:12px;padding:1.2rem}.trial-status h2{color:#1d4ed8;font-size:1.1rem;margin:0 0 .8rem}.trial-status p{color:#374151;font-size:.9rem;margin:.5rem 0}.trial-ended{color:#dc2626!important;font-weight:500}.hero{margin-bottom:1.5rem;padding:1.25rem 1rem}.hero-title{font-size:1.75rem;font-weight:900;letter-spacing:-.03em;line-height:1.2;margin-bottom:1rem}.features{display:flex;flex-direction:column;gap:.65rem}.feature-item{align-items:flex-start;color:#1f2937;display:flex;font-size:.95rem;gap:10px;line-height:1.4}.sparkle{align-items:center;color:#818cf8;display:inline-flex;flex-shrink:0;height:20px;justify-content:center;margin-top:2px;width:20px}.price-options{display:flex;flex-direction:column;gap:.65rem;margin-top:.5rem}.price-card{background:#fff;border:2px solid #e5e7eb;border-radius:16px;cursor:pointer;overflow:hidden;padding:0;position:relative;transition:all .2s}.price-card.selected{border-color:#6366f1;box-shadow:0 0 0 3px #6366f126}.badge-top{background:linear-gradient(90deg,#3b82f6,#6366f1);color:#fff;font-size:.72rem;font-weight:700;letter-spacing:.02em;padding:5px 12px;text-align:center}.price-card-content{align-items:center;display:flex;justify-content:space-between;padding:1rem 1.1rem}.price-card-left{flex:1 1}.plan-name{color:#374151;font-size:.95rem;font-weight:600;margin-bottom:4px}.plan-full-price{color:#9ca3af;font-size:.9rem}.price-card-right{text-align:right}.plan-price{color:#111827;font-size:1.5rem;font-weight:800}.plan-period{color:#6b7280;font-size:.85rem;margin-top:-2px}.cta-button{background:linear-gradient(90deg,#3b82f6,#8b5cf6);border:none;border-radius:16px;color:#fff;cursor:pointer;font-size:1rem;font-weight:700;margin-top:1rem;padding:1rem 1.2rem;transition:opacity .2s}.cta-button.disabled,.cta-button:disabled{opacity:.6}.loader-container{align-items:center;display:flex;justify-content:center;padding:2rem}.loader{animation:spin 1s linear infinite;border:4px solid #f3f3f3;border-radius:50%;border-top-color:#3498db;height:40px;width:40px}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}
/*# sourceMappingURL=main.3b578947.css.map*/