:root{
  --bg:#f6f7f8;
  --card:#ffffff;
  --muted:#6b7280;
  --accent:#e85a4f;
  --glass: rgba(0,0,0,0.04);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}
html,body,#app{height:100%;}
body{
  margin:0;
  background:var(--bg);
  display:flex;
  align-items:center;
  justify-content:center;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
.card{
  width:92vw;
  max-width:760px;
  background:var(--card);
  border-radius:12px;
  padding:14px;
  box-shadow: 0 6px 20px var(--glass);
  box-sizing:border-box;
}
.row{display:flex;flex-direction:column;margin-bottom:10px;}
.row label{font-size:13px;color:var(--muted);margin-bottom:6px;}
input,textarea,button{
  font-size:15px;border:1px solid #e6e7e9;border-radius:8px;padding:10px;box-sizing:border-box;
}
input::placeholder,textarea::placeholder{color:#b9bcc1}
textarea{min-height:88px;resize:none}
.buttons{flex-direction:row;gap:8px;align-items:center}
button{background:linear-gradient(0deg,#fff,#fff);cursor:pointer;border:1px solid #ddd}
button:active{transform:translateY(1px)}
#output{background:#0b1020;color:#dbeafe;padding:10px;border-radius:8px;height:160px;overflow:auto;font-size:13px}
#aiThoughts{background:#0b1020;color:#fce7c6;padding:10px;border-radius:8px;height:140px;overflow:auto;font-size:13px;white-space:pre-wrap}
.warning{font-size:13px;color:#8b1e13;background:#fff1f0;border:1px solid rgba(232,90,79,0.12);padding:8px;border-radius:8px;margin:6px 0}
.footer{font-size:12px;color:var(--muted);text-align:center;margin-top:8px}
@media (max-height:600px){
  #output{height:110px}
}