:root { color-scheme: light; font-family: system-ui, -apple-system, sans-serif; color: #183c3a; background: #f3f3ed; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
header { padding: 24px 5vw; border-bottom: 1px solid #d8ded6; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
header a { text-decoration: none; color: inherit; font-weight: 750; letter-spacing: .12em; font-size: 14px; }
header a span { font-weight: 400; color: #6d807a; }
.tag, .eyebrow { font-size: 11px; letter-spacing: .14em; font-weight: 650; }
.tag { border: 1px solid #b6c8bd; border-radius: 20px; padding: 7px 12px; }
main { max-width: 1020px; margin: 48px auto; padding: 0 24px; }
.intro { margin-bottom: 30px; }
.eyebrow { color: #607d65; }
h1 { font-family: Georgia, serif; font-weight: 400; font-size: clamp(36px, 6vw, 56px); letter-spacing: -.035em; margin: 12px 0; }
.intro > p:last-child { color: #5d706b; line-height: 1.6; max-width: 630px; }
.workspace { background: #fff; border: 1px solid #d8ded6; border-radius: 12px; padding: 24px; box-shadow: 0 6px 30px #183c3a05; }
.controls { display: flex; flex-wrap: wrap; gap: 14px; align-items: end; }
label { display: grid; gap: 7px; font-size: 12px; font-weight: 600; }
input, select, textarea { font: inherit; color: inherit; border: 1px solid #cbd7ce; background: #fff; border-radius: 6px; padding: 10px; }
input { max-width: 160px; }
button { cursor: pointer; font: inherit; border: 0; border-radius: 6px; padding: 11px 18px; background: #183c3a; color: #fff; }
button:disabled { opacity: .55; cursor: wait; }
button.secondary { background: #edf2ec; color: #284c43; font-size: 12px; margin-left: auto; }
button:hover:not(:disabled) { filter: brightness(1.12); }
:focus-visible { outline: 2px solid #9c7845; outline-offset: 3px; }
.note, .footnote { font-size: 12px; line-height: 1.65; color: #65776f; }
.note { margin: 14px 0 24px; }
#messages { display: grid; gap: 22px; }
.message { padding: 18px; border-radius: 8px; border: 1px solid #e4e9e1; }
.message.user { background: #f0f4ee; margin-left: 8%; border: 0; }
.message h2 { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 12px; color: #6b8172; }
.message .content { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14px; line-height: 1.75; }
details { border-top: 1px solid #e4e9e1; margin-top: 18px; padding-top: 12px; font-size: 12px; }
summary { cursor: pointer; color: #526e60; }
pre { max-height: 300px; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; background: #f7f8f4; padding: 12px; }
.metadata { font-size: 11px; color: #708176; margin-top: 14px; }
#suggestions { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 24px; }
#suggestions button { text-align: left; font-size: 12px; background: #f3f5ee; color: #476354; border: 1px solid #dce4d6; }
#chat-form { margin-top: 24px; border: 1px solid #b6c8bd; border-radius: 8px; padding: 12px; }
textarea { display: block; width: 100%; resize: vertical; border: 0; line-height: 1.6; font-size: 14px; }
.composer-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; }
#status { font-size: 12px; color: #65776f; }
#status.error { color: #a13030; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); }
@media (max-width: 600px) { main { padding: 0 14px; margin-top: 30px; } .workspace { padding: 16px; } header a span, .tag { display: none; } .controls label { flex: 1; } input { width: 100%; max-width: none; } .message.user { margin-left: 0; } .composer-footer { align-items: start; } }
