:root{color:#efece2;font-synthesis:none;text-rendering:optimizelegibility;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--ink:#f7f1df;--muted:#bdb8aa;--faint:#858074;--surface:#211f19;--surface-raised:#2b2922;--line:#454137;--line-strong:#625b4b;--accent:#e7b65a;--accent-ink:#221b0e;--aqua:#72cbb5;--danger:#ef8f7f;background:#171612;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{background:radial-gradient(circle at 15% 0,#57462647,#0000 30rem),#171612;min-width:320px;min-height:100vh;margin:0}body:before{z-index:-1;content:"";pointer-events:none;background-image:linear-gradient(#ffffff05 1px,#0000 1px);background-size:100% 4rem;position:fixed;inset:0;-webkit-mask-image:linear-gradient(#000,#0000 75%);mask-image:linear-gradient(#000,#0000 75%)}button,input,select{font:inherit}button,select,input{min-height:2.75rem}button{border:1px solid var(--line-strong);color:var(--ink);cursor:pointer;background:#302d25;border-radius:.65rem;font-weight:750}button:hover:not(:disabled){background:#3a362c;border-color:#8c816b}button:disabled{color:#858074;cursor:not-allowed;opacity:.75}input,select{border:1px solid var(--line);width:100%;color:var(--ink);background:#181713;border-radius:.55rem;padding-inline:.7rem}input:hover,select:hover{border-color:var(--line-strong)}input[type=checkbox],input[type=radio]{width:1.1rem;min-height:1.1rem;accent-color:var(--accent);margin:0}input[type=range]{min-height:2.75rem;accent-color:var(--accent);background:0 0;border:0;padding:0}a{color:var(--accent)}:focus-visible{outline-offset:3px;outline:3px solid #e7b65a}.app-shell{width:min(100% - 2rem,96rem);margin-inline:auto;padding-block:clamp(1.5rem,4vw,3.5rem)}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.hero{max-width:52rem}.hero h1{color:#fff8e8;letter-spacing:-.055em;margin:0;font-size:clamp(2.5rem,9vw,5.5rem);line-height:.95}.hero p:not(.eyebrow){color:#bdb8aa;max-width:38rem;font-size:clamp(1rem,2vw,1.2rem);line-height:1.6}.eyebrow{color:#e7b65a;letter-spacing:.14em;text-transform:uppercase;margin:0 0 .75rem;font-size:.75rem;font-weight:800}.workspace{gap:1.25rem;margin-top:2.5rem;display:grid}.control-panel,.evolution-bar,.favorites-panel,.candidate-area,.empty-state{border:1px solid var(--line);background:#1f1e19f0;border-radius:1.1rem;box-shadow:0 1.25rem 4rem #00000024}.control-panel,.evolution-bar,.empty-state{padding:clamp(1rem,3vw,1.65rem)}.section-heading{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.section-heading h2{letter-spacing:-.025em;margin:.15rem 0 0;font-size:clamp(1.45rem,3vw,2rem)}.section-kicker,.candidate-number{color:var(--accent);letter-spacing:.12em;text-transform:uppercase;margin:0;font-size:.68rem;font-weight:850}.strategy-switch{border:1px solid var(--line);background:#181713;border-radius:.75rem;min-width:fit-content;padding:.25rem;display:flex}.strategy-switch label{min-height:2.75rem;color:var(--muted);cursor:pointer;border-radius:.5rem;justify-content:center;align-items:center;padding:.55rem .8rem;font-weight:750;display:flex;position:relative}.strategy-switch label.is-active{color:var(--accent-ink);background:var(--accent)}.strategy-switch label:focus-within,.file-upload:focus-within{outline-offset:3px;outline:3px solid #e7b65a}.strategy-switch input{opacity:0;pointer-events:none;position:absolute}.strategy-description{max-width:60rem;color:var(--muted);margin:.8rem 0 1.25rem;line-height:1.5}.control-grid{grid-template-columns:repeat(12,minmax(0,1fr));align-items:end;gap:1rem;display:grid}.field{grid-column:span 2;min-width:0}.field-wide,.field-span-two{grid-column:span 3}.field-seed{grid-column:span 4}.field>label,.field-label,.range-field>label{color:var(--muted);justify-content:space-between;gap:.5rem;margin-bottom:.42rem;font-size:.78rem;font-weight:750;display:flex}.range-field output{color:var(--accent);font-variant-numeric:tabular-nums}.input-suffix{position:relative}.input-suffix input{padding-right:3.6rem}.input-suffix span{color:var(--faint);pointer-events:none;font-size:.7rem;font-weight:800;position:absolute;top:50%;right:.7rem;transform:translateY(-50%)}.register-range{grid-template-columns:1fr auto 1fr;align-items:center;gap:.5rem;display:grid}.register-range label span{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.register-range>span{color:var(--faint);font-size:.75rem}.check-field{min-height:2.75rem;color:var(--muted);grid-column:span 2;align-items:center;gap:.55rem;font-size:.84rem;font-weight:700;display:flex}.primary-action{min-height:3rem;color:var(--accent-ink);background:var(--accent);border-color:#f2c46d;grid-column:span 2;box-shadow:0 .35rem 1.25rem #e7b65a1f}.primary-action:hover:not(:disabled){background:#f3c66f;border-color:#ffe1a3}.evolution-bar{border-color:#5c5548}.evolution-title{align-items:center}.parent-count{color:var(--aqua);background:#72cbb51a;border-radius:999px;margin:0;padding:.35rem .65rem;font-size:.78rem;font-weight:800}.evolution-controls{grid-template-columns:minmax(12rem,2fr) minmax(7rem,.75fr) 1fr 1fr minmax(12rem,1.4fr);align-items:end;gap:.8rem 1rem;margin-top:1rem;display:grid}.evolution-controls .field,.evolution-controls .check-field,.evolution-controls .primary-action{grid-column:auto}.control-help{color:var(--faint);grid-column:5;margin:-.45rem 0 0;font-size:.72rem;line-height:1.35}.workspace-tools{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:1rem;margin-top:1rem;padding-top:1rem;display:flex}.history-controls,.file-controls{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.history-controls button,.file-controls button,.file-controls label{min-height:2.75rem;padding:.45rem .7rem;font-size:.75rem}.history-controls span{min-width:7rem;color:var(--muted);text-align:center;font-size:.76rem}.file-upload{border:1px solid var(--line-strong);color:var(--ink);cursor:pointer;background:#302d25;border-radius:.65rem;align-items:center;font-weight:750;display:inline-flex}.candidate-area{padding:clamp(1rem,2vw,1.35rem)}.candidate-area-heading{justify-content:space-between;align-items:baseline;gap:1rem;margin-bottom:1rem;display:flex}.candidate-area-heading h2{margin:0;font-size:1.1rem}.candidate-area-heading p{color:var(--faint);margin:0;font-size:.78rem}.candidate-grid,.favorites-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,18.5rem),1fr));gap:.9rem;display:grid}.candidate-card{border:1px solid var(--line);background:linear-gradient(145deg,#292720,#23211b);border-radius:.85rem;min-width:0;padding:1rem;transition:border-color .14s,transform .14s,box-shadow .14s;box-shadow:inset 0 1px #ffffff05}.candidate-card:hover{border-color:var(--line-strong);transform:translateY(-1px)}.candidate-card.is-selected{border-color:var(--aqua);box-shadow:0 0 0 1px #72cbb559,0 .8rem 2rem #00000024}.candidate-card.is-playing{border-color:var(--accent);box-shadow:0 0 0 2px #e7b65a33}.candidate-header{justify-content:space-between;align-items:flex-start;gap:.75rem;display:flex}.candidate-header h3{letter-spacing:-.015em;margin:.15rem 0 0;font-size:1rem}.origin-badge{color:#d7d1c0;letter-spacing:.05em;text-transform:uppercase;background:#3a372e;border-radius:999px;flex:none;padding:.3rem .5rem;font-size:.65rem;font-weight:850}.origin-evolution{color:#b7eadc;background:#478a793d}.origin-legacy{color:#f0cf91;background:#9666223b}.contour{width:100%;height:5rem;margin-block:.8rem .35rem;overflow:visible}.contour-axis{stroke:#454137;stroke-width:.5px;vector-effect:non-scaling-stroke}.contour-line{fill:none;stroke:var(--accent);stroke-width:1.75px;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}.note-sequence{flex-wrap:wrap;gap:.28rem;min-height:1.45rem;margin:.4rem 0 .8rem;display:flex}.note-sequence span{color:#ddd6c5;background:#1c1b17;border-radius:.3rem;padding:.18rem .28rem;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.67rem}.note-sequence span.is-rest{color:var(--faint)}.candidate-meta{color:var(--faint);flex-wrap:wrap;gap:.25rem .65rem;font-size:.68rem;display:flex}.candidate-actions{grid-template-columns:minmax(5.75rem,1fr) auto auto;align-items:center;gap:.5rem;margin-top:.9rem;display:grid}.candidate-actions button{min-height:2.75rem}.play-button,.stop-button{justify-content:center;align-items:center;gap:.45rem;display:inline-flex}.play-button{border-color:#6f6757}.stop-button{color:#ffd6cd;background:#4a2924;border-color:#a86458}.parent-choice{min-height:2.75rem;color:var(--muted);cursor:pointer;align-items:center;gap:.38rem;font-size:.74rem;font-weight:750;display:inline-flex}.icon-action{width:2.75rem;min-width:2.75rem;color:var(--accent);padding:0;font-size:1.2rem}.candidate-details{border-top:1px solid var(--line);margin-top:.8rem;padding-top:.7rem}.candidate-details summary,.favorites-panel>summary{min-height:2.75rem;color:var(--muted);cursor:pointer;padding-block:.7rem;font-size:.72rem;font-weight:750}.candidate-details dl{gap:.5rem;margin-block:.75rem;display:grid}.candidate-details dl div{grid-template-columns:4.3rem minmax(0,1fr);gap:.5rem;display:grid}.candidate-details dt{color:var(--faint);font-size:.67rem}.candidate-details dd{color:var(--muted);overflow-wrap:anywhere;margin:0;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.66rem}.export-actions{gap:.4rem;display:flex}.export-actions button{flex:1;min-height:2.75rem;font-size:.7rem}.candidate-card.is-compact .note-sequence{max-height:4.2rem;overflow:hidden}.favorites-panel{padding:1rem}.favorites-panel>summary{font-size:.9rem}.favorites-panel>summary span{min-width:1.5rem;height:1.5rem;color:var(--accent-ink);background:var(--accent);border-radius:999px;place-items:center;margin-left:.3rem;font-size:.7rem;display:inline-grid}.favorites-grid{margin-top:1rem}.empty-state{min-height:14rem;color:var(--muted);text-align:center;place-items:center;display:grid}.empty-state div{max-width:34rem}.empty-state h2{color:var(--ink)}.status-message{color:#d8d1bf;background:#29271f;border:1px solid #5a5447;border-radius:.75rem;margin:0;padding:.75rem 1rem;font-size:.82rem}.status-message.is-error{color:#ffd3ca;background:#3a2421;border-color:#865148}@media (width<=72rem){.field,.field-wide,.field-span-two,.field-seed,.check-field,.primary-action{grid-column:span 3}.field-seed{grid-column:span 6}.evolution-controls{grid-template-columns:repeat(4,minmax(0,1fr))}.evolution-controls>*{grid-column:span 1}.evolution-controls .mutation-field,.evolution-controls .evolve-action,.evolution-controls .control-help{grid-column:span 2}}@media (width<=48rem){.app-shell{width:min(100% - 1rem,96rem);padding-top:1.25rem}.hero h1{font-size:clamp(2.7rem,15vw,4rem)}.section-heading{flex-direction:column;align-items:stretch}.strategy-switch{width:100%}.strategy-switch label{text-align:center;flex:1}.control-grid,.evolution-controls{grid-template-columns:repeat(2,minmax(0,1fr))}.field,.field-wide,.field-span-two,.field-seed,.check-field,.primary-action,.evolution-controls>*,.evolution-controls .mutation-field,.evolution-controls .evolve-action,.evolution-controls .control-help{grid-column:span 1}.field-wide,.field-seed,.field-span-two,.evolution-controls .mutation-field,.evolution-controls .evolve-action,.evolution-controls .control-help{grid-column:1/-1}.workspace-tools{flex-direction:column;align-items:stretch}.history-controls,.file-controls{justify-content:center}.candidate-grid,.favorites-grid{grid-template-columns:minmax(0,1fr)}}@media (width<=25rem){.control-grid,.evolution-controls{grid-template-columns:minmax(0,1fr)}.field,.field-wide,.field-span-two,.field-seed,.check-field,.primary-action,.evolution-controls>*{grid-column:1}.candidate-actions{grid-template-columns:1fr auto}.candidate-actions .parent-choice{grid-area:2/1/auto/-1}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
