pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}.hljs{background:#fff;color:#000}.hljs-comment,.hljs-quote,.hljs-variable{color:green}.hljs-keyword,.hljs-selector-tag,.hljs-built_in,.hljs-name,.hljs-tag{color:#00f}.hljs-string,.hljs-title,.hljs-section,.hljs-attribute,.hljs-literal,.hljs-template-tag,.hljs-template-variable,.hljs-type,.hljs-addition{color:#a31515}.hljs-deletion,.hljs-selector-attr,.hljs-selector-pseudo,.hljs-meta{color:#2b91af}.hljs-doctag{color:gray}.hljs-attr{color:red}.hljs-symbol,.hljs-bullet,.hljs-link{color:#00b0e8}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:700}html,body{margin:0;width:100%;height:100%;overflow:hidden}body{position:relative}:root{--accent-one: #3fbf54;--accent-two: #39a8e4;--accent-one-soft: #bef2f9;--accent-one-pale: #dfeffc;--invalid-red: #ef4444}#background{position:fixed;top:0;left:0;width:100%;height:100%;z-index:0;filter:blur(10px);pointer-events:none}#app-shell{position:relative;z-index:1;height:100vh;overflow:hidden;display:flex;flex-direction:column}#container{font-family:Inter,Roboto,Helvetica Neue,Arial Nova,Nimbus Sans,Arial,sans-serif;min-height:100%}#container:not(.source-view){min-height:100vh}main{height:100%;display:flex;justify-content:center}#container:not(.source-view) main{min-height:100vh;align-items:center}#hero{display:flex;align-items:start;flex-direction:column;justify-content:center;padding:16px}#hero h1{font-size:22px;margin-top:.25em}#hero pre{font-family:ui-monospace,Cascadia Code,Source Code Pro,Menlo,Consolas,DejaVu Sans Mono,monospace;font-weight:400;background:linear-gradient(14deg,var(--accent-one) 0%,var(--accent-two) 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;margin:0}#hero code{display:inline-block;background:linear-gradient(66.77deg,var(--accent-one-soft) 0%,var(--accent-one-pale) 100%) padding-box,linear-gradient(155deg,var(--accent-one) 0%,var(--accent-two) 18%,var(--accent-one-pale) 45%) border-box;border-radius:8px;border:2px solid transparent;padding:6px 8px}#brand{display:flex;align-items:center;gap:10px}#brand h1{margin:0;line-height:1}.brand-link{text-decoration:none;color:inherit;display:flex;align-items:center;gap:10px}.drop-upload{width:min(460px,92vw)}.drop-label{display:flex;align-items:center;justify-content:center;min-height:180px;padding:16px;border-radius:12px;border:4px solid transparent;background:linear-gradient(66.77deg,var(--accent-one-soft) 0%,var(--accent-one-pale) 100%) padding-box,linear-gradient(155deg,var(--accent-one) 0%,var(--accent-two) 33%,var(--accent-one-pale) 65%) border-box;cursor:pointer;user-select:none}.drop-label:hover,.drop-label.is-dragging{background:linear-gradient(66.77deg,var(--accent-one-soft) 0%,var(--accent-one-pale) 100%) padding-box,linear-gradient(155deg,var(--accent-one) 0%,var(--accent-two) 33%,var(--accent-one-pale) 65%) border-box}.drop-label.is-invalid{background:linear-gradient(66.77deg,var(--accent-one-soft) 0%,var(--accent-one-pale) 100%) padding-box,linear-gradient(155deg,var(--invalid-red) 0%,var(--invalid-red) 33%,var(--accent-one-pale) 65%) border-box;animation:invalid-flash .35s ease}#file-input{display:none}.drop-text{font-size:1.1rem;font-weight:600;background:linear-gradient(14deg,var(--accent-one) 0%,var(--accent-two) 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}@keyframes invalid-flash{0%{transform:translate(0)}25%{transform:translate(-2px)}50%{transform:translate(2px)}75%{transform:translate(-1px)}to{transform:translate(0)}}.fill-stone-900{fill:#1c1917}.fill-stone-100{fill:#f5f5f4}#container.source-view main{justify-content:start}#container.source-view #hero{justify-content:start}#container.app-header-shell{flex:0 0 auto;min-height:0;height:auto;z-index:10}.code-panel{margin:20px 16px;border-radius:12px;border:4px solid transparent;background:linear-gradient(66.77deg,var(--accent-one-soft) 0%,var(--accent-one-pale) 100%) padding-box,linear-gradient(155deg,var(--accent-one) 0%,var(--accent-two) 33%,var(--accent-one-pale) 65%) border-box;height:clamp(340px,calc(100vh - 220px),760px);display:flex;flex-direction:column;overflow:hidden}.viewer-grid{display:flex;flex-direction:row;gap:0;align-items:stretch;padding:16px 16px 0;flex:1 1 0;min-height:0}.viewer-grid .code-panel{margin:0;height:100%;flex:0 0 auto;min-width:0}.panel-splitter{flex:0 0 12px;cursor:col-resize;display:flex;align-items:center;justify-content:center;user-select:none;touch-action:none;z-index:5}.panel-splitter:after{content:"";display:block;width:4px;height:48px;border-radius:2px;background:linear-gradient(14deg,var(--accent-one) 0%,var(--accent-two) 100%);opacity:.4;transition:opacity .15s,height .15s}.panel-splitter:hover:after,.panel-splitter:focus-visible:after,.panel-splitter.is-dragging:after{opacity:1;height:64px}.panel-splitter:focus-visible{outline:none}.code-panel-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px}.code-panel-header h2{margin:0;font-size:.95rem;font-weight:600}.code-panel-actions{display:flex;align-items:center;gap:4px;margin-left:auto}.panel-action-btn{display:inline-flex;align-items:center;justify-content:center;padding:4px;border:none;background:transparent;border-radius:6px;cursor:pointer;transition:opacity .15s}.panel-action-btn svg{stroke:url(#panel-btn-gradient);transition:opacity .15s}.panel-action-btn:hover{opacity:.75}.panel-action-btn:active{opacity:.55}.panel-action-btn.panel-action-btn--text{padding:0;font-size:.85rem;font-weight:400;font-family:ui-monospace,Cascadia Code,Source Code Pro,Menlo,Consolas,DejaVu Sans Mono,monospace;background:linear-gradient(14deg,var(--accent-one) 0%,var(--accent-two) 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;white-space:nowrap}.panel-action-btn.panel-action-btn--text:disabled{opacity:.4;cursor:not-allowed;pointer-events:none}.panel-action-btn .icon-check,.panel-action-btn[data-copied] .icon-copy{display:none}.panel-action-btn[data-copied] .icon-check{display:block;stroke:var(--accent-one)}.code-file-name{font-family:ui-monospace,Cascadia Code,Source Code Pro,Menlo,Consolas,DejaVu Sans Mono,monospace;font-weight:400;background:linear-gradient(14deg,var(--accent-one) 0%,var(--accent-two) 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;margin:0}.code-surface{margin:0;padding:14px;flex:1 1 auto;min-height:0;min-width:0;overflow:auto;box-sizing:border-box;background:linear-gradient(66.77deg,#bff9c800,#d5f1da00);font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:.88rem;line-height:1.6}.code-surface .hljs{display:block;min-width:max(100%,max-content);width:max-content;overflow:visible;white-space:pre;background:transparent;padding:0}pre.code-surface code.hljs{overflow:visible;padding:0}.code-panel .pre{font-family:ui-monospace,Cascadia Code,Source Code Pro,Menlo,Consolas,DejaVu Sans Mono,monospace;font-weight:400;background:linear-gradient(14deg,var(--accent-one) 0%,var(--accent-two) 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;margin:0}.code-panel .code-panel-header{flex:0 0 auto;z-index:2;border-bottom:none;background:linear-gradient(66.77deg,var(--accent-one-soft) 0%,var(--accent-one-pale) 100%)}.code-panel .code-surface{width:100%}.llm-status-panel{margin:16px;display:flex;flex-direction:column;height:auto;overflow:hidden}.llm-status-panel[data-expanded=true]{height:clamp(220px,36vh,420px)}.viewer-grid .llm-status-panel{margin:0;height:100%}.viewer-grid .llm-status-panel[data-expanded=true]{height:100%}.llm-status-group{display:flex;align-items:center;gap:8px}.llm-status-dot{width:10px;height:10px;border-radius:999px;background:#000;flex:0 0 auto}.llm-status-dot[data-state=Running]{background:var(--accent-two);animation:llm-pulse 1.5s infinite}.llm-status-dot[data-state=Warning]{background:#f59e0b;animation:llm-pulse-warning 1.5s infinite}.llm-status-dot[data-state=Done]{background:#22c55e}.llm-status-dot[data-state=Error]{background:var(--invalid-red)}.llm-status-text{font-family:ui-monospace,Cascadia Code,Source Code Pro,Menlo,Consolas,DejaVu Sans Mono,monospace;font-size:.85rem;font-weight:400;background:linear-gradient(14deg,var(--accent-one) 0%,var(--accent-two) 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.llm-output{position:relative;border-top:none;display:flex;flex-direction:column;flex:1 1 auto;min-height:0;overflow:auto}.llm-output-surface{border-top:none;flex:1 1 auto;max-height:100%;height:100%;min-height:0;min-width:0;overflow-x:hidden;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;touch-action:pan-y;background:linear-gradient(66.77deg,#bff9c800,#d5f1da00);white-space:pre-wrap;overflow-wrap:break-word;word-break:normal;box-sizing:border-box}.llm-output-surface .hljs{min-width:0;max-width:100%;width:100%;white-space:pre-wrap;overflow-wrap:break-word;word-break:normal}.llm-output-cursor{display:none;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:.88rem;line-height:1.6;color:#000}.llm-output-cursor:after{content:"...";animation:llm-ellipsis 1.2s steps(3,end) infinite}@keyframes llm-ellipsis{0%{content:""}25%{content:"."}50%{content:".."}75%{content:"..."}to{content:""}}.llm-status-panel[data-running=true] .llm-output-cursor{display:block;min-height:1.6em}.app-footer{position:relative;margin:0 16px;display:flex;align-items:center;flex:0 0 auto;min-height:52px}.app-footer-inner{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 2px;width:100%}.app-footer-text,.app-footer-note{font-family:Inter,Roboto,Helvetica Neue,Arial Nova,Nimbus Sans,Arial,sans-serif;font-size:.85rem;font-weight:700;color:#000}.app-footer-note{text-align:right}@keyframes llm-pulse{0%{box-shadow:0 0 0 0 var(--accent-two)}70%{box-shadow:0 0 0 8px #0af0}to{box-shadow:0 0 #0af0}}@keyframes llm-pulse-warning{0%{box-shadow:0 0 #f59e0b}70%{box-shadow:0 0 0 8px #f59e0b00}to{box-shadow:0 0 #f59e0b00}}@media screen and (max-width:768px){#container{display:flex;flex-direction:column}.viewer-grid{flex-direction:column;padding:0}.panel-splitter{display:none}.viewer-grid .code-panel{margin:16px;width:auto!important}.code-panel{height:min(62vh,560px)}.llm-status-panel{margin:4px 16px 20px}.app-footer{margin:4px 16px 24px}.app-footer-inner{flex-direction:column;align-items:flex-start}.app-footer-note{text-align:left}#container.source-view #hero{display:block;padding-top:10%}#hero h1{line-height:1.5}}#github[data-astro-cid-mnn6ylu4]{display:flex;align-items:center}.github-button[data-astro-cid-mnn6ylu4]{text-decoration:none;color:inherit;display:inline-flex;align-items:center;gap:10px}.github-icon[data-astro-cid-mnn6ylu4]{width:22px;height:22px;fill:currentColor;flex:0 0 auto}.github-button[data-astro-cid-mnn6ylu4] h1[data-astro-cid-mnn6ylu4]{margin:0;line-height:1}
