.op-chat-surface-layer{--op-surface-bg:#fff;--op-surface-text:#171717;--op-surface-muted:#737373;--op-surface-soft:#f3f3f3;--op-surface-line:#e9e9e9;--op-surface-action:var(--op-chat-action,#007f91);--op-surface-action-ink:var(--op-chat-action-ink,#fff);position:fixed;top:var(--op-surface-vtop,0);left:var(--op-surface-vleft,0);width:var(--op-surface-vwidth,100vw);height:var(--op-surface-vh,100dvh);z-index:120;display:flex;align-items:flex-end;justify-content:center;padding:24px;color:var(--op-surface-text);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;-webkit-tap-highlight-color:transparent}.dark .op-chat-surface-layer{--op-surface-bg:#242424;--op-surface-text:#f4f4f4;--op-surface-muted:#ababab;--op-surface-soft:#303030;--op-surface-line:#3a3a3a;--op-surface-action:var(--op-chat-action,#59d3df);--op-surface-action-ink:var(--op-chat-action-ink,#07343b)}.op-chat-surface-layer *{box-sizing:border-box}.op-chat-surface-backdrop{position:absolute;inset:0;background:rgb(0 0 0/24%);animation:op-chat-surface-fade .18s ease-out both}.dark .op-chat-surface-backdrop{background:rgb(0 0 0/50%)}.op-chat-surface{position:relative;display:flex;flex-direction:column;width:min(100%,440px);max-height:calc(var(--op-surface-vh,100dvh) - 48px);min-height:0;overflow:hidden;border:0;border-radius:28px;background:var(--op-surface-bg);color:var(--op-surface-text);box-shadow:0 18px 70px rgb(0 0 0/12%);animation:op-chat-surface-appear .24s cubic-bezier(.22,1,.36,1) both}.op-chat-surface button,.op-chat-surface input,.op-chat-surface select{font:inherit}.op-chat-surface button{cursor:pointer}.op-chat-surface button:disabled{cursor:default;opacity:.45}.op-chat-surface a:focus-visible,.op-chat-surface button:focus-visible,.op-chat-surface input:focus-visible,.op-chat-surface select:focus-visible{outline:2px solid var(--op-surface-action);outline-offset:3px}.op-chat-surface:focus{outline:none}.op-chat-surface-grab{display:block;flex:none;width:36px;height:4px;margin:10px auto 0;border-radius:99px;background:color-mix(in srgb,var(--op-surface-muted) 38%,transparent)}.op-chat-surface-head{display:flex;align-items:flex-start;flex:none;gap:16px;padding:20px 22px 16px}.op-chat-surface-head>div{min-width:0;flex:1}.op-chat-surface-head h2{display:flex;align-items:center;gap:8px;margin:0;padding:0;font-family:inherit;font-size:20px;font-weight:600;line-height:1.3;letter-spacing:-.025em;text-transform:none}.op-chat-surface-title-icon{display:grid;place-items:center;width:18px;height:18px;flex:none;color:var(--op-surface-action)}.op-chat-surface-title-copy{flex:1;min-width:0}.op-chat-surface-head p{margin:10px 0 0;padding:0;color:var(--op-surface-muted);font-size:14px;line-height:1.6}.op-chat-surface-close{display:grid;flex:none;place-items:center;width:32px;height:32px;margin-top:-4px;margin-right:-4px;padding:0;border:0;border-radius:50%;color:var(--op-surface-muted);background:var(--op-surface-soft)}.op-chat-surface-close:hover{color:var(--op-surface-text);background:color-mix(in srgb,var(--op-surface-text) 10%,var(--op-surface-bg))}.op-chat-surface .op-chat-surface-close:focus-visible{outline:2px solid var(--op-surface-muted);outline-offset:2px}.op-chat-surface-body{min-height:0;padding:0 22px max(22px,env(safe-area-inset-bottom,0px));overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--op-surface-line) transparent}.is-popover .op-chat-surface{width:min(100%,380px)}.op-chat-surface-layer.is-desktop-popover{padding:0;pointer-events:none}.is-desktop-popover .op-chat-surface-backdrop{display:none}.is-desktop-popover .op-chat-surface{position:absolute;left:var(--op-surface-popover-left,12px);top:var(--op-surface-popover-top,12px);width:var(--op-surface-popover-width,320px);max-height:var(--op-surface-popover-height,calc(100dvh - 48px));border:1px solid var(--op-surface-line);border-radius:24px;pointer-events:auto;animation-name:op-chat-popover-appear}.is-desktop-popover .op-chat-surface-grab{display:none}.is-desktop-popover .op-chat-surface-head{padding:20px 20px 10px}.op-chat-surface-layer.is-desktop-popover.is-closing .op-chat-surface{animation-name:op-chat-popover-leave}.op-chat-surface-layer.is-drawer-placement{padding:12px}.is-drawer-placement .op-chat-surface{width:100%;max-height:calc(var(--op-surface-vh,100dvh) - 24px);border-radius:24px}.is-drawer-placement .op-chat-surface-backdrop{background:rgb(0 0 0/8%)}.dark .is-drawer-placement .op-chat-surface-backdrop{background:rgb(0 0 0/22%)}.op-chat-surface-drawer-dismiss{position:fixed;left:var(--op-surface-dismiss-left,100vw);top:var(--op-surface-dismiss-top,0);width:var(--op-surface-dismiss-width,0);height:var(--op-surface-dismiss-height,100dvh);background:transparent;cursor:pointer}.op-chat-tool-list{display:flex;flex-direction:column;gap:3px}.op-chat-tools-sheet .op-chat-surface-head{padding:18px 22px 10px}.op-chat-tools-sheet .op-chat-surface-head h2{font-size:17px}.op-chat-tools-sheet .op-chat-surface-body{padding:0 12px max(16px,env(safe-area-inset-bottom,0px))}.op-chat-tool-item{display:flex;align-items:center;gap:13px;min-height:66px;width:100%;padding:11px 12px;border:0;border-radius:16px;background:transparent;color:var(--op-surface-text);text-align:left}.op-chat-tool-item:hover{background:var(--op-surface-soft)}.op-chat-tool-icon{display:grid;flex:none;place-items:center;width:38px;height:38px;border-radius:12px;color:var(--op-surface-text);background:var(--op-surface-soft)}.op-chat-tool-icon svg{width:20px;height:20px;stroke-width:1.7}.op-chat-tool-copy{display:flex;flex:1;flex-direction:column;min-width:0;gap:3px}.op-chat-tool-copy>span{font-size:16px;font-weight:500;line-height:1.35}.op-chat-tool-copy small{color:var(--op-surface-muted);font-size:12px;line-height:1.45}.op-chat-tool-end{flex:none}.op-chat-tool-end,.op-chat-tool-hint,.op-chat-tool-item.is-locked .op-chat-tool-icon{color:var(--op-surface-muted)}.op-chat-tool-hint{margin:9px 12px 0;padding-top:12px;border-top:1px solid var(--op-surface-line);font-size:12px;line-height:1.5}.op-chat-surface-actions{display:flex;gap:10px}.op-chat-surface-primary,.op-chat-surface-secondary{display:flex;align-items:center;justify-content:center;gap:8px;min-height:48px;flex:1;min-width:0;padding:10px 18px;border:0;border-radius:999px;font-size:14px!important;font-weight:600!important;line-height:1.4;text-decoration:none}.op-chat-surface-primary{background:var(--op-surface-action);color:var(--op-surface-action-ink)}.op-chat-surface-primary:hover{filter:brightness(.94)}.op-chat-surface-primary svg{flex:none}.op-chat-surface-secondary{color:var(--op-surface-text);background:var(--op-surface-soft)}.op-chat-surface-secondary:hover{background:color-mix(in srgb,var(--op-surface-text) 10%,var(--op-surface-bg))}.op-chat-surface-layer.is-closing{pointer-events:none}.op-chat-surface-layer.is-closing .op-chat-surface{animation:op-chat-surface-leave .18s ease-in both}.op-chat-surface-layer.is-closing .op-chat-surface-backdrop{animation:op-chat-surface-fade .18s ease-in reverse both}@media (max-width:639px){.op-chat-surface-layer{padding:10px}.is-popover .op-chat-surface,.op-chat-surface{width:100%;max-height:calc(var(--op-surface-vh,100dvh) - 24px)}}@media (max-width:359px){.op-chat-surface-head{gap:10px}.op-chat-surface-head h2{font-size:19px}.op-chat-surface-actions{flex-direction:column}}@media (prefers-reduced-motion:reduce){.op-chat-surface-layer .op-chat-surface,.op-chat-surface-layer .op-chat-surface-backdrop{animation:none}}@keyframes op-chat-surface-fade{0%{opacity:0}to{opacity:1}}@keyframes op-chat-surface-appear{0%{opacity:0;transform:translateY(18px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes op-chat-surface-leave{to{opacity:0;transform:translateY(14px) scale(.99)}}@keyframes op-chat-popover-appear{0%{opacity:0;transform:scale(.985)}to{opacity:1;transform:scale(1)}}@keyframes op-chat-popover-leave{to{opacity:0;transform:scale(.985)}}