@import url('');
:root{font-family:Inter,"Segoe UI",sans-serif;color:#252b29;background:#f5f5f0;font-size:clamp(14px,.65vw + 8px,24px);--line:#dcded5;--green:#274f38;--muted:#70786e}
*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button{cursor:pointer;min-height:2.65rem;border:1px solid var(--line);background:transparent;border-radius:.4rem;padding:.5rem .8rem;color:inherit;transition:background .15s}button:hover:not(:disabled){background:#e6eadd}button:disabled{opacity:.4;cursor:not-allowed}button:focus-visible,input:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{outline:2px solid #54824d;outline-offset:3px}input,textarea{border:1px solid var(--line);border-radius:.4rem;background:#fcfcf9;color:inherit}textarea{resize:vertical;width:100%;padding:1rem;line-height:1.6}input{padding:.7rem;width:100%;min-width:0}button[hidden],[hidden]{display:none!important}.app-header{height:5.4rem;display:flex;align-items:center;justify-content:space-between;padding:0 2rem;border-bottom:1px solid var(--line);gap:1rem}.brand{display:flex;align-items:center;gap:.45rem;text-decoration:none;color:inherit;font-size:1.3rem;white-space:nowrap}.brand strong{font-weight:450;color:#73816d}.brand-icon{background:var(--green);color:#e7f0bd;border-radius:.5rem;width:2.2rem;height:2.2rem;display:grid;place-items:center;margin-right:.4rem;font-weight:750}.edition{font-size:.56rem;letter-spacing:.15em;margin-left:1rem;color:var(--muted)}.header-actions{display:flex;gap:1.2rem;align-items:center}.route{font-size:.75rem;color:var(--muted)}main{display:grid;grid-template-columns:clamp(18rem,25vw,27rem) minmax(0,1fr);height:calc(100dvh - 5.4rem);padding:1.7rem 2rem;gap:2rem}aside{display:flex;flex-direction:column;overflow:auto;min-height:0;padding-right:.3rem}.section-heading,.label-row,.field-meta{display:flex;align-items:center;justify-content:space-between;gap:.5rem}.eyebrow{font-size:.64rem;font-weight:650;letter-spacing:.17em;color:var(--muted)}.section-heading button{border:0;font-size:.68rem;padding:.3rem;min-height:2.2rem}h1{font-size:clamp(1.8rem,2.1vw,3.1rem);line-height:1.12;letter-spacing:-.055em;font-weight:500;margin:1.5rem 0 .8rem}.intro{color:var(--muted);font-size:.82rem;line-height:1.5;margin-bottom:1.7rem}.label-row{font-size:.8rem;font-weight:600;margin-bottom:.6rem}.label-row button{font-size:.72rem;min-height:2.2rem}#prompt{height:9rem;min-height:5rem;max-height:35vh;font-size:.82rem}.field-meta{font-size:.62rem;color:var(--muted);margin:.5rem 0 1.3rem}.model-label{font-size:.75rem;display:block;margin-bottom:.5rem}#model{font-size:.8rem}.primary{background:var(--green);color:#fff;width:100%;margin-top:.8rem;display:flex;justify-content:space-between;padding:.8rem 1rem}.primary:hover:not(:disabled){background:#376348}.small-note{font-size:.73rem;line-height:1.5;color:var(--muted)}.follow-section{border-top:1px solid var(--line);margin-top:1.4rem;padding-top:1.4rem}.badge{font-size:.55rem;letter-spacing:.08em;background:#e7ebdd;border-radius:.3rem;padding:.35rem .5rem;color:#57664d}#followup{height:5.8rem;font-size:.8rem}#follow{display:flex;justify-content:space-between;width:100%;margin-top:.6rem;font-size:.8rem}.aside-footer{margin-top:auto;padding-top:1.5rem;font-size:.66rem;color:var(--muted);display:flex;align-items:center;gap:.5rem}.status-dot{width:.4rem;height:.4rem;background:#76935b;border-radius:50%}.workspace{min-width:0;min-height:0;border:1px solid var(--line);border-radius:.8rem;background:#fff;display:flex;flex-direction:column;overflow:hidden}.output-heading{padding:1.4rem 1.6rem 1.1rem;display:flex;align-items:center;justify-content:space-between;gap:1rem}h2{font-size:1.4rem;letter-spacing:-.04em;font-weight:500;margin:.35rem 0 0}.status-wrap{display:flex;align-items:center;gap:.6rem}#status{font-size:.72rem;color:var(--muted)}.toolbar{display:flex;justify-content:space-between;gap:1rem;padding:.7rem 1.3rem;border-block:1px solid var(--line);background:#fafbf7}.tabs,.output-actions{display:flex;gap:.35rem;align-items:center}.toolbar button{font-size:.75rem;white-space:nowrap}.tabs button{border-color:transparent}.tabs .selected{background:#e8eddf;border-color:#dce3d3}.accent{color:var(--green);background:#f0f5e7}.separator{height:1.2rem;width:1px;background:var(--line);margin:0 .3rem}.search-row{display:flex;gap:.6rem;align-items:center;padding:.5rem 1.4rem;border-bottom:1px solid #eceee6}.search-row input{border:0;background:transparent;padding:.4rem;font-size:.78rem}.search-row>span:first-child{font-size:1.5rem;color:var(--muted)}#matches{font-size:.66rem;white-space:nowrap;color:var(--muted)}.search-row button{border:0;min-width:2.4rem;padding:.3rem}#output-scroll{overflow:auto;flex:1;min-height:0;overscroll-behavior:contain;scrollbar-gutter:stable;padding:clamp(1rem,2.5vw,3.5rem)}#empty{height:100%;min-height:16rem;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center}.empty-mark{font-size:2.7rem;color:#45633d;background:#eff2e7;width:4.5rem;height:4.5rem;border-radius:1rem;display:grid;place-items:center}h3{font-size:1.5rem;font-weight:450;letter-spacing:-.04em;margin:1.5rem 0 .5rem}#empty p{color:var(--muted);line-height:1.7;font-size:.84rem}.empty-hint{display:flex;gap:1.3rem;font-size:.65rem;color:#8a9184;margin-top:1.4rem}#output{font-size:1rem;line-height:1.8;overflow-wrap:anywhere;max-width:110ch;margin:auto}#output h1,#output h2,#output h3{line-height:1.3;letter-spacing:-.02em;margin:1.3em 0 .6em;font-weight:600}#output pre{background:#f5f6f0;border:1px solid #e1e5d9;border-radius:.5rem;padding:1.1rem;overflow:auto;font-size:.85rem;line-height:1.65;white-space:pre-wrap;tab-size:4}#output code{font-family:Consolas,monospace}#output :not(pre)>code{background:#eef1e7;padding:.15rem .3rem;border-radius:.2rem}#output blockquote{border-left:3px solid #7f9b67;margin-left:0;padding-left:1rem;color:#5e685a}#output table{display:block;overflow:auto;border-collapse:collapse}#output td,#output th{padding:.5rem .8rem;border:1px solid var(--line)}#output a{color:#356637}#output.raw{white-space:pre-wrap;font-family:Consolas,monospace;font-size:.9rem}mark{background:#f9e69e;color:#262d20}mark.current{background:#e8b94d;outline:2px solid #ab7e13}.output-footer{display:flex;justify-content:space-between;align-items:center;gap:.7rem;border-top:1px solid var(--line);padding:.7rem 1.4rem;font-size:.65rem;color:var(--muted)}.output-footer label{display:flex;align-items:center;gap:.4rem;white-space:nowrap}.output-footer input{width:auto;accent-color:var(--green)}#error{background:#fff0ea;color:#8e3826;padding:.9rem 1.5rem;font-size:.8rem;border-bottom:1px solid #efcdbf}#toast{position:fixed;bottom:1.5rem;left:50%;transform:translateX(-50%);padding:.8rem 1.4rem;background:#263e2c;color:#fff;box-shadow:0 4px 20px #0002;border-radius:.5rem;font-size:.85rem;z-index:10}
@media(min-width:2200px){main{gap:2.5rem;padding:2rem 3rem}#prompt{height:10rem}}
@media(max-width:1000px){main{padding:1rem;gap:1rem;grid-template-columns:17rem minmax(0,1fr)}.edition{display:none}.toolbar{flex-wrap:wrap;gap:.4rem;padding:.6rem}.output-actions{margin-left:auto}.output-footer{flex-wrap:wrap}.route{display:none}}
@media(max-width:700px){.app-header{height:4.5rem;padding:0 1rem}.brand{font-size:1.1rem}main{display:flex;flex-direction:column;height:auto;min-height:calc(100dvh - 4.5rem);padding:.8rem;gap:.8rem}aside{overflow:visible;padding:0}.section-heading{padding:0 .3rem}h1,.intro,.aside-footer{display:none}#prompt-body{padding:.6rem .3rem}#prompt{height:6rem}.field-meta{margin-bottom:.7rem}.follow-section{margin:.5rem .3rem 0;padding-top:.7rem}.follow-section .small-note{display:none}#followup{height:4rem}#follow{margin-top:.3rem}.workspace{height:78dvh;min-height:30rem;flex:none}.output-heading{padding:1rem}#status{font-size:.65rem}.toolbar button{padding:.5rem .6rem;min-height:2.8rem}.search-row{padding:.3rem .7rem}.output-footer{padding:.6rem .8rem}#txt-status{display:none}.empty-hint{gap:.8rem}#empty h3{font-size:1.35rem}.collapsed #prompt-body{display:none}.collapsed .follow-section{margin-bottom:.4rem}}
.output-actions{flex-wrap:wrap}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}