:root { color-scheme: dark; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: #101113; color: #f4f4ed; }
* { box-sizing: border-box; }
body { margin: 0; background: radial-gradient(circle at 85% 4%, #254c4c 0, transparent 26rem), #101113; }
main { width: min(1120px, calc(100% - 40px)); margin: 0 auto; padding: 76px 0 48px; }
.hero { padding: 28px 0 70px; max-width: 780px; }
.eyebrow { color: #8ee0c8; font-size: .78rem; font-weight: 800; letter-spacing: .16em; margin: 0 0 12px; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(2.7rem, 7vw, 5.9rem); letter-spacing: -.07em; line-height: .94; margin-bottom: 28px; }
h1 span { color: #8ee0c8; }
h2 { font-size: clamp(1.7rem, 3vw, 2.65rem); letter-spacing: -.045em; line-height: 1.05; }
h3 { font-size: .9rem; letter-spacing: .01em; margin-bottom: 10px; }
.lead { color: #d8d9d1; font-size: 1.15rem; line-height: 1.55; margin-bottom: 7px; }
.en, em { color: #aeb3aa; font-style: normal; }
.notice { border: 1px solid #3d6058; border-left: 4px solid #8ee0c8; background: #15211f; padding: 22px 24px; margin-bottom: 72px; border-radius: 6px; }
.notice strong { color: #b8f3df; }
.notice p { margin: 8px 0 0; color: #ccd3ca; }
.grid { display: grid; grid-template-columns: minmax(220px, .7fr) 1.7fr; gap: 48px; padding: 68px 0; border-top: 1px solid #303633; }
.methodology ol { list-style: none; padding: 0; margin: 0; counter-reset: methods; }
.methodology li { display: grid; grid-template-columns: 60px 1fr; gap: 16px; padding: 17px 0; border-top: 1px solid #303633; }
.methodology li:last-child { border-bottom: 1px solid #303633; }
.methodology li > span { color: #8ee0c8; font-weight: 800; }
.methodology strong { display: block; font-size: 1.05rem; margin-bottom: 4px; }
.methodology small { color: #bdc2b9; line-height: 1.55; font-size: .92rem; }
.playground { background: #e6e4d7; color: #1a211f; border-radius: 16px; padding: 42px; margin: 10px 0 70px; box-shadow: 0 20px 60px rgba(0,0,0,.25); }
.section-heading { display: flex; gap: 32px; justify-content: space-between; align-items: end; margin-bottom: 32px; }
.section-heading > p { color: #4c5551; max-width: 510px; margin-bottom: 0; }
input, textarea, select, button { font: inherit; }
.field { display: grid; gap: 8px; font-weight: 700; font-size: .93rem; }
input, textarea, select { width: 100%; border: 1px solid #abb5ad; border-radius: 6px; color: #17201d; background: #fafaf4; padding: 11px 12px; }
input:disabled { background: #d3d5cc; }
textarea { resize: vertical; min-height: 98px; }
.controls { display: grid; grid-template-columns: 1fr 180px; gap: 20px; margin: 22px 0; }
.huggingface-fields { border: 1px solid #abb5ad; border-radius: 6px; padding: 18px; margin-bottom: 22px; background: #f4f3e9; }
.compact-controls { grid-template-columns: 1fr 1fr; margin: 16px 0; }
.prompt-controls { grid-template-columns: 1fr 240px; align-items: start; }
.generation-limits { display: grid; gap: 16px; }
.profile-details { padding: 12px 14px; border-radius: 5px; background: #e7e8de; color: #34423d; font-size: .88rem; line-height: 1.5; }
.gpu-status { display: inline-block; border: 1px solid #91a29a; border-radius: 999px; padding: 6px 11px; color: #36554d; font-size: .82rem; font-weight: 800; }
.source-note { color: #4c5551; font-size: .88rem; line-height: 1.55; margin: 0; }
.source-note code, .limits code { color: #173e36; font: .85em ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 28px 0 12px; }
button { border: 0; border-radius: 5px; padding: 10px 15px; background: #173e36; color: #f6f7ef; cursor: pointer; font-weight: 800; }
button.quiet { background: #c5cbc3; color: #26312d; }
button:disabled { cursor: not-allowed; opacity: .5; }
.status { min-height: 25px; color: #36554d; font-weight: 700; margin: 0 0 18px; }
.result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.result-grid section { min-width: 0; }
pre { min-height: 155px; margin: 0; padding: 15px; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; background: #fbfbf6; border: 1px solid #c2cac2; border-radius: 5px; color: #24302b; font: .78rem/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.limits p { color: #c4c9bf; line-height: 1.6; }
.limits a { color: #8ee0c8; }
footer { border-top: 1px solid #303633; padding-top: 30px; color: #aeb3aa; }
footer a { color: #8ee0c8; text-decoration: none; font-weight: 700; }
footer span { margin: 0 8px; }
@media (max-width: 720px) { main { width: min(100% - 28px, 1120px); padding-top: 38px; } .grid, .section-heading, .result-grid { grid-template-columns: 1fr; display: grid; } .playground { padding: 24px; } .controls, .compact-controls, .prompt-controls { grid-template-columns: 1fr; } }
