.goals-panel .goal-family-choice{flex-direction:column;align-items:stretch;gap:.3rem;min-width:0;display:flex}.goals-panel .goal-family-choice select{width:100%;min-width:0}.goals-panel .goal-picker-layout{grid-template-columns:minmax(0,.92fr) minmax(0,1.48fr);align-items:start;column-gap:clamp(1rem,2.2vw,2rem);display:grid}.goals-panel .goal-picker-options{flex-direction:column;align-items:stretch;gap:.85rem;min-width:0;display:flex;container-type:inline-size}.goals-panel .goal-controls{grid-template-columns:minmax(0,1fr);align-items:end;gap:.55rem;min-width:0;display:grid}.goals-panel .goal-controls>.add-goal{white-space:nowrap;justify-self:start}.goals-panel .goal-controls>label:last-of-type{max-width:none}.goals-panel .machine-choice{margin:0}.goals-panel .simulation-actions{margin:.3rem 0 0}.goals-panel .goal-picker-objectives{border-left:1px solid var(--border,#d4dece);min-width:0;padding-left:clamp(1rem,1.8vw,1.6rem)}.goals-panel .objectives-heading{border:0;flex-wrap:wrap;min-height:1.75rem;margin:0 0 .75rem;padding:0}.goals-panel .goal-empty-state{border:1px dashed var(--border,#d4dece);min-height:150px;color:var(--muted,#64725e);text-align:center;border-radius:8px;flex-direction:column;justify-content:center;align-items:center;gap:.25rem;font-size:.84rem;display:flex}.goals-panel .goal-empty-state strong{font-weight:600}.goals-panel .goal-empty-state span{font-size:.76rem}.goals-panel .goal-list{grid-template-columns:repeat(2,minmax(0,calc(50% - .325rem)));grid-auto-rows:minmax(52px,auto);grid-auto-columns:minmax(0,calc(50% - .325rem));align-content:start;gap:.5rem .65rem;min-width:0;margin:0;padding:0;display:grid}.goals-panel .goal-list-scroll{overscroll-behavior-x:contain;max-width:100%;padding-bottom:.35rem;overflow:auto hidden}.goals-panel .goal-list li{min-width:0;min-height:52px;padding:.3rem .45rem}.goals-panel .goal-list li>span:not(.image-placeholder){overflow-wrap:anywhere;min-width:0}.goals-panel .goal-list .variety-image,.goals-panel .goal-list .image-placeholder{width:38px;height:38px}.goals-panel .goal-list .goal-quantity input{width:58px}.goals-panel .goal-list .remove-goal{min-width:30px}@container (width>=340px){.goals-panel .goal-controls{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}@container (width>=480px){.goals-panel .goal-controls{grid-template-columns:minmax(105px,.85fr) minmax(100px,.8fr) minmax(135px,1.45fr) auto}.goals-panel .goal-controls>.variety-selector{grid-column:auto}}@media (width<=1050px){.goals-panel .goal-picker-layout{grid-template-columns:minmax(0,1fr);row-gap:1.3rem}.goals-panel .goal-picker-objectives{border-left:0;border-top:1px solid var(--border,#d4dece);padding-top:1rem;padding-left:0}}@media (width<=650px){.goals-panel .goal-list{flex-direction:column;display:flex}.goals-panel .goal-list li{width:100%}.goals-panel .goal-list-scroll{max-height:330px;padding-bottom:0;overflow:hidden auto}.goals-panel .objectives-heading{align-items:flex-start;gap:.35rem}}.reliability-value{border:1px solid hsl(var(--reliability-hue) 78% 34%);background:hsl(var(--reliability-hue) 87% 70%);color:#202521;white-space:nowrap;font-variant-numeric:tabular-nums;border-radius:.38rem;justify-content:center;align-items:center;padding:.12rem .42rem;font-weight:800;line-height:1.25;display:inline-flex}.plan-preparation .reliability-value,.step-reliability .reliability-value,.plan-strategy-table .reliability-value{color:#202521}.plan-preparation .plan-reliability-label{color:var(--text);font-weight:750}.strategy-picker{min-width:0;margin:0 0 .8rem}.strategy-tabs{grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem;display:grid}.strategy-tab{background:var(--surface-raised);min-width:0;min-height:74px;color:var(--text);border:2px solid var(--border-strong);text-align:center;border-radius:9px;flex-direction:column;justify-content:center;align-items:center;gap:.38rem;padding:.7rem .55rem;display:flex}.strategy-tab strong{color:var(--text);font-size:.95rem;line-height:1.2}.strategy-tab .reliability-value{color:#202521;font-size:.85rem}.strategy-tab.selected{border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}.strategy-tab:not(:disabled):hover{background:var(--surface-soft);color:var(--text)}.strategy-tab:disabled{opacity:.76;cursor:not-allowed}.strategy-tab:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.strategy-pending{color:var(--muted);font-size:.75rem;font-weight:500}.strategy-description{color:var(--muted);margin:.62rem 0 .6rem;font-size:.82rem;line-height:1.5}.strategy-notice{color:var(--muted);margin:0 0 .65rem;font-size:.78rem;line-height:1.5}.strategy-error{flex-wrap:wrap;align-items:center;gap:.65rem;display:flex}.strategy-error button{min-height:32px;padding:.25rem .6rem;font-size:.76rem}#strategy-content{min-width:0}#strategy-content .plan-preparation{margin:0 0 .8rem}@media (width<=480px){.strategy-tab{min-height:69px;padding:.55rem .35rem}.strategy-tab strong{font-size:.85rem}}.overview-panel{--overview-card-width:176px;--overview-card-height:124px;background:var(--surface-raised);min-width:0;color:var(--text);border:1px solid var(--border);border-radius:12px;padding:1.15rem}.overview-panel .section-heading{margin-bottom:.45rem}.overview-preparation-grid,.overview-operations-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:1.25rem;margin:.65rem 0 1rem;display:grid}.overview-preparation-grid.single-column{grid-template-columns:minmax(0,1fr)}.overview-preparation-grid>.overview-section,.overview-operations-grid>.overview-section{flex-direction:column;min-width:0;height:100%;margin:0;display:flex}.overview-preparation-grid>.overview-section .overview-section-body,.overview-operations-grid>.overview-section .overview-section-body{flex:1;min-height:0}.overview-operations-grid{margin-bottom:0}.overview-section{border:1px solid var(--border);background:var(--surface-raised);border-radius:10px;margin:1rem 0;overflow:hidden}.overview-section-heading{background:var(--surface-soft);color:var(--text);justify-content:space-between;align-items:center;gap:.7rem;padding:.9rem 1rem;display:flex}.overview-section-heading h3,.overview-step-heading h4{margin:0}.overview-section-heading h3{font-size:1.05rem}.overview-section-heading strong{font-size:.88rem}.overview-section-body{min-width:0;padding:.75rem}.overview-section-body>p{color:var(--muted);margin:.45rem 0 .9rem;font-size:.85rem}.overview-operations-grid .overview-section-body>p:first-child{min-height:2.5rem;margin:.25rem 0 .65rem}.overview-varieties,.overview-people,.overview-machine-list,.overview-operation-list,.overview-clone-list{margin:0;padding:0;list-style:none}.overview-varieties,.overview-steps{gap:.7rem;display:grid}.overview-variety,.overview-step{border:1px solid var(--border);background:var(--surface-soft);border-radius:9px;min-width:0;overflow:hidden}.overview-variety-heading,.overview-step-heading{align-items:center;gap:.65rem;padding:.6rem .7rem;display:flex}.overview-variety-heading{gap:.55rem;padding:.36rem .6rem}.overview-variety-name{white-space:nowrap;flex:1;align-items:baseline;gap:.45rem;min-width:0;display:flex}.overview-variety-name strong{flex-shrink:0}.overview-variety-name small{color:var(--muted);white-space:nowrap;font-size:.74rem}.overview-quantity{white-space:nowrap;margin-left:auto}.overview-variety-actions{flex-shrink:0;align-items:center;gap:.7rem;margin-left:auto;display:inline-flex}.overview-variety-confirm,.overview-step-confirm{cursor:pointer;justify-content:center;align-items:center;width:22px;height:22px;display:inline-flex}.overview-variety-confirm input[type=checkbox],.overview-step-confirm input[type=checkbox]{box-sizing:border-box;width:18px;min-width:18px;height:18px;min-height:0;accent-color:var(--accent);cursor:pointer;margin:0;padding:0}.overview-variety-confirm input[type=checkbox]:disabled,.overview-step-confirm input[type=checkbox]:disabled{opacity:.45;cursor:not-allowed}.overview-variety-confirm input[type=checkbox]:focus-visible,.overview-step-confirm input[type=checkbox]:focus-visible{outline:2px solid var(--focus);outline-offset:2px}.overview-step-actions{flex-shrink:0;align-items:center;gap:.7rem;margin-left:auto;display:inline-flex}.overview-people{grid-template-columns:repeat(auto-fill, var(--overview-card-width));background:var(--surface-raised);border-top:1px solid var(--border);justify-content:start;gap:.65rem;padding:.65rem;display:grid}.overview-varieties{gap:.55rem}.overview-capture-section{container:overview-captures/inline-size}.overview-variety>.overview-people{grid-template-columns:repeat(6, var(--overview-card-width));justify-content:space-between;gap:.5rem;padding:.4rem}.overview-individual{box-sizing:border-box;width:var(--overview-card-width);height:var(--overview-card-height);border:1px solid var(--border);background:var(--surface-soft);text-align:center;border-radius:8px;grid-template-columns:minmax(0,1fr) 66px;align-items:stretch;gap:.35rem;min-width:0;padding:.5rem;display:grid;position:relative}.overview-individual.female{background:var(--mount-female-bg);border-color:var(--mount-female-border);color:var(--mount-female-ink)}.overview-individual.male{background:var(--mount-male-bg);border-color:var(--mount-male-border);color:var(--mount-male-ink)}.overview-mount-figure{flex-direction:column;grid-column:1;justify-content:center;align-items:center;gap:.35rem;min-width:0;display:flex}.overview-mount-figure .variety-image,.overview-mount-figure .image-placeholder{flex-shrink:0;width:52px;height:52px}.overview-mount-name{overflow-wrap:anywhere;-webkit-line-clamp:2;text-align:center;-webkit-box-orient:vertical;width:100%;max-width:100%;font-size:.76rem;line-height:1.2;display:-webkit-box;overflow:hidden}.overview-individual.overview-capture{grid-template-columns:minmax(0,1fr) 86px}.overview-capture .overview-sex-switch{gap:.24rem;width:86px;height:26px}.overview-capture .overview-sex-switch input[type=range]{flex:0 0 48px;width:48px;min-width:48px;max-width:48px;height:10px;max-height:10px}.overview-capture .overview-sex-switch input[type=range]::-webkit-slider-thumb{width:16px;height:16px}.overview-capture .overview-sex-switch input[type=range]::-moz-range-thumb{width:16px;height:16px}.overview-sex-controls{flex-direction:column;grid-column:2;justify-content:center;align-items:center;gap:.1rem;min-width:0;display:flex}.overview-sex-controls.fixed{gap:0}.overview-planned-sex{min-width:30px;min-height:30px;box-shadow:none;cursor:help;background:0 0;border:0;border-radius:0;justify-content:center;align-items:center;padding:.15rem;display:inline-flex}.overview-planned-sex:focus-visible{outline:2px solid var(--focus);outline-offset:2px}.overview-planned-sex .sex-marker{white-space:nowrap;-webkit-text-stroke:.45px currentColor;font-size:17px;font-weight:700;line-height:1;position:static}.overview-planned-sex .sex-marker.male{color:#286fba}.overview-planned-sex .sex-marker.female{color:#d65385}.overview-planned-sex .sex-marker.sex-unrestricted{color:#9a6517;-webkit-text-stroke:0;font-weight:900}.overview-planned-sex .sex-marker .sex-qualifier{vertical-align:super;color:#9a6517;-webkit-text-stroke:0;font-size:.58em;font-weight:750;line-height:0}.overview-sex-switch{cursor:not-allowed;justify-content:center;align-items:center;gap:.18rem;width:66px;height:20px;margin:0;padding:0;display:inline-flex}.overview-capture-end{-webkit-text-stroke:.7px currentColor;font-size:14px;font-weight:900;line-height:1}.overview-capture-end.female{color:#d65385}.overview-capture-end.male{color:#286fba}.overview-sex-switch input[type=range]{appearance:none;box-sizing:border-box;opacity:1;border:1px solid var(--border-strong);background:var(--surface-soft);cursor:not-allowed;border-radius:99px;flex:0 0 36px;width:36px;min-width:36px;max-width:36px;height:8px;min-height:0;max-height:8px;margin:0;padding:0}.overview-sex-switch input[type=range]::-webkit-slider-thumb{appearance:none;box-sizing:border-box;border:2px solid var(--border-strong);background:var(--text);border-radius:50%;width:14px;height:14px;box-shadow:0 1px 2px #0004}.overview-sex-switch input[type=range]::-moz-range-thumb{box-sizing:border-box;border:2px solid var(--border-strong);background:var(--text);border-radius:50%;width:14px;height:14px;box-shadow:0 1px 2px #0004}.overview-sex-switch input[type=range]:disabled{pointer-events:none}@container overview-captures (width<=1110px){.overview-variety>.overview-people{grid-template-columns:repeat(5, var(--overview-card-width))}}@container overview-captures (width<=925px){.overview-variety>.overview-people{grid-template-columns:repeat(4, var(--overview-card-width))}}@container overview-captures (width<=740px){.overview-variety>.overview-people{grid-template-columns:repeat(3, var(--overview-card-width))}}@container overview-captures (width<=555px){.overview-variety>.overview-people{grid-template-columns:repeat(2, var(--overview-card-width))}}@container overview-captures (width<=370px){.overview-variety>.overview-people{grid-template-columns:var(--overview-card-width);justify-content:center}}@media (width<=420px){.overview-variety-heading{gap:.3rem;padding-inline:.42rem}.overview-variety-name{gap:.25rem}.overview-variety-name strong{font-size:.84rem}.overview-variety-name small{font-size:.65rem}}.overview-individual.goal-achieved,.overview-individual.goal-achieved.sex-unrestricted{color:#3b2a08;background:linear-gradient(#f1d985 0%,#e7c768 48%,#d4a742 100%);border-color:#a87516;grid-template-columns:minmax(0,1fr);box-shadow:inset 0 0 0 1px #f6e3a3,0 2px 5px #69450733}.overview-individual.goal-achieved .overview-mount-figure{grid-column:1/-1;width:100%}.overview-machine-section{container:overview-machines/inline-size}.overview-machine-columns{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:.8rem;display:grid}.overview-machine-column{min-width:0}.overview-machine-column h4{text-align:center;margin:0 0 .55rem;font-size:.87rem}.overview-machine-list{grid-auto-flow:column;align-content:start;align-items:start;gap:.4rem;display:grid}.overview-machine-list.machine-rows-1{grid-template-rows:128px}.overview-machine-list.machine-rows-2{grid-template-rows:repeat(2,128px)}.overview-machine-list.machine-rows-3{grid-template-rows:repeat(3,128px)}.overview-machine-list.machine-columns-1{grid-template-columns:minmax(0,1fr)}.overview-machine-list.machine-columns-2{grid-template-columns:repeat(2,minmax(0,1fr))}.overview-machine-list.machine-columns-3{grid-template-columns:repeat(3,minmax(0,1fr))}.overview-machine-list .overview-machine-card{box-sizing:border-box;border:1px solid var(--border);background:var(--surface-soft);border-radius:8px;place-items:center;min-width:0;height:128px;padding:.45rem .2rem;display:grid;position:relative}.overview-machine-figure{flex-direction:column;justify-content:center;align-items:center;gap:.3rem;width:100%;min-width:0;display:flex}.overview-machine-figure img{object-fit:contain;width:44px;height:44px}.overview-machine-count{z-index:1;border:1px solid var(--border-strong);background:var(--surface-raised);text-align:center;border-radius:6px;min-width:24px;padding:.15rem .1rem;font-size:.66rem;position:absolute;top:50%;right:.3rem;transform:translateY(-50%)}.overview-machine-name{overflow-wrap:anywhere;text-align:center;width:100%;font-size:.66rem;line-height:1.18}@container overview-machines (width<=620px){.overview-machine-columns{grid-template-columns:minmax(0,1fr)}}@container overview-machines (width<=380px){.overview-machine-figure img{width:36px;height:36px}.overview-machine-name{font-size:.58rem;line-height:1.15}.overview-machine-count{min-width:20px;padding:.1rem 0;font-size:.59rem;right:.16rem}}.overview-step-heading{border-bottom:1px solid var(--border);justify-content:space-between}.overview-step-heading h4{font-size:.88rem}.overview-step-heading strong{white-space:nowrap;font-size:.78rem}.overview-reproduction-section{container:overview-breeds/inline-size}.overview-cloning-section{container:overview-clones/inline-size}.overview-reproduction-steps{gap:.7rem;display:grid}.overview-step-pair{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:.65rem;display:grid}.overview-operations-grid .overview-step{box-sizing:border-box;flex-direction:column;height:auto;min-height:204px;display:flex}.overview-operations-grid .overview-step-heading{flex:none}.overview-no-operations{color:var(--muted);text-align:center;background:var(--surface-raised);flex:1;justify-content:center;align-items:center;margin:0;padding:.8rem;font-size:.77rem;display:flex}.overview-step-empty{min-width:0}.overview-operation-list{background:var(--surface-raised);flex-wrap:wrap;flex:1;place-content:flex-start center;align-items:flex-start;gap:.65rem;min-height:0;padding:.65rem;display:flex}.overview-operation-entry{flex:0 0 var(--overview-card-width);text-align:center;align-content:start;justify-items:center;min-width:0;display:grid}.overview-operation-entry .overview-people,.overview-clone-entry .overview-people{background:0 0;border:0;width:100%;padding:0;display:block}.overview-operation-entry .overview-individual,.overview-clone-entry .overview-individual{height:var(--overview-card-height)}.overview-clone-list{background:var(--surface-raised);flex-wrap:wrap;flex:1;place-content:flex-start center;align-items:flex-start;gap:.65rem;min-height:0;padding:.65rem;display:flex}.overview-clone-entry{flex:0 0 var(--overview-card-width);text-align:center;align-content:start;justify-items:center;gap:.3rem;min-width:0;display:grid}@container overview-breeds (width<=420px){.overview-reproduction-steps .overview-step-pair{grid-template-columns:minmax(0,1fr)}.overview-reproduction-steps .overview-step-empty{display:none}}@container overview-clones (width<=420px){.overview-cloning-steps .overview-step-pair{grid-template-columns:minmax(0,1fr)}.overview-cloning-steps .overview-step-empty{display:none}}@media (width<=850px){.overview-preparation-grid,.overview-operations-grid{grid-template-columns:minmax(0,1fr)}}@media (width<=600px){.overview-panel{padding:.7rem}.overview-section-body{padding:.6rem}}.overview-sex-switch:has(input:not(:disabled)){cursor:pointer}.overview-sex-switch input[type=range]:not(:disabled){cursor:pointer}.overview-sex-switch input[type=range]:focus-visible{outline:2px solid var(--focus);outline-offset:4px}.overview-confirm-sex{z-index:1;cursor:pointer;justify-content:center;align-items:center;width:21px;height:21px;display:flex;position:absolute;top:3px;right:4px}.overview-confirm-sex input[type=checkbox]{box-sizing:border-box;width:17px;min-width:17px;height:17px;min-height:0;accent-color:var(--accent);cursor:pointer;margin:0;padding:0}.overview-confirm-sex input[type=checkbox]:focus-visible{outline:2px solid var(--focus);outline-offset:2px}.overview-individual:has(.overview-confirm-sex input:checked){outline:2px solid var(--border-strong);outline-offset:-3px}.birth-machine-indicators{z-index:2;pointer-events:none;align-items:center;gap:3px;max-width:calc(100% - 30px);display:inline-flex;position:absolute;top:3px;left:4px}.birth-machine-icon{border:1px solid var(--border-strong);background:var(--surface-raised);pointer-events:auto;border-radius:5px;justify-content:center;align-items:center;width:24px;height:24px;display:inline-flex}.birth-machine-icon img{object-fit:contain;width:21px;height:21px;display:block}.birth-dependency-warning{color:#d52231;filter:drop-shadow(0 1px 1px #0005);pointer-events:auto;cursor:help;justify-content:center;align-items:center;height:22px;font-size:18px;font-weight:900;line-height:1;display:inline-flex}.step-card{position:relative}.step-card .step-level-row{z-index:3;justify-content:center;align-items:center;gap:2px;width:100%;min-height:20px;font-size:11px;display:flex;position:relative}.step-card .step-level-row.customized:not(:has(.step-level-input)) .step-level{text-underline-offset:2px;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}.step-card .step-level-prefix{font-size:10px;font-weight:700}.step-card .step-level-input{box-sizing:border-box;border:1px solid var(--border-strong);background:var(--surface-raised);width:39px;min-width:0;height:22px;min-height:0;color:var(--text);text-align:center;appearance:textfield;border-radius:4px;padding:1px 2px;font:700 11px system-ui,sans-serif}.step-card .step-level-input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.step-card .step-level-input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.step-card .step-level-input[aria-invalid=true]{border-color:#be3e42}.step-card .step-level-action{box-sizing:border-box;width:20px;height:20px;min-height:0;color:inherit;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:4px;flex:0 0 20px;justify-content:center;align-items:center;margin:0;padding:0;font:800 16px system-ui,sans-serif;display:inline-flex}.step-card .step-level-action.edit{flex-basis:18px;width:18px}.step-card .step-level-action.accept{color:#176c31;background:#e2f5e6;border-color:#76b78b}.step-card .step-level-action.cancel{color:#a92c31;background:#fce6e8;border-color:#d7979a}.step-card .step-level-action:disabled{opacity:.4;cursor:not-allowed}.step-card .step-level-action:focus-visible,.step-card .step-level-input:focus-visible{outline:2px solid var(--focus);outline-offset:1px}.step-global-settings{padding:.5rem .85rem .3rem}.step-level-options{flex-direction:column;align-items:flex-start;gap:.4rem;font-size:.8rem;display:flex}.step-level-option{cursor:pointer;align-items:center;gap:.4rem;display:inline-flex}.step-level-option input[type=checkbox]{width:16px;height:16px;min-height:0;accent-color:var(--accent);cursor:pointer;margin:0}.step-level-general{flex-wrap:wrap;align-items:center;gap:.45rem;display:flex}.step-level-general-input{box-sizing:border-box;border:1px solid var(--border-strong);background:var(--surface-raised);width:60px;height:28px;min-height:0;color:var(--text);text-align:center;border-radius:5px;padding:.2rem .4rem;font:600 .8rem system-ui,sans-serif}.step-level-general-input:disabled{opacity:.55;cursor:not-allowed}.step-level-general-input[aria-invalid=true]{border-color:#be3e42}.step-level-general-apply{color:#176c31;cursor:pointer;background:#e2f5e6;border:1px solid #76b78b;border-radius:5px;justify-content:center;align-items:center;width:28px;height:28px;min-height:0;padding:0;font:800 18px system-ui,sans-serif;display:inline-flex}.step-level-general-apply:disabled{opacity:.4;cursor:not-allowed}.step-level-options :is(input,button):focus-visible{outline:2px solid var(--focus);outline-offset:2px}.adaptive-controls{flex-wrap:wrap;align-items:center;gap:.65rem 1rem;padding:.5rem 0 .8rem;display:flex}.adaptive-controls>button{flex-shrink:0;min-height:40px}.adaptive-controls>p{color:var(--muted);flex:260px;margin:0;font-size:.82rem;line-height:1.5}.adaptive-message{border:1px solid var(--border-strong);border-radius:7px;margin:0 0 .8rem;padding:.6rem .7rem;font-size:.82rem;line-height:1.5}.adaptive-error{color:var(--text)}.result-view-switch button:disabled{opacity:.5;cursor:not-allowed}.adaptive-execution{border:1px solid var(--border-strong);border-radius:8px;justify-items:start;gap:.65rem;margin:0 0 1rem;padding:.85rem;display:grid}.adaptive-execution-heading{flex-wrap:wrap;align-items:baseline;gap:.6rem 1rem;width:100%;display:flex}.adaptive-execution-heading h3{margin:0;font-size:1rem}.adaptive-execution-heading span{color:var(--muted);font-size:.85rem}.adaptive-execution>p{margin:0;font-size:.85rem;line-height:1.5}.adaptive-execution select{width:min(100%,520px);max-width:100%}.adaptive-execution-label{font-size:.85rem;font-weight:700}.adaptive-observed-sex{border:0;flex-wrap:wrap;gap:.75rem;margin:.15rem 0;padding:0;display:flex}.adaptive-observed-sex legend{margin-bottom:.35rem;font-size:.85rem;font-weight:700}.adaptive-observed-sex label{align-items:center;gap:.4rem;display:inline-flex}.adaptive-execution .adaptive-execution-info{color:var(--muted)}.original-collapsible{border:1px solid var(--border-strong);border-radius:9px;margin:0 0 1rem;overflow:hidden}.original-toggle{text-align:left;width:100%;min-height:48px;color:var(--text);background:var(--surface-soft);border:0;border-radius:0;flex-wrap:wrap;align-items:center;gap:.4rem .7rem;padding:.7rem .9rem;display:flex}.original-toggle>span:first-child{font-weight:750}.original-toggle>span:nth-child(2){margin-left:auto}.original-toggle small{color:var(--muted);font-weight:500}.original-toggle:focus-visible{outline:2px solid var(--focus);outline-offset:-3px}#original-plan-content{border-top:1px solid var(--border);padding:.9rem}.adaptive-launch{justify-content:center;margin:.9rem 0;display:flex}.adaptive-launch button{min-height:42px}.adaptive-workspace{border:1px solid var(--border-strong);border-radius:10px;min-width:0;margin-top:1.25rem;padding:1rem;position:relative}.adaptive-workspace-heading{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:.5rem 1rem;margin-bottom:.85rem;display:flex}.adaptive-workspace-heading h3{margin:0;font-size:1.18rem}.adaptive-workspace-heading p{color:var(--muted);margin:0;font-size:.8rem}.adaptive-workspace .plan-preparation{margin-bottom:.8rem}.adaptive-busy-overlay{z-index:1000;cursor:progress;overscroll-behavior:contain;touch-action:none;background:#00000085;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.adaptive-busy-content{min-width:200px;color:var(--text);background:var(--surface-raised);border:1px solid var(--border-strong);border-radius:12px;flex-direction:column;justify-content:center;align-items:center;gap:.85rem;padding:1.3rem 1.6rem;display:flex;box-shadow:0 12px 36px #0000003d}.adaptive-busy-content img{object-fit:contain;width:60px;height:60px;animation:1s linear infinite adaptive-spin}@keyframes adaptive-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.adaptive-busy-content img{animation:none}}@media (width<=620px){.adaptive-workspace{padding:.65rem}.adaptive-workspace-heading{display:block}.original-toggle small{width:100%}}.overview-individual.adaptive-discarded,.step-panel .step-card.adaptive-discarded,button.tree-node.adaptive-discarded,button.tree-node.adaptive-discarded[data-sex]{background:var(--mount-consumed-bg);border:1px dashed var(--mount-consumed-border);color:var(--mount-consumed-ink)}.overview-individual.adaptive-new,.step-panel .step-card.adaptive-new,button.tree-node.adaptive-new,button.tree-node.adaptive-new[data-sex]{outline-offset:-3px;outline:2px solid #318563}.overview-individual.adaptive-discarded .overview-confirm-sex input:disabled{opacity:.4;cursor:not-allowed}.overview-individual.adaptive-discarded .overview-sex-switch input[type=range]:not(:disabled){cursor:pointer}.overview-individual:has(.adaptive-visible-states){padding-bottom:1.18rem}.overview-individual:has(.adaptive-visible-states>:nth-child(2)){padding-bottom:2.35rem}.adaptive-visible-states{z-index:1;pointer-events:none;flex-direction:column;gap:2px;display:flex;position:absolute;bottom:3px;left:5px;right:5px}.adaptive-card-state,.adaptive-card-origin{text-align:center;background:#fff9;border:1px solid;border-radius:4px;padding:.1rem .2rem;font-size:.66rem;font-weight:800;line-height:1.1;display:block}.overview-individual.adaptive-discarded .adaptive-card-state{color:#fff;background:#aa1d30;border-color:#821425}.adaptive-card-origin{color:#185b3e;background:#e6fff0}.overview-individual.adaptive-discarded .variety-image,.step-panel .step-card.adaptive-discarded .variety-image,button.tree-node.adaptive-discarded .variety-image{opacity:.6;filter:saturate(.45)}.adaptive-risk-indicator{z-index:2;color:#8a5100;cursor:help;background:#fff0c2;border:1px solid #b98623;border-radius:4px;justify-content:center;align-items:center;padding:0 .16rem;font-size:.91rem;display:inline-flex;position:absolute;top:3px;left:5px}.adaptive-tree-note,.adaptive-step-note{border:1px solid var(--border-strong);background:var(--surface-soft);color:var(--text);border-radius:8px;margin:.55rem 0 1rem;padding:.6rem .8rem;font-size:.82rem;line-height:1.5}.adaptive-step-badge,.adaptive-tree-badge{color:#185b3e;background:#e6fff0;border:1px solid;border-radius:3px;padding:.08rem .2rem;font-size:.61rem;font-weight:800;line-height:1.15;display:inline-block}.adaptive-discarded .adaptive-step-badge,.adaptive-discarded .adaptive-tree-badge{color:#fff;background:#aa1d30;border-color:#821425}.step-panel .adaptive-unused{margin:0 0 1rem}.step-panel .adaptive-unused h4{margin-bottom:.7rem}.step-panel .adaptive-unused .step-card-grid{justify-content:start}.adaptive-origin-badge,.adaptive-discarded .adaptive-origin-badge{color:#185b3e;background:#e6fff0;border-color:currentColor}.share-title-row{flex-wrap:wrap;align-items:center;gap:.65rem;display:flex}.share-plan-controls{align-items:center;gap:.6rem;min-height:2.4rem;display:flex}.share-plan-controls .share-icon-button{border-radius:.5rem;justify-content:center;align-items:center;width:2.3rem;min-width:2.3rem;height:2.3rem;padding:.35rem;display:inline-flex}.share-icon-button svg{display:block}.share-feedback{color:var(--success,#21673a);font-size:.84rem;font-weight:700}.share-error{color:var(--danger,#96352c);font-size:.82rem}.app-site-header{z-index:50;color:#f4f6f3;background:var(--lightningcss-light,#202c27)var(--lightningcss-dark,#151a1d);border-bottom:1px solid var(--lightningcss-light,#2f4038)var(--lightningcss-dark,#373f46);position:sticky;top:0}.app-site-header-inner{justify-content:space-between;align-items:center;gap:1.25rem;width:100%;min-height:62px;padding:.55rem clamp(16px,2.5vw,48px);display:flex}.app-site-brand{align-items:center;gap:.7rem;min-width:0;display:flex}.app-site-brand img{object-fit:contain;flex:0 0 36px;width:36px;height:36px;display:block}.app-site-brand strong{letter-spacing:-.02em;font-size:clamp(.87rem,1.3vw,1rem);line-height:1.25}.app-site-return{color:#f4f6f3;white-space:nowrap;background:#ffffff12;border:1px solid #ffffff50;border-radius:8px;flex:none;justify-content:center;align-items:center;gap:.4rem;min-height:36px;margin-left:auto;padding:.35rem .75rem;font-size:.8rem;display:inline-flex}.app-site-return:hover{background:#ffffff26}.app-site-controls{flex-shrink:0;align-items:center;gap:.6rem;display:flex}.app-site-controls .app-version{color:#c3d1ca;font-variant-numeric:tabular-nums;border:1px solid #ffffff32;border-radius:6px;padding:.22rem .5rem;font-size:.7rem}.app-site-header .language-picker summary,.app-site-header .theme-toggle{color:#f4f6f3;background:#ffffff12;border-color:#ffffff32}.app-site-header .language-picker summary:hover{background:#fff2}.app-site-header .theme-toggle button{color:#f4f6f3}.app-site-header .theme-toggle button:hover{background:#fff2}.app-site-header .theme-toggle button[aria-pressed=true],.app-site-header .theme-toggle button[aria-pressed=true]:hover{background:var(--accent);color:var(--on-accent)}.app-site-header .language-picker ul{z-index:30}.simulator-hero{isolation:isolate;border-bottom:1px solid var(--border);min-height:162px;color:var(--text);background:radial-gradient(at 80% 15%,var(--lightningcss-light,#d6e5d7)var(--lightningcss-dark,#2d5140),#0000 45%),linear-gradient(115deg,var(--lightningcss-light,#ebf2e9)var(--lightningcss-dark,#1b3028),var(--lightningcss-light,#f6f8f4)var(--lightningcss-dark,#22352e));align-items:center;padding:1.45rem clamp(16px,2.5vw,48px);display:flex;position:relative;overflow:hidden}.simulator-hero-copy{z-index:1;max-width:min(780px,75%);position:relative}.simulator-hero-illustration{object-fit:contain;object-position:right bottom;pointer-events:none;-webkit-user-select:none;user-select:none;opacity:.9;width:min(41vw,570px);height:auto;max-height:calc(100% + 4px);position:absolute;bottom:-2px;right:clamp(12px,2.5vw,48px);transform:scaleX(-1)}.simulator-hero-kicker{letter-spacing:.16em;text-transform:uppercase;color:var(--accent);margin:0 0 .3rem;font-size:.68rem;font-weight:750}.simulator-hero h1{letter-spacing:-.04em;margin:0 0 .4rem;font-size:clamp(1.6rem,2.9vw,2.6rem)}.simulator-hero-subtitle{max-width:58ch;color:var(--muted);margin:0;font-size:clamp(.87rem,1.1vw,1rem);line-height:1.5}@media (width<=960px){.simulator-hero-illustration{display:none}}@media (width<=800px){.simulator-hero-copy{max-width:86%}}@media (width<=620px){.app-site-header-inner{flex-wrap:wrap;align-items:flex-start;gap:.45rem;padding-top:.6rem;padding-bottom:.6rem}.app-site-brand{flex:100%}.app-site-brand img{flex-basis:28px;width:28px;height:28px}.app-site-controls{justify-content:flex-end;gap:.35rem;width:100%}.app-site-controls .app-version{margin-right:auto}.app-site-header.is-information .app-site-return{margin-left:0}.app-site-header.is-information .app-site-controls{width:auto;margin-left:auto}.app-site-header.is-information .app-version{display:none}.app-site-header .language-picker ul{width:min(16rem,100vw - 1rem);right:-4rem}.app-site-header .theme-toggle button{min-width:32px;min-height:32px;padding:.2rem;font-size:0}.app-site-header .theme-toggle button span{font-size:1rem}.simulator-hero{min-height:135px;padding-top:1.1rem;padding-bottom:1.1rem}.simulator-hero-copy{max-width:100%}.simulator-hero h1{font-size:1.65rem}}.language-load-notice{z-index:100;border:1px solid var(--border);background:var(--surface);max-width:min(23rem,100vw - 2rem);color:var(--text);box-shadow:0 8px 24px var(--shadow);border-radius:9px;margin:0;padding:.7rem 1rem;font-size:.85rem;position:fixed;bottom:1rem;right:1rem}.language-load-notice button{min-height:34px;padding:.25rem .6rem}.page-slot[hidden]{display:none!important}.help-page{width:min(1100px,100% - 32px);color:var(--text);margin:1.8rem auto 2rem}.help-page-header,.help-contents,.help-section{border:1px solid var(--border);background:var(--surface);box-shadow:0 3px 14px var(--shadow);border-radius:16px}.help-page-header{justify-content:space-between;align-items:flex-start;gap:1rem;padding:clamp(1rem,2.5vw,1.6rem);display:flex}.help-page-title{align-items:flex-start;gap:.8rem;min-width:0;display:flex}.help-page-title img{object-fit:contain;flex:0 0 38px}.help-page-eyebrow{color:var(--muted);margin-bottom:.2rem;font-size:.78rem}.help-page-title h1{margin:0;font-size:clamp(1.45rem,3.1vw,2.1rem)}.help-page-title p:last-child{color:var(--muted);margin:.5rem 0 0}.help-page-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.65rem;display:flex}.help-back{white-space:normal}.help-contents{margin:1rem 0;padding:1.2rem clamp(1rem,2vw,1.5rem)}.help-contents h2{margin:0 0 .8rem;font-size:.95rem}.help-contents ol{grid-template-columns:repeat(3,minmax(0,1fr));gap:.55rem 1rem;margin:0;padding:0;list-style:none;display:grid}.help-contents a{color:var(--text);align-items:baseline;gap:.55rem;font-size:.86rem;text-decoration:none;display:flex}.help-contents a:hover{color:var(--accent);text-decoration:underline}.help-contents a span{color:var(--muted);font-variant-numeric:tabular-nums;font-size:.76rem}.help-sections{gap:1rem;display:grid}.help-section{padding:clamp(1rem,2.4vw,1.65rem);scroll-margin-top:6rem}.help-section h2{margin:0 0 1rem;font-size:1.18rem}.help-section h3{margin:0 0 .45rem;font-size:.97rem}.help-section p{margin:.6rem 0;line-height:1.65}.help-section p:last-child{margin-bottom:0}.help-steps{padding-left:1.5rem;line-height:1.65}.help-steps li{margin:.45rem 0;padding-left:.15rem}.help-note{background:var(--surface-soft);border-left:3px solid var(--accent);border-radius:4px;padding:.8rem 1rem}.help-strategy-grid{grid-template-columns:1fr 1fr;gap:.8rem;display:grid}.help-strategy-grid>div,.help-example-captures{background:var(--surface-soft);border:1px solid var(--border);border-radius:12px;padding:1rem}.help-example-goal{justify-content:center;margin:.95rem 0 1rem;display:flex}.help-example-card-grid{flex-wrap:wrap;justify-content:center;gap:.8rem;display:flex}.help-mount-card{box-sizing:border-box;border:1px solid var(--border);background:var(--surface-soft);width:176px;min-height:146px;box-shadow:0 2px 10px var(--shadow);text-align:center;border-radius:10px;grid-template-rows:auto 1fr;align-content:start;justify-items:center;gap:.35rem;padding:.75rem .65rem;display:grid;position:relative}.help-mount-card.goal-achieved{color:#3b2a08;background:linear-gradient(#f1d985 0%,#e7c768 48%,#d4a742 100%);border-color:#a87516;box-shadow:inset 0 0 0 1px #f6e3a3,0 2px 5px #69450733}.help-mount-card-media{place-items:center;width:100%;display:grid}.help-mount-card-media .variety-image,.help-mount-card-media .image-placeholder{width:58px;height:58px}.help-mount-card-body{align-content:start;justify-items:center;gap:.35rem;width:100%;min-width:0;display:grid}.help-mount-card-generation{background:color-mix(in srgb, var(--surface) 75%, transparent);border:1px solid var(--border);border-radius:999px;justify-content:center;align-items:center;min-width:38px;min-height:24px;padding:.14rem .5rem;font-size:.76rem;font-weight:700;display:inline-flex}.help-mount-card.goal-achieved .help-mount-card-generation{background:#fff7d9;border-color:#a87516}.help-mount-card-name{overflow-wrap:anywhere;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:.9rem;line-height:1.22;display:-webkit-box;overflow:hidden}.help-mount-card-quantity{background:var(--surface);border:1px solid var(--border-strong);border-radius:999px;min-width:26px;min-height:26px;padding:.15rem .35rem;font-size:.76rem;font-weight:750;position:absolute;top:.45rem;right:.45rem}.help-example-crosses{gap:.6rem;margin:1rem 0;display:grid}.help-example-cross{border:1px solid var(--border);border-radius:10px;grid-template-columns:minmax(85px,.24fr) 1fr;align-items:start;gap:.6rem;padding:.8rem 1rem;display:grid}.help-example-cross-index{color:var(--muted);font-size:.83rem}.help-example-flow{flex-wrap:wrap;align-items:center;gap:.55rem;display:flex}.help-example-symbol{color:var(--muted);font-size:1.25rem;font-weight:800}.help-example-totals{grid-template-columns:repeat(5,minmax(0,1fr));gap:.45rem;margin:1rem 0;display:grid}.help-example-totals>div{text-align:center;background:var(--surface-soft);border:1px solid var(--border);border-radius:10px;gap:.2rem;padding:.6rem .35rem;display:grid}.help-example-totals strong{font-variant-numeric:tabular-nums;font-size:1.35rem}.help-example-totals span{color:var(--muted);font-size:.79rem}.help-section#help-machines>h3{margin:1.35rem 0 .6rem}.help-machines-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem;margin:1rem 0 .45rem;display:grid}.help-machine-card{border:1px solid var(--border);background:var(--surface-soft);border-radius:12px;align-items:center;gap:.9rem;min-width:0;padding:.95rem;display:flex}.help-machine-card>img{object-fit:contain;flex:0 0 80px;width:80px;height:80px}.help-machine-card>div{min-width:0}.help-machine-card h3{overflow-wrap:anywhere}.help-machine-card p{margin:.25rem 0 0;font-size:.87rem}.help-section .help-machines-caption{color:var(--muted);margin:0 0 1.35rem;font-size:.82rem}.help-probability-formula{overflow-wrap:anywhere;border:1px solid var(--border-strong);background:var(--surface-soft);text-align:center;border-radius:12px;margin:.7rem 0;padding:1.1rem}.help-probability-formula code{white-space:normal;color:var(--text);font-size:clamp(.81rem,1.5vw,1rem);line-height:1.8}.help-probability-cases{grid-template-columns:repeat(4,minmax(0,1fr));gap:.65rem;margin:.7rem 0 1rem;display:grid}.help-probability-case{border:1px solid var(--border);background:var(--surface-soft);text-align:center;border-radius:10px;align-content:center;justify-items:center;gap:.35rem;min-width:0;padding:.8rem .6rem;display:grid}.help-probability-case strong{font-variant-numeric:tabular-nums;color:var(--text);font-size:1.45rem}.help-probability-case span{color:var(--muted);font-size:.8rem;line-height:1.45}.help-section .help-probability-worked{border-left:3px solid var(--accent);background:var(--surface-soft);border-radius:4px;margin:.8rem 0;padding:.65rem .9rem}.help-glossary{grid-template-columns:1fr 1fr;gap:.7rem 1rem;margin:0;display:grid}.help-glossary div{border-bottom:1px solid var(--border);padding:.45rem 0}.help-glossary dt{font-weight:650}.help-glossary dd{color:var(--muted);margin:.25rem 0 0;line-height:1.55}.help-page-end{justify-content:flex-end;margin:1.25rem 0;display:flex}@media (width<=720px){.help-page-header{flex-direction:column}.help-machines-gallery{grid-template-columns:1fr}.help-probability-cases{grid-template-columns:repeat(2,minmax(0,1fr))}.help-page-actions{justify-content:flex-start;width:100%}.help-page-actions .language-picker ul{left:0;right:auto}.help-contents ol{grid-template-columns:repeat(2,minmax(0,1fr))}.help-example-card-grid,.help-example-flow{justify-content:center}.help-example-totals{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=620px){.help-section{scroll-margin-top:10rem}}@media (width<=480px){.help-page{width:calc(100% - 20px);margin:.75rem auto 1.2rem}.help-contents ol,.help-strategy-grid,.help-glossary,.help-example-cross{grid-template-columns:1fr}.help-mount-card{width:min(100%,220px)}.help-machine-card{text-align:center;flex-direction:column}.help-example-card-grid,.help-example-flow{justify-content:center}.help-example-totals{grid-template-columns:repeat(2,minmax(0,1fr))}}.about-page .help-sections{margin-top:1rem}.roadmap-section>p{max-width:none}.roadmap-table-container{min-width:0;margin-top:1rem}.roadmap-table{border-collapse:collapse;text-align:left;table-layout:fixed;width:100%;font-size:.9rem}.roadmap-table thead{background:var(--surface-soft)}.roadmap-table th,.roadmap-table td{vertical-align:top;border-bottom:1px solid var(--border);overflow-wrap:anywhere;padding:.85rem 1rem}.roadmap-table thead th{color:var(--text);font-weight:700}.roadmap-table thead th:first-child{width:13%}.roadmap-table thead th:nth-child(2){width:28%}.roadmap-table tbody tr:last-child>*{border-bottom:0}.roadmap-table .roadmap-version{font-variant-numeric:tabular-nums;white-space:nowrap;font-weight:750}.roadmap-feature{font-weight:650}.roadmap-description{line-height:1.55}.roadmap-note{background:var(--surface-soft);border-left:3px solid var(--accent);color:var(--muted);border-radius:4px;padding:.75rem 1rem;margin-top:1rem!important}@media (width<=720px){.roadmap-table,.roadmap-table tbody,.roadmap-table tr,.roadmap-table tbody th,.roadmap-table td{width:100%;display:block}.roadmap-table thead{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;margin:-1px;position:absolute;overflow:hidden}.roadmap-table tbody{gap:.8rem;display:grid}.roadmap-table tbody tr{border:1px solid var(--border);background:var(--surface-soft);border-radius:12px;padding:.75rem 1rem}.roadmap-table tbody th,.roadmap-table td{border:0;padding:.25rem 0}.roadmap-table .roadmap-version{color:var(--accent);font-size:.85rem}.roadmap-table .roadmap-feature{font-size:1rem}}.legal-sections,.privacy-sections{margin-top:1rem}.policy-section p{overflow-wrap:anywhere;max-width:none}.policy-section a{color:var(--accent);overflow-wrap:anywhere}.policy-section a:hover{text-decoration:underline}.help-page-title .policy-updated{color:var(--muted);margin-top:.65rem;font-size:.78rem}.report-section>p{max-width:none}.report-form{gap:.7rem;margin-top:1.2rem;display:grid}.report-form>.report-required-label{justify-self:start;align-items:baseline;gap:.25rem;display:inline-flex}.report-required-label>span{color:var(--text)}.report-form textarea,.report-form input[type=email],.report-form input[type=url]{border:1px solid var(--border-strong);background:var(--field-bg);width:100%;min-width:0;color:var(--text);font:inherit;border-radius:9px;padding:.7rem .8rem}.report-form textarea{resize:vertical;line-height:1.55}.report-description-warning{color:var(--error-ink);font-size:.85rem;font-style:italic;margin:-.3rem 0 .2rem!important}.report-categories{border:1px solid var(--border);background:var(--surface-soft);border-radius:12px;grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem 1rem;min-width:0;margin:0 0 .5rem;padding:1rem;display:grid}.report-categories legend{padding:0 .3rem;font-weight:650}.report-radio,.report-checkbox{cursor:pointer;align-items:flex-start;gap:.6rem;font-size:.88rem;font-weight:400;line-height:1.5;display:flex}.report-radio input,.report-checkbox input{width:19px;height:19px;min-height:0;accent-color:var(--accent);flex:none;margin:.15rem 0 0}.report-hint{color:var(--muted);font-size:.82rem;margin:.1rem 0 .6rem!important}.report-images,.report-simulation{gap:.4rem;min-width:0;display:grid}.report-images{border:1px solid var(--border);background:var(--surface-soft);border-radius:12px;margin:.35rem 0;padding:1rem}.report-images input[type=file]{width:100%;min-width:0;color:var(--text);font-size:.85rem}.report-images input[type=file]::file-selector-button{border:1px solid var(--border-strong);background:var(--surface);color:var(--text);cursor:pointer;border-radius:8px;margin-right:.7rem;padding:.55rem .8rem}.report-image-list{gap:.5rem;margin:.6rem 0 0;padding:0;list-style:none;display:grid}.report-image-item{border:1px solid var(--border);background:var(--surface);border-radius:10px;align-items:center;gap:.7rem;min-width:0;padding:.45rem;display:flex}.report-image-item img{object-fit:contain;border-radius:7px;flex:0 0 72px;width:72px;height:72px}.report-image-name{overflow-wrap:anywhere;flex:1;min-width:0;font-size:.83rem;display:grid}.report-image-name small{color:var(--muted)}.report-image-item button{flex-shrink:0;min-height:34px;padding:.4rem .6rem;font-size:.78rem}.report-simulation{padding:.45rem 0}.report-simulation .report-hint{margin-bottom:.1rem!important;margin-left:1.6rem!important}.report-privacy,.report-notice{border-left:3px solid var(--accent);background:var(--surface-soft);color:var(--muted);border-radius:5px;padding:.8rem 1rem;font-size:.86rem}.report-notice{border-color:var(--warning-ink);color:var(--text)}.report-input-error{background:var(--error-bg);color:var(--error-ink);border-radius:7px;padding:.7rem .9rem}.report-success{background:var(--success-bg);color:var(--success-ink);border-radius:7px;padding:.8rem 1rem}.report-form>.report-success{justify-self:start;max-width:100%;margin:0}.report-honeypot{width:1px;height:1px;position:absolute;left:-10000px;overflow:hidden}.report-submit{justify-self:start;min-width:165px}@media (width<=600px){.report-categories{grid-template-columns:1fr}.report-image-item{flex-wrap:wrap}.report-image-item button{margin-left:auto}.report-submit{width:100%}}.plan-results{min-width:0;margin:2.2rem 0}.results-heading{justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1.1rem;display:flex}.results-heading h2{letter-spacing:-.025em;font-size:1.6rem}.results-heading .eyebrow{margin-bottom:.25rem}.verified-label{color:#477441;font-size:.75rem}.result-visualization{min-width:0}.result-view-switch{flex-wrap:wrap;gap:.5rem;margin-bottom:.7rem;display:flex}.result-view-switch button.selected{color:#fff;background:#417449;border-color:#417449}.step-panel{--step-card-width:112px;--step-card-height:178px;--step-operation-width:412px;background:#fff;border:1px solid #d4dece;border-radius:12px;min-width:0;padding:1.15rem;container-type:inline-size}.step-panel .section-heading{margin-bottom:.8rem}.step-navigation{flex-wrap:wrap;align-items:end;gap:.6rem;margin:.7rem 0 1rem;display:flex}.step-navigation label{color:#596d52;gap:.2rem;font-size:.75rem;display:grid}.step-navigation select{min-width:110px}.step-heading{background:#edf4e8;border-radius:8px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem;padding:.7rem .85rem;display:flex}.step-heading h3{margin:0}.step-group{background:#f8faf6;border:1px solid #d8e3d3;border-radius:10px;margin:.8rem 0;padding:.7rem}.step-group.results{background:#f3f0fa;border-color:#dcd4e9}.step-group h4{margin:0 0 .6rem}.step-pen-heading{justify-content:flex-start;align-items:center;gap:.5rem;margin-bottom:.6rem;display:flex}.step-pen-heading h4{margin:0}.step-pen-confirm{cursor:pointer;flex:none;justify-content:center;align-items:center;width:22px;height:22px;display:inline-flex}.step-pen-confirm input[type=checkbox]{box-sizing:border-box;width:18px;min-width:18px;height:18px;min-height:0;accent-color:var(--accent);cursor:pointer;margin:0;padding:0}.step-pen-confirm input[type=checkbox]:disabled{opacity:.45;cursor:not-allowed}.step-pen-confirm input[type=checkbox]:focus-visible{outline:2px solid var(--focus);outline-offset:2px}.step-group h4 small{color:#667567;margin-left:.4rem;font-size:.7rem;font-weight:400}.step-group>p{color:#5a6656;margin:0 0 .7rem;font-size:.75rem}.step-card-grid{flex-wrap:wrap;justify-content:center;gap:.65rem;display:flex}.step-card-grid>div{width:var(--step-card-width)}.step-card{width:var(--step-card-width);height:var(--step-card-height);text-align:center;color:#273a34;border:1px solid;border-radius:9px;flex-direction:column;justify-content:flex-start;align-items:center;gap:.2rem;min-width:0;padding:.65rem .35rem;font-size:.72rem;font-weight:400;display:flex;position:relative;overflow:hidden}.step-card.female{background:#fff0f5;border-color:#bf819c}.step-card.male{background:#ebf5ff;border-color:#7fa4c6}.step-card.consumed{color:#59655d;background:#f0f1ed;border:1px dashed #9ba39b}.step-card.consumed .variety-image{opacity:.6;filter:saturate(.45)}.step-card.linked{border:3px solid #2f704f;box-shadow:0 0 0 3px #79ad8b80}.step-card:focus-visible{outline-offset:2px;outline:3px solid #2f704f}.step-card.missing-data{background:#fff8e9;border-color:#c6ad78}.step-card .sex-marker{font-size:19px;font-weight:700;line-height:1;position:absolute;top:6px;right:8px}.step-card .sex-marker.male{color:#286fba}.step-card .sex-marker.female{color:#d65385}.step-card .variety-image,.step-card .image-placeholder{width:58px;height:58px}.step-card strong{overflow-wrap:anywhere;line-height:1.25}.step-origin{color:#526456;font-size:.65rem}.step-card-badges{flex-wrap:wrap;justify-content:center;gap:.25rem;font-size:.65rem;display:flex}.step-state{background:#ffffffbc;border:1px solid #b7c7b8;border-radius:20px;padding:2px 6px}.step-pair-grid{flex-wrap:wrap;justify-content:center;gap:.7rem;display:flex}.step-pair{grid-template-columns:var(--step-card-width) 18px var(--step-card-width);background:#fff;border:1px dashed #a8bca5;border-radius:10px;align-items:center;gap:.25rem;width:max-content;padding:.5rem;display:grid}.step-join,.step-arrow{text-align:center;color:#60755d;font-size:1.25rem;font-weight:700}.step-work-columns{grid-template-columns:minmax(0,1fr);align-items:start;gap:.8rem;display:grid}.step-work-columns.paired{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}.step-work-columns.paired>.step-group.operations{flex-direction:column;display:flex}.step-work-columns.paired .step-operation-list{flex:1;align-content:space-evenly}.step-work-columns .step-group{min-width:0;margin:0}.step-operation-list{grid-template-columns:repeat(auto-fit, var(--step-operation-width));place-content:start center;gap:.6rem;display:grid}.step-operation{grid-template-columns:var(--step-card-width) 18px var(--step-card-width) 24px var(--step-card-width);background:#fff;border:1px solid #d6e0d0;border-radius:10px;align-items:center;gap:.25rem;width:max-content;padding:.5rem;display:grid}.step-group.operations{overflow-x:auto}.step-group.cloning{background:#faf7fd;border-color:#dcd4e9}.step-completion{justify-content:center;align-items:center;padding:.8rem 0 .2rem;display:flex}.step-complete-button{border-radius:8px;min-width:185px;min-height:40px;padding:.6rem 1.2rem;font-weight:700}.step-complete-button:disabled:not(.done){opacity:.45;cursor:not-allowed}.step-complete-button.done{background:var(--success-bg);color:var(--success-ink);border:1px solid var(--accent);opacity:1;cursor:default}.step-result-layout{flex-wrap:wrap;justify-content:center;align-items:flex-start;gap:1.75rem;display:flex}.step-result-group{background:#faf9fd;border:1px solid #dcd4e9;border-radius:10px;flex:0 auto;width:max-content;min-width:0;max-width:100%;padding:.7rem}.step-result-group h5{margin:.2rem 0 .5rem;font-size:.8rem}.tree-panel{background:#fff;border:1px solid #d4dece;border-radius:12px;min-width:0;padding:1.15rem}.tree-panel .section-heading{margin-bottom:.8rem}.final-goals{background:#f4f6ed;border-radius:8px;flex-wrap:wrap;align-items:center;gap:.4rem;padding:.7rem;display:flex}.final-goals>strong{color:#647044;width:100%;margin-bottom:.1rem;font-size:.7rem}.final-goals button{border-color:#d0d9bd;min-height:36px;padding:.35rem .6rem;font-size:.7rem}.tree-tools{flex-wrap:wrap;align-items:center;gap:.5rem;margin:.8rem 0;font-size:.8rem;display:flex}.tree-tools button{font-size:.75rem}.tree-tools small{color:#687760;margin-left:auto;font-size:.7rem}.tree-scroll{overscroll-behavior:contain;background:#f8faf5;border:1px solid #e1e7d8;border-radius:8px;width:100%;max-height:820px;overflow:auto}.pyramid{margin-inline:auto;display:block}.breeding-edge{fill:none;stroke:#91a997;stroke-width:1.7px}.breeding-edge.active-edge{stroke:#246942;stroke-width:3px}.breeding-edge.muted-edge{opacity:.17}.layer-label{fill:#64745a;font:700 12px system-ui}.layer-line{stroke:#e6ebde;stroke-dasharray:4 6}button.tree-node{color:#2c4234;background:#fff;border:1px solid #bacbb0;border-radius:10px;flex-direction:column;justify-content:start;align-items:center;width:100%;height:100%;padding:8px;font-weight:400;display:flex;position:relative;overflow:hidden;box-shadow:0 2px 5px #324c2310}.tree-node .sex-marker{font-size:19px;font-weight:700;line-height:1;position:absolute;top:5px;right:7px}.tree-node .sex-marker.male{color:#286fba}.tree-node .sex-marker.female{color:#d65385}button.tree-node.target-node{background:#fffced;border:2px solid #b39035}button.tree-node.removed-node{color:#667060;background:#f0f1ed;border-style:dashed}button.tree-node.removed-node .variety-image{opacity:.6;filter:saturate(.45)}button.tree-node.selected-node,button.tree-node:focus-visible{border:3px solid #417449;outline:0}.tree-node .variety-image,.tree-node .image-placeholder{width:80px;height:80px;margin-bottom:4px}.node-name{justify-content:center;align-items:center;height:34px;font-size:12px;line-height:1.3;display:flex}.node-badges{flex-wrap:wrap;justify-content:center;gap:3px;margin-top:7px;font-size:10px;line-height:1.5;display:flex}.state-badge,.clone-badge{border-radius:20px;padding:2px 6px}.state-badge.fertile{color:#486936;background:#e9f2df}.state-badge.sterile{color:#815d2b;background:#f2e9da}.state-badge.removed{color:#63695d;background:#e4e5df}.clone-badge{color:#66558b;background:#e8e5f4}.clone-link{fill:none;stroke:#a497b5;stroke-width:1.5px;stroke-dasharray:4 3}.clone-link.active-clone-link{stroke:#70509a;stroke-width:3px;stroke-dasharray:none}button.clone-event{color:#544064;text-align:center;background:#f6f0fb;border:1px dashed #a38bb8;border-radius:10px;flex-direction:column;justify-content:center;align-items:center;gap:3px;width:100%;height:100%;padding:8px;font-weight:400;display:flex;overflow:hidden}.clone-event .variety-image,.clone-event .image-placeholder{width:64px;height:60px}.clone-event .node-name{flex-shrink:0;height:30px}.clone-event .clone-label{background:#e9dff2;border-radius:8px;padding:3px 5px;font-size:10px;line-height:1.2}.clone-event .clone-purpose{font-size:9px;font-weight:400;line-height:1.2}button.clone-event:hover,button.clone-event.active-clone-event{background:#e8e0f1;border:2px solid #80649d}button.clone-event:focus-visible{border:3px solid #70509a;outline:none}button.tree-node.clone-related-node{background:#f6f0fc;border:3px solid #70509a}button.tree-node.clone-use-node{background:#f2f8ed;border:3px solid #417449}button.tree-node.clone-removed-node{border:2px dashed #80649d}.tree-legend{color:#69765d;flex-wrap:wrap;gap:.6rem 1rem;margin:.8rem 0 0;font-size:.65rem;display:flex}.tree-limit{background:#fffbef;border:1px solid #dfca92;border-radius:8px;margin:1.5rem 0 .5rem;padding:1rem;font-size:.9rem}.calculation-details{background:#fff;border:1px solid #d4dece;border-radius:10px;margin-top:1.2rem;padding:0 1.1rem;font-size:.85rem}.calculation-details>section{padding-top:.8rem}.strategy{margin-bottom:1rem}.audit-panel{margin:1rem 0}.audit-panel>details{border:1px solid #d4dece;border-radius:8px;margin-bottom:.6rem;padding:.3rem .8rem}.audit-panel label{max-width:300px}.table-scroll{max-width:100%;margin:.7rem 0;overflow:auto}table{border-collapse:collapse;text-align:left;width:100%;font-size:.8rem}th,td{border-bottom:1px solid #d6dfd4;padding:.65rem}tbody th{min-width:180px}.pagination{flex-wrap:wrap;align-items:center;gap:.6rem;margin:1rem 0;font-size:.8rem;display:flex}.pagination button{font-size:.8rem}.ledger-list{padding:0;list-style:none}.ledger-list>li{border-top:1px solid #d6dfd4;font-size:.8rem}.ledger-list summary{overflow-wrap:anywhere}.ledger-list li details ul{padding-left:1.2rem}@media (width<=850px){.tree-tools small{flex-basis:100%;margin-left:0}}@container (width<=900px){.step-work-columns.paired{grid-template-columns:minmax(0,1fr);align-items:start}.step-work-columns.paired>.step-group.operations{display:block}.step-work-columns.paired .step-operation-list{align-content:start}}@media (width<=700px){.step-work-columns.paired{grid-template-columns:1fr;align-items:start}.step-work-columns.paired>.step-group.operations{display:block}.step-work-columns.paired .step-operation-list{align-content:start}}@media (width<=600px){.tree-panel,.step-panel{padding:.8rem}.tree-scroll{max-height:620px}.results-heading{align-items:start}.verified-label{max-width:100px}}.step-card .step-select-surface{z-index:1;box-sizing:border-box;border-radius:inherit;cursor:pointer;background:0 0;border:0;width:100%;height:100%;min-height:0;padding:0;position:absolute;inset:0}.step-card:has(.step-select-surface:focus-visible){outline:3px solid var(--focus);outline-offset:2px}.step-card .step-confirm-sex{z-index:4;cursor:pointer;justify-content:center;align-items:center;width:20px;height:20px;display:flex;position:absolute;top:5px;right:5px}.step-card .step-confirm-sex input[type=checkbox]{box-sizing:border-box;width:17px;min-width:17px;height:17px;min-height:0;accent-color:var(--accent);cursor:pointer;margin:0;padding:0}.step-card .step-confirm-sex input[type=checkbox]:disabled{cursor:not-allowed;opacity:.72}.step-card .step-confirm-sex input[type=checkbox]:focus-visible{outline:2px solid var(--focus);outline-offset:2px}.step-card:has(.step-confirm-sex input:checked){outline:2px solid var(--border-strong);outline-offset:-3px}.step-card .step-sex-controls,.step-card .step-fixed-sex{z-index:3;flex-direction:column;justify-content:center;align-items:center;gap:2px;width:100%;min-height:18px;display:flex;position:relative}.step-card .step-sex-controls>.sex-marker,.step-card .step-fixed-sex>.sex-marker{font-size:16px;font-weight:700;line-height:1;position:static}.step-card .step-sex-controls .overview-sex-switch{gap:3px;width:92px;height:19px}.step-card .step-sex-controls .overview-sex-switch input[type=range]{flex:0 0 49px;width:49px;min-width:49px;max-width:49px}.step-card .step-sex-controls .overview-capture-end{font-size:13px}.step-card .step-origin-link{z-index:3;box-sizing:border-box;max-width:100%;min-height:0;color:inherit;cursor:pointer;background:0 0;border:0;margin:0;padding:1px 2px;font-size:10px;font-weight:600;line-height:1.2;text-decoration:underline;position:relative}.step-card .step-origin-link:focus-visible{outline:2px solid var(--focus);outline-offset:2px}.step-card .step-risk-sex{z-index:3;color:#b38300;position:absolute;bottom:4px;left:5px}.step-card:has(.step-select-surface){gap:1px;padding:.42rem .35rem}.step-card .step-mount-name-row{z-index:3;pointer-events:none;justify-content:center;align-items:center;gap:2px;max-width:100%;min-height:20px;display:inline-flex;position:relative}.step-card .step-mount-name{color:inherit;white-space:nowrap;letter-spacing:-.1px;font:700 10px/1.2 ui-monospace,SFMono-Regular,Consolas,monospace}.step-card .step-mount-copy{width:20px;min-width:0;height:20px;min-height:0;color:inherit;cursor:pointer;pointer-events:auto;background:0 0;border:1px solid #0000;border-radius:4px;flex:none;justify-content:center;align-items:center;margin:0;padding:2px;display:inline-flex}.step-card .step-mount-copy:hover{background:var(--surface-soft);border-color:var(--border)}.step-card .step-mount-copy:focus-visible{outline:2px solid var(--focus);outline-offset:1px}.step-card .step-mount-copy.copied{color:var(--accent);border-color:var(--accent)}.step-card .step-mount-copy.error{color:var(--warning-ink);border-color:var(--warning-ink)}.site-footer{border:1px solid var(--border);background:var(--surface);width:min(1240px,100% - 32px);color:var(--text);box-shadow:0 5px 20px var(--shadow);border-radius:18px;margin:2.2rem auto 1.6rem;padding:clamp(1rem,2vw,1.6rem);font-size:.81rem;line-height:1.55}.site-footer-top{grid-template-columns:minmax(0,1.15fr) minmax(190px,.85fr);gap:clamp(1.1rem,3vw,3.6rem);padding-bottom:1.2rem;display:grid}.site-footer-brand{align-items:center;gap:.65rem;min-width:0;display:flex}.site-footer-brand strong{color:var(--text);font-size:.92rem;font-weight:650;line-height:1.35}.site-footer-mark{object-fit:contain;border:0;border-radius:0;flex:0 0 25px;width:25px;height:25px;display:block;transform:none}.site-footer-identity>p{max-width:34rem;color:var(--muted);margin:.75rem 0 0}.site-footer-project h2{color:var(--text);margin:0 0 .45rem;font-size:.9rem;line-height:1.4}.site-footer-items{gap:.28rem;margin:0;padding:0;list-style:none;display:grid}.site-footer-items li{min-width:0}.site-footer-disclaimer{border-top:1px solid var(--border);padding:1rem 0 .8rem}.site-footer-disclaimer p{max-width:78rem;color:var(--muted);margin:0}.site-footer-bottom{color:var(--muted);flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:.75rem 1.2rem;display:flex}.site-footer-bottom small{font-size:.75rem}.site-footer-policies{flex-wrap:wrap;align-items:center;gap:.5rem;font-size:.75rem;display:flex}.site-footer-separator{color:var(--muted)}@media (width<=640px){.site-footer{border-radius:14px;margin-top:1.4rem;margin-bottom:1rem;padding:1rem}.site-footer-top{grid-template-columns:minmax(0,1fr);gap:1.25rem}.site-footer-project h2{margin-bottom:.5rem}.site-footer-bottom{flex-direction:column;align-items:flex-start;gap:.3rem}}.scroll-to-top{right:clamp(16px,2.5vw,28px);bottom:calc(20px + env(safe-area-inset-bottom,0px));z-index:30;border:1px solid var(--accent);background:var(--accent);width:54px;height:54px;min-height:54px;color:var(--on-accent);box-shadow:0 6px 22px var(--shadow);opacity:0;visibility:hidden;pointer-events:none;border-radius:50%;place-items:center;padding:0;transition:opacity .15s,transform .15s,visibility .15s;display:grid;position:fixed;transform:translateY(8px)}.scroll-to-top-visible{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0)}.scroll-to-top-visible:hover{background:var(--accent-hover);border-color:var(--accent-hover);color:var(--on-accent);transform:translateY(-2px)}.scroll-to-top:focus-visible{outline:3px solid var(--focus);outline-offset:3px}@media (width<=600px){.scroll-to-top{right:14px;bottom:calc(14px + env(safe-area-inset-bottom,0px));width:48px;height:48px;min-height:48px}}@media (prefers-reduced-motion:reduce){.scroll-to-top{transition:none}.scroll-to-top-visible:hover{transform:none}}:root{color:#243b32;font-synthesis:none;background:#f4f6f1;font-family:system-ui,sans-serif;line-height:1.5}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,select{cursor:pointer}button,input,select{border:1px solid #a9b9ac;border-radius:8px;min-height:44px;padding:.65rem .8rem}input,select{color:#243b32;background:#fff;min-width:0;max-width:100%}button{color:#fff;background:#245b42;font-weight:650}button.secondary{color:#245b42;background:#fff}button:disabled{cursor:not-allowed;opacity:.55}:focus-visible{outline-offset:3px;outline:3px solid #a47916}label{gap:.4rem;min-width:0;font-size:.85rem;font-weight:600;display:grid}h1,h2,h3,p{margin-top:0}h1{letter-spacing:-.035em;margin-bottom:.65rem;font-size:clamp(1.6rem,2.5vw,2.5rem);line-height:1.2}h2{margin-bottom:0;font-size:1.25rem}h3{margin-bottom:0;font-size:1rem;line-height:1.3}.language-picker{position:relative}.language-picker summary{border:1px solid var(--border);background:var(--surface-soft);min-height:34px;color:var(--text);cursor:pointer;border-radius:8px;align-items:center;gap:.25rem;padding:.2rem .4rem;font-size:.75rem;list-style:none;display:flex}.language-picker summary::-webkit-details-marker{display:none}.language-picker img{object-fit:contain;width:22px;height:22px;display:block}.language-picker ul{z-index:2;border:1px solid var(--border);background:var(--surface);width:min(18rem,100vw - .7rem);box-shadow:0 8px 24px var(--shadow);border-radius:10px;margin:0;padding:.35rem;list-style:none;position:absolute;top:calc(100% + .35rem);right:0}.language-picker li{margin:0;padding:0}.language-picker li button{width:100%;min-height:38px;color:var(--text);text-align:left;background:0 0;border:0;border-radius:6px;grid-template-columns:22px minmax(0,1fr) auto;align-items:center;gap:.5rem;padding:.35rem;font-size:.8rem;font-weight:400;display:grid}.language-picker li button:hover,.language-picker li button[aria-current=true]{background:var(--surface-soft)}.language-icon-fallback{border:1px solid var(--border);border-radius:4px;place-items:center;width:22px;height:22px;font-size:.65rem;font-weight:700;display:inline-grid}.language-picker li small{color:var(--muted);font-size:.7rem}main{padding:2.3rem clamp(16px,2.5vw,48px)}.eyebrow{letter-spacing:.13em;color:#627b46;margin-bottom:.6rem;font-size:.68rem;font-weight:700}.muted{color:#5c6f62;font-size:.8rem}.section-heading{justify-content:space-between;align-items:baseline;gap:1rem;margin-bottom:1.15rem;display:flex}.section-heading>span{color:#5c6f62;font-size:.75rem}.goals-panel{background:#fff;border:1px solid #d4dece;border-radius:14px;padding:1.4rem;box-shadow:0 3px 14px #20382005}.variety-image{object-fit:contain;flex-shrink:0}.image-placeholder{color:#536b43;background:#eaf0e4;border-radius:8px;flex-direction:column;flex-shrink:0;justify-content:center;align-items:center;font-size:14px;display:inline-flex}.image-placeholder small{font-size:9px}.goal-controls{grid-template-columns:180px minmax(180px,1fr) 90px auto;align-items:end;gap:.8rem;display:grid}.variety-selector{min-width:0;position:relative}.variety-selector>label{margin-bottom:.4rem}.search-control{display:flex;position:relative}.search-control input{width:100%;padding-right:2.7rem}button.selector-toggle{color:#35503e;background:0 0;border:0;width:40px;min-height:0;padding:0;position:absolute;top:1px;bottom:1px;right:1px}.selector-popup{z-index:5;background:#fff;border:1px solid #9db295;border-radius:10px;margin-top:5px;position:absolute;top:100%;left:0;right:0;overflow:hidden;box-shadow:0 12px 35px #20382026}.selector-popup ul{max-height:330px;margin:0;padding:4px;list-style:none;overflow:auto}.selector-popup li{cursor:pointer;border-radius:6px;align-items:center;gap:.7rem;padding:.4rem .6rem;font-size:.85rem;display:flex}.selector-popup li>span:not(.image-placeholder){flex:1}.selector-popup li small{color:#617358;font-size:.7rem;display:block}.selector-popup .variety-image,.selector-popup .image-placeholder{width:44px;height:44px}.selector-popup>p{margin:0;padding:.8rem;font-size:.85rem}.objectives-heading{border-top:1px solid #e7ece2;justify-content:space-between;align-items:center;gap:.7rem;margin-top:1.3rem;padding-top:1rem;display:flex}.objectives-heading h3{font-size:.8rem}.objectives-heading p{color:#64725e;margin:0;font-size:.75rem}.empty-goals{color:#7a8774;margin:.75rem 0 1.2rem;font-size:.85rem}.goal-list{grid-template-columns:repeat(auto-fit,minmax(290px,1fr));gap:.6rem;margin:.8rem 0 1.2rem;padding:0;list-style:none;display:grid}.goal-list li{background:#f5f7f1;border:1px solid #e3e9dc;border-radius:8px;align-items:center;gap:.5rem;min-width:0;padding:.45rem .55rem;display:flex}.goal-list li>span:not(.image-placeholder){flex:1;font-size:.8rem;font-weight:600}.goal-list .variety-image,.goal-list .image-placeholder{width:44px;height:44px}.goal-quantity{flex-shrink:0;position:relative}.goal-quantity input{text-align:center;width:64px;padding:.4rem;font-size:.85rem}.field-error{z-index:4;color:#8e3520;background:#fff5ec;border:1px solid #c68752;width:240px;padding:.6rem;font-size:.75rem;position:absolute;top:100%;right:0}button.remove-goal{color:#6f7b67;background:0 0;border:0;min-width:36px;padding:.3rem;font-size:1.2rem}button.remove-goal:hover{color:#9b2525;background:#f8e8e4}.simulation-actions{flex-wrap:wrap;align-items:center;gap:1rem;display:flex}.simulation-actions>button:first-child{min-width:155px}.pending-notice{color:#85621a;margin:0;font-size:.8rem}.error{color:#922c23;background:#fff0e9;border-radius:8px;margin-top:1rem;padding:.8rem 1rem}.calculation-notice{color:#526640;margin-top:1rem;font-size:.85rem}.help{border-top:1px solid #d8e0d1;margin-top:2.4rem;font-size:.85rem}.help p{color:#5a6d5c;max-width:950px}summary{cursor:pointer;padding:.85rem 0;font-weight:650}.sr-only{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@media (width<=1000px){.goal-controls{grid-template-columns:minmax(140px,1fr) minmax(180px,2fr)}.goal-controls>label:last-of-type{max-width:120px}}@media (width<=600px){main{padding-top:1.5rem}.section-heading{flex-direction:column;align-items:start;gap:.3rem}.goal-controls{flex-direction:column;align-items:stretch;gap:.65rem;display:flex}.goal-controls>label:last-of-type{max-width:none}.goals-panel{padding:1rem}.goal-list{grid-template-columns:minmax(0,1fr)}.objectives-heading{flex-direction:column;align-items:start;gap:.35rem}.goal-list li{gap:.3rem;padding:.35rem}.goal-list .variety-image,.goal-list .image-placeholder{width:36px;height:36px}.goal-quantity input{width:55px}.site-header{font-size:.75rem}}:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;--page-bg:var(--lightningcss-light,#f4f6f1)var(--lightningcss-dark,#17191d);--surface:var(--lightningcss-light,#fff)var(--lightningcss-dark,#22262c);--surface-raised:var(--lightningcss-light,#fff)var(--lightningcss-dark,#343941);--surface-soft:var(--lightningcss-light,#f5f8f1)var(--lightningcss-dark,#2d323a);--field-bg:var(--lightningcss-light,#fff)var(--lightningcss-dark,#1e2228);--text:var(--lightningcss-light,#243b32)var(--lightningcss-dark,#e8edf2);--muted:var(--lightningcss-light,#5c6f62)var(--lightningcss-dark,#b7c1cc);--border:var(--lightningcss-light,#d4dece)var(--lightningcss-dark,#414852);--border-strong:var(--lightningcss-light,#9db295)var(--lightningcss-dark,#68727e);--accent:var(--lightningcss-light,#245b42)var(--lightningcss-dark,#80b996);--accent-hover:var(--lightningcss-light,#19462f)var(--lightningcss-dark,#9bd0ac);--on-accent:var(--lightningcss-light,#fff)var(--lightningcss-dark,#17211b);--focus:var(--lightningcss-light,#a47916)var(--lightningcss-dark,#e1c27c);--female-bg:var(--lightningcss-light,#fff0f5)var(--lightningcss-dark,#432f3d);--female-border:var(--lightningcss-light,#bf819c)var(--lightningcss-dark,#c68eac);--female-ink:var(--lightningcss-light,#d65385)var(--lightningcss-dark,#f2a8c7);--male-bg:var(--lightningcss-light,#ebf5ff)var(--lightningcss-dark,#293a4d);--male-border:var(--lightningcss-light,#7fa4c6)var(--lightningcss-dark,#7caad2);--male-ink:var(--lightningcss-light,#286fba)var(--lightningcss-dark,#9acbff);--consumed-bg:var(--lightningcss-light,#f0f1ed)var(--lightningcss-dark,#393e46);--consumed-border:var(--lightningcss-light,#9ba39b)var(--lightningcss-dark,#89919c);--consumed-ink:var(--lightningcss-light,#59655d)var(--lightningcss-dark,#d1d7df);--purple-bg:var(--lightningcss-light,#f3f0fa)var(--lightningcss-dark,#342f40);--purple-border:var(--lightningcss-light,#dcd4e9)var(--lightningcss-dark,#857994);--purple-ink:var(--lightningcss-light,#66558b)var(--lightningcss-dark,#d9caf1);--success-bg:var(--lightningcss-light,#e9f2df)var(--lightningcss-dark,#303a35);--success-ink:var(--lightningcss-light,#486936)var(--lightningcss-dark,#b8d9b5);--warning-bg:var(--lightningcss-light,#fff8e9)var(--lightningcss-dark,#403b34);--warning-ink:var(--lightningcss-light,#815d2b)var(--lightningcss-dark,#f1d294);--error-bg:var(--lightningcss-light,#fff0e9)var(--lightningcss-dark,#443439);--error-ink:var(--lightningcss-light,#922c23)var(--lightningcss-dark,#ffc0b8);--tree-line:var(--lightningcss-light,#91a997)var(--lightningcss-dark,#9aa6b2);--tree-line-active:var(--lightningcss-light,#246942)var(--lightningcss-dark,#80b996);--shadow:var(--lightningcss-light,#20382026)var(--lightningcss-dark,#101216a0);--mount-fertile-bg:#d9f4e4;--mount-fertile-ink:#185a38;--mount-fertile-border:#7ec99c;--mount-sterile-bg:#fff0c9;--mount-sterile-ink:#735000;--mount-sterile-border:#d7a842;--mount-consumed-bg:#dde2e7;--mount-consumed-ink:#404b58;--mount-consumed-border:#97a3af;--mount-clone-bg:#eaddfb;--mount-clone-ink:#623d86;--mount-clone-border:#ad91d4;--mount-female-bg:#fbeaf1;--mount-female-ink:#542e42;--mount-female-border:#d68aaa;--mount-male-bg:#e8f2fc;--mount-male-ink:#244c72;--mount-male-border:#80b3df;color:var(--text);background:var(--page-bg)}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial}}:root[data-theme=light]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}body{color:var(--text);background:var(--page-bg)}button,input,select{border-color:var(--border-strong)}input,select{background:var(--field-bg);color:var(--text)}button{background:var(--accent);color:var(--on-accent)}button:hover{background:var(--accent-hover)}button.secondary{background:var(--surface);color:var(--accent)}button.secondary:hover{background:var(--surface-soft)}:focus-visible{outline-color:var(--focus)}.site-header,.goals-panel,.variety-card,.tree-panel,.step-panel,.calculation-details,.audit-panel>details{background:var(--surface);border-color:var(--border);color:var(--text)}.site-header,footer,.help{border-color:var(--border)}.brand-mark,.result-view-switch button.selected{background:var(--accent);color:var(--on-accent);border-color:var(--accent)}.app-version,.intro>p:last-child,.section-heading>span,.muted,.help p,footer,.generation,.variety-card code,.tree-tools small,.tree-legend,.step-navigation label,.step-group>p,.step-group h4 small,.step-origin,.step-result-group h5,.step-physical-id,.objectives-heading p,.empty-goals{color:var(--muted)}.eyebrow,.verified-label,.calculation-notice{color:var(--success-ink)}.image-placeholder{background:var(--surface-soft);color:var(--muted)}.selector-popup{background:var(--surface-raised);border-color:var(--border-strong);box-shadow:0 12px 35px var(--shadow)}.selector-popup li[aria-selected=true],.selector-popup li:hover{background:var(--surface-soft)}.selector-popup li small,button.selector-toggle,button.remove-goal{color:var(--muted)}button.remove-goal:hover{background:var(--error-bg);color:var(--error-ink)}.objectives-heading,.goal-list li,.ledger-list>li{border-color:var(--border)}.goal-list li,.final-goals,.step-heading{background:var(--surface-soft)}.final-goals button{border-color:var(--border)}.field-error,.error{background:var(--error-bg);border-color:var(--error-ink);color:var(--error-ink)}.pending-notice{color:var(--warning-ink)}.step-group,.step-pair,.step-operation{background:var(--surface-soft);border-color:var(--border);color:var(--text)}.step-group.results,.step-group.cloning,.step-result-group{background:var(--purple-bg);border-color:var(--purple-border)}.step-work-columns .step-group{background:var(--surface-soft);border-color:var(--border)}.step-work-columns .step-group.cloning{background:var(--purple-bg);border-color:var(--purple-border)}.step-join,.step-arrow{color:var(--muted)}.step-card{color:var(--text)}.step-card.female{background:var(--mount-female-bg);border-color:var(--mount-female-border);color:var(--mount-female-ink)}.step-card.male{background:var(--mount-male-bg);border-color:var(--mount-male-border);color:var(--mount-male-ink)}.step-card.consumed{background:var(--mount-consumed-bg);border-color:var(--mount-consumed-border);color:var(--mount-consumed-ink)}.step-card.linked{border-color:var(--accent);box-shadow:0 0 0 3px var(--tree-line)}.step-card:focus-visible{outline-color:var(--focus)}.step-card.missing-data,.tree-limit{background:var(--warning-bg);border-color:var(--warning-ink);color:var(--warning-ink)}.step-card .sex-marker,.tree-node .sex-marker{-webkit-text-stroke:.45px currentColor}.step-card .sex-marker.female,.tree-node .sex-marker.female{color:#d65385}.step-card .sex-marker.male,.tree-node .sex-marker.male{color:#286fba}.step-state{background:var(--mount-fertile-bg);border-color:var(--mount-fertile-border);color:var(--mount-fertile-ink)}.step-group.operations:not(.cloning) .step-operation>.step-card:nth-of-type(-n+2) .step-state{background:var(--mount-sterile-bg);border-color:var(--mount-sterile-border);color:var(--mount-sterile-ink)}.step-card.consumed .step-state{background:var(--mount-consumed-bg);border-color:var(--mount-consumed-border);color:var(--mount-consumed-ink)}.tree-scroll{background:var(--surface-soft);border-color:var(--border)}.layer-label{fill:var(--muted)}.layer-line{stroke:var(--border)}.pyramid marker path{fill:var(--tree-line)}.breeding-edge{stroke:var(--tree-line)}.breeding-edge.active-edge{stroke:var(--tree-line-active)}.clone-link{stroke:var(--purple-border)}.clone-link.active-clone-link{stroke:var(--purple-ink)}button.tree-node{background:var(--surface-raised);border-color:var(--border-strong);color:var(--text)}button.tree-node[data-sex=female]{background:var(--mount-female-bg);border-color:var(--mount-female-border);color:var(--mount-female-ink)}button.tree-node[data-sex=male]{background:var(--mount-male-bg);border-color:var(--mount-male-border);color:var(--mount-male-ink)}button.tree-node:hover{background:var(--surface-soft)}button.tree-node.target-node{background:var(--warning-bg);border-color:var(--warning-ink)}button.tree-node.removed-node{background:var(--mount-consumed-bg);border-color:var(--mount-consumed-border);color:var(--mount-consumed-ink)}button.tree-node.selected-node,button.tree-node:focus-visible,button.tree-node.clone-use-node{border-color:var(--accent);background:var(--success-bg)}button.tree-node.clone-related-node{border-color:var(--mount-clone-border);background:var(--mount-clone-bg)}button.tree-node.clone-removed-node{border-color:var(--mount-clone-border)}button.clone-event{background:var(--mount-clone-bg);border-color:var(--mount-clone-border);color:var(--mount-clone-ink)}button.clone-event:hover,button.clone-event.active-clone-event{background:var(--surface-raised);border-color:var(--purple-ink)}button.clone-event:focus-visible{border-color:var(--focus)}.clone-event .clone-label,.clone-badge{background:var(--mount-clone-bg);color:var(--mount-clone-ink);box-shadow:inset 0 0 0 1px var(--mount-clone-border)}.state-badge.fertile{background:var(--mount-fertile-bg);color:var(--mount-fertile-ink);box-shadow:inset 0 0 0 1px var(--mount-fertile-border)}.state-badge.sterile{background:var(--mount-sterile-bg);color:var(--mount-sterile-ink);box-shadow:inset 0 0 0 1px var(--mount-sterile-border)}.state-badge.removed{background:var(--mount-consumed-bg);color:var(--mount-consumed-ink);box-shadow:inset 0 0 0 1px var(--mount-consumed-border)}.calculation-details>summary{color:var(--muted)}th,td{border-color:var(--border)}thead{background:var(--surface-soft)}.audit-panel>details,.help{border-color:var(--border)}.theme-toggle{border:1px solid var(--border);background:var(--surface-soft);border-radius:9px;gap:.2rem;padding:.2rem;display:flex}.theme-toggle button{min-height:34px;color:var(--text);background:0 0;border:0;padding:.25rem .55rem;font-size:.75rem}.theme-toggle button:hover{background:var(--surface-raised)}.theme-toggle button[aria-pressed=true],.theme-toggle button[aria-pressed=true]:hover{background:var(--accent);color:var(--on-accent)}@media (width<=600px){.site-header{flex-wrap:wrap}.theme-toggle{margin-left:auto}}.machine-choice{gap:.3rem;margin:.85rem 0 1.1rem;display:grid}.machine-choice-label{cursor:pointer;flex-wrap:wrap;align-items:center;gap:.55rem;width:fit-content;font-size:.85rem;display:flex}.machine-choice-label input{width:17px;height:17px;min-height:0;accent-color:var(--accent);margin:0}.machine-choice>small{color:var(--muted);font-size:.73rem;line-height:1.45}.plan-preparation{border:1px solid var(--border);background:var(--surface-soft);border-radius:9px;flex-wrap:wrap;align-items:baseline;gap:.35rem 1rem;margin-bottom:.8rem;padding:.65rem .8rem;font-size:.8rem;display:flex}.plan-preparation>strong{color:var(--text);font-weight:750}.plan-preparation>span{color:var(--accent);font-weight:650}.plan-preparation>small{width:100%;color:var(--muted);font-size:.72rem}.step-reliability{flex-wrap:wrap;align-items:baseline;gap:.2rem .4rem;font-size:.78rem;display:inline-flex}.step-reliability strong{font-variant-numeric:tabular-nums;font-size:.92rem}.step-reliability small{color:var(--muted);font-size:.68rem}.step-operation-entry{width:var(--step-operation-width);align-content:start;gap:.25rem;min-width:0;display:grid}.step-repro-meta{color:var(--text);grid-template-columns:minmax(0,1fr);justify-items:center;gap:.3rem;padding:.3rem .35rem;font-size:.68rem;display:grid}.step-repro-machine{justify-content:center;align-items:center;width:100%;min-width:0;display:flex}.step-repro-details{flex-wrap:wrap;justify-content:center;align-items:center;gap:.3rem .5rem;width:100%;min-width:0;display:flex}.step-repro-generation{white-space:nowrap}.step-repro-instruction{flex-wrap:wrap;justify-content:center;align-items:center;gap:.3rem;min-width:0;max-width:100%;display:inline-flex}.step-repro-meta small{color:var(--muted);font-size:.65rem}.step-machine-label{border:1px solid var(--border);background:var(--surface-raised);white-space:nowrap;border-radius:20px;align-items:center;gap:.25rem;padding:1px 6px;font-weight:700;display:inline-flex}.step-machine-label.optimakina{border-color:#82b59a}.step-machine-label.animakina{border-color:#bd9fcf}.step-machine-label img{object-fit:contain;width:22px;height:22px;display:block}.step-machine-label img[hidden]{display:none}.step-generation-warning{color:#b66a25;white-space:nowrap;font-weight:750}.step-card .step-level{color:inherit;font-size:.67rem;font-weight:750;line-height:1.15}.step-card .step-risk{color:#b66a25;font-weight:800}.step-card .sex-marker .sex-qualifier{vertical-align:super;color:#9a6517;-webkit-text-stroke:0;font-size:.58em;font-weight:750;line-height:0}.step-card.sex-unrestricted{background:var(--surface-raised);border-color:var(--border-strong)}.step-card .sex-marker.sex-unrestricted{color:#9a6517;-webkit-text-stroke:0;font-weight:900}@container (width<=475px){.step-reliability{width:100%}}.step-order-notice{color:var(--muted);margin:0 0 .55rem;font-size:.74rem;line-height:1.4}.step-operation-order{color:var(--text);padding-left:.2rem;font-size:.74rem;font-weight:750}.step-panel .step-card.goal-achieved,.step-panel .step-card.goal-achieved.sex-unrestricted{color:#3b2a08;background:linear-gradient(#f1d985 0%,#e7c768 48%,#d4a742 100%);border-color:#a87516;box-shadow:inset 0 0 0 1px #f6e3a3,0 2px 5px #69450733}.step-panel .step-card.goal-achieved.linked{outline:2px solid var(--accent);outline-offset:2px}button.tree-node.target-node{color:#3b2a08;background:linear-gradient(#f1d985 0%,#e7c768 48%,#d4a742 100%);border-color:#a87516;box-shadow:inset 0 0 0 1px #f6e3a3,0 2px 5px #69450733}.step-panel .step-card{height:auto;min-height:206px;overflow:visible}
