@import "https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Noto+Serif+JP:wght@400;500;600&display=swap";:root{color:#312b28;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;--ink:#312b28;--muted:#817970;--line:#e6dfd5;--wine:#7e4845;background:#f5f1eb;font-family:DM Sans,Noto Sans JP,sans-serif}*{box-sizing:border-box}body{min-width:320px;min-height:100vh;margin:0}button,textarea{font:inherit}.app-frame{background:radial-gradient(at 52% 42%,#faf7f2 0,#f5f1eb 72%);flex-direction:column;min-height:100vh;display:flex}.topbar{border-bottom:1px solid #5e493d1a;justify-content:space-between;align-items:center;height:78px;padding:0 clamp(24px,5vw,76px);display:flex}.brand{color:var(--ink);align-items:center;gap:12px;text-decoration:none;display:flex}.brand-mark{color:#f9f3e9;background:#754b43;border-radius:50%;place-items:center;width:38px;height:38px;font:500 20px Noto Serif JP,serif;display:grid}.brand strong,.brand small{display:block}.brand strong{letter-spacing:.04em;font:500 15px Noto Serif JP,serif}.brand small{color:var(--muted);letter-spacing:.12em;margin-top:3px;font-size:10px}.connection-pill{color:#7e746a;align-items:center;gap:8px;font-size:12px;display:flex}.connection-pill span{background:#c79d66;border-radius:99px;width:7px;height:7px}.chat-layout{flex:1;grid-template-columns:270px minmax(0,1fr);align-items:start;gap:clamp(44px,8vw,110px);width:min(1100px,100% - 48px);margin:auto;padding:62px 0 52px;display:grid}.context-card{background:#faf7f2bf;border:1px solid #e8dfd3;border-radius:4px;padding:28px 25px 24px;box-shadow:0 12px 32px #3f2e2309}.eyebrow{color:#9a8878;letter-spacing:.18em;font-size:10px;font-weight:600}.context-card h1{color:#4b3833;letter-spacing:.08em;margin:23px 0 12px;font:500 23px/1.75 Noto Serif JP,serif}.context-card>p{color:#766e66;margin:0;font-size:12px;line-height:1.9}.divider{background:var(--line);height:1px;margin:24px 0 18px}.context-row{color:#5c4b42;align-items:center;gap:9px;font:500 13px Noto Serif JP,serif;display:flex}.context-dot{border:1px solid #a77861;border-radius:50%;width:8px;height:8px}.context-card .quiet-note{color:#9a9087;margin-top:12px;font-size:11px}.conversation{min-width:0}.conversation-heading{border-bottom:1px solid var(--line);justify-content:space-between;align-items:end;padding-bottom:24px;display:flex}.conversation-heading h2{letter-spacing:.05em;margin:9px 0 0;font:500 20px Noto Serif JP,serif}.session-label{color:#8a7a6d;border:1px solid #e2d9ce;border-radius:99px;padding:6px 10px;font-size:10px}.thread-root{min-height:340px}.thread-viewport{padding:26px 0}.message-row{gap:12px;padding:12px 0;display:flex}.avatar{color:#75534a;background:#ece3d8;border-radius:50%;flex:0 0 30px;place-items:center;width:30px;height:30px;font:500 12px Noto Serif JP,serif;display:grid}.message-body{min-width:0;padding-top:2px}.message-author{color:#887b71;letter-spacing:.04em;margin-bottom:7px;font-size:11px}.message-body [data-message-part]{color:#504941;font:400 14px/1.95 Noto Serif JP,serif}.pending-banner{color:#8c7c6b;align-items:center;gap:10px;margin:0 0 12px 42px;font-size:11px;display:flex}.pending-icon{color:#a87955;font-size:14px}.composer{background:#fffdf9bd;border:1px solid #dfd5ca;border-radius:5px;align-items:end;gap:12px;min-height:72px;padding:15px 16px;display:flex;box-shadow:0 4px 16px #40302608}.composer textarea{resize:none;width:100%;min-height:38px;color:var(--ink);background:0 0;border:0;outline:0;font-size:13px;line-height:1.7}.composer textarea::placeholder{color:#aaa096}.send-button{color:#f7f1e8;background:#a88b74;border:0;border-radius:50%;flex:0 0 34px;width:34px;height:34px;font-size:20px}.composer-caption{color:#a39a90;text-align:center;margin:9px 0 0;font-size:10px}.footer{color:#a59b91;text-align:center;letter-spacing:.05em;padding:22px 24px;font-size:10px}.footer span{color:#c1b5a7;padding:0 7px}.connection-pill.is-connected span{background:#6b9277}.entry-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:14px 0 12px 42px;display:grid}.entry-option{color:var(--ink);text-align:left;cursor:pointer;background:#fffdf9d1;border:1px solid #dfd5ca;border-radius:5px;flex-direction:column;gap:7px;padding:14px;display:flex}.entry-option:hover:not(:disabled){background:#fffdf9;border-color:#a88b74}.entry-option:disabled{opacity:.6;cursor:wait}.entry-option strong{color:#5c4b42;font:500 14px Noto Serif JP,serif}.entry-option span,.entry-option small{color:#766e66;font-size:11px;line-height:1.7}.entry-option small{color:#9a9087}.resumed-history{flex-direction:column;gap:10px;padding:4px 0 18px;display:flex}.history-message{color:#504941;border-left:2px solid #d8c5b2;padding:10px 13px}.history-message.user{border-color:#a88b74}.history-message strong{color:#887b71;font-size:10px}.history-message p{white-space:pre-wrap;margin:5px 0 0;font:400 13px/1.8 Noto Serif JP,serif}@media (width<=720px){.topbar{height:68px;padding:0 20px}.chat-layout{flex-direction:column;gap:28px;width:min(100% - 36px,580px);padding:34px 0 24px;display:flex}.context-card{width:100%;padding:20px}.context-card h1{margin:13px 0 8px;font-size:18px}.context-card .divider,.context-row,.context-card .quiet-note{display:none}.conversation{width:100%}.conversation-heading h2{font-size:17px}.session-label{font-size:9px}.thread-root{min-height:260px}}
