:root{color:#19312d;font-synthesis:none;background:#f7f3ec;font-family:Inter,Noto Sans JP,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{margin:0}button,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.45}button:focus-visible,a:focus-visible,summary:focus-visible{outline-offset:3px;outline:3px solid #27856e}.chat-shell{background:#fffdf8;border-inline:1px solid #e3e6df;flex-direction:column;max-width:860px;height:100dvh;margin:auto;display:flex}header{border-bottom:1px solid #e4e8e0;flex:none;align-items:center;gap:12px;padding:16px 22px;display:flex}header h1{letter-spacing:.03em;margin:0 0 2px;font-size:23px}header p{color:#52665d;margin:0;font-size:12px}.online-dot{background:#58856b;border-radius:50%;width:6px;height:6px;margin-right:6px;display:inline-block}.portrait{background:#f1eee5;border-radius:50%;flex:none;width:52px;height:52px;overflow:hidden}.portrait img{object-fit:contain;transform-origin:61% 8%;width:100%;height:100%;transform:scale(2.1)}.thinking{animation:1s ease-out thought}@keyframes thought{50%{transform:translateY(-3px)}}.reset{color:#52665d;background:0 0;border:1px solid #d4ded5;border-radius:30px;min-height:40px;margin-left:auto;padding:6px 13px;font-size:12px}.conversation{overscroll-behavior:contain;flex:1;min-height:0;padding:26px clamp(16px,4vw,30px);overflow-y:auto}.message{max-width:100%;margin:0 0 28px}.speaker{letter-spacing:.03em;color:#65766c;margin-bottom:8px;font-size:11px;font-weight:650}.answer{white-space:pre-wrap;overflow-wrap:anywhere;font-size:15px;line-height:1.9}.answer strong{font-weight:650}.answer a{color:#1f6653;text-underline-offset:3px;text-decoration:underline}.source{font-size:12px}.user{background:#eaf1eb;border-radius:18px 6px 18px 18px;margin-left:12%;padding:12px 16px}.user .answer{line-height:1.7}.copy{color:#64766a;background:0 0;border:0;border-bottom:1px solid #bdcbc0;min-height:30px;margin-top:10px;padding:6px 0;font-size:11px}.pending{color:#64766a;align-items:center;gap:8px;padding:6px 0 20px;font-size:13px;display:flex}.pending span{background:#64766a;border-radius:50%;width:7px;height:7px}.error{background:#fff0e9;border-left:3px solid #9e5938;margin-bottom:16px;padding:13px;font-size:13px;line-height:1.7}footer{padding:0 16px max(8px,env(safe-area-inset-bottom));flex:none}form{background:#fff;border:1px solid #9daf9e;border-radius:18px;align-items:flex-end;gap:8px;padding:9px;display:flex}form:focus-within{outline-offset:2px;outline:2px solid #1f5e4f}textarea{resize:none;background:0 0;border:0;border-radius:8px;outline:none;flex:1;min-width:0;padding:6px;font-size:16px;line-height:1.6}.send{color:#fff;background:#1f5e4f;border:0;border-radius:50%;flex:none;width:44px;height:44px;font-size:27px}.privacy{color:#52665d;max-height:132px;margin-top:6px;font-size:11px;line-height:1.7;overflow:auto}.privacy summary{cursor:pointer;min-height:28px;padding:4px 0}.privacy p{margin:5px 0}.privacy label{align-items:center;gap:6px;min-height:36px;font-size:12px;display:flex}.privacy input{accent-color:#1f5e4f;flex:none;width:18px;height:18px}.notice{color:#52665d;min-height:14px;margin-top:2px;font-size:11px}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@media (width<=480px){header{padding:13px 16px}.conversation{padding:22px 16px}.answer{font-size:15px}footer{padding-inline:12px}.reset{padding-inline:9px}.chat-shell{border:0}}@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important}}:where(.gobus-transfer){background:#f1f6ef;border:1px solid #b8cbbd;border-radius:16px;margin-bottom:20px;padding:16px;font-size:13px;line-height:1.7}.gobus-transfer h2{margin:0 0 8px;font-size:17px}.gobus-transfer label{flex-direction:column;gap:4px;display:flex}.gobus-transfer textarea,.gobus-transfer input{width:100%;min-width:0;font:inherit;background:#fff;border:1px solid #9daf9e;border-radius:8px;min-height:44px;padding:8px;font-size:16px}.transfer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0;display:grid}.transfer-actions{flex-wrap:wrap;gap:8px;display:flex}.gobus-transfer button{color:#19312d;background:#fff;border:1px solid #486e56;border-radius:9px;min-height:44px;padding:8px 12px}.device-status{color:#52665d;margin:6px 0;font-size:11px;line-height:1.5}.reset,.copy,.privacy summary,.privacy label{min-height:44px}input:focus-visible{outline-offset:2px;outline:3px solid #27856e}.gobus-transfer .transfer-primary{color:#fff;background:#1f5e4f}.gobus-transfer .transfer-secondary{font-size:12px}.gobus-transfer h2{margin-top:16px}.identity{min-width:0}.header-tools{flex-direction:column;align-items:flex-end;gap:4px;max-width:44%;margin-left:auto;display:flex}.language-picker{color:#1f5e4f;background:#f3f7f1;border:1px solid #b7c8bd;border-radius:11px;align-items:center;gap:4px;max-width:100%;padding:0 7px;display:flex}.language-picker select{width:126px;min-width:0;max-width:100%;min-height:44px;font:inherit;color:inherit;background:0 0;border:0;font-size:13px}.header-tools .reset{text-align:right;border:0;max-width:100%;min-height:32px;padding:0 5px;font-size:11px}.language-picker:focus-within{outline-offset:2px;outline:3px solid #27856e}header .identity p{font-size:11px;line-height:1.5}.gobus-transfer button{overflow-wrap:anywhere}.chat-shell select{font-family:inherit}@media (width<=360px){header{gap:8px;padding-inline:12px}header h1{font-size:20px}.portrait{width:46px;height:46px}.language-picker select{width:104px}header .identity p{font-size:10px}.header-tools{max-width:42%}.transfer-grid{grid-template-columns:1fr}}select:disabled{opacity:.6}.header-tools .reset{min-height:44px}
