.home-comparison{padding:32px 0;background:#f3f7ff;scroll-margin-top:60px;color:var(--gray-900)}.home-comparison [hidden]{display:none!important}.hc-heading{margin-bottom:18px}.hc-heading h2{font-size:1.75rem;line-height:1.25;letter-spacing:-.03em;margin:0 0 6px}.hc-heading p{font-size:.9rem;color:var(--gray-600);margin:0}.hc-widget{background:white;border:1px solid #dbe5f3;border-radius:14px;padding:24px;width:100%}.hc-sr-only{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden;white-space:nowrap}.home-comparison fieldset{border:0;padding:0;margin:0;min-width:0}.home-comparison legend{font-size:.85rem;font-weight:600;margin-bottom:8px}.hc-system{display:flex;gap:4px;background:#f1f5f9;padding:4px!important;border-radius:9px;margin-bottom:16px!important;max-width:420px}.hc-system label{position:relative;flex:1;cursor:pointer}.hc-system input{position:absolute;opacity:0;width:100%;height:100%;margin:0;cursor:pointer}.hc-system span{display:flex;align-items:center;justify-content:center;min-height:44px;border-radius:6px;font-size:.9rem;font-weight:600;color:var(--gray-600)}.hc-system input:checked+span{background:var(--blue);color:white}.hc-system input:focus-visible+span{outline:3px solid #93c5fd;outline-offset:2px}.hc-event-controls{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.hc-event-controls label{font-size:.75rem;color:var(--gray-600)}.hc-event-controls select{display:block;width:100%;min-width:0;margin-top:4px;min-height:44px;padding:8px;border:1px solid #d5dfe9;border-radius:7px;background:white;color:var(--gray-900);font:inherit;font-size:.9rem}.hc-event-controls #hc-age-label{grid-column:1/3}.hc-body{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px 24px;margin-top:20px}.hc-entry{grid-column:1;grid-row:1;min-width:0}.hc-results{grid-column:2;grid-row:1/3;min-width:0}.hc-slider-control{grid-column:1;grid-row:2;min-width:0}.hc-time-fields{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) auto minmax(0,1fr);align-items:start;gap:8px;width:100%}.hc-time-fields label{flex:1;min-width:0;text-align:center;font-size:.7rem;color:var(--gray-600)}.hc-time-fields input{display:block;width:100%;min-width:0;height:56px;margin-bottom:4px;padding:8px 2px;text-align:center;border:1px solid #cad8ea;border-radius:9px;background:#f8fafc;color:var(--gray-900);font:600 2rem/1.2 system-ui;font-variant-numeric:tabular-nums}.hc-time-fields>span{font-size:1.6rem;line-height:56px;color:var(--gray-400)}.hc-error{color:#b91c1c;font-size:.75rem;line-height:1.5;margin:6px 0 0}.hc-error:empty{display:none}.home-comparison input[aria-invalid=true]{border-color:#b91c1c}.hc-results.is-invalid{opacity:.45}.hc-result{display:grid;grid-template-columns:1fr 1fr;gap:12px 18px;height:100%;align-content:center;padding:18px;background:#effaf5;border:1px solid #d4eddf;border-radius:10px}.hc-current,.hc-next{min-width:0}.hc-current{border-right:1px solid #d4eddf;padding-right:12px}.hc-result :is(.hc-current,.hc-next)>span{display:block;color:#526b5e;font-size:.7rem;line-height:1.4}.hc-result :is(.hc-current,.hc-next)>strong{display:block;color:#168057;font-size:1.3rem;line-height:1.25;margin-top:5px}.hc-result :is(.hc-current,.hc-next)>p{font-size:.75rem;color:#526b5e;margin:5px 0 0;font-variant-numeric:tabular-nums}.hc-gap{grid-column:1/-1;border-top:1px solid #d4eddf;padding-top:12px;margin:0;font-size:.85rem;color:#526b5e}.hc-gap strong{font-size:1.1rem;color:#168057;margin-left:3px;font-variant-numeric:tabular-nums}.hc-slider-label{display:flex;justify-content:space-between;align-items:baseline;gap:8px;font-size:.8rem;color:var(--gray-600)}.hc-slider-label output{font-size:.9rem;font-weight:600;color:var(--blue);font-variant-numeric:tabular-nums}.hc-slider-row{display:flex;align-items:center;gap:10px;margin-top:4px}.hc-slider-row button{min-width:48px;min-height:44px;border:1px solid #d5dfe9;border-radius:7px;background:white;color:var(--gray-700);font:600 .85rem system-ui;cursor:pointer}.hc-slider-row input{flex:1;min-width:0;width:100%;height:44px;margin:0;accent-color:var(--blue);cursor:ew-resize}.hc-slider-scale{display:flex;justify-content:space-between;padding:0 58px;font-size:.65rem;color:var(--gray-500);font-variant-numeric:tabular-nums}.hc-extra{border-top:1px solid #e1e9f2;margin-top:20px;padding-top:4px}.hc-extra summary{min-height:44px;display:list-item;align-content:center;font-size:.85rem;font-weight:500;color:var(--blue);cursor:pointer;padding:10px 0;line-height:1.5}.hc-race{padding:12px 0 0}.hc-race h3{font-size:1rem;margin:0}.hc-race>p{font-size:.75rem;color:var(--gray-600);line-height:1.6;margin:8px 0 14px}.hc-race-lanes{display:grid;gap:14px}.hc-race-lane{--hc-lane-color:var(--blue);min-width:0}.hc-race-lane--next{--hc-lane-color:#168057}.hc-lane-heading{display:flex;justify-content:space-between;align-items:baseline;gap:10px;font-size:.8rem;margin-bottom:6px}.hc-lane-heading strong{color:var(--hc-lane-color)}.hc-lane-heading span{font-size:.75rem;color:var(--gray-600);font-variant-numeric:tabular-nums}.hc-water{position:relative;height:30px;border-radius:5px;background:repeating-linear-gradient(90deg,transparent 0,transparent calc(var(--hc-length-width) - 1px),#8eb1d550 calc(var(--hc-length-width) - 1px),#8eb1d550 var(--hc-length-width)),#e3eef8;border-top:1px dashed #b7cbdf;border-bottom:1px dashed #b7cbdf}.hc-water-progress{position:relative;height:100%;width:0;transition:width .2s}.hc-water-progress::before{content:'';position:absolute;inset:8px 0;background:var(--hc-lane-color);opacity:.13;border-radius:4px}.hc-swimmer{position:absolute;left:max(0px,calc(100% - 38px));top:0;width:38px;height:28px;color:var(--hc-lane-color);filter:drop-shadow(0 1px 1px white)}.hc-swimmer--female circle{stroke:currentColor;stroke-width:1}.hc-swimmer--female{color:var(--hc-lane-color)}.hc-lane-metrics{display:flex;flex-wrap:wrap;gap:4px 12px;margin-top:10px;font-size:.7rem;color:var(--gray-600);font-variant-numeric:tabular-nums}.hc-lane-metrics strong{width:100%;font-size:.9rem;color:var(--blue)}.hc-rank-ladder{display:flex;flex-wrap:wrap;gap:5px;margin:14px 0 4px}.hc-rank-ladder span{font-size:.65rem;padding:4px 7px;line-height:1.5;border:1px solid transparent;border-radius:5px;background:#edf4ef;color:#587365}.hc-rank-ladder .is-current{background:#168057;color:white;font-weight:600}.hc-rank-ladder .is-next{border-color:#168057;background:white;color:#168057}.hc-rank-ladder .is-achieved{color:#168057}.hc-note{font-size:.7rem;color:var(--gray-500);line-height:1.6;margin:12px 0 0}.home-comparison :is(button,input,select,a,summary):focus-visible{outline:3px solid #93c5fd;outline-offset:2px}
@media(max-width:700px){.home-comparison{padding:24px 0}.hc-heading{margin-bottom:12px}.hc-heading h2{font-size:1.4rem}.hc-heading p{font-size:.8rem}.hc-widget{padding:16px;border-radius:10px}.hc-system{margin-bottom:12px!important;max-width:none}.hc-event-controls{grid-template-columns:1fr 1fr;gap:10px 12px}.hc-event-controls select{font-size:16px}.hc-body{display:flex;flex-direction:column;gap:14px;margin-top:16px}.hc-time-fields{max-width:none}.hc-time-fields input{min-height:52px;font-size:1.8rem}.hc-time-fields>span{line-height:52px}.hc-result{padding:14px;gap:10px 14px}.hc-result :is(.hc-current,.hc-next)>strong{font-size:clamp(16px,4.8vw,20px);overflow-wrap:anywhere}.hc-gap{padding-top:10px;font-size:.8rem}.hc-gap strong{font-size:1rem}.hc-extra{margin-top:14px}.hc-extra summary{font-size:.8rem}.hc-note{font-size:.65rem}.hc-system span{font-size:.85rem}}
@media(prefers-reduced-motion:reduce){.hc-water-progress{transition:none}}

@media(min-width:901px){.hc-event-controls:has(#hc-age-label:not([hidden])){grid-template-columns:repeat(5,minmax(0,1fr))}.hc-event-controls #hc-age-label{grid-column:auto}}

.hc-diary{margin-top:18px}.hc-save{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:10px 18px;border-radius:8px;background:var(--blue);color:white;text-align:center;font-size:.9rem;font-weight:600;text-decoration:none}.hc-save:hover{color:white;filter:brightness(.95)}.hc-save[aria-disabled=true]{opacity:.5;cursor:default}.hc-diary p{font-size:.8rem;line-height:1.6;color:var(--gray-600);margin:8px 0 0}.hc-result :is(.hc-current,.hc-next)>strong{min-height:2.5em}@media(max-width:700px){.hc-save{width:100%;font-size:.85rem}}

.hc-eyebrow{font-size:.7rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:var(--blue);margin-bottom:8px}.hc-swimmer-hair{display:none}.hc-swimmer--female .hc-swimmer-hair{display:block}
@media(max-width:700px){.hc-result :is(.hc-current,.hc-next)>p{line-height:1.4;min-height:2.8em}}

/* Standalone calculator keeps its own page heading and SEO instructions. */
.home-comparison--standalone{padding:20px 0 0;background:transparent}.home-comparison--standalone .hc-widget{max-width:none}.calculator-page-heading{padding-top:24px}.calculator-page-heading h1{font-size:1.85rem;line-height:1.2;font-weight:800;margin:0 0 12px;color:var(--gray-900)}.calculator-page-heading p{max-width:780px;line-height:1.6;color:var(--gray-600);font-size:.9rem;margin:0}@media(max-width:700px){.calculator-page-heading{padding-top:16px}.calculator-page-heading h1{font-size:1.45rem}.calculator-page-heading p{font-size:.8rem}.home-comparison--standalone{padding-top:16px}}

/* Readable captions and usable source links on touch screens. */
@media(max-width:900px){.hc-event-controls select{font-size:16px}.hc-note{font-size:.75rem}.hc-note a{display:inline-flex;align-items:center;min-height:44px}.hc-time-fields label,.hc-result :is(.hc-current,.hc-next)>span{font-size:.75rem}.hc-rank-ladder span{font-size:.75rem}.hc-slider-scale{font-size:.75rem}.hc-lane-metrics{font-size:.75rem}}
.hc-time-fields input{height:calc(2.4rem + 16px)}.hc-time-fields>span{line-height:max(52px,calc(2.4rem + 16px))}
.hc-widget{container-type:inline-size}.hc-time-fields label,.hc-result :is(.hc-current,.hc-next)>span,.hc-result :is(.hc-current,.hc-next)>p{overflow-wrap:anywhere}
@container(max-width:10rem){.hc-time-fields{grid-template-columns:1fr}.hc-time-fields>span{display:none}.hc-result{grid-template-columns:1fr}.hc-current{border-right:0;border-bottom:1px solid #d4eddf;padding-right:0;padding-bottom:12px}.hc-gap{grid-column:1}}
