.lang-switch.lang-switch{border:1px solid var(--as-line);background:var(--as-wash);min-width:84px;height:44px;color:var(--as-navy);cursor:pointer;border-radius:999px;justify-content:center;align-items:center;gap:7px;padding:0 16px;font-family:inherit;font-size:13px;font-weight:800;line-height:1;display:inline-flex;position:relative;overflow:hidden;box-shadow:inset 0 1px 2px #071a420d}.lang-switch:hover{background:#fff;border-color:#c6d3e8;box-shadow:inset 0 1px 2px #071a420d,0 6px 16px #1e37661f}.lang-switch__icon{width:14px;height:14px;color:var(--as-muted);flex:none}.lang-switch:hover .lang-switch__icon{color:var(--as-blue)}.lang-switch__label{justify-content:center;align-items:center;min-width:30px;display:inline-flex}.lang-switch:focus-visible{outline-offset:1px;outline:3px solid #0b43b866}.lang-switch:disabled{cursor:not-allowed;opacity:.55}
.agent-playground{isolation:isolate;color:var(--as-navy);background:#ffffffeb;border:1px solid #cfdbee;border-radius:14px;grid-template-columns:92px minmax(180px,.8fr) minmax(440px,1.7fr) auto;align-items:center;gap:18px;margin:28px 34px 0;padding:16px 18px;display:grid;position:relative;overflow:hidden;box-shadow:0 8px 26px #1e37660d}.agent-playground:before{z-index:0;background-image:var(--agent-background);opacity:.32;content:"";background-position:50%;background-repeat:no-repeat;background-size:cover;position:absolute;inset:0}.agent-playground:after{z-index:0;pointer-events:none;content:"";background:linear-gradient(90deg,#fffffffe 0%,#fffffffb 46%,#ffffffeb 70%,#ffffffc2 100%);position:absolute;inset:0}.agent-playground>*{z-index:1;position:relative}.agent-playground.is-complete{background:linear-gradient(0deg, var(--as-green-soft) 0%, #ffffffeb 46%)}.agent-playground.is-error{background:linear-gradient(0deg, var(--as-red-soft) 0%, #ffffffeb 46%)}.agent-playground__mascot{object-fit:contain;width:88px;height:74px}.agent-playground.is-working .agent-playground__mascot{animation:1.8s ease-in-out infinite agent-working}.agent-playground__summary{min-width:0}.agent-playground__summary strong,.agent-playground__summary span{display:block}.agent-playground__summary strong{font-size:14px;line-height:1.3}.agent-playground__summary span{color:var(--as-muted);margin-top:7px;font-size:11px;line-height:1.35}.agent-playground__summary-meta{align-items:center;gap:6px;display:inline-flex}.agent-playground__summary-meta svg{color:var(--as-blue);flex-shrink:0}.agent-milestones{grid-template-columns:repeat(4,minmax(0,1fr));margin:0;padding:0;list-style:none;display:grid}.agent-milestone{text-align:center;grid-template-rows:18px auto;justify-items:center;gap:8px;min-width:0;display:grid;position:relative}.agent-milestone:not(:last-child):after{background:var(--as-line);content:"";width:100%;height:1px;position:absolute;top:9px;left:50%}.agent-milestone.is-complete:not(:last-child):after{background:var(--as-green)}.agent-milestone.is-active:not(:last-child):after{background:linear-gradient(90deg, var(--as-blue) 0 35%, var(--as-line) 35%)}.agent-milestone__dot{z-index:1;color:#fff;background:#fff;border:2px solid #c9d1de;border-radius:50%;place-items:center;width:18px;height:18px;font-size:10px;font-weight:900;display:grid;position:relative}.agent-milestone__dot.is-complete{border-color:var(--as-green);background:var(--as-green)}.agent-milestone__dot.is-active{border:3px solid var(--as-blue);box-shadow:0 0 0 5px var(--as-blue-soft)}.agent-milestone__dot.is-error{border-color:var(--as-red);background:var(--as-red)}.agent-milestone__dot.is-skipped{border-style:dashed}.agent-milestone__copy{min-width:0}.agent-milestone__copy strong,.agent-milestone__copy small{overflow-wrap:anywhere;display:block}.agent-milestone__copy strong{font-size:10px;line-height:1.2}.agent-milestone__copy small{color:var(--as-muted);margin-top:3px;font-size:9px}.agent-milestone.is-active small{color:var(--as-blue);font-weight:800}.agent-playground__log-button{min-height:44px;color:var(--as-blue);cursor:pointer;white-space:nowrap;background:0 0;border:0;padding:0 4px;font-size:11px;font-weight:800}.agent-playground__expanded{border-top:1px solid var(--as-line);grid-column:2/-1;justify-content:space-between;align-items:flex-end;gap:20px;padding-top:12px;display:flex}.agent-playground__expanded-body{flex:1;gap:12px;min-width:0;display:grid}.agent-playground__expanded>button,.agent-sheet__primary{background:var(--as-blue);color:#fff;cursor:pointer;border:0;border-radius:9px;min-height:44px;padding:0 18px;font-weight:800}.agent-action-log__empty{color:var(--as-muted);margin:0;font-size:12px;line-height:1.5}.agent-orb,.agent-sheet{display:none}@media (max-width:1180px){.agent-playground{grid-template-columns:72px minmax(150px,.7fr) minmax(380px,1.5fr) auto;gap:12px;margin-inline:24px}.agent-playground__mascot{width:70px}}@media (max-width:900px) and (min-width:721px){.agent-playground{grid-template-columns:64px 1fr auto}.agent-playground__track{grid-column:2/-1}}@media (max-width:720px){.agent-playground{display:none}.agent-orb{z-index:43;right:18px;bottom:calc(82px + env(safe-area-inset-bottom));filter:drop-shadow(0 10px 18px #1b387338);cursor:pointer;background:0 0;border:0;border-radius:50%;width:70px;height:70px;padding:0;display:block;position:fixed}.agent-orb__progress{--agent-progress:0deg;background:conic-gradient(var(--as-blue) var(--agent-progress), #dfe6f2 0);border-radius:50%;place-items:center;width:70px;height:70px;display:grid}.agent-orb__progress:before{content:"";background:#fff;border-radius:50%;position:absolute;inset:5px}.agent-orb.is-complete .agent-orb__progress{background:conic-gradient(var(--as-green) 360deg, #dfe6f2 0)}.agent-orb.is-error .agent-orb__progress{background:conic-gradient(var(--as-red) 180deg, #dfe6f2 0)}.agent-orb img{z-index:1;object-fit:contain;width:58px;height:58px;position:relative}.agent-orb.is-working img{animation:1.8s ease-in-out infinite agent-working}.agent-orb__label{z-index:2;border:1px solid var(--as-line);min-width:max-content;max-width:min(200px,100vw - 120px);color:var(--as-navy);text-align:right;background:#fffffff5;border-radius:14px;padding:8px 12px;position:absolute;top:50%;right:calc(100% + 12px);transform:translateY(-50%);box-shadow:0 8px 18px #1b38731f}.agent-orb__label:after{border-top:1px solid var(--as-line);border-right:1px solid var(--as-line);content:"";background:#fff;width:10px;height:10px;position:absolute;top:50%;right:-6px;transform:translateY(-50%)rotate(45deg)}.agent-orb__label strong,.agent-orb__label small{z-index:1;text-overflow:ellipsis;white-space:nowrap;display:block;position:relative;overflow:hidden}.agent-orb__label strong{font-size:11px;line-height:1.3}.agent-orb__label small{color:var(--as-muted);margin-top:2px;font-size:10px;line-height:1.3}.agent-orb__pulse{border:2px solid #0b43b859;border-radius:50%;animation:1.8s ease-out infinite agent-pulse;position:absolute;inset:-3px}.agent-orb__sonar{border:1.5px solid #0b43b838;border-radius:50%;animation:1.8s ease-out .55s infinite agent-pulse;position:absolute;inset:-6px}.agent-sheet{z-index:50;right:0;bottom:calc(72px + env(safe-area-inset-bottom));border:1px solid var(--as-line);-webkit-backdrop-filter:blur(18px)saturate(1.3);backdrop-filter:blur(18px)saturate(1.3);background:#fffffff0;border-radius:22px 22px 0 0;max-height:min(66vh,580px);padding:12px 18px 20px;animation:.18s ease-out agent-sheet-in;display:block;position:fixed;left:0;overflow-y:auto;box-shadow:0 -18px 54px #1b38732e}.agent-sheet__handle{background:#ccd4e1;border-radius:99px;width:38px;height:4px;margin:0 auto 12px}.agent-sheet header{border-bottom:1px solid var(--as-line);grid-template-columns:58px 1fr 44px;align-items:center;gap:10px;padding-bottom:14px;display:grid}.agent-sheet header img{object-fit:contain;width:58px;height:54px}.agent-sheet header strong,.agent-sheet header span{display:block}.agent-sheet header strong{color:var(--as-navy);font-size:14px}.agent-sheet header span{color:var(--as-muted);margin-top:4px;font-size:10px}.agent-sheet header button{width:44px;height:44px;color:var(--as-muted);cursor:pointer;background:0 0;border:0;font-size:28px}.agent-milestones.is-mobile{grid-template-columns:1fr;gap:0;padding:16px 2px;display:grid}.agent-milestones.is-mobile .agent-milestone{text-align:left;grid-template-rows:none;grid-template-columns:24px 1fr;justify-items:stretch;min-height:56px}.agent-milestones.is-mobile .agent-milestone:not(:last-child):after{width:1px;height:auto;inset:18px auto -18px 9px}.agent-milestones.is-mobile .agent-milestone__copy strong{font-size:12px}.agent-milestones.is-mobile .agent-milestone__copy small{font-size:10px}.agent-sheet .agent-action-log{border-top:1px solid var(--as-line);padding:12px}.agent-sheet .agent-action-log ol{display:grid}.agent-sheet .agent-action-log li{justify-content:space-between}.agent-sheet__primary{z-index:1;width:100%;margin-top:10px;position:sticky;bottom:0;box-shadow:0 -10px 18px 8px #fffffff5}}@keyframes agent-pulse{to{opacity:0;transform:scale(1.18)}}@keyframes agent-working{50%{transform:translateY(-3px)rotate(-1deg)}}@keyframes agent-sheet-in{0%{opacity:0;transform:translateY(30px)}}@media (prefers-reduced-motion:reduce){.agent-orb__pulse,.agent-orb__sonar,.agent-playground.is-working .agent-playground__mascot,.agent-orb.is-working img,.agent-sheet{animation:none}}
.ai-chat-button{width:44px;height:44px;color:var(--as-muted);cursor:pointer;background:0 0;border:0;border-radius:999px;justify-content:center;align-items:center;transition:background .15s,color .15s,transform .2s;display:flex;position:relative}.ai-chat-button:hover{background:var(--as-blue-soft);color:var(--as-blue);transform:scale(1.05)}.ai-chat-button:active{transform:scale(.95)}.ai-chat-button.is-active{background:var(--as-blue);color:#fff;box-shadow:0 4px 12px #0b43b84d}.ai-chat-button.is-active:hover{background:var(--as-blue-2);color:#fff}.ai-chat-typing{background:var(--as-green);border:2px solid #fff;border-radius:50%;width:10px;height:10px;animation:1.8s ease-in-out infinite ai-pulse;position:absolute;bottom:2px;right:2px}@keyframes ai-pulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.7;transform:scale(1.3)}}.ai-chat-overlay{z-index:49;-webkit-backdrop-filter:blur(2px);background:#071a4233;animation:.2s ease-out ai-fade-in;position:fixed;inset:0}@keyframes ai-fade-in{0%{opacity:0}to{opacity:1}}.ai-chat-panel{z-index:50;border-left:1px solid var(--as-line);background:#fff;flex-direction:column;width:420px;max-width:100vw;height:100dvh;animation:.25s ease-out ai-slide-in;display:flex;position:fixed;top:0;right:0;box-shadow:-8px 0 40px #071a4226}@keyframes ai-slide-in{0%{transform:translate(100%)}to{transform:translate(0)}}.ai-chat-header{border-bottom:1px solid var(--as-line);flex-shrink:0;justify-content:space-between;align-items:center;padding:18px 22px;display:flex}.ai-chat-header__left{align-items:center;gap:10px;display:flex}.ai-chat-header__icon{background:linear-gradient(135deg, var(--as-blue), #1a6bff);color:#fff;border-radius:8px;justify-content:center;align-items:center;width:32px;height:32px;display:flex}.ai-chat-header__title{color:var(--as-navy);font-size:15px;font-weight:700;line-height:1.2}.ai-chat-header__sub{color:var(--as-muted);font-size:11px;font-weight:600}.ai-chat-close{width:32px;height:32px;color:var(--as-muted);cursor:pointer;background:0 0;border:0;border-radius:8px;justify-content:center;align-items:center;transition:background .15s,color .15s;display:flex}.ai-chat-close:hover{background:var(--as-red-soft);color:var(--as-red)}.ai-chat-messages{background:var(--as-wash);overscroll-behavior:contain;flex-direction:column;flex:1;gap:14px;padding:18px;display:flex;overflow-y:auto}.ai-chat-messages::-webkit-scrollbar{width:5px}.ai-chat-messages::-webkit-scrollbar-track{background:0 0}.ai-chat-messages::-webkit-scrollbar-thumb{background:var(--as-line);border-radius:999px}.ai-message{gap:10px;max-width:88%;animation:.25s ease-out ai-message-in;display:flex}@keyframes ai-message-in{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.ai-message--user{flex-direction:row-reverse;align-self:flex-end}.ai-message--agent{align-self:flex-start}.ai-message__avatar{border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:28px;height:28px;font-size:13px;font-weight:700;display:flex}.ai-message--user .ai-message__avatar{background:var(--as-blue);color:#fff}.ai-message--agent .ai-message__avatar{background:linear-gradient(135deg, var(--as-blue), #1a6bff);color:#fff}.ai-message__bubble{white-space:pre-wrap;word-break:break-word;border-radius:14px;padding:10px 14px;font-size:13px;line-height:1.55}.ai-message--user .ai-message__bubble{background:var(--as-blue);color:#fff;border-bottom-right-radius:4px}.ai-message--agent .ai-message__bubble{color:var(--as-navy);border:1px solid var(--as-line);letter-spacing:-.005em;background:#fff;border-bottom-left-radius:4px;box-shadow:0 2px 6px #071a420a}.ai-typing-indicator{gap:2px;padding:2px;display:grid}.ai-typing-dots{gap:4px;margin-bottom:5px;display:inline-flex}.ai-typing-dots span{background:var(--as-blue);border-radius:50%;width:6px;height:6px;animation:1.15s ease-in-out infinite ai-dot-bounce}.ai-typing-dots span:nth-child(2){animation-delay:.15s}.ai-typing-dots span:nth-child(3){animation-delay:.3s}@keyframes ai-dot-bounce{0%,60%,to{opacity:.4;transform:translateY(0)}30%{opacity:1;transform:translateY(-4px)}}.ai-typing-indicator__shimmer{color:var(--as-muted);font-size:13px;font-weight:500}.ai-typing-indicator__sub{color:var(--as-muted);font-size:10.5px}.ai-chat-empty{text-align:center;color:var(--as-muted);flex-direction:column;flex:1;justify-content:center;align-items:center;padding:40px 24px;display:flex}.ai-chat-empty__icon{background:var(--as-blue-soft);width:48px;height:48px;color:var(--as-blue);border-radius:16px;justify-content:center;align-items:center;margin-bottom:16px;display:flex}.ai-chat-empty h3{color:var(--as-navy);margin:0 0 6px;font-size:16px;font-weight:700}.ai-chat-empty p{max-width:280px;margin:0;font-size:13px;line-height:1.5}.ai-chat-suggestions{flex-wrap:wrap;justify-content:center;gap:8px;margin-top:16px;display:flex}.ai-chat-suggestions button{border:1px solid var(--as-line);color:var(--as-blue);cursor:pointer;background:#fff;border-radius:999px;padding:6px 14px;font-size:12px;font-weight:600;transition:all .15s}.ai-chat-suggestions button:hover{background:var(--as-blue-soft);border-color:var(--as-blue)}.ai-chat-input-area{border-top:1px solid var(--as-line);background:#fff;flex-shrink:0;padding:14px 18px}.ai-chat-input-row{border:1px solid var(--as-line);background:#fff;border-radius:15px;align-items:flex-end;gap:8px;padding:4px;transition:border-color .15s,box-shadow .15s;display:flex}.ai-chat-input-row:focus-within{border-color:var(--as-blue);box-shadow:0 0 0 3px #0b43b81a}.ai-chat-input{resize:none;min-height:42px;max-height:120px;color:var(--as-navy);border:0;border-radius:10px;outline:none;flex:1;padding:10px 14px;font-family:inherit;font-size:13px;line-height:1.4;transition:border-color .15s,box-shadow .15s}.ai-chat-input:focus{box-shadow:none}.ai-chat-input::placeholder{color:var(--as-muted);opacity:.7}.ai-chat-send{background:var(--as-blue);color:#fff;cursor:pointer;border:0;border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;width:34px;height:34px;transition:background .15s,transform .15s;display:flex}.ai-chat-send:hover:not(:disabled){background:var(--as-blue-2);transform:scale(1.05)}.ai-chat-send:active:not(:disabled){transform:scale(.95)}.ai-chat-send:disabled{opacity:.4;cursor:not-allowed}@media (max-width:480px){.ai-chat-panel{border-left:none;width:100vw}.ai-message{max-width:95%}}@media (prefers-reduced-motion:reduce){.ai-chat-button,.ai-chat-button:hover,.ai-chat-button:active{transition:none}.ai-chat-typing,.ai-typing-dots span,.ai-typing-indicator__shimmer,.ai-chat-overlay,.ai-chat-panel,.ai-message{animation:none}}.ai-message__body{flex-direction:column;gap:6px;min-width:0;display:flex}.ai-message__bubble.is-error{background:var(--as-red-soft);border-color:var(--as-red);color:var(--as-red)}.ai-trace{max-width:100%;font-size:11.5px;line-height:1.45}.ai-trace__failed{color:var(--as-red);margin:0;font-size:11px;font-weight:600}.ai-trace--ungrounded{border:1px dashed var(--as-amber);background:var(--as-amber-soft);color:var(--as-amber);border-radius:999px;align-items:center;gap:6px;padding:3px 9px;display:inline-flex}.ai-trace__dot{background:currentColor;border-radius:999px;width:5px;height:5px}.ai-message--agent .ai-message__bubble{white-space:normal}.ai-message__bubble .md-body{min-width:0}.ai-message__bubble .md-body>:first-child{margin-top:0}.ai-message__bubble .md-body>:last-child{margin-bottom:0}.ai-message__bubble .md-body p{margin:0 0 8px}.ai-message__bubble .md-body strong{color:var(--as-navy);font-weight:700}.ai-message__bubble .md-body em{font-style:italic}.ai-message__bubble .md-body h3,.ai-message__bubble .md-body h4,.ai-message__bubble .md-body h5,.ai-message__bubble .md-body h6{color:var(--as-navy);margin:10px 0 6px;font-weight:700;line-height:1.3}.ai-message__bubble .md-body h3{font-size:14px}.ai-message__bubble .md-body h4{font-size:13.5px}.ai-message__bubble .md-body h5,.ai-message__bubble .md-body h6{font-size:13px}.ai-message__bubble .md-body ul,.ai-message__bubble .md-body ol{margin:0 0 8px;padding-left:18px}.ai-message__bubble .md-body li{margin:2px 0}.ai-message__bubble .md-body code{background:var(--as-blue-soft);color:var(--as-blue);border-radius:5px;padding:1px 5px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12px}.ai-message__bubble .md-body pre{background:#0b2a52;border-radius:8px;margin:0 0 8px;padding:10px 12px;overflow-x:auto}.ai-message__bubble .md-body pre code{color:#e6edf7;background:0 0;padding:0;font-size:12px;line-height:1.5}.ai-message__bubble .md-body a{color:var(--as-blue);text-underline-offset:2px;text-decoration:underline}.ai-message__bubble .md-body a:hover{color:var(--as-blue-2)}
