:root{color-scheme:dark;--bg:#10130f;--panel:#181c17;--line:#30372e;--text:#eff3ea;--muted:#90988a;--lime:#b9f365;--lime-dark:#26351b;--orange:#efab66;font-family:Inter,"Noto Sans JP",system-ui,-apple-system,sans-serif}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 50% -20%,#273122 0,transparent 54%),var(--bg);color:var(--text);min-height:100vh}.shell{max-width:920px;margin:auto;padding:0 28px 34px}.topbar{height:78px;border-bottom:1px solid #ffffff12;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:10px;color:var(--text);text-decoration:none;font-size:14px;letter-spacing:.13em;font-weight:750}.brand b{color:var(--lime);font-weight:500}.brand-mark{width:28px;height:28px;display:grid;place-items:center;background:var(--lime);color:#14190f;font-size:16px;font-weight:900;clip-path:polygon(0 0,100% 0,100% 72%,72% 100%,0 100%)}.server-label,.eyebrow{font-size:10px;letter-spacing:.14em;color:var(--muted);font-weight:700}.server-label{display:flex;align-items:center;gap:9px}.pulse{width:7px;height:7px;border-radius:50%;background:var(--lime);box-shadow:0 0 12px #b9f36588}.version{padding:4px 6px;border:1px solid var(--line);border-radius:3px;font-size:8px}.intro{padding:50px 0 26px}.intro .eyebrow{color:var(--lime)}.intro .eyebrow span{margin-right:7px;opacity:.65}.intro h1{font-size:clamp(42px,7vw,68px);letter-spacing:-.06em;line-height:1;margin:17px 0 12px;font-weight:720}.intro h1 span{color:var(--lime)}.intro p{max-width:600px;color:var(--muted);font-size:13px;line-height:1.9;margin:0}.panel{background:linear-gradient(145deg,#1b2019,#171a16);border:1px solid var(--line);border-radius:9px;box-shadow:0 18px 60px #0002}.connection{padding:22px 24px 18px}.panel-heading{display:flex;align-items:center;justify-content:space-between}.panel-heading h2{font-size:18px;margin:5px 0 0;letter-spacing:-.03em}.state{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:11px}.state i{width:7px;height:7px;background:#73796e;border-radius:50%}.state.connected{color:var(--lime)}.state.connected i{background:var(--lime);box-shadow:0 0 10px #b9f36588}.state.connecting{color:var(--orange)}.state.connecting i{background:var(--orange);animation:blink 1s infinite}.state.error{color:#ff8276}@keyframes blink{50%{opacity:.35}}.fields{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:22px}.fields label{font-size:9px;letter-spacing:.12em;font-weight:700;color:var(--muted)}input,textarea{font:inherit;color:var(--text);background:#10130f;border:1px solid #353c32;border-radius:5px;outline:none}input:focus,textarea:focus{border-color:#9ecf57}input{display:block;width:100%;margin-top:8px;padding:11px 12px;font-size:13px;letter-spacing:normal}.optional{font-size:8px;color:#65705e;margin-left:5px}.connect-row{display:flex;align-items:center;gap:9px;margin-top:17px}.endpoint{min-width:0;flex:1;display:flex;flex-direction:column;gap:5px}.endpoint span,.composer-foot{font-size:8px;letter-spacing:.13em;color:#788071}.endpoint code{font-size:11px;color:#b7c7a8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.button{border:0;border-radius:5px;cursor:pointer;font:inherit;font-size:11px;font-weight:700;transition:filter .15s,transform .15s}.button:hover:not(:disabled){filter:brightness(1.08);transform:translateY(-1px)}.button:disabled{opacity:.38;cursor:not-allowed}.primary{padding:11px 15px;color:#17200f;background:var(--lime)}.primary span{margin-left:9px}.secondary{padding:10px 12px;color:#ccd2c5;background:#30362d}.hint{font-size:10px;color:#7f8879;margin:14px 0 0}.chat{margin-top:15px;padding:22px 24px 15px}.chat-heading{margin-bottom:17px}.clear-button{color:#98a18f;border:0;background:transparent;font-size:10px;cursor:pointer}.clear-button span{margin-left:5px}.messages{height:285px;overflow:auto;border:1px solid #2c322a;border-radius:5px;background:#111410;padding:12px}.empty{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:#788071;font-size:10px}.empty b{font-weight:600;color:#b7beb0;font-size:12px}.empty-icon{width:34px;height:34px;display:grid;place-items:center;border:1px solid #394333;border-radius:50%;color:var(--lime);font-size:17px;margin-bottom:2px}.message-row{max-width:84%;margin:0 0 12px;padding:9px 11px;border-radius:5px;background:#1d231a;border:1px solid #2c3627}.message-row.out{margin-left:auto;background:#26331c;border-color:#394a2b}.message-row.system{max-width:100%;border:0;background:transparent;padding:3px 6px;color:#87917f}.message-meta{display:flex;justify-content:space-between;gap:24px;color:#93a17f;font-size:8px;letter-spacing:.1em;margin-bottom:6px}.message-row.out .message-meta{color:#b8d892}.message-row pre{white-space:pre-wrap;word-break:break-word;font:12px/1.6 ui-monospace,SFMono-Regular,monospace;margin:0;color:#e7eddf}.message-row.system pre{font:10px/1.5 inherit;color:inherit}.composer{display:flex;gap:9px;margin-top:11px}textarea{width:100%;resize:vertical;min-height:48px;padding:11px 12px;font-size:12px;line-height:1.5}.send-button{width:82px;flex:none;background:#d4f99d;color:#19210f}.send-button span{font-size:16px;margin-left:7px}.composer-foot{display:flex;justify-content:space-between;margin-top:8px;font-size:8px}footer{display:flex;justify-content:space-between;padding:20px 3px;color:#71796b;font-size:8px;letter-spacing:.08em}footer b{color:var(--lime);padding:0 3px}@media(max-width:600px){.shell{padding:0 16px 24px}.topbar{height:64px}.intro{padding:36px 0 22px}.connection,.chat{padding:18px 15px 14px}.fields{grid-template-columns:1fr;gap:12px}.connect-row{flex-wrap:wrap}.endpoint{flex-basis:100%;margin-bottom:5px}.messages{height:250px}.composer-foot span:last-child{letter-spacing:0}footer span:last-child{display:none}}
