.gestation{max-width:1320px;margin:auto;padding:clamp(38px,7vw,88px) 6%}
.gestation h1{font-size:clamp(2.4rem,7vw,5rem);line-height:1.05;margin:0 0 20px}
.gestation h2{font-size:clamp(2rem,5vw,3.2rem)}
.gestation p:not(.eyebrow){color:var(--muted);max-width:66ch}
.calving-form{background:var(--forest);border:1px solid var(--copper);padding:clamp(16px,4vw,32px);margin:32px 0 48px}
.calving-controls{display:flex;align-items:end;gap:12px 20px;flex-wrap:wrap}
.calving-form label,.lookup-controls label{display:block;font-weight:bold}
.calving-form label{margin-bottom:8px}
.calving-controls input,.calving-controls select{font:inherit;color:var(--paper);color-scheme:dark;background:var(--ink);border:1px solid var(--muted);border-radius:3px;padding:8px 12px;min-height:44px}
.lookup-controls input,.lookup-controls select{display:block;margin-top:6px}
.calving-controls .button{margin:0;cursor:pointer}
.calving-form output:not(:empty){display:block;margin-top:14px;color:var(--gold);font-weight:bold}
.gestation-tables{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,245px),1fr));gap:24px;margin-top:28px;align-items:start}
.gestation-tables table{width:100%;border-collapse:collapse;text-align:left;font-size:0.95rem}
.gestation-tables caption{font:1.35rem Georgia,serif;text-align:left;color:var(--gold);padding:10px 0}
.gestation-tables th,.gestation-tables td{padding:4px 10px;border-bottom:1px solid #ffffff20}
.gestation-tables thead{background:var(--forest)}
.gestation-tables tbody th{font-weight:normal}
.gestation-tables tbody tr:nth-child(even){background:#ffffff08}
@media print{body,.gestation-tables thead{background:#fff;color:#222}header,footer,.calving-form,.lookup-controls{display:none}.gestation{padding:0}.gestation p:not(.eyebrow),.gestation .eyebrow,.gestation-tables caption{color:#222}.gestation-tables{grid-template-columns:repeat(3,1fr);gap:16px}.gestation-tables table{break-inside:avoid;font-size:10pt}.gestation-tables th,.gestation-tables td{padding:1px 3px;border-color:#ddd}}
