:root{color-scheme:dark;font-family:Arial,Helvetica,sans-serif;background:#0b0d09;color:#f3f4ed}*{box-sizing:border-box}body{margin:0}header{max-width:1150px;margin:auto;padding:32px 24px;display:flex;align-items:center;justify-content:space-between;gap:20px}header a{font-weight:800;letter-spacing:.08em;text-decoration:none}header span,.eyebrow{font-size:11px;letter-spacing:.14em;color:#c7d0bb}main{max-width:960px;margin:48px auto 90px;padding:0 24px}h1{font-weight:500;font-size:clamp(40px,7vw,74px);line-height:1.04;letter-spacing:-.055em;margin:22px 0}h1 em{font-style:normal;color:#dcfa98}.intro{color:#bfc4b8;line-height:1.6;margin-bottom:40px}.chat{border:1px solid #3a4232;border-radius:20px;overflow:hidden;background:#141810}.chat-head{padding:24px;display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid #343b2c}h2{font-size:22px;letter-spacing:-.03em;margin:0}.chat-head p{font-size:12px;color:#c0c8b6;margin:8px 0 0}button,a{color:inherit}button{font:inherit;cursor:pointer}button:disabled{cursor:wait;opacity:.65}.chat-head button,.suggestions button{background:transparent;border:1px solid #5d6851;border-radius:20px;padding:10px 14px;font-size:12px}.suggestions button:hover,.chat-head button:hover{border-color:#dcfa98;background:#222d18}#messages{min-height:160px;max-height:380px;overflow-y:auto;padding:24px;line-height:1.65;font-size:15px}#messages p{margin:0 0 16px;white-space:pre-wrap}.user{margin-left:15%!important;background:#2b3820;border-radius:14px;padding:12px 16px}.assistant{max-width:90%;color:#e6ebdf}.suggestions{display:flex;flex-wrap:wrap;gap:8px;padding:0 24px 20px}form{padding:0 24px}label{display:block;font-size:12px;margin-bottom:10px}.input-row{display:flex;gap:10px}textarea{resize:vertical;flex:1;min-width:0;padding:14px;background:#0b0d09;border:1px solid #69735d;border-radius:10px;color:#f3f4ed;font:inherit;font-size:15px}#send{background:#dcfa98;color:#142008;border:0;border-radius:10px;padding:12px 22px;font-weight:bold}#status,.notice{font-size:12px;color:#c2cab7;line-height:1.6}.notice{padding:0 24px;margin:12px 0 20px}.actions{padding:20px 24px;border-top:1px solid #343b2c;display:flex;gap:24px;flex-wrap:wrap;font-size:13px}.actions a{color:#dcfa98;text-underline-offset:4px}:focus-visible{outline:2px solid #dcfa98;outline-offset:4px}@media(max-width:540px){header{padding:24px 18px}header span{font-size:9px;max-width:105px;line-height:1.6}main{padding:0 16px;margin-top:24px}.chat-head,#messages{padding:20px}.suggestions,form{padding-left:20px;padding-right:20px}.input-row{flex-direction:column}#send{align-self:flex-end}.assistant{max-width:100%}.notice{padding:0 20px}}

#security-check{max-width:100%;margin-top:12px}.embedded header,.embedded .eyebrow,.embedded h1,.embedded .intro{display:none}.embedded main{padding:0;margin:0;max-width:none}.embedded .chat{border:0;border-radius:0;min-height:100dvh;display:flex;flex-direction:column}.embedded #messages{flex:1;min-height:100px;max-height:45dvh}.embedded .chat-head{padding-top:18px;padding-bottom:18px}.embedded .actions{margin-top:auto}.embedded .notice{font-size:11px}.embedded .chat-head h2{font-size:20px}button:disabled{cursor:not-allowed}

#send,.actions a{display:inline-flex;align-items:center;justify-content:center;gap:8px}#send svg,.actions svg{flex:none}

#security-retry{background:transparent;color:#dcfa98;border:1px solid #69735d;border-radius:8px;padding:10px 14px;font-size:12px;margin-top:10px}#security-retry[hidden]{display:none}

.message-links{display:flex;flex-wrap:wrap;gap:8px 18px;margin:-4px 0 22px}.message-links a{font-size:12px;color:#dcfa98;text-underline-offset:4px}
/* Keep the conversation scrollable while controls stay reachable in a small window. */
.embedded .chat{height:100dvh;min-height:0}
.embedded .chat-head,.embedded .suggestions,.embedded form,.embedded .notice,.embedded .actions{flex-shrink:0}
.embedded .chat-head button{white-space:nowrap;flex:none}
.embedded #messages{flex:1 1 auto;min-height:80px;max-height:none;padding:18px 20px;font-size:14px;line-height:1.5}
.embedded .assistant{max-width:100%}
.embedded .suggestions{padding:0 20px 14px;gap:6px}
.embedded .suggestions button{font-size:11px;padding:8px 10px}
.embedded .notice{margin:8px 0 12px;font-size:10px;line-height:1.5}
.embedded .actions{padding:16px 20px;gap:16px;font-size:12px}
