:root{color-scheme:dark;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:16px;background:#101418;color:#e5eaf0;--muted:#9aa9b6;--line:#303b43;--accent:#93aaca}*{box-sizing:border-box}body{margin:0}a{color:inherit;text-decoration:none}a:hover{color:var(--accent)}button,input,textarea,select{font:inherit}button,.file-button{cursor:pointer;border:1px solid #3b4851;border-radius:6px;background:#252e35;color:#e5eaf0;font-size:.875rem;padding:8px 13px;white-space:nowrap}button:hover:not(:disabled),.file-button:hover{border-color:#8da5b5;background:#303c44}button:disabled{opacity:.4;cursor:default}button.primary{background:var(--accent);border-color:var(--accent);color:#131c29;font-weight:650}button.primary:hover:not(:disabled){background:#b0bfd4}button.quiet{background:transparent;border-color:transparent;color:#c3d0da;padding:6px 8px}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid var(--accent);outline-offset:3px}header{height:76px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:0 max(28px,calc((100vw - 1440px)/2))}.brand{font-size:1.1rem;font-weight:650;display:flex;align-items:center;gap:12px}.mark{font-family:monospace;color:var(--accent);font-size:1.5rem}nav{display:flex;gap:28px;font-size:.875rem;color:var(--muted)}main{max-width:1440px;margin:0 auto;padding:32px 28px}.intro{display:flex;align-items:center;justify-content:space-between;margin-bottom:26px}h1{font-size:clamp(1.5rem,3vw,2rem);letter-spacing:-.035em;margin:0 0 10px;font-weight:600}.intro p{color:var(--muted);margin:0;line-height:1.6}.badge{border:1px solid var(--line);padding:7px 12px;border-radius:20px;color:var(--muted);font: .875rem ui-monospace,monospace;white-space:nowrap}.machine{display:flex;justify-content:space-between;align-items:center;border:1px solid var(--line);border-radius:9px;background:#191f24;padding:16px 18px;gap:20px}.status,.controls{display:flex;align-items:center;gap:18px}.status{font-size:.875rem}.status strong{font-weight:600}.status>span:not(:first-child){color:var(--muted);white-space:nowrap}#status-dot{width:8px;height:8px;background:#82909a;border-radius:50%;flex-shrink:0}#status-dot.running{background:var(--accent)}.controls label{display:flex;gap:8px;align-items:center;font-size:.875rem;color:var(--muted)}select{appearance:none;padding:8px 26px 8px 10px;border:1px solid #3b4851;border-radius:6px;background:#10181d url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%239aa9b6'%3E%3Cpath d='m3 4 3 3 3-3'/%3E%3C/svg%3E") right 8px center/12px no-repeat;color:#e5eaf0;font-size:.875rem}#progress{font-size:.875rem;color:var(--muted);min-height:30px;padding:6px 0}#error{border:1px solid #aa5d5d;color:#ffd4d4;padding:12px 16px;margin-bottom:20px;border-radius:7px;white-space:pre-wrap;overflow-wrap:anywhere}.workspace{display:grid;grid-template-columns:minmax(320px,1fr) minmax(360px,1fr);gap:20px}.panel{border:1px solid var(--line);border-radius:9px;overflow:hidden;background:#141a1f}.panel-head{display:flex;align-items:center;gap:12px;padding:12px 16px;border-bottom:1px solid var(--line);min-height:54px;background:#1b2228}.panel-head h2{font-size:.875rem;margin:0;font-weight:600;flex:1}.panel-head>span{font-size:.875rem;color:var(--muted)}.panel-head>div{display:flex;gap:8px;align-items:center}#count{color:var(--muted);padding-left:8px}.file-button{border:0;background:transparent;padding:6px 8px}.project{display:flex;align-items:center;gap:14px;border-bottom:1px solid #29333b;padding:10px 16px;font-size:.875rem;color:var(--muted)}input{background:#10181d;color:#e5eaf0;border:1px solid #3b4851;border-radius:5px;padding:6px 10px;min-width:0}.project input{width:100%}#yaml{display:block;resize:vertical;min-height:340px;height:430px;width:100%;padding:18px 20px;line-height:1.65;font: .875rem/1.65 ui-monospace,SFMono-Regular,Menlo,monospace;background:#11181d;color:#c5cedb;border:0;tab-size:2}.actions{display:flex;flex-wrap:wrap;gap:8px;padding:13px 16px;border-top:1px solid var(--line)}.empty{text-align:center;color:var(--muted);padding:120px 20px}.empty-icon{font-size:2rem;color:#5b6e7d}.empty h3{font-weight:500;color:#c3d0da;font-size:1rem;margin:14px 0 10px}.empty p{font-size:.875rem;line-height:1.8;margin:0}.container{padding:17px 18px;border-bottom:1px solid #2a353d}.container:last-child{border-bottom:0}.container-top{display:flex;justify-content:space-between;gap:10px;align-items:center}.container h3{margin:0;font-size:1rem;font-weight:550;overflow-wrap:anywhere}.container .image{font: .875rem ui-monospace,monospace;color:var(--muted);margin:8px 0;overflow-wrap:anywhere}.container .state{font-size:.875rem;color:var(--accent)}.container .state.stopped{color:#adb6bd}.container .detail{color:var(--muted);font-size:.875rem;line-height:1.5}.container-actions{display:flex;gap:8px;align-items:center;margin-top:12px;flex-wrap:wrap}.container-actions button{font-size:.875rem;padding:5px 9px}.port{color:var(--accent);font: .875rem ui-monospace,monospace;padding:5px 0}.terminal-panel{margin-top:22px}#terminal{height:380px;padding:14px 16px;background:#0c1014}.xterm{height:100%}.settings{color:var(--muted);font-size:.875rem;margin-top:22px}.settings summary{cursor:pointer;width:fit-content}.settings label{display:block;margin-top:14px;margin-bottom:6px}.settings input{width:min(100%,480px)}.settings p{margin-top:8px}footer{display:flex;justify-content:space-between;gap:20px;color:var(--muted);font-size:.875rem;padding:24px 0 4px;line-height:1.5}@media(max-width:1000px){.machine{align-items:flex-start;flex-direction:column}.controls{flex-wrap:wrap}.intro .badge{display:none}.workspace{grid-template-columns:1fr}.empty{padding:60px 20px}#yaml{height:330px}}@media(max-width:580px){header{padding:0 16px;height:66px}.brand{font-size:.95rem}nav{gap:12px}nav a:first-child{display:none}main{padding:24px 14px}.intro p{font-size:.9375rem}.machine{padding:14px}.controls{gap:10px}.status{gap:12px}.controls label{gap:6px}.panel-head{padding:10px 12px}.panel-head>div{gap:0}.file-button,button.quiet{padding:6px}.actions{padding:12px}.terminal-panel .panel-head>span{display:none}footer{flex-direction:column;gap:8px}#terminal{padding:12px 8px}}
.eyebrow{color:var(--accent);font:.8125rem ui-monospace,monospace;letter-spacing:.06em;margin-bottom:15px}.intro h1{font-size:clamp(1.8rem,3.6vw,2.8rem)}.features{display:grid;grid-template-columns:repeat(3,1fr);gap:26px;margin:26px 0 30px}.features>div{border-left:2px solid #3d4858;padding-left:15px}.features strong{display:block;font-size:.9375rem;font-weight:550;margin-bottom:7px}.features span{display:block;color:var(--muted);font-size:.875rem;line-height:1.65;max-width:340px}@media(max-width:760px){.features{grid-template-columns:1fr;gap:16px}.features span{max-width:none}.wide-only{display:none}}
.files-panel{margin-top:22px}.file-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:10px 14px;border-bottom:1px solid var(--line)}.file-toolbar nav{display:flex;align-items:center;gap:4px;flex-wrap:wrap;min-width:0}.file-toolbar button{overflow-wrap:anywhere;white-space:normal}.file-toolbar input{width:190px}.file-body{display:flex;min-height:160px;max-height:440px}.file-list{flex:1;min-width:0;overflow:auto}.file-row{border:0;border-bottom:1px solid #263039;border-radius:0;display:flex;align-items:center;gap:12px;width:100%;text-align:left;background:transparent;padding:12px 16px}.file-icon{color:var(--accent);width:18px}.file-name{flex:1;overflow:hidden;text-overflow:ellipsis}.file-size{color:var(--muted);width:85px;text-align:right}.file-modified{color:var(--muted);width:170px;text-align:right;font-size:.8125rem}.file-body aside{width:48%;min-width:0;border-left:1px solid var(--line);overflow:auto;background:#0c1014}.file-body aside[hidden]{display:none}.file-body aside h2{overflow-wrap:anywhere}.file-body pre{font:12px/1.7 ui-monospace,monospace;white-space:pre-wrap;overflow-wrap:anywhere;padding:16px;margin:0}.file-status{padding:10px 16px;color:var(--muted);font-size:.8125rem;border-top:1px solid var(--line);overflow-wrap:anywhere}@media(max-width:760px){.file-toolbar{align-items:stretch;flex-direction:column}.file-toolbar input{width:100%}.file-modified{display:none}.file-body{flex-direction:column;max-height:600px}.file-body aside{width:100%;border-left:0;border-top:1px solid var(--line);min-height:180px}.file-list{min-height:160px}.files-panel .panel-head>span{display:none}}

/* The existing credit opens the project links without taking space from the instrument. */
button.project-trigger, button.project-trigger:hover {
  appearance: none; padding: 0; border: 0; border-radius: 0; background: transparent;
  color: inherit; font: inherit; letter-spacing: inherit; text-transform: inherit; cursor: pointer;
}
button.project-trigger:hover, button.project-trigger:focus-visible { text-decoration: underline; }
#project-links { margin: auto; width: min(22rem, 92vw); max-height: 85vh; overflow: auto;
  box-sizing: border-box; padding: 1.25rem; border: 1px solid #64646b; border-radius: .45rem;
  background: #16161b; color: #f6f6f7; font: 1rem/1.5 system-ui, sans-serif; }
#project-links:popover-open { display: grid; gap: .45rem; }
#project-links:not(:popover-open) { display: none; }
#project-links a { color: inherit; text-decoration: underline; text-underline-offset: .15em; }
#project-links button { justify-self: start; margin-top: .5rem; padding: .25rem .65rem; cursor: pointer; }
#project-links::backdrop { background: rgb(0 0 0 / .35); }

.benchmark{margin-bottom:20px}.bench-head{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 20px}.bench-head h1{font-size:1.1rem;letter-spacing:0;margin:0}.bench-controls{display:flex;gap:12px;align-items:center;font-size:.875rem;color:var(--muted)}.bench-controls label{display:flex;gap:8px;align-items:center}.table-wrap{overflow:auto}.benchmark table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}.benchmark th,.benchmark td{padding:14px 20px;border-top:1px solid var(--line)}.benchmark th{font-size:.75rem;color:var(--muted);font-weight:500}.benchmark td{font-size:.875rem;font-variant-numeric:tabular-nums}.benchmark [data-rate]{font-size:1.125rem;font-weight:600;color:#e5eaf0}.route{font:.8125rem ui-monospace,monospace}.benchmark tr.running{background:#1c2532}.samples{display:block;color:var(--muted);font-size:.6875rem;font-weight:400;margin-top:4px}.bench-status{padding:12px 20px;border-top:1px solid var(--line);color:var(--muted);font-size:.8125rem}.bench-foot{display:flex;justify-content:space-between;gap:18px;padding:0 20px 16px;color:var(--muted);font-size:.75rem}footer .project-trigger{font-size:inherit}@media(max-width:760px){.bench-head{align-items:flex-start;flex-direction:column;gap:14px}.bench-foot{flex-direction:column;gap:5px}.benchmark th,.benchmark td{padding:12px 16px}.bench-controls{flex-wrap:wrap}}

/* Keep the measured values beside their labels on narrow screens, where a
   horizontally scrolling table would hide the main purpose of the demo. */
@media(max-width:580px){.benchmark thead{display:none}.benchmark table,.benchmark tbody{display:block}.benchmark tr{display:grid;grid-template-columns:1fr 1fr;padding:12px 16px;gap:12px 14px;border-top:1px solid var(--line)}.benchmark td{padding:0;border:0;white-space:normal;min-width:0}.benchmark td:first-child{grid-column:1/-1;padding-bottom:4px}.benchmark td[data-label]::before{content:attr(data-label);display:block;font:400 .6875rem/1.5 ui-sans-serif,system-ui;color:var(--muted);margin-bottom:5px}.benchmark [data-rate]{font-size:1rem}.benchmark [data-latency]{font-size:.8125rem}.samples{font-size:.625rem}}
