:root{color-scheme:dark;--bg:#08090c;--panel:#111319;--line:#272b34;--muted:#969eae;--text:#f1f3f7;--accent:#b9c5ff;--green:#7bd8ae;--red:#ff9292}
*{box-sizing:border-box}html{min-height:100%;background:var(--bg)}body{margin:0;background:radial-gradient(ellipse at 50% -15%,#202437 0,transparent 46%),var(--bg);color:var(--text);font-family:ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;line-height:1.7}
a{color:inherit}.shell{width:min(900px,calc(100% - 32px));margin:0 auto;padding:24px 0 48px}.top{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding-bottom:18px}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;font-weight:700;letter-spacing:.03em}.mark{display:grid;place-items:center;width:32px;height:32px;border:1px solid #626d92;border-radius:10px;color:var(--accent)}.back{color:var(--muted);font-size:13px;text-decoration:none}.back:hover,a:hover{color:var(--accent)}
.hero{padding:54px 0 28px}.eyebrow{font-size:11px;letter-spacing:.16em;color:var(--accent);font-weight:700}.hero h1{font-size:clamp(28px,5vw,44px);line-height:1.25;margin:12px 0}.hero p{max-width:700px;color:#b1b8c7;margin:0;font-size:15px}
.workspace,.result{border:1px solid var(--line);border-radius:20px;background:linear-gradient(145deg,rgba(20,23,31,.98),rgba(13,15,20,.98));padding:clamp(18px,4vw,30px);box-shadow:0 20px 70px #0005}.section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:24px}.section-head>div{display:flex;align-items:center;gap:12px}.section-head h2{font-size:19px;margin:0}.step{font-size:12px;color:var(--accent);border:1px solid #414967;border-radius:8px;padding:3px 8px}.privacy{font-size:11px;color:var(--muted);border:1px solid var(--line);border-radius:99px;padding:4px 10px}
form{display:grid;gap:10px}label{font-size:13px;color:#d8dce6;margin-top:8px}select,textarea{width:100%;border:1px solid #343947;border-radius:12px;background:#0b0d12;color:var(--text);font:inherit;padding:12px 14px;outline:none}select:focus,textarea:focus{border-color:#8d9cda;box-shadow:0 0 0 3px #8d9cda20}textarea{min-height:178px;resize:vertical;line-height:1.8}textarea::placeholder{color:#70798b}.prompt-meta{display:flex;justify-content:space-between;gap:12px;color:var(--muted);font-size:11px}
button{font:inherit;cursor:pointer}#build-button,.download{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:48px;margin-top:12px;border:1px solid #a9b6f5;border-radius:12px;background:#c5ceff;color:#111522;font-weight:750;transition:opacity .15s,transform .15s}#build-button:hover,.download:hover{transform:translateY(-1px)}#build-button:disabled{opacity:.55;cursor:wait;transform:none}.spinner{display:none;width:16px;height:16px;border:2px solid #48527355;border-top-color:#222b48;border-radius:50%;animation:spin .8s linear infinite}#build-button.busy .spinner{display:inline-block}@keyframes spin{to{transform:rotate(360deg)}}
.system-status{margin-top:18px;padding:11px 13px;border-radius:10px;background:#0a0c11;color:var(--muted);font-size:12px}.system-status.error{color:var(--red)}.system-status.ok{color:var(--green)}
.result{margin-top:22px}.result-state{font-size:12px;padding:4px 10px;border-radius:99px;background:#202632;color:var(--muted)}.result-state.ok{color:var(--green)}.result-state.bad{color:var(--red)}#project-summary{font-size:16px;margin:0 0 16px}.metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.metrics div{border:1px solid var(--line);border-radius:12px;padding:12px}.metrics span{display:block;color:var(--muted);font-size:11px}.metrics strong{font-size:15px}.subhead{font-size:14px;margin:22px 0 9px}.checks{display:grid;gap:8px}.check{border:1px solid var(--line);border-radius:10px;padding:10px 12px}.check-head{display:flex;justify-content:space-between;gap:10px;font-size:12px}.check-pass{color:var(--green)}.check-fail{color:var(--red)}.check pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:180px;overflow:auto;color:var(--muted);font-size:11px;margin:8px 0 0}.files{margin:0;padding:12px 34px;border-radius:10px;background:#0b0d12;color:#d7ddeb;font:12px ui-monospace,monospace;direction:ltr;text-align:left;overflow-wrap:anywhere}.download{background:transparent;color:var(--accent);border-color:#58658e}.disclaimer,footer{font-size:11px;color:var(--muted)}.disclaimer{line-height:1.8;margin:12px 0 0}footer{display:flex;justify-content:space-between;gap:16px;margin-top:24px}footer p{max-width:620px;margin:0}footer div{white-space:nowrap}footer a{text-decoration:none}
[hidden]{display:none!important}@media(max-width:600px){.shell{width:min(100% - 22px,900px);padding-top:14px}.hero{padding-top:38px}.hero p{font-size:13px}.workspace,.result{border-radius:15px;padding:16px}.section-head{align-items:flex-start}.privacy{font-size:10px}.metrics{grid-template-columns:1fr}.metrics div{display:flex;justify-content:space-between;align-items:center}footer{flex-direction:column}textarea{min-height:150px}}
