.med-calc-preterm-intro{height:auto;min-height:0;margin-bottom:20px;background:#fff0;text-align:left!important}.med-calc-preterm-eyebrow{margin:0 0 6px;color:#002b5c;font-size:.78rem;font-weight:700;letter-spacing:.08em;text-align:left!important;text-transform:uppercase}.med-calc-preterm-heading{margin:0 0 8px;font-size:2.35rem;line-height:1.15;text-align:left!important}.med-calc-preterm-lead{margin:0;color:#475569;font-weight:400;line-height:1.55;text-align:left!important}.med-calc-preterm-disclaimer{margin-bottom:16px;padding:13px 15px;color:#854d0e;background:#fffbeb;border:1px solid #fde68a;border-left:4px solid #f59e0b;border-radius:8px;font-size:.86rem;font-weight:400!important;line-height:1.5;text-align:left!important}.med-calc-preterm-panel{padding:0;overflow:hidden;background:#fff;border-radius:12px}.med-calc-preterm-population{margin:0;padding:0;border-bottom:1px solid #e2e8f0}.med-calc-preterm-switch-row{display:flex!important;align-items:center;gap:12px;margin:0!important;padding:16px 20px 8px;cursor:pointer}.med-calc-preterm-switch-row input{position:absolute;width:1px;height:1px;opacity:0}.med-calc-preterm-switch{position:relative;flex:0 0 42px;height:24px;border-radius:999px;background:#cbd5e1;transition:background .2s ease}.med-calc-preterm-switch::after{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgb(15 23 42 / .25);transition:transform .2s ease}.med-calc-preterm-population-toggle:checked+.med-calc-preterm-switch{background:#002b5c}.med-calc-preterm-population-toggle:checked+.med-calc-preterm-switch::after{transform:translateX(18px)}.med-calc-preterm-population-toggle:focus-visible+.med-calc-preterm-switch{outline:3px solid rgb(0 43 92 / .22);outline-offset:2px}.med-calc-preterm-population-help{display:block;margin:0 20px 13px 74px;color:#64748b;font-size:.78rem;font-weight:400!important;line-height:1.4;text-align:left!important}.med-calc-preterm-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding:22px 20px 6px}.med-calc-preterm-fields label{margin:0;text-align:left!important}.med-calc-preterm-fields small{display:block;margin-top:6px;color:#64748b;font-size:.8rem;font-weight:400!important;line-height:1.4;text-align:left!important}.med-calc-preterm-panel .med-calc-input{max-width:none;min-height:44px;margin-top:7px;padding:10px 12px;border-radius:7px;background-color:#fff}.med-calc-preterm-input-unit{position:relative;display:block}.med-calc-preterm-input-unit .med-calc-input{padding-right:52px}.med-calc-preterm-input-unit>span{position:absolute;top:50%;right:14px;color:#64748b;font-weight:700;transform:translateY(-38%)}.med-calc-preterm-history{padding-right:42px!important;appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230f172a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;background-size:14px 14px}.med-calc-preterm-panel .med-calc-input[aria-invalid="true"]{border-color:#b91c1c;box-shadow:0 0 0 2px rgb(185 28 28 / .12)}.med-calc-preterm-error{margin:12px 20px 0;padding:12px 14px;color:#b42318;background:#fef3f2;border:1px solid #fecdca;border-radius:8px;font-weight:700}.med-calc-preterm-panel .med-calc-actions{margin:0;padding:16px 20px 20px}.med-calc-preterm-panel .med-calc-btn-primary{min-width:190px}.med-calc-preterm-results{scroll-margin-top:120px;margin-top:20px;padding:22px}.med-calc-preterm-results.is-empty{display:none}.med-calc-preterm-results-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:6px}.med-calc-preterm-results-header p{margin:0 0 3px;color:#002b5c;font-size:.75rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.med-calc-preterm-results-header h3{margin:0!important;font-size:1.35rem!important;line-height:1.3!important}.med-calc-preterm-copy{padding:7px 10px;color:#002b5c;background:#eef4fa;border:1px solid #cbd5e1;border-radius:6px;font:inherit;font-size:.75rem;font-weight:700;cursor:pointer;white-space:nowrap}.med-calc-preterm-copy:hover,.med-calc-preterm-copy.is-copied{color:#fff;background:#002b5c;border-color:#002b5c}.med-calc-preterm-result-context{margin:0 0 16px;color:#64748b;font-size:.84rem}.med-calc-preterm-result-tables{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.med-calc-preterm-table-card{overflow:hidden;border:1px solid #dbe3ec;border-radius:10px;background:#fff}.med-calc-preterm-table-card>div{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px;background:#eef4fa;border-bottom:1px solid #dbe3ec}.med-calc-preterm-table-card h4{margin:0;font-size:.95rem}.med-calc-preterm-table-card table{width:100%;border-collapse:collapse;font-size:.82rem}.med-calc-preterm-table-card th,.med-calc-preterm-table-card td{padding:10px 11px;border-bottom:1px solid #e2e8f0;text-align:left}.med-calc-preterm-table-card th:last-child,.med-calc-preterm-table-card td:last-child{width:88px;text-align:right}.med-calc-preterm-table-card tbody tr:last-child td{border-bottom:0}.med-calc-preterm-risk{display:inline-block;min-width:65px;padding:4px 7px;border-radius:999px;font-weight:800;text-align:center}.med-calc-preterm-risk--low{color:#065f46;background:#d1fae5}.med-calc-preterm-risk--intermediate{color:#854d0e;background:#fef3c7}.med-calc-preterm-risk--high{color:#991b1b;background:#fee2e2}.med-calc-preterm-risk-legend{display:flex;flex-wrap:wrap;gap:10px 18px;margin-top:15px;color:#64748b;font-size:.76rem;font-weight:700}.med-calc-preterm-risk-legend span{display:inline-flex;align-items:center;gap:6px}.med-calc-preterm-risk-legend i{width:10px;height:10px;border-radius:50%}.med-calc-preterm-risk-legend .is-low{background:#10b981}.med-calc-preterm-risk-legend .is-intermediate{background:#f59e0b}.med-calc-preterm-risk-legend .is-high{background:#ef4444}.med-calc-preterm-result-note{margin:15px 0 0;padding:11px 13px;color:#475569;background:#eef1f5;border-radius:7px;font-size:.8rem;line-height:1.45}.med-calc-preterm-method{margin:30px 0 20px;text-align:left!important}.med-calc-preterm-method h2{margin:0 0 10px;font-size:1.45rem;text-align:left!important}.med-calc-preterm-method>p{margin:0 0 16px;color:#475569;font-weight:400!important;line-height:1.6;text-align:left!important}.med-calc-preterm-method-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.med-calc-preterm-method-grid div{padding:13px;border:1px solid #e2e8f0;border-radius:8px;background:#f8fafc}.med-calc-preterm-method-grid strong,.med-calc-preterm-method-grid span{display:block}.med-calc-preterm-method-grid span{margin-top:3px;color:#64748b;font-size:.82rem;line-height:1.4}.med-calc-preterm-notes{margin:26px 0 20px;padding:14px;color:#5e6a76;background:#eef1f5;border:1px solid #d9dee4;border-radius:8px;font-size:.85rem;text-align:left!important}.med-calc-preterm-notes p{margin:0 0 8px;font-weight:400!important;line-height:1.55;text-align:left!important}.med-calc-preterm-notes p:last-child{margin-bottom:0}.med-calc-preterm-audience-content{margin-top:24px;padding:24px;border-radius:10px;background:#f1f4f8}.med-calc-preterm-audience-content h2{margin:0 0 10px;font-size:1.35rem}.med-calc-preterm-audience-content p{margin:0;color:#475569;line-height:1.6}.med-calc-preterm-cta{display:inline-block;margin-top:16px;padding:11px 16px;color:#fff;background:#002b5c;border-radius:6px;font-weight:700;text-decoration:none}.med-calc-preterm-cta:hover{color:#fff;background:#001e47}@media (max-width:700px){.med-calc-preterm-heading{font-size:1.85rem}.med-calc-preterm-fields{padding-left:15px;padding-right:15px}.med-calc-preterm-fields,.med-calc-preterm-result-tables,.med-calc-preterm-method-grid{grid-template-columns:1fr}.med-calc-preterm-switch-row{align-items:flex-start;padding-left:15px;padding-right:15px}.med-calc-preterm-population-help{margin-left:69px;margin-right:15px}.med-calc-preterm-panel .med-calc-actions{padding:15px}.med-calc-preterm-panel .med-calc-actions .med-calc-btn{min-height:48px;white-space:normal;line-height:1.2}.med-calc-preterm-panel .med-calc-btn-primary{min-width:0}.med-calc-preterm-results{padding:15px}.med-calc-preterm-results-header{align-items:center}}