.term-card .term-preview.completion-card-preview{background:#f4f6fb}.completion-card-preview .completion-card-editor{color:#dbe5f6;font-family:var(--font-geist-mono), ui-monospace, monospace;background:#222b3c;border:1px solid #cbd4e5;border-radius:5px;gap:4px;padding:7px 8px;display:grid}.completion-card-preview .completion-card-editor-bar{color:#96a6c3;border-bottom:1px solid #3d4a62;justify-content:space-between;gap:6px;padding-bottom:4px;display:flex}.completion-card-preview .completion-card-editor-bar b{color:#a9bcf1;font-size:8px}.completion-card-preview .completion-card-editor code{color:#dbe5f6;gap:2px;min-width:0;font-size:8px;line-height:1.35;display:grid;overflow:hidden}.completion-card-preview .completion-card-editor code span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.completion-card-preview .completion-card-editor code strong{color:#95d5aa;font-size:inherit}.completion-card-preview .completion-card-editor code .is-cursor{color:#e9be70;font-style:normal}.completion-card-preview .completion-card-verdict{color:#707d96;justify-content:space-between;gap:5px;display:flex}.completion-card-preview .completion-card-verdict strong{color:#9b7437}.term-interactive-demo.completion-demo{background:#f5f6f8;border-color:#d9dee6;gap:14px}.completion-demo .completion-config{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.completion-demo .completion-config-label{color:var(--ink);letter-spacing:.02em;font-size:12px;font-weight:700}.term-interactive-demo.completion-demo .completion-mode-btn,.term-interactive-demo.completion-demo .completion-temp-btn{color:#41414a;min-height:32px;font:inherit;background:#fff;border:1px solid #d4d8e0;border-radius:7px;padding:6px 12px;font-size:13px;font-weight:650}.term-interactive-demo.completion-demo .completion-mode-btn:hover,.term-interactive-demo.completion-demo .completion-temp-btn:hover{border-color:var(--ink);color:var(--ink)}.term-interactive-demo.completion-demo .completion-mode-btn[aria-pressed=true],.term-interactive-demo.completion-demo .completion-temp-btn[aria-pressed=true]{border-color:var(--ink);background:color-mix(in srgb, var(--ink) 8%, #fff);color:var(--ink)}.term-interactive-demo.completion-demo .completion-mode-btn:focus-visible,.term-interactive-demo.completion-demo .completion-temp-btn:focus-visible{outline:2px solid color-mix(in srgb, var(--ink) 45%, #fff);outline-offset:2px}.completion-demo .completion-prompt-preview{color:#cdd6e6;font-family:var(--font-geist-mono), ui-monospace, monospace;background:#222b3c;border-radius:9px;margin:0;padding:12px 14px}.completion-demo .completion-prompt-line{flex-wrap:wrap;align-items:center;gap:6px;font-size:12.5px;line-height:1.9;display:flex}.completion-demo .completion-prompt-line+.completion-prompt-line{margin-top:4px}.completion-demo .completion-prompt-chat{border-bottom:1px dashed #3d4a62;margin-bottom:8px;padding-bottom:8px}.completion-demo .completion-prompt-text{white-space:pre-wrap;color:#cdd6e6}.completion-demo .completion-prompt-prefix{color:#e6ecf7}.completion-demo .completion-prompt-suffix{color:#8b97b1}.completion-demo .completion-prompt-cursor{color:#e9be70;font-weight:700}.completion-demo .completion-token{font-family:var(--font-geist-mono), ui-monospace, monospace;border-radius:4px;padding:1px 6px;font-size:12px;display:inline-block}.completion-demo .completion-token-special{color:#e9be70;background:#3a2f1a;font-weight:600}.completion-demo .completion-prompt-note{color:#8b97b1;font-size:11.5px;font-family:var(--font-body);margin:8px 0 0}.completion-demo .completion-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.term-interactive-demo.completion-demo .completion-cta{min-height:38px;font:inherit;padding:9px 22px;font-size:14px;font-weight:750;transition:background-color .15s ease-out;background:var(--color-rausch-600)!important;color:#fff!important;border:0!important;border-radius:8px!important}.term-interactive-demo.completion-demo .completion-cta:hover{background:color-mix(in srgb, var(--color-rausch-600) 86%, #000)!important;color:#fff!important}.term-interactive-demo.completion-demo .completion-cta:focus-visible{outline:3px solid color-mix(in srgb, var(--color-rausch-600) 38%, #fff);outline-offset:2px}.term-interactive-demo.completion-demo .completion-chat-toggle{color:#41414a;min-height:38px;font:inherit;background:#fff;border:1px solid #d4d8e0;border-radius:8px;padding:8px 14px;font-size:13px;font-weight:650}.term-interactive-demo.completion-demo .completion-chat-toggle:hover{border-color:var(--ink);color:var(--ink)}.term-interactive-demo.completion-demo .completion-chat-toggle[aria-pressed=true]{border-color:var(--ink);background:color-mix(in srgb, var(--ink) 8%, #fff);color:var(--ink)}.term-interactive-demo.completion-demo .completion-chat-toggle:focus-visible{outline:2px solid color-mix(in srgb, var(--ink) 45%, #fff);outline-offset:2px}.completion-demo .completion-placeholder{color:#6d6d77;background:#fff;border:1px dashed #c8cdd6;border-radius:8px;margin:0;padding:10px 12px;font-size:13px}.completion-demo .completion-output{background:#222b3c;border-radius:9px;gap:8px;padding:12px 14px;display:grid}.completion-demo .completion-candidate{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.completion-demo .completion-candidate-label{color:#cdd6e6;font-family:var(--font-body);background:#3a4357;border-radius:4px;flex:none;padding:2px 8px;font-size:11px;font-weight:700}.completion-demo .completion-candidate-tokens{flex-wrap:wrap;gap:4px;display:flex}.completion-demo .completion-token-output{color:#95d5aa;font-family:var(--font-geist-mono), ui-monospace, monospace;background:#1f3a2c;border-radius:4px;padding:3px 7px;font-size:12.5px;font-weight:600;display:inline-block}.completion-flow{flex-wrap:wrap;align-items:center;gap:8px;margin:4px 0 10px;display:flex}.completion-flow b,.completion-flow span,.completion-flow strong{color:#41414a;background:#eef0f4;border-radius:6px;flex:none;padding:5px 11px;font-size:12.5px;font-weight:650}.completion-flow strong{background:color-mix(in srgb, var(--ink) 10%, #fff);color:var(--ink);border:1px solid color-mix(in srgb, var(--ink) 22%, #fff)}.completion-examples .scenario-grid article.is-good{background:#f4faf6;border-color:#cfe6d6 #cfe6d6 #cfe6d6 #5d9a74;border-left-style:solid;border-left-width:4px}.completion-examples .scenario-grid article.is-good b{color:#3f7a54}.completion-examples .scenario-grid article.is-bad{background:#fdf4f4;border-color:#ecc3c5 #ecc3c5 #ecc3c5 #c57779;border-left-style:solid;border-left-width:4px}.completion-examples .scenario-grid article.is-bad b{color:#9a4a4f}.completion-examples .scenario-grid code{font-family:var(--font-geist-mono), ui-monospace, monospace;background:#222b3c14;border-radius:4px;padding:1px 5px;font-size:.92em}@media (prefers-reduced-motion:reduce){.term-interactive-demo.completion-demo .completion-cta{transition:none}}.term-card .term-preview.completion-card-preview{--completion-card-cyan:#73d4c7;--completion-card-amber:#f0b55b;color:#18353d;background:#e8f1f0;gap:7px}.completion-card-preview .completion-card-editor{background:#14262e;border-color:#29454f;border-radius:9px;box-shadow:0 8px 18px #10272f29}.completion-card-preview .completion-card-editor-bar{color:#9db3ba;border-bottom-color:#34505a}.completion-card-preview .completion-card-editor-bar b{color:var(--completion-card-cyan)}.completion-card-preview .completion-card-editor code strong{color:var(--completion-card-cyan);background:#73d4c724;border-radius:3px;padding:1px 3px}.completion-card-preview .completion-card-editor code .is-cursor{color:var(--completion-card-amber)}.completion-card-preview .completion-card-verdict{color:#516d73;align-items:flex-end}.completion-card-preview .completion-card-verdict span{max-width:42%}.completion-card-preview .completion-card-verdict strong{color:#1d6f67;text-align:right;max-width:56%}.term-interactive-demo.completion-demo.completion-workbench-demo{--completion-deep:#132b34;--completion-panel:#1a3540;--completion-teal:#2b867f;--completion-mint:#73d4c7;--completion-amber:#d98a2b;--completion-pass:#287a5e;--completion-fail:#b54b43;color:#18353d;background:#edf6f4;border-color:#aacbc7;gap:14px;padding:clamp(13px,2.6vw,20px)}.completion-workbench{background:var(--completion-deep);color:#dce9eb;border:1px solid #294a54;border-radius:14px;min-width:0;overflow:hidden;box-shadow:0 18px 34px #1030372e}.completion-workbench-bar{background:#0e232b;border-bottom:1px solid #34515a;justify-content:space-between;align-items:center;gap:12px;padding:11px 14px;font-size:11px;display:flex}.completion-workbench-bar span{color:#c6d6d9;align-items:center;gap:7px;font-weight:800;display:inline-flex}.completion-workbench-bar i{background:var(--completion-mint);border-radius:50%;width:8px;height:8px;box-shadow:0 0 0 4px #73d4c71f}.completion-workbench-bar b{color:var(--completion-mint);letter-spacing:.04em;font-size:10px}.completion-workbench-context{background:var(--completion-panel);border-bottom:1px solid #2f4b55;flex-wrap:wrap;align-items:center;gap:6px;padding:9px 14px;font-size:10px;display:flex}.completion-workbench-context>span{color:#9db4ba;margin-right:2px;font-weight:800}.completion-workbench-context b{color:#d1e4e5;border:1px solid #4d6c74;border-radius:999px;padding:4px 7px;font-size:9px}.completion-workbench-context b.is-visible{color:#a3e7de;background:#73d4c71a;border-color:#438e84}.completion-workbench-context b.is-hidden{color:#f0c184;background:#d98a2b1a;border-color:#8d6d48}.completion-workbench-code{background:linear-gradient(135deg,#142a33,#183640);gap:2px;padding:clamp(16px,3vw,25px) 14px;display:grid}.completion-workbench-line{grid-template-columns:24px minmax(0,1fr);align-items:start;min-width:0;display:grid}.completion-workbench-line>i{color:#69838a;font:10px/1.55 var(--font-geist-mono), ui-monospace, monospace;-webkit-user-select:none;user-select:none;padding-top:2px;font-style:normal}.completion-workbench-line code{color:#e2ecee;min-width:0;font:12px/1.55 var(--font-geist-mono), ui-monospace, monospace;white-space:pre-wrap;overflow-wrap:anywhere}.completion-workbench-line code em{color:#8fb6e8;font-style:normal}.completion-workbench-line mark{border-bottom:1px solid var(--completion-mint);color:#9ce5dc;background:#73d4c724;border-radius:3px;padding:2px 4px;display:inline}.completion-workbench-line mark kbd{color:#bed2d5;font:8px var(--font-geist-mono), ui-monospace, monospace;background:#233f48;border:1px solid #68838a;border-bottom-width:2px;border-radius:3px;margin-left:6px;padding:1px 4px}.completion-workbench-line strong{font:inherit}.completion-workbench-line strong.is-inserted{color:#a6e8df;background:#73d4c729;border-radius:3px;padding:1px 3px}.completion-workbench-line strong.is-error{color:#ffaaa3;text-underline-offset:3px;background:#b54b4333;border-radius:3px;padding:1px 3px;-webkit-text-decoration:underline wavy #e17369;text-decoration:underline wavy #e17369}.completion-workbench-test{background:#0f252d;border-top:1px solid #34515a;justify-content:space-between;align-items:center;gap:12px;padding:10px 14px;font-size:10px;display:flex}.completion-workbench-test>span{color:#9bb1b6;font-family:var(--font-geist-mono), ui-monospace, monospace}.completion-workbench-test strong{text-align:right;font-size:10px}.completion-workbench-test .is-waiting{color:#e6ba78}.completion-workbench-test .is-pass{color:#78d8b6}.completion-workbench-test .is-fail{color:#ffaaa3}.completion-workbench-conclusion{color:#c5dadd;background:#17323c;border-top:1px solid #2f4a53;margin:0;padding:11px 14px 13px;font-size:11px;font-weight:750;line-height:1.55}.completion-workbench.has-error .completion-workbench-conclusion{color:#ffc4bd;background:#3b292d;border-top-color:#6d4546}.completion-workbench-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.term-interactive-demo.completion-demo.completion-workbench-demo .completion-workbench-actions button{color:#205c58;min-height:44px;font:inherit;background:#fff;border:1px solid #7ea9a3;border-radius:10px;padding:9px 12px;font-size:11px;font-weight:850}.term-interactive-demo.completion-demo.completion-workbench-demo .completion-workbench-actions button:hover{border-color:var(--completion-teal);color:#164b48;background:#ddf0ed}.term-interactive-demo.completion-demo.completion-workbench-demo .completion-workbench-actions button[aria-pressed=true]{border-color:var(--completion-teal);background:var(--completion-teal);color:#fff}.term-interactive-demo.completion-demo.completion-workbench-demo .completion-workbench-actions button.completion-workbench-accept{background:var(--completion-amber);color:#291b0a;border-color:#b87124}.term-interactive-demo.completion-demo.completion-workbench-demo .completion-workbench-actions button.completion-workbench-accept:hover{background:#eba649;border-color:#955716}.term-interactive-demo.completion-demo.completion-workbench-demo .completion-workbench-actions button:focus-visible{outline-offset:3px;outline:3px solid #2b867f66}.completion-workbench-status{border-left:4px solid var(--completion-teal);color:#245c58;background:#dcefeb;border-radius:8px;margin:0;padding:10px 12px;font-size:11px;font-weight:750;line-height:1.55}@media (max-width:620px){.completion-card-preview .completion-card-verdict{flex-direction:column;align-items:flex-start}.completion-card-preview .completion-card-verdict span,.completion-card-preview .completion-card-verdict strong{text-align:left;max-width:100%}.completion-workbench-actions{grid-template-columns:1fr}.completion-workbench-test{flex-direction:column;align-items:flex-start;gap:4px}.completion-workbench-test strong{text-align:left}}
