:root{color-scheme:light;font-family:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Noto Sans JP",Meiryo,sans-serif;color:#18382f;background:#e6eee9;font-synthesis:none;font-size:16px}
*{box-sizing:border-box}body{margin:0;min-height:100svh;display:grid;place-items:center;padding:28px 20px}button,textarea{font:inherit}button{cursor:pointer}button:focus-visible,textarea:focus-visible{outline:3px solid #da9a25;outline-offset:4px}.chat{width:min(100%,780px);height:min(860px,calc(100dvh - 56px));min-height:480px;display:flex;flex-direction:column;border:1px solid #cbdad1;border-radius:28px;background:#f8fbf8;overflow:hidden;box-shadow:0 20px 70px #16372d0c}.header{display:flex;align-items:center;gap:14px;padding:23px 28px;background:#123d34;color:#fff;flex-shrink:0}.header-avatar{border-radius:50%;object-fit:cover;flex-shrink:0;border:2px solid #ffffff70}.identity h1{font-size:20px;letter-spacing:.03em;margin:0;display:flex;align-items:center;gap:9px}.identity h1 span{font-size:10px;font-weight:600;letter-spacing:.08em;border:1px solid #ffffff50;border-radius:4px;padding:2px 5px}.identity p{font-size:13px;color:#cee0d7;margin:5px 0 0}.status{margin-left:auto;border:1px solid #64877b;border-radius:30px;padding:7px 11px;font-size:12px;color:#e8f1d5;white-space:nowrap}.conversation{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:28px}.intro{text-align:center;max-width:430px;margin:32px auto 0}.portrait{position:relative;width:124px;margin:0 auto 28px}.portrait>img{display:block;border-radius:36px;object-fit:cover;box-shadow:0 8px 0 #e1e9df;transform:rotate(-5deg)}.hello{position:absolute;right:-49px;top:6px;transform:rotate(8deg);border:1px solid #bdd2bc;background:#eef9c9;border-radius:20px 20px 20px 3px;padding:9px 14px;font-size:14px;font-weight:600}.intro h2{overflow-wrap:anywhere;word-break:break-all;font-size:clamp(24px,4.5vw,32px);letter-spacing:.035em;margin:0 0 28px;line-height:1.5}.intro>p{color:#60756a;font-size:15px;line-height:1.9;margin:0 0 28px}.examples{display:grid;grid-template-columns:1fr 1fr;gap:10px}.examples button{display:flex;justify-content:space-between;align-items:center;text-align:left;gap:10px;font-size:14px;color:#294a3d;background:white;border:1px solid #d8e3dc;border-radius:13px;padding:15px 16px;transition:background .15s,transform .15s}.examples button:hover{background:#eef5e9;transform:translateY(-2px)}.examples span{color:#6f897a;font-size:17px}#messages{display:flex;flex-direction:column;gap:24px}.message{display:flex;align-items:flex-end;gap:10px;min-width:0}.message.user{flex-direction:row-reverse}.message>img{width:34px;height:34px;object-fit:cover;border-radius:50%;flex-shrink:0;margin-bottom:0}.message-content{max-width:min(83%,510px);min-width:0}.bubble{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.75;font-size:16px;padding:13px 18px;border:1px solid #e0e8e2;background:#fff;border-radius:19px 19px 19px 4px;color:#244236}.user .bubble{background:#dfeecc;border-color:#d5e7bf;border-radius:19px 19px 4px 19px}.meta{display:block;color:#718175;font-size:11px;margin:6px 2px 0}.user .meta{text-align:right}.composer-area{flex-shrink:0;padding:16px 24px 17px;background:#f8fbf8;border-top:1px solid #e8eee9}.composer{display:flex;align-items:flex-end;gap:12px;background:#fff;border:1px solid #c9d8cf;border-radius:18px;padding:9px 10px 9px 17px;box-shadow:0 3px 8px #18382f04}.composer:focus-within{border-color:#678f78;box-shadow:0 0 0 3px #dae9de}.composer textarea{resize:none;border:0;background:transparent;outline:none!important;color:#18382f;width:100%;min-height:44px;max-height:130px;line-height:24px;padding:10px 0}.composer textarea::placeholder{color:#7c8d83}.composer button{border:0;background:#174a3b;color:white;display:grid;place-items:center;width:44px;height:44px;border-radius:13px;flex-shrink:0}.composer button:hover:not(:disabled){background:#236b52}.composer button:disabled{background:#edf1eb;color:#96a294;cursor:default}.composer svg{width:24px;height:24px}.footnote{font-size:12px;text-align:center;color:#718175;margin:12px 0 0;line-height:1.5}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}[hidden]{display:none!important}
@media(max-width:600px){body{padding:0;background:#f8fbf8}.chat{height:100dvh;min-height:0;width:100%;border:0;border-radius:0;box-shadow:none}.header{padding:17px 18px;gap:11px}.header-avatar{width:46px;height:46px}.identity h1{font-size:18px}.status{font-size:11px;padding:6px 9px}.conversation{padding:22px 17px}.intro{margin:26px auto 16px}.intro>p{font-size:14px}.portrait{margin-bottom:27px}.examples{gap:9px}.examples button{padding:13px 12px;font-size:13px}.composer-area{padding:12px 14px max(14px,env(safe-area-inset-bottom))}.message-content{max-width:83%}.bubble{padding:11px 15px}.footnote{font-size:11px}.composer{gap:8px}.composer textarea{font-size:16px}}
@media(max-height:700px){.intro{margin-top:5px}.portrait{width:90px;margin-bottom:20px}.portrait>img{width:90px;height:90px;border-radius:26px}.intro h2{overflow-wrap:anywhere;word-break:break-all;font-size:24px}.intro>p{margin-bottom:18px}.conversation{padding-top:20px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
