.colors{padding:100px clamp(20px,6vw,90px);background:#f4f7f0}.morph-chart{margin:0 0 32px;padding:14px;border:1px solid #d8e1d4;border-radius:22px;background:#fff}.morph-chart img{display:block;width:100%;height:auto;border-radius:14px}.morph-chart figcaption{padding:10px 6px 2px;color:#647468;font-size:13px}.morph-chart a,.colors .sources a{color:#3f6c31;text-underline-offset:3px}.morph-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:16px}.morph-card{min-height:210px;padding:22px;border:1px solid #dce4d8;border-radius:18px;background:#fff;box-shadow:0 8px 20px rgba(21,52,39,.04)}.morph-chip{display:block;width:44px;height:44px;margin-bottom:15px;border:4px solid rgba(0,0,0,.06);border-radius:50%;background:#53a755}.morph-card h3,.genetics-note h3{margin:0 0 8px;font:700 24px/1.1 Georgia,serif;color:#193b2d}.morph-card p{margin:0 0 12px;color:#52645a;line-height:1.55}.morph-card small{color:#68776c;font-size:12px;font-weight:700}.morph-card.darkgreen .morph-chip{background:#317447}.morph-card.olive .morph-chip{background:#697b38}.morph-card.turquoise .morph-chip{background:#42b9ad}.morph-card.cobalt .morph-chip{background:#317d9f}.morph-card.mauve .morph-chip{background:#777487}.morph-card.lutino .morph-chip{background:#f4d65b}.morph-card.creamino .morph-chip{background:#f0ddb1}.morph-card.greywing .morph-chip{background:linear-gradient(135deg,#50a864 0 48%,#8b9690 49%)}.genetics-note{margin-top:24px;padding:clamp(24px,4vw,40px);border-radius:22px;background:#e6efdd;border:1px solid #ccddbe}.genetics-note p{max-width:980px;color:#475b4d;line-height:1.7}.genetics-link{display:inline-flex;margin-top:4px;padding:12px 17px;border-radius:999px;background:#193b2d;color:#fff;font-weight:700;text-decoration:none}.genetics-link:hover{background:#315a40}.colors .sources{margin:22px 0 0;color:#68776c;font-size:13px;line-height:1.65}@media(max-width:700px){.colors{padding-top:76px;padding-bottom:76px}.morph-chart{padding:8px}.morph-card{min-height:0}}.genetics-table-wrap{max-width:950px;overflow-x:auto;margin:18px 0}.genetics-table{width:100%;border-collapse:collapse;background:#fff;border-radius:12px;overflow:hidden}.genetics-table th,.genetics-table td{padding:13px 15px;text-align:left;border-bottom:1px solid #e3eadf;line-height:1.45}.genetics-table th{background:#d7e6cc;color:#193b2d}.genetics-table tr:last-child td{border-bottom:0}@media(max-width:600px){.genetics-table th,.genetics-table td{padding:10px;font-size:14px;min-width:150px}}.local-genetics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;max-width:900px;margin:18px 0;padding:20px;border-radius:16px;background:#fff}.local-genetics label{display:grid;gap:7px;font-weight:700;color:#193b2d}.local-genetics select{width:100%;min-height:46px;padding:10px;border:1px solid #bdcdb6;border-radius:10px;background:#fff;font:inherit;color:#193b2d}.local-genetics button{align-self:end;min-height:46px;padding:10px 16px;border:0;border-radius:10px;background:#193b2d;color:#fff;font:700 15px/1.2 "DM Sans",Arial,sans-serif;cursor:pointer}.gen-result{grid-column:1/-1;margin:0;padding:14px;border-radius:10px;background:#f1f6ec;color:#294734;line-height:1.55}.genetics-note .local-genetics p{max-width:none}@media(max-width:600px){.local-genetics{grid-template-columns:1fr}.gen-result{grid-column:1}}
.morph-charts{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(250px,.85fr);gap:18px;align-items:stretch;margin-bottom:32px}.morph-charts .morph-chart{display:flex;flex-direction:column;margin:0;height:100%}.morph-charts .morph-chart img{height:clamp(340px,38vw,560px);object-fit:contain;background:#fff}.morph-charts .morph-chart figcaption{flex:1}@media(max-width:700px){.morph-charts{grid-template-columns:1fr}.morph-charts .morph-chart img{height:auto;max-height:620px}.morph-charts .morph-chart{margin:0}}
.genetics-parents{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:22px 0}.genetics-parent{min-width:0;margin:0;padding:18px;border:1px solid #dce4d8;border-radius:16px;background:#fff;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.genetics-parent legend{padding:0 8px;font:700 20px Georgia,serif;color:#193b2d}.genetics-parent>label,.hap-row label{display:grid;align-content:start;gap:6px;font-weight:700;font-size:13px;color:#193b2d}.genetics-parent select,.hap-row select,.recombination-control input{width:100%;min-height:42px;padding:8px;border:1px solid #bdcdb6;border-radius:9px;background:#fff;font:500 14px "DM Sans",Arial,sans-serif;color:#193b2d}.z-haplotypes{grid-column:1/-1;padding-top:8px;border-top:1px solid #e2eadc}.genetics-subhead{margin:0 0 10px;font-weight:700;color:#425746}.hap-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:10px;padding:10px;border-radius:10px;background:#f5f8f2}.hap-row[hidden]{display:none!important}.hap-row strong{grid-column:1/-1;font-size:13px;color:#425746}.experimental-control{color:#7b5421!important}.recombination-control{display:grid;grid-template-columns:1fr 120px;align-items:center;gap:12px;max-width:650px;margin:16px 0;font-weight:700;color:#193b2d}.recombination-control input{font-size:16px}#gen-calculate{min-height:46px;padding:11px 18px;border:0;border-radius:10px;background:#193b2d;color:white;font:700 15px "DM Sans",Arial,sans-serif;cursor:pointer}#gen-calculate:hover{background:#315a40}.genetics-caveat{max-width:none!important;padding:14px 16px;border-radius:10px;background:#f4f3e8;color:#665637!important;font-size:13px}.genetics-results-table{width:100%;margin-top:10px;border-collapse:collapse;background:white;border-radius:10px;overflow:hidden}.genetics-results-table th,.genetics-results-table td{padding:9px 11px;border-bottom:1px solid #e5ebdf;text-align:left;vertical-align:top}.genetics-results-table th{background:#d9e6cf;color:#193b2d}.genetics-results-table tr:last-child td{border-bottom:0}.genetics-results-table td:first-child{white-space:nowrap;font-weight:700;color:#193b2d}@media(max-width:850px){.genetics-parents{grid-template-columns:1fr}.genetics-parent{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.genetics-parent{grid-template-columns:1fr}.hap-row{grid-template-columns:1fr}.hap-row strong{grid-column:1}.recombination-control{grid-template-columns:1fr 100px}.genetics-results-table th,.genetics-results-table td{padding:8px 6px;font-size:13px}}
.genetics-help{margin:16px 0 20px;padding:18px 20px;border:1px solid #cadbbf;border-radius:14px;background:#f6f9f2;color:#405344}.genetics-help h4{margin:0 0 10px;color:#193b2d;font:700 18px Georgia,serif}.genetics-help ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 24px;margin:0;padding-left:20px}.genetics-help li{padding:2px 0;line-height:1.5}.genetics-help p{margin:12px 0 0;font-size:13px;line-height:1.5;color:#667363}.genetics-parent>label{line-height:1.35}@media(max-width:600px){.genetics-help ul{grid-template-columns:1fr}.genetics-help{padding:15px}}
.simple-genetics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;max-width:900px;margin:20px 0;padding:20px;border:1px solid #dce4d8;border-radius:16px;background:#fff}.simple-genetics label{display:grid;gap:7px;font-weight:700;color:#193b2d}.simple-genetics select{width:100%;min-height:48px;padding:10px 12px;border:1px solid #bdcdb6;border-radius:10px;background:#fff;font:500 16px "DM Sans",Arial,sans-serif;color:#193b2d}.simple-genetics button{justify-self:start;min-height:46px;padding:11px 18px;border:0;border-radius:10px;background:#193b2d;color:white;font:700 15px "DM Sans",Arial,sans-serif;cursor:pointer}.simple-genetics button:hover{background:#315a40}.simple-genetics .gen-result{grid-column:1/-1}.simple-result-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:8px;margin:10px 0;padding:0;list-style:none}.simple-result-list li{padding:12px;border-radius:9px;background:white}.simple-result-note{padding:12px;border-radius:9px;background:#f4f3e8;color:#665637!important;font-size:14px;line-height:1.55}.genetics-caveat{font-size:15px!important}@media(max-width:600px){.simple-genetics{grid-template-columns:1fr;padding:15px}.simple-genetics .gen-result{grid-column:1}.simple-genetics button{width:100%}}
