.morph-tool{background:#17211c;border-top:1px solid #46594d}.morph-tool p{line-height:1.75;color:#c2cdc5}.morph-tool .heading{align-items:start}.morph-tool .heading h2{font-size:clamp(1.65rem,3vw,2.15rem)}.morph-tool .heading p{max-width:540px;margin:0}.morph-grid,.morph-parents{display:grid;grid-template-columns:1fr 1fr;gap:22px}.morph-parent{background:#101b16;border:1px solid #4a6052;padding:24px;min-width:0}.morph-parent label{display:block;font-weight:650;margin-bottom:12px;font-size:1.05rem}.morph-parent textarea{display:block;width:100%;min-height:112px;resize:vertical;color:#f4f6ef;background:#1e2d24;border:1px solid #64806b;border-radius:4px;padding:14px;font:inherit;line-height:1.6}.morph-parent textarea:focus,.morph-pick select:focus,.morph-tool button:focus-visible{outline:3px solid #d4b178;outline-offset:3px}.morph-parent small{display:block;margin-top:10px;color:#bbc9bf;line-height:1.6;font-size:.875rem}.morph-pick{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:10px;margin-top:18px}.morph-pick label{font-size:.875rem;font-weight:500;margin-bottom:7px}.morph-pick select{display:block;width:100%;background:#1e2d24;color:#edf0e9;border:1px solid #64806b;font:inherit;min-height:44px;border-radius:3px;padding:8px;min-width:0}.morph-add{grid-column:1/-1}.morph-tool button{cursor:pointer;min-height:44px}.morph-actions,.morph-samples{display:flex;gap:12px;flex-wrap:wrap;margin:20px 0}.morph-samples{align-items:center;gap:9px}.morph-samples span{color:#bcc9bf}.morph-samples button{border:1px solid #66816b;border-radius:3px;background:#1e2d24;color:#e9eee6;padding:10px 13px;font-size:.875rem}.morph-status{min-height:1.75em;line-height:1.7;color:#dcc392;margin:14px 0}.morph-status.error{color:#ffc3b9;background:#402b28;border:1px solid #a66055;padding:14px}.morph-details{padding:18px 0;border-top:1px solid #506657;margin-top:18px;line-height:1.75}.morph-details summary{cursor:pointer;color:#ead6b4;font-weight:650;min-height:30px}.morph-details p{font-size:.9375rem}.morph-results{border-top:1px solid #6b826e;padding-top:28px;margin-top:28px}.morph-parents h3{font-size:1rem;color:#d6be91;margin:0 0 12px}.morph-chip{display:inline-block;background:#263d30;border:1px solid #627e68;padding:6px 10px;margin:0 6px 6px 0;border-radius:3px;font-size:.875rem}.morph-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:26px 0;border:1px solid #66816b}.morph-summary div{padding:20px;min-width:0}.morph-summary div+div{border-left:1px solid #66816b}.morph-summary span{display:block;color:#bfcdc3;font-size:.9375rem}.morph-summary strong{display:block;font-size:clamp(1.4rem,4vw,2.35rem);color:#e7c185;font-weight:500;margin-top:10px}.morph-result-title{font-size:1.3rem;margin:30px 0 22px}.morph-result-title small{display:block;font-size:.875rem;color:#bac9be;font-weight:400;margin-top:9px}.morph-outcomes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.morph-outcome{border:1px solid #4e6755;background:#101b16;padding:22px;min-width:0}.morph-outcome.leading{border-color:#cfb17e}.morph-outcome-head{display:flex;justify-content:space-between;gap:15px;align-items:center}.morph-outcome-head span{color:#d2be99;font-size:.875rem}.morph-outcome-head strong{font-size:1.5rem;font-weight:500;color:#e7c185}.morph-outcome h4{font-size:1.12rem;line-height:1.6;margin:17px 0;overflow-wrap:anywhere}.morph-bar{height:7px;background:#2d4033;border-radius:4px;overflow:hidden}.morph-bar span{display:block;height:100%;background:#c9a671;min-width:2px}.morph-outcome p,.morph-outcome li{font-size:.9375rem;line-height:1.75}.morph-outcome ul{padding-left:20px;color:#cad5ce}.morph-outcome li+li{margin-top:6px}.morph-hidden{border-top:1px solid #425848;margin-top:18px;padding-top:14px;font-size:.9375rem;line-height:1.7;color:#ced9d0}.morph-hidden p{margin:7px 0}.morph-hidden small{color:#afc2b4;font-size:.875rem}.morph-callout{border-left:3px solid #c2a06a;background:#253329;padding:12px 18px;margin:18px 0;line-height:1.7}.morph-callout p{margin:8px 0}.morph-note{font-size:.9375rem}.morph-marginals{display:grid;grid-template-columns:1fr 1fr;gap:0 25px}.morph-marginals div{display:flex;justify-content:space-between;gap:16px;padding:10px 0;border-bottom:1px solid #415b48;font-size:.9375rem}.morph-tool a{text-underline-offset:4px}.links{gap:22px}.links .sim-link{display:inline-block!important;border-bottom:1px solid #c9a870}.morph-tool [hidden]{display:none!important}@media(max-width:800px){.morph-grid,.morph-parents,.morph-outcomes,.morph-marginals{grid-template-columns:1fr}.morph-parent,.morph-outcome{padding:18px}.morph-summary div{padding:12px}.morph-summary span{font-size:.875rem}.links{gap:10px}.links .sim-link{font-size:.8rem;white-space:nowrap}.morph-tool .heading p{margin-top:18px}.morph-samples span{flex-basis:100%}}@media(max-width:420px){.morph-pick{grid-template-columns:1fr}.morph-summary{grid-template-columns:1fr}.morph-summary div+div{border-left:0;border-top:1px solid #66816b}.morph-summary div{display:flex;align-items:center;justify-content:space-between;gap:15px}.morph-summary strong{margin:0}}
@media(max-width:800px){.nav{height:auto;flex-wrap:wrap;padding-top:14px;padding-bottom:14px}.links{width:100%;justify-content:space-between;flex-wrap:wrap;gap:12px}.links a:not(.pill){display:inline-block;font-size:.875rem}.links .sim-link{font-size:.875rem}}
.morph-search{grid-column:1/-1}.morph-search input{display:block;width:100%;background:#1e2d24;color:#edf0e9;border:1px solid #64806b;font:inherit;min-height:44px;padding:10px;border-radius:3px}.morph-image-panel{border:1px solid #c5a677;background:#1c2e23;padding:24px;margin:24px 0}.morph-image-panel h3{margin:0;font-size:1.25rem}.morph-image-panel label{display:block;margin:18px 0 10px}.morph-image-panel select{display:block;width:100%;padding:12px;background:#102017;color:#edf0e9;border:1px solid #7c927e;font:inherit;min-width:0}.morph-image-panel button{margin-top:18px}.morph-image-result{margin:22px 0 0}.morph-image-result img{display:block;width:100%;max-width:800px;height:auto;margin:auto;border:1px solid #6f846f}.morph-image-result figcaption{padding:16px;background:#122119;line-height:1.8}.morph-image-result figcaption strong,.morph-image-result figcaption span{display:block;overflow-wrap:anywhere}.morph-image-result figcaption span{color:#c2cfbf;font-size:.9375rem}.morph-tool button:disabled,.morph-tool select:disabled{opacity:.65;cursor:wait}@media(max-width:800px){.morph-image-panel{padding:18px}}

.morph-field-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.morph-field-heading label{margin:0}.morph-clear-field{background:transparent;color:#ead6b4;border:1px solid #64806b;border-radius:4px;padding:8px 14px;font:inherit;font-size:.875rem;flex-shrink:0}.morph-clear-field:hover{background:#263d30}.morph-tool button:disabled{cursor:wait;opacity:.6}.morph-help-table{margin-top:14px}.morph-help-table table{width:100%;border-collapse:collapse;font-size:.9375rem;color:#c2cdc5}.morph-help-table th,.morph-help-table td{text-align:left;vertical-align:top;padding:12px;border-bottom:1px solid #415b48;line-height:1.7}.morph-help-table th{width:112px;color:#ead6b4;font-weight:600}@media(max-width:420px){.morph-help-table th{width:85px}.morph-help-table th,.morph-help-table td{padding:10px 6px}}
