*{box-sizing:border-box;margin:0;padding:0}:root{--bg: #fafaf9;--surface: #ffffff;--border: #e7e5e4;--ink: #1c1917;--muted: #78716c;--accent: #1c1917;--accent-fg: #ffffff;--user: #f5f5f4;--assistant: #ffffff;--error: #b91c1c;--success: #15803d;--max-width: 720px}html,body,#root{height:100%}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-size:16px;line-height:1.5;color:var(--ink);background:var(--bg);-webkit-font-smoothing:antialiased}#root{display:flex;flex-direction:column}button{font:inherit;border-radius:8px;border:1px solid var(--ink);background:var(--ink);color:var(--accent-fg);padding:.5rem 1rem;cursor:pointer;transition:opacity .15s ease}button:hover:not(:disabled){opacity:.9}button:disabled{opacity:.4;cursor:not-allowed}button.secondary{background:var(--surface);color:var(--ink)}button.ghost{background:transparent;border-color:transparent;color:var(--muted)}input,textarea{font:inherit;border:1px solid var(--border);border-radius:8px;padding:.5rem .75rem;background:var(--surface);color:var(--ink);width:100%}textarea{resize:vertical;min-height:4em;font-family:inherit}input:focus,textarea:focus{outline:none;border-color:var(--ink)}.app{flex:1;display:flex;flex-direction:column;width:100%}.app-header{border-bottom:1px solid var(--border);background:var(--surface)}.app-header-inner{max-width:var(--max-width);margin:0 auto;padding:1rem 1.25rem;display:flex;align-items:center;justify-content:space-between;gap:1rem}.brand{font-weight:600;font-size:1rem;letter-spacing:-.01em}.wallet-pill{display:inline-flex;align-items:center;gap:.4rem;padding:.25rem .6rem;border:1px solid var(--border);border-radius:999px;font-size:.85rem;color:var(--muted);background:var(--bg)}.wallet-pill strong{color:var(--ink);font-weight:600}.app-main{flex:1;width:100%;display:flex;justify-content:center}.container{width:100%;max-width:var(--max-width);padding:1.5rem 1.25rem 6rem}.phase-indicator{display:flex;align-items:center;gap:.5rem;font-size:.85rem;color:var(--muted);margin-bottom:1.5rem}.phase-indicator .dot{width:8px;height:8px;border-radius:50%;background:var(--border)}.phase-indicator .dot.active{background:var(--ink)}.phase-indicator .dot.done{background:var(--ink);opacity:.5}.phase-title{font-size:1.5rem;font-weight:600;letter-spacing:-.02em;margin-bottom:.5rem}.phase-description{color:var(--muted);margin-bottom:1.5rem}.chat{display:flex;flex-direction:column;gap:1rem;margin-bottom:1.5rem}.bubble{max-width:90%;padding:.75rem 1rem;border-radius:12px;border:1px solid var(--border);white-space:pre-wrap}.bubble.assistant{background:var(--assistant);align-self:flex-start}.bubble.user{background:var(--user);align-self:flex-end;border-color:transparent}.bubble.system{background:transparent;align-self:center;font-size:.85rem;color:var(--muted);text-align:center;border:none;padding:.5rem 0}.input-row{display:flex;gap:.5rem;align-items:flex-end}.input-row textarea{flex:1}.notice{padding:.75rem 1rem;border:1px solid var(--border);border-radius:8px;background:var(--surface);margin-bottom:1rem;font-size:.9rem;color:var(--muted)}.notice.error{border-color:var(--error);color:var(--error)}.notice.success{border-color:var(--success);color:var(--success)}.section-card{border:1px solid var(--border);border-radius:12px;padding:1rem 1.25rem;margin-bottom:.75rem;background:var(--surface)}.section-card h3{font-size:1rem;margin-bottom:.5rem}.section-card p{font-size:.95rem;white-space:pre-wrap;color:var(--ink)}.zone-tag{display:inline-block;font-size:.7rem;text-transform:uppercase;letter-spacing:.08em;padding:.15rem .5rem;border-radius:4px;background:var(--user);color:var(--muted);margin-bottom:.4rem}.zone-tag.public{background:#fef3c7;color:#92400e}.zone-tag.circle{background:#dbeafe;color:#1e40af}.zone-tag.self{background:#fce7f3;color:#9d174d}.actions{display:flex;gap:.5rem;margin-top:1rem;flex-wrap:wrap}.spinner{display:inline-block;width:14px;height:14px;border:2px solid var(--border);border-top-color:var(--ink);border-radius:50%;animation:spin .6s linear infinite;margin-right:.4rem;vertical-align:-2px}@keyframes spin{to{transform:rotate(360deg)}}
