:root{--bg:#f5f6f8;--surface:#fff;--surface-2:#f8f9fb;--surface-3:#eef0f3;--text:#171c25;--muted:#7b8290;--sub:#505866;--stroke:#e4e7ed;--orange:#f86b01;--orange-br:#ff8a23;--orange-pale:#fff0e5;--shadow:0 12px 35px rgba(12,19,31,.035);--danger:#d64c42;--success:#16835c;--nav:#141922}
html[data-theme="dark"]{--bg:#101318;--surface:#1b2028;--surface-2:#222832;--surface-3:#2d3440;--text:#f4f5f7;--muted:#a0a7b2;--sub:#c0c6ce;--stroke:#353b45;--orange-pale:#3a281c;--shadow:0 12px 35px rgba(0,0,0,.13);--nav:#0a0d11}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--text);background:var(--bg);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,'Segoe UI',Tahoma,Arial,sans-serif;font-size:14px;line-height:1.5}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.52;cursor:not-allowed}input,select,textarea{color:var(--text);background:var(--surface);border:1px solid var(--stroke);outline:none;min-width:0}input:focus,select:focus,textarea:focus{border-color:var(--orange);box-shadow:0 0 0 3px rgba(248,107,1,.09)}textarea{resize:vertical}svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.75}h1,h2,h3,p{margin:0}h2{font-size:17px;letter-spacing:-.3px}label{display:block;font-size:12px;font-weight:650;margin-bottom:7px}.muted{color:var(--muted)}.small{font-size:12px}.small-label{font-size:11px;color:var(--muted);font-weight:700;letter-spacing:.55px}.eyebrow{font-size:11px;font-weight:800;letter-spacing:1.4px;color:var(--orange)}.app-shell{max-width:1550px;margin:auto}.topbar{height:78px;padding:0 38px;background:var(--nav);display:flex;align-items:center;gap:12px;color:#fff;border-bottom:1px solid rgba(255,255,255,.07)}.brand{color:inherit;text-decoration:none;display:flex;align-items:center;gap:12px}.brand img{width:46px;height:46px;object-fit:contain}.brand-title{font-size:22px;line-height:1.05;letter-spacing:-.8px;font-weight:800}.brand-title>span{color:#ff8a2f}.brand-title small{display:block;font-size:10px;font-weight:780;color:#a3a9b3;letter-spacing:2.25px;margin-top:5px}.version-pill{padding:4px 8px;color:#c5cad2;background:#2a3039;border:1px solid #3b414b;border-radius:8px;font-size:11px;font-weight:700;margin-left:10px}.top-actions{margin-left:auto;display:flex;align-items:center;gap:12px}.status-pill{display:flex;gap:7px;align-items:center;color:#c4c9d1;font-size:12px;margin-right:8px}.status-dot,.pulse-dot{width:7px;height:7px;background:#48d6a0;border-radius:50%;box-shadow:0 0 0 4px rgba(72,214,160,.09)}.status-pill.busy .status-dot{background:#ffad53;box-shadow:0 0 0 4px rgba(255,171,83,.1);animation:pulse 1.2s infinite}.status-pill.error .status-dot{background:#ff716a}.icon-btn{display:inline-flex;justify-content:center;align-items:center;width:38px;height:38px;padding:8px;border:1px solid var(--stroke);border-radius:10px;background:var(--surface);color:var(--text);flex:none;transition:.2s}.topbar .icon-btn{color:#d5d8df;background:#222831;border-color:#414650}.icon-btn:hover,.btn.outline:hover{border-color:var(--orange);color:var(--orange)}.btn{border:1px solid transparent;min-height:40px;border-radius:11px;padding:9px 15px;font-size:12px;line-height:1.3;font-weight:760;display:inline-flex;align-items:center;justify-content:center;gap:9px;white-space:nowrap;transition:background .16s,transform .15s,box-shadow .15s}.btn:hover:not(:disabled){transform:translateY(-1px)}.btn.primary{background:linear-gradient(115deg,var(--orange),#ff881e);color:white;box-shadow:0 5px 13px rgba(248,107,1,.14)}.btn.primary:hover{box-shadow:0 7px 15px rgba(248,107,1,.22)}.btn.secondary{background:var(--text);color:var(--surface)}.btn.outline{background:transparent;border-color:var(--stroke);color:var(--text)}.btn.small{min-height:34px;padding:7px 12px}.btn.full{width:100%}.intro{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:32px 38px 27px;border-bottom:1px solid var(--stroke)}.intro-label{font-size:10px;letter-spacing:1.8px;font-weight:800;color:var(--orange);display:flex;align-items:center;gap:9px;margin-bottom:12px}.intro h1{font-size:32px;letter-spacing:-1.35px;line-height:1.2}.intro h1 em{font-style:normal;color:var(--orange)}.intro p{font-size:13px;color:var(--muted);margin-top:10px}.intro-stat{display:flex;gap:9px;flex-direction:column;align-items:flex-end;min-width:188px}.intro-stat strong{font-size:42px;font-weight:850;line-height:.9;color:var(--orange)}.intro-stat span{font-size:10px;font-weight:800;letter-spacing:1.15px}.intro-stat small{color:var(--muted);font-size:11px}.workspace{padding:27px 38px 45px;display:grid;grid-template-columns:minmax(340px,43fr) minmax(440px,57fr);gap:22px;align-items:start}.left-column,.right-column{display:flex;flex-direction:column;gap:20px;min-width:0}.panel{border:1px solid var(--stroke);background:var(--surface);border-radius:16px;box-shadow:var(--shadow);padding:20px;min-width:0}.panel-head{display:flex;align-items:center;gap:11px;margin-bottom:18px}.step{width:32px;height:32px;border-radius:10px;background:var(--orange-pale);color:var(--orange);display:grid;place-items:center;font-size:13px;font-weight:900;flex:none}.dark-step{background:var(--text);color:var(--surface)}.head-copy{flex:1;min-width:0}.head-copy p{font-size:11px;color:var(--muted);margin-top:4px}.mini-label{font-size:10px;font-weight:800;letter-spacing:.65px;padding:6px 9px;background:var(--surface-2);color:var(--muted);border:1px solid var(--stroke);border-radius:6px;white-space:nowrap}.orange-tag{background:var(--orange-pale);color:var(--orange);border:0}.count-pill{font-size:10px;background:var(--orange-pale);color:var(--orange);padding:5px 9px;border-radius:99px;white-space:nowrap;font-weight:800}.dropzone{border:1.5px dashed #cdd2da;background:radial-gradient(circle at 50% 15%,rgba(248,107,1,.048),transparent 55%),var(--surface-2);height:210px;border-radius:14px;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s}.dropzone:hover,.dropzone.dragover,.dropzone:focus-visible{border-color:var(--orange);background:var(--orange-pale)}.drop-empty{display:flex;flex-direction:column;align-items:center;gap:4px}.upload-art{width:52px;height:52px;background:var(--orange-pale);border-radius:15px;color:var(--orange);display:grid;place-items:center;margin-bottom:9px}.upload-art svg{width:24px;height:24px}.drop-empty strong{font-size:13px}.drop-empty span{font-size:12px;color:var(--sub)}.drop-empty b{color:var(--orange)}.drop-empty small{font-size:11px;color:var(--muted);margin-top:7px}.dropzone img{width:100%;height:100%;object-fit:contain;background-color:#25282d;background-image:linear-gradient(45deg,#333 25%,transparent 25%),linear-gradient(-45deg,#333 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#333 75%),linear-gradient(-45deg,transparent 75%,#333 75%);background-size:20px 20px;background-position:0 0,0 10px,10px -10px,-10px 0}.file-row{display:flex;justify-content:space-between;align-items:center;padding:10px 3px 0;gap:8px}.file-name{font-size:11px;color:var(--sub);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dropzone+.file-row+.btn,.dropzone~.btn{margin-top:12px}.text-btn{border:0;background:transparent;color:var(--sub);font-size:11px;font-weight:750;padding:5px 3px;border-radius:4px}.text-btn:hover{color:var(--orange)}.text-btn.orange{color:var(--orange)}.text-btn.danger{color:var(--danger)}.analysis-result{margin-top:16px;border-radius:12px;padding:15px;background:var(--surface-2);border:1px solid var(--stroke)}.result-heading{display:flex;align-items:center;gap:8px;font-size:12px;margin-bottom:13px}.success-icon{width:21px;height:21px;border-radius:50%;background:#d7f5e8;color:#16835c;display:grid;place-items:center}.detail-row{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;border-bottom:1px solid var(--stroke);padding:9px 0;font-size:11px}.detail-row span{color:var(--muted);flex:none}.detail-row b{font-size:11px;text-align:right;font-weight:730;word-break:break-word}#exactText{width:100%;padding:10px;border-radius:8px;min-height:56px}.analysis-result .small-label{display:block;margin:12px 0 6px}.warning-line{font-size:11px;color:#bd6f10;margin:9px 0}.analysis-note{font-size:11px;color:var(--sub);margin:12px 0;line-height:1.6}.chip-row{display:flex;gap:5px;flex-wrap:wrap;align-items:center}.chip{display:inline-flex;align-items:center;max-width:100%;background:var(--surface-2);border:1px solid var(--stroke);padding:5px 8px;border-radius:7px;color:var(--sub);font-size:10px;font-weight:650;word-break:break-word}.chip.orange{background:var(--orange-pale);color:var(--orange);border-color:transparent}.more-analysis{padding-top:12px}.more-analysis summary{cursor:pointer;font-size:11px;font-weight:750;color:var(--orange)}.more-analysis-text{font-size:11px;color:var(--sub);padding-top:10px;white-space:pre-wrap}.style-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.style-card{display:flex;flex-direction:column;gap:7px;position:relative;border:1.5px solid var(--stroke);border-radius:11px;padding:5px;background:var(--surface);color:var(--text);min-width:0;text-align:left;transition:transform .13s,border-color .13s,box-shadow .13s}.style-card:hover{border-color:#f7b27f;transform:translateY(-1px)}.style-card.selected{border-color:var(--orange);box-shadow:0 0 0 1px var(--orange)}.style-card img{width:100%;aspect-ratio:1.47;object-fit:cover;border-radius:7px;background:#17191e}.style-card span{font-size:10px;font-weight:800;padding:0 3px 3px;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.style-check{position:absolute;right:9px;top:9px;background:var(--orange);border:2px solid #fff;box-shadow:0 2px 6px rgba(0,0,0,.16);width:20px;height:20px;border-radius:50%;color:#fff;display:none;place-items:center;font-weight:900;font-size:12px;z-index:1}.style-card.selected .style-check{display:grid}.quick-actions{display:flex;gap:15px;flex-wrap:wrap;margin-top:12px;align-items:center}.quick-actions.quiet{margin-top:0;gap:18px}.quick-spacer{flex:1}.field{margin-top:12px}.field input:not([type="range"]),.field select,.field textarea{padding:10px 12px;border-radius:9px;width:100%;font-size:12px;min-height:41px}.field small{display:block;color:var(--muted);font-size:10px;margin-top:6px}.setting-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.setting-grid .field{margin-top:0}.check-line{display:flex;gap:10px;align-items:center;margin:14px 0 0;font-size:12px;cursor:pointer}.check-line input{accent-color:var(--orange);width:15px;height:15px}.setting-hint{background:var(--surface-2);color:var(--muted);border-radius:9px;padding:10px 12px;margin-top:12px;font-size:10px}.prompt-toolbar,.seo-actions{display:flex;align-items:center;justify-content:space-between;gap:13px;flex-wrap:wrap;margin-bottom:15px}.preview-selected{flex:1;min-width:0}.preview-selected .small-label{display:block;margin-bottom:8px}.empty-state{min-height:250px;border:1px dashed var(--stroke);border-radius:13px;background:var(--surface-2);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:25px}.empty-icon{background:var(--surface);color:var(--orange);border:1px solid var(--stroke);border-radius:17px;width:58px;height:58px;display:grid;place-items:center;margin-bottom:14px}.empty-icon svg{width:27px;height:27px}.empty-state b{font-size:13px}.empty-state p{font-size:11px;color:var(--muted);margin-top:8px}.prompt-results{display:flex;flex-direction:column;gap:13px}.prompt-card{border:1px solid var(--stroke);border-radius:12px;overflow:hidden;background:var(--surface-2)}.prompt-card-head{display:flex;align-items:center;justify-content:space-between;padding:12px 13px;gap:10px;border-bottom:1px solid var(--stroke)}.prompt-card-head strong{font-size:12px}.prompt-index{color:var(--orange);font-size:10px;font-weight:850;display:block;margin-bottom:2px}.prompt-card-head .badge-soft{margin-left:auto}.badge-soft{padding:4px 7px;font-size:10px;color:var(--orange);border-radius:6px;background:var(--orange-pale);font-weight:800}.prompt-card textarea{background:transparent;border:0;width:100%;padding:13px;line-height:1.72;font-size:12px;min-height:153px;resize:vertical}.prompt-card textarea:focus{box-shadow:none}.prompt-card-foot{border-top:1px solid var(--stroke);display:flex;align-items:center;gap:9px;padding:8px 12px;justify-content:flex-end}.prompt-card-foot .btn{min-height:32px;padding:7px 10px}.prompt-toolbar .btn{margin-left:auto}.prompt-results+.bottom-buttons{margin-top:13px}.seo-actions{margin-top:-2px}.audience-field{max-width:230px;flex:1;margin-top:0}.seo-field-list{display:flex;flex-direction:column;gap:13px;margin-top:14px}.seo-field-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px}.seo-field-head label{margin:0;font-size:12px;font-weight:730}.charcount{font-size:11px;color:var(--muted);font-variant-numeric:tabular-nums}.charcount.bad{color:var(--danger);font-weight:750}.input-with-action{display:flex;gap:7px;align-items:flex-start}.input-with-action textarea{flex:1;min-height:49px;border-radius:9px;padding:10px 11px;background:var(--surface-2);width:100%;font-size:12px;line-height:1.52}.input-with-action .icon-btn{background:var(--surface-2)}.input-with-action .icon-btn svg{width:16px;height:16px}.seo-field.invalid textarea{border-color:var(--danger)}.bottom-buttons{display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin-top:17px}.disclaimer{font-size:10px;color:var(--muted);margin-top:12px}.subheading{font-weight:800;font-size:12px;display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:7px}.keywords{margin:10px 0}.inline-flex{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.risk-box{background:var(--orange-pale);color:var(--sub);padding:13px;border-radius:10px;font-size:11px;margin-top:14px;line-height:1.7}.risk-box strong{color:var(--orange)}.trends-call{display:flex;align-items:center;justify-content:space-between;gap:12px}.trends-call strong{font-size:12px}.trends-call p{max-width:450px;margin-top:6px}.trend-card{border:1px solid var(--stroke);background:var(--surface-2);padding:13px;border-radius:11px;margin-top:12px}.trend-card strong{font-size:12px}.trend-card p{font-size:11px;color:var(--sub);margin-top:6px}.trend-card a{display:inline-block;color:var(--orange);font-size:11px;margin-top:9px;word-break:break-all}.footer{color:var(--muted);font-size:11px;padding:6px 3px;display:flex;justify-content:space-between;gap:10px}.toast{position:fixed;right:23px;bottom:22px;background:#20252d;color:#fff;box-shadow:0 15px 35px rgba(0,0,0,.2);padding:12px 17px;font-size:12px;font-weight:650;border-radius:10px;opacity:0;transform:translateY(9px);pointer-events:none;transition:.2s;z-index:100}.toast.visible{opacity:1;transform:translateY(0)}.toast.error{background:#9c3132}.toast.success{background:#185f48}.settings-dialog{width:min(540px,calc(100vw - 24px));max-height:min(90vh,960px);border:1px solid var(--stroke);border-radius:19px;background:var(--surface);color:var(--text);padding:0;box-shadow:0 20px 70px rgba(0,0,0,.3)}.settings-dialog::backdrop{background:rgba(11,15,22,.68);backdrop-filter:blur(3px)}.modal-head{display:flex;justify-content:space-between;align-items:center;padding:20px 25px;border-bottom:1px solid var(--stroke)}.modal-head h2{font-size:24px}.modal-body{padding:5px 25px 23px;max-height:calc(90vh - 90px);overflow-y:auto}.settings-section{padding:21px 0;border-bottom:1px solid var(--stroke)}.settings-section:last-child{border-bottom:0}.settings-title{display:flex;align-items:center;gap:10px}.settings-title b{font-size:14px}.settings-title p{margin-top:3px}.settings-icon{width:34px;height:34px;display:grid;place-items:center;color:var(--orange);background:var(--orange-pale);border-radius:10px;font-size:18px;font-weight:bold}.api-status{margin:11px 0}.settings-section .inline-flex{margin-top:14px}.switch-row{display:flex;align-items:center;justify-content:space-between;margin:20px 0 16px;position:relative;cursor:pointer;font-size:12px}.switch-row b{font-size:12px}.switch-row small{display:block;font-weight:normal;color:var(--muted);margin-top:3px}.switch-row input{position:absolute;opacity:0;right:0;top:0}.toggle-track{width:41px;height:23px;position:relative;border-radius:20px;background:var(--surface-3);border:1px solid var(--stroke);flex:none;transition:background .15s}.toggle-track:after{content:'';position:absolute;width:17px;height:17px;left:2px;top:2px;background:white;border-radius:50%;box-shadow:0 1px 3px rgba(0,0,0,.2);transition:transform .15s}.switch-row input:checked+.toggle-track{background:var(--orange);border-color:var(--orange)}.switch-row input:checked+.toggle-track:after{transform:translateX(18px)}.range-header{display:flex;justify-content:space-between}.range-header span{font-size:12px;color:var(--orange);font-weight:800}input[type="range"]{accent-color:var(--orange);width:100%;cursor:pointer;border:0;background:transparent}.password-details{padding:10px 0}.password-details summary{cursor:pointer;color:var(--orange);font-weight:750;font-size:12px}.password-details .btn{margin-top:11px}.danger-text{color:var(--danger)!important}.auth-wrap{min-height:100vh;background:radial-gradient(circle at 20% 15%,#303039,#12171e 50%,#0d0f14);display:flex;flex-direction:column;justify-content:center;align-items:center;padding:24px}.auth-brand{display:flex;align-items:center;gap:12px;color:#fff;margin-bottom:28px}.auth-brand img{width:55px;height:55px}.auth-brand strong{font-size:26px;letter-spacing:-1px}.auth-brand strong span{color:var(--orange)}.auth-brand small{display:block;font-size:10px;letter-spacing:2.8px;color:#aab0bc}.auth-card{width:min(440px,100%);background:white;color:#171c25;border-radius:18px;padding:35px;box-shadow:0 30px 65px rgba(0,0,0,.35)}.auth-card h1{margin:9px 0;font-size:26px;letter-spacing:-1px}.auth-card p{font-size:13px;line-height:1.7}.auth-card form{margin-top:24px}.auth-card input{width:100%;padding:11px 13px;border-radius:9px;color:#171c25;background:white;margin-bottom:15px}.auth-card .error-text{font-size:12px;color:#c42b28;margin-top:9px;min-height:1.5em}.auth-footer{font-size:11px;color:#9ba1ab;margin-top:22px}.loading:after{content:'';width:13px;height:13px;border:2px solid currentColor;border-top-color:transparent;border-radius:50%;animation:spin .8s linear infinite}.disabled-sound{opacity:.5}.api-status.good{color:var(--success)}.api-status.bad{color:var(--danger)}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5;box-shadow:0 0 0 8px rgba(255,171,83,.09)}}
@media(max-width:1060px){.workspace{grid-template-columns:minmax(295px,44fr) minmax(350px,56fr);padding:20px 22px;gap:16px}.topbar{padding:0 22px}.intro{padding:27px 22px}.panel{padding:16px}.mini-label{display:none}.style-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){.workspace{grid-template-columns:1fr}.style-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.intro-stat{display:none}.intro h1{font-size:26px}.topbar{height:69px}.right-column{gap:14px}}
@media(max-width:520px){.workspace{padding:14px;gap:14px}.intro{padding:24px 17px}.intro h1{font-size:23px}.topbar{padding:0 13px;gap:7px}.brand-title{font-size:17px}.brand-title small{font-size:8px}.brand img{width:39px;height:39px}.version-pill,.status-pill{display:none}.top-actions{gap:7px}.topbar .btn span{display:none}.topbar .btn{padding:7px 9px}.panel{padding:14px;border-radius:13px}.style-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.head-copy h2{font-size:15px}.head-copy p{font-size:10px}.prompt-toolbar .btn,.seo-actions .btn{width:100%}.audience-field{max-width:none}.bottom-buttons .btn{flex:1}.footer{flex-direction:column}.trends-call{align-items:flex-start;flex-direction:column}.trends-call .btn{width:100%}}
[hidden]{display:none!important}
