:root{font-family:system-ui,-apple-system,"Segoe UI",sans-serif;color:#e8edf5;background:#0d1118}*{box-sizing:border-box}body{margin:0;min-height:100vh;padding:32px 16px;background:radial-gradient(ellipse at top,#1d2a3e,#0d1118 60%)}main{max-width:850px;margin:auto}header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}h1{margin:0;font-size:28px}header p,footer{color:#91a0b5}.panel{background:#151d29;border:1px solid #29374b;border-radius:16px;padding:22px;margin:16px 0}button{background:#73a7ff;color:#09111d;border:0;border-radius:10px;padding:12px 18px;font-weight:700;cursor:pointer}textarea{width:100%;min-height:90px;resize:vertical;background:#0d131d;color:#fff;border:1px solid #34445a;border-radius:10px;padding:12px;font:inherit}#chat-form{display:flex;gap:12px;align-items:end}.bubble{white-space:pre-wrap;line-height:1.55;padding:12px 15px;border-radius:12px;margin:10px 0;max-width:90%}.user{background:#24436e;margin-left:auto}.assistant{background:#202b3a}#messages{min-height:120px;max-height:60vh;overflow:auto;margin-bottom:16px}.hidden{display:none}#account{color:#a9caff;text-align:right}footer{text-align:center;font-size:13px;margin:22px}
