:root{--bg:#101513;--card:#1b2420;--ink:#e8eee9;--muted:#a4b4a9;--primary:#a5cb77;--primary-dark:#cbe7a5;--accent:#a5cb77;--line:#445448;--soft:#29392d;--radius:16px;--shadow:0 8px 24px rgba(15,35,65,.06);--max:1120px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font:400 16px/1.65 'DM Sans',Arial,sans-serif}button,input,select{font:inherit}a{color:var(--primary);text-decoration:none;transition:color .15s ease}a:hover{color:var(--primary-dark);text-decoration:underline}button{cursor:pointer;transition:background-color .15s ease,box-shadow .15s ease,transform .15s ease}button:hover{transform:translateY(-1px)}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #cbe7a5;outline-offset:3px}.container{max-width:var(--max);margin:auto;padding:0 24px}.site-header{background:#1b2420;border-bottom:1px solid var(--line)}.header-inner{min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{font:800 23px/1.2 Manrope,Arial,sans-serif;color:var(--ink);display:inline-flex;align-items:center;gap:12px;letter-spacing:-.8px}.brand:hover{text-decoration:none;color:var(--ink)}.brand-accent{color:var(--primary)}.brand-mark{display:flex;gap:3px;align-items:flex-end;justify-content:center;width:36px;height:36px;padding:8px;background:var(--primary);border-radius:11px;transform:rotate(-7deg)}.brand-mark span{width:5px;background:#1b2420;border-radius:2px}.brand-mark span:nth-child(1){height:8px}.brand-mark span:nth-child(2){height:15px}.brand-mark span:nth-child(3){height:21px}.nav{display:flex;align-items:center;gap:30px}.nav a{font-size:14px;font-weight:700;color:#c4d5c4}.nav a:hover{color:var(--primary);text-decoration:none}.main-content{padding-top:40px;padding-bottom:76px}h1,h2,h3{font-family:Manrope,Arial,sans-serif;line-height:1.22;letter-spacing:-.035em;color:var(--ink)}h1{font-size:clamp(32px,4.5vw,48px);font-weight:800;margin:0 0 16px}h2{font-size:28px;font-weight:800;margin:40px 0 16px}h3{font-size:20px;margin:28px 0 10px}p{margin:0 0 16px}.intro,.lead{color:var(--muted);font-size:18px;max-width:70ch}.hero{padding:0 0 22px}.hero-copy h1,.hero-copy h1.answer{font-size:clamp(32px,4.5vw,48px);max-width:880px;margin:0 0 12px}.hero-copy h1 em{color:var(--primary);font-style:normal}.hero-copy p{color:var(--muted);max-width:74ch;font-size:17px}.legacy>nav[aria-label=Breadcrumb],nav[aria-label=Breadcrumb]{font-size:13px;color:var(--muted);margin:0 0 20px}.legacy>nav[aria-label=Breadcrumb] a{color:var(--muted)}.legacy .section{padding:30px 0 8px;border-top:1px solid var(--line);margin-top:32px}.legacy .section h2{margin-top:0}.legacy .links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.legacy .link-tile{display:block;background:#1b2420;border:1px solid var(--line);border-radius:var(--radius);padding:20px;box-shadow:0 1px 2px rgba(0,0,0,.04);color:var(--ink)}.legacy .link-tile:hover{border-color:#799b69;box-shadow:var(--shadow);text-decoration:none}.legacy .link-tile strong{display:block;font-size:18px}.legacy .link-tile span{color:var(--muted);font-size:14px}.legacy .prose,.prose{max-width:76ch}.legacy p,.prose p{max-width:76ch}.legacy ul,.legacy ol,.prose ul,.prose ol{padding-left:24px}.legacy li,.prose li{margin-bottom:8px}.legacy .table-wrap,.legacy .facts,.prose table{overflow-x:auto;border-radius:var(--radius);border:1px solid var(--line);background:white}.legacy table,.prose table{width:100%;border-collapse:collapse;background:#1b2420}.legacy th,.legacy td,.prose th,.prose td{padding:12px 16px;border-bottom:1px solid var(--line);text-align:left;white-space:nowrap;font-size:14px}.legacy th,.prose th{background:#29392d;color:#c4d5c4;font-size:13px;font-weight:700}.legacy tbody tr:hover{background:#1b2420}.legacy details,.prose details{padding:16px 0;border-bottom:1px solid var(--line)}.legacy summary,.prose summary{cursor:pointer;font-weight:700}.legacy .quick{display:flex;flex-wrap:wrap;gap:8px}.legacy .chip,.legacy .btn,.legacy button{padding:10px 15px;border:1px solid var(--line);background:#1b2420;border-radius:9px;color:var(--ink);font-weight:700}.legacy .chip:hover,.legacy .btn:hover,.legacy button:hover{border-color:#799b69;background:var(--soft)}.legacy .chart-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin:20px 0}.legacy .field,.legacy .extra{background:#1b2420;border:1px solid var(--line);border-radius:12px;padding:16px}.legacy .field input,.legacy .extra input{max-width:100%;padding:10px;border:1px solid var(--line);border-radius:8px}.legacy .grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.legacy .extras{display:flex;flex-wrap:wrap;gap:12px}.legacy .value{font-size:30px;font-weight:800;color:var(--primary)}.legacy .err{color:#ffb1a5}.legacy .faq{margin-top:28px}.tp-tool{background:#1b2420;border:1px solid #445448;border-radius:20px;padding:28px;box-shadow:var(--shadow);margin:26px 0 32px}.tp-bar{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:24px;padding-bottom:20px;border-bottom:1px solid var(--line)}.tp-tool button{border:1px solid var(--line);border-radius:10px;background:#1b2420;color:var(--ink);padding:12px 17px;font-size:14px;font-weight:700;min-height:44px}.tp-tool button:hover{border-color:#799b69;background:var(--soft)}.tp-tool button[aria-pressed=true]{background:var(--primary);color:white;border-color:var(--primary)}.tp-tool button[aria-pressed=true]:hover{background:var(--primary-dark)}.tp-tool [data-unit]{margin-left:auto;color:var(--primary);border-color:#445448;background:#29392d}.tp-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px}.tp-grid>label,.tp-output{padding:24px;border-radius:14px;display:flex;flex-direction:column;gap:12px;min-height:196px}.tp-grid>label{background:#1b2420;border:1px solid var(--line)}.tp-grid>label span,.tp-output>span{font-size:13px;font-weight:800;letter-spacing:.02em;text-transform:uppercase;color:#c4d5c4}.tp-grid input{width:100%;min-width:0;font:800 clamp(34px,5vw,52px)/1.2 Manrope,Arial,sans-serif;letter-spacing:-.04em;color:var(--ink);background:transparent;border:0;outline:0;padding:0}.tp-grid small{font-size:14px;color:var(--muted)}.tp-output{background:#29392d;color:#e8eee9;border:1px solid #445448}.tp-output>span{color:#c4d5c4}.tp-output strong{font:800 clamp(36px,5vw,52px)/1.15 Manrope,Arial,sans-serif;letter-spacing:-.04em;color:#e8eee9}.tp-output small{color:#c4d5c4}.tp-output button{align-self:flex-start;background:var(--accent);border-color:var(--accent);color:#1b2420;margin-top:auto;padding:8px 14px;min-height:36px}.tp-output button:hover{background:#799b69;border-color:#799b69}.tp-grade{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;align-items:center;margin:24px 0 14px;padding:17px 20px;background:#1b2420;border:1px solid var(--line);border-radius:12px}.tp-grade label{font-weight:700}.tp-grade input{width:80px;padding:8px;border:1px solid #445448;border-radius:8px;margin-left:8px}.tp-grade strong{color:var(--primary)}.tp-presets{display:flex;gap:8px;flex-wrap:wrap;padding-top:16px;border-top:1px solid var(--line)}.tp-presets button{background:#1b2420}.tp-tool [data-error]{font-size:14px;color:#ffb1a5}.fivek-tool{background:#1b2420;border:1px solid var(--line);border-radius:16px;padding:24px;margin:24px 0;box-shadow:var(--shadow)}.fivek-tool .grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.fivek-tool .field{padding:18px;background:#1b2420;border-radius:12px}.fivek-tool .field label{display:block;font-weight:700}.fivek-tool input{padding:12px;border:1px solid #445448;border-radius:8px;max-width:100%}.fivek-tool .value{font:800 26px Manrope;color:var(--primary)}.fivek-tool .extras,.fivek-tool .quick{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}.fivek-tool button{padding:10px 14px;border:1px solid var(--line);border-radius:9px;background:#1b2420}.fivek-tool button:hover{background:var(--soft)}.site-footer{background:#1b2420;border-top:1px solid var(--line)}.footer-top{display:flex;justify-content:space-between;gap:24px;flex-wrap:wrap;padding:40px 0 30px}.footer-top p{font-size:14px;color:var(--muted);margin:12px 0 0}.footer-top nav{display:flex;gap:20px;flex-wrap:wrap;align-content:start}.footer-top nav a{font-size:14px;color:#a4b4a9}.footer-bottom{padding:18px 0 30px;border-top:1px solid var(--line);font-size:13px;color:var(--muted)}@media(max-width:720px){.container{padding:0 16px}.header-inner{min-height:68px;align-items:flex-start;padding-top:15px;padding-bottom:15px;flex-direction:column;gap:16px}.nav{width:100%;gap:20px;overflow-x:auto;white-space:nowrap}.main-content{padding-top:28px;padding-bottom:48px}.tp-tool{padding:16px;margin:20px 0}.tp-grid,.legacy .grid,.fivek-tool .grid,.legacy .links{grid-template-columns:1fr}.tp-bar{gap:8px}.tp-tool [data-unit]{margin-left:0;width:100%}.tp-bar button[data-mode]{flex:1}.tp-grid>label,.tp-output{min-height:155px;padding:20px}.tp-grade{padding:14px}.tp-presets button{flex:1 1 45%}h1{font-size:32px}h2{font-size:24px}.footer-top nav{gap:14px}}@media print{.site-header,.site-footer,.tp-tool{display:none}body{background:white}.container{max-width:100%}}.home-hero{max-width:980px;margin:0 auto 48px}.home-hero .hero-copy{max-width:800px}.eyebrow{display:inline-flex;padding:7px 12px;border-radius:99px;background:#29392d;color:#cbe7a5;font-size:12px;font-weight:800;letter-spacing:.08em;margin-bottom:18px}.home-hero .hero-copy h1{font-size:clamp(34px,5vw,50px);margin-bottom:12px}.home-hero .hero-copy h1 em{color:var(--primary);font-style:normal}.home-hero .hero-copy p{font-size:18px;color:var(--muted);max-width:650px}.home-note{font-size:13px;color:var(--muted);text-align:center;margin-top:-12px}.home-hero .tp-tool{margin-top:28px}@media(max-width:720px){.home-note{line-height:1.8}.eyebrow{font-size:12px}}.answer-panel{background:#1b2420;border:1px solid #445448;border-left:5px solid var(--primary);border-radius:16px;padding:24px 28px;margin:24px 0 30px;box-shadow:var(--shadow)}.answer-panel h2{font-size:24px;margin:10px 0 12px}.answer-panel p{max-width:76ch}.answer-kicker{font-size:12px;font-weight:800;letter-spacing:.08em;color:var(--primary)}.answer-links{display:flex;flex-wrap:wrap;gap:12px;margin-top:18px}.answer-links a{background:#29392d;border-radius:8px;padding:8px 12px;font-size:14px;font-weight:700}#steps-form{background:#1b2420;border:1px solid var(--line);border-radius:16px;padding:24px;display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:20px 0}#steps-form label{font-weight:700;font-size:14px}#steps-form input,#steps-form select{min-height:44px;border:1px solid #445448;border-radius:8px;padding:10px 12px;max-width:150px;background:#1b2420}#steps-form button{min-height:44px;background:var(--primary);border-color:var(--primary);color:#1b2420}#steps-form button:hover{background:var(--primary-dark)}#steps-form #step-help,#steps-form p:has(output){flex-basis:100%;margin:0}#steps-result{display:block;background:#29392d;color:var(--ink);padding:16px;border-radius:10px;font-size:20px;font-weight:800}@media(max-width:720px){.answer-panel{padding:20px}.answer-panel h2{font-size:22px}#steps-form{padding:16px}#steps-form button{width:100%}}
/* Layout and interaction refinement */
:root{--ease:cubic-bezier(.22,1,.36,1)}
.site-header{position:relative;z-index:10}
.header-inner{min-height:76px}
.nav a{position:relative;padding:8px 0;white-space:nowrap}
.nav a::after{content:"";position:absolute;left:0;right:100%;bottom:3px;height:2px;border-radius:2px;background:var(--primary);transition:right .24s var(--ease)}
.nav a:hover::after,.nav a:focus-visible::after{right:0}
.home-hero{max-width:100%;margin-bottom:48px}
.home-hero .hero-copy{max-width:840px}
.home-hero .tp-tool{max-width:980px;margin:28px 0 0}
.home-note{text-align:left;margin:14px 0 0;max-width:980px}
.legacy{max-width:980px;margin-inline:auto}
.legacy .hero{padding:0 0 16px}
.legacy .hero-copy{max-width:850px}
.legacy .section{margin-top:36px;padding-top:28px}
.legacy .section p{line-height:1.78}
.legacy .link-tile,.answer-panel,.tp-tool{transition:transform .22s var(--ease),box-shadow .22s var(--ease),border-color .22s ease}
.legacy .link-tile:hover{transform:translateY(-3px);box-shadow:0 12px 30px rgba(15,35,65,.09)}
.legacy details summary{list-style-position:outside;padding-right:22px}
.legacy details[open] summary{color:var(--primary)}
.legacy details[open]>p{animation:reveal .22s var(--ease)}
.inline-calculator{max-width:980px;margin:48px auto 0;padding-top:24px;border-top:1px solid var(--line)}
.inline-calculator .section-heading h2{margin:0 0 8px}
.inline-calculator .section-heading p{color:var(--muted)}
.tp-tool{overflow:hidden}
.tp-tool button{transition:transform .16s var(--ease),background-color .16s ease,border-color .16s ease,box-shadow .16s ease}
.tp-tool button:active{transform:scale(.98)}
.tp-output strong{font-variant-numeric:tabular-nums;transition:opacity .16s ease}
.tp-grid input:focus-visible{outline:2px solid var(--primary);outline-offset:6px;border-radius:4px}
.tp-grid>label:focus-within{border-color:#799b69;box-shadow:0 0 0 3px rgba(37,99,235,.09)}
.legacy .table-wrap{max-width:100%;overscroll-behavior-inline:contain}
.legacy .table-wrap th{position:sticky;top:0}
.legacy .table-wrap td:first-child,.legacy .table-wrap th:first-child{font-weight:700}
.legacy .quick,.legacy .links{align-items:stretch}
.legacy .field input:focus,.fivek-tool input:focus{border-color:var(--primary)}
@keyframes reveal{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:720px){.header-inner{gap:10px}.nav{gap:22px;padding-bottom:4px;scrollbar-width:thin}.main-content{padding-top:22px}.home-hero{margin-bottom:30px}.home-hero .hero-copy p{font-size:16px}.home-note{font-size:12px}.legacy .section{margin-top:26px;padding-top:22px}.legacy .link-tile{padding:16px}.inline-calculator{margin-top:32px}.tp-grid>label,.tp-output{min-height:165px}.tp-output strong{overflow-wrap:anywhere}.tp-grade{align-items:stretch}.tp-grade label{display:flex;align-items:center;justify-content:space-between;width:100%}.tp-grade input{max-width:90px}.answer-links a{display:inline-flex;align-items:center;min-height:40px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.01ms!important}}
/* 5K goal calculator: explicit layout for original markup */
.legacy .hero:has(#fivek-time){max-width:980px;margin-inline:auto}
.legacy .hero:has(#fivek-time)>.tool{background:var(--card);border:1px solid var(--line);border-radius:20px;padding:26px;box-shadow:var(--shadow);margin:26px 0 12px}
.legacy .hero:has(#fivek-time) .tool-bar{display:flex;align-items:center;justify-content:space-between;margin:0 0 14px}
.legacy .hero:has(#fivek-time) .tool-bar .units{font-size:13px;font-weight:800;letter-spacing:.03em;color:var(--muted)}
.legacy .hero:has(#fivek-time) .tool>.grid{display:grid;grid-template-columns:minmax(0,1fr) 40px minmax(0,1fr);align-items:stretch;gap:14px}
.legacy .hero:has(#fivek-time) .tool>.grid>.field{min-width:0;min-height:176px;border:1px solid var(--line);border-radius:14px;padding:20px;display:flex;flex-direction:column;justify-content:center;gap:8px;background:#1b2420}
.legacy .hero:has(#fivek-time) .tool>.grid>.field>label{display:block;color:var(--muted);font-size:13px;font-weight:800;letter-spacing:.03em}
.legacy .hero:has(#fivek-time) .tool>.grid>.field>input{display:block;width:100%;max-width:220px;font:800 clamp(28px,4vw,42px)/1.15 Manrope,Arial,sans-serif;color:var(--ink);padding:8px 12px;border:1px solid #445448;border-radius:10px;background:#1b2420}
.legacy .hero:has(#fivek-time) .tool>.grid>.field>.hint{font-size:13px;color:var(--muted)}
.legacy .hero:has(#fivek-time) .tool>.grid>.arrow{display:grid;place-items:center;font-size:25px;font-weight:800;color:var(--primary);align-self:center}
.legacy .hero:has(#fivek-time) .tool>.grid>.field.out{background:#29392d;border-color:#445448;color:#e8eee9}
.legacy .hero:has(#fivek-time) .tool>.grid>.field.out>label{color:#c4d5c4}
.legacy .hero:has(#fivek-time) .tool>.grid>.field.out>.value{font:800 clamp(36px,5vw,54px)/1.15 Manrope,Arial,sans-serif;color:#e8eee9;font-variant-numeric:tabular-nums}
.legacy .hero:has(#fivek-time) .tool>.grid>.field.out>.hint{color:#c4d5c4}
.legacy .hero:has(#fivek-time) .tool>.out-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:14px 0 0}
.legacy .hero:has(#fivek-time) .tool>.out-grid>.extra{min-width:0;min-height:110px;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:10px;padding:16px;border:1px solid var(--line);border-radius:12px;background:#1b2420}
.legacy .hero:has(#fivek-time) .tool>.out-grid>.extra label{display:block;color:var(--muted);font-size:13px;font-weight:700;line-height:1.4}
.legacy .hero:has(#fivek-time) .tool>.out-grid>.extra strong{display:block;font:800 25px/1.2 Manrope,Arial,sans-serif!important;color:var(--ink);font-variant-numeric:tabular-nums}
.legacy .hero:has(#fivek-time) .tool>.out-grid>.extra .badge{display:inline-block;margin-top:4px;color:var(--muted);font-size:12px}
.legacy .hero:has(#fivek-time) .tool>.out-grid>.extra input{display:block;width:100%;max-width:110px;padding:8px 10px;border:1px solid #445448;border-radius:9px;background:#1b2420}
.legacy .hero:has(#fivek-time) .tool>.check{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px;padding:12px 14px;background:var(--soft);border-radius:10px;font-size:14px;color:var(--ink)}
.legacy .hero:has(#fivek-time) .tool>.err{margin:8px 0 0;color:#ffb1a5;font-size:14px}
@media(max-width:760px){.legacy .hero:has(#fivek-time)>.tool{padding:16px;border-radius:16px}.legacy .hero:has(#fivek-time) .tool>.grid{grid-template-columns:minmax(0,1fr);gap:8px}.legacy .hero:has(#fivek-time) .tool>.grid>.field{min-height:128px;padding:18px}.legacy .hero:has(#fivek-time) .tool>.grid>.arrow{transform:rotate(90deg);height:28px}.legacy .hero:has(#fivek-time) .tool>.out-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.legacy .hero:has(#fivek-time) .tool>.out-grid>.extra{min-height:104px}.legacy .hero:has(#fivek-time) .tool>.out-grid>.extra strong{font-size:22px!important}}
@media(max-width:370px){.legacy .hero:has(#fivek-time) .tool>.out-grid{grid-template-columns:1fr}.legacy .hero:has(#fivek-time) .tool>.out-grid>.extra{min-height:90px}}
/* Athletic dark theme — restrained, high-contrast, low-glare */
:root{--bg:#101513;--card:#1b2420;--ink:#e8eee9;--muted:#a4b4a9;--primary:#a5cb77;--primary-dark:#cbe7a5;--accent:#a5cb77;--line:#445448;--soft:#29392d;--shadow:0 12px 32px rgba(0,0,0,.16)}
body{background:var(--bg);color:var(--ink)}
.site-header,.site-footer{background:#141d17}
.brand,.brand:hover,h1,h2,h3{color:var(--ink)}
.nav a,.footer-top nav a{color:#c4d5c4}
.nav a:hover,.footer-top nav a:hover{color:var(--primary)}
.legacy .link-tile,.answer-panel,.tp-tool,.legacy .field,.legacy .extra,#steps-form{background:var(--card);color:var(--ink)}
.legacy .link-tile span,.legacy .hero-copy p,.home-hero .hero-copy p{color:var(--muted)}
.legacy th,.prose th{background:#29392d;color:#e8eee9}
.legacy td,.prose td{color:var(--ink)}
.legacy tbody tr:hover{background:#29392d}
.tp-grid>label,.tp-grade,.legacy .hero:has(#fivek-time) .tool>.grid>.field,.legacy .hero:has(#fivek-time) .tool>.out-grid>.extra{background:#1b2420;color:var(--ink);border-color:var(--line)}
.tp-output,.legacy .hero:has(#fivek-time) .tool>.grid>.field.out{background:#29392d;border-color:#445448;color:#e8eee9}
.tp-output strong,.legacy .hero:has(#fivek-time) .tool>.grid>.field.out>.value{color:#e8eee9}
.tp-output>span,.tp-output small,.legacy .hero:has(#fivek-time) .tool>.grid>.field.out>label,.legacy .hero:has(#fivek-time) .tool>.grid>.field.out>.hint{color:#c4d5c4}
.tp-tool button,.legacy button,.legacy .chip,.legacy .btn,.fivek-tool button{background:#29392d;color:#e8eee9;border-color:#445448}
.tp-tool button:hover,.legacy button:hover,.fivek-tool button:hover{background:#29392d;color:#e8eee9}
.tp-tool button[aria-pressed=true],.tp-output button{background:var(--primary);border-color:var(--primary);color:#101513}
.tp-tool button[aria-pressed=true]:hover,.tp-output button:hover{background:#cbe7a5;color:#101513}
.tp-tool [data-unit],.answer-links a,.eyebrow{background:#29392d;color:#cbe7a5;border-color:#445448}
.tp-grid input,.legacy .field input,.legacy .extra input,#steps-form input,#steps-form select,.legacy .hero:has(#fivek-time) .tool>.grid>.field>input,.legacy .hero:has(#fivek-time) .tool>.out-grid>.extra input{background:#141d17;color:#e8eee9;border-color:#445448}
.tp-grid>label span,.tp-output>span,.legacy .hero:has(#fivek-time) .tool>.grid>.field>label,.legacy .hero:has(#fivek-time) .tool>.out-grid>.extra label{color:#c4d5c4}
.legacy .hero:has(#fivek-time)>.tool{background:var(--card);border-color:var(--line)}
.legacy .hero:has(#fivek-time) .tool>.check,#steps-result{background:#29392d;color:#e8eee9}
.legacy .hero:has(#fivek-time) .tool>.out-grid>.extra strong{color:#e8eee9}
.legacy .value,.tp-grade strong{color:var(--primary)}
a{color:#cbe7a5}a:hover{color:#cbe7a5}
.legacy .link-tile:hover{border-color:#799b69}
.legacy .table-wrap,.legacy .facts,.prose table,.legacy table,.prose table{background:var(--card)}
.legacy .table-wrap th{background:#29392d}
.legacy .hero:has(#fivek-time) .tool>.grid>.field.out .hint{color:#c4d5c4}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition-duration:.01ms!important;animation-duration:.01ms!important}}
.steps-tool-placement{max-width:980px;margin:22px auto 34px}.steps-tool{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:18px;padding:24px;background:var(--card);border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow)}.steps-tool__fields{display:grid;gap:18px}.steps-tool__fields>label{display:flex;flex-direction:column;gap:8px;font-weight:700;font-size:14px;color:var(--muted)}.steps-tool input,.steps-tool select{min-width:0;min-height:48px;padding:10px 12px;background:#141d17;color:var(--ink);border:1px solid #445448;border-radius:10px;font-size:18px}.steps-unit{display:grid;grid-template-columns:minmax(0,1fr) 108px;gap:8px}.steps-result{grid-column:2;grid-row:1;background:#29392d;border:1px solid #445448;border-radius:14px;padding:22px;display:flex;flex-direction:column;justify-content:center;gap:10px}.steps-result>span{color:#c4d5c4;font-size:13px;font-weight:800;text-transform:uppercase;letter-spacing:.03em}.steps-result strong{font:800 clamp(26px,3vw,38px)/1.2 Manrope,Arial,sans-serif;color:#e8eee9;overflow-wrap:anywhere}.steps-result small{color:#c4d5c4;font-size:14px}.steps-help{grid-column:1/-1;color:var(--muted);font-size:13px;margin:0}.steps-article .hero{margin-bottom:10px}@media(max-width:680px){.steps-tool{grid-template-columns:1fr;padding:16px}.steps-result{grid-column:1;grid-row:auto;min-height:145px}.steps-help{grid-column:1}.steps-unit{grid-template-columns:minmax(0,1fr) 96px}}
/* Final contrast guarantees for athletic dark palette */
.tp-output,.legacy .hero:has(#fivek-time) .tool>.grid>.field.out{background:#29392d;color:#e8eee9}
.tp-output strong,.legacy .hero:has(#fivek-time) .tool>.grid>.field.out>.value{color:#e8eee9}
.tp-output button,.tp-tool button[aria-pressed=true],#steps-form button{background:#a5cb77;color:#101513}
.tp-output button:hover,.tp-tool button[aria-pressed=true]:hover,#steps-form button:hover{background:#cbe7a5;color:#101513}
/* Responsive navigation: prevent the six-link header from overflowing on tablets */
@media(max-width:1000px){
.header-inner{flex-wrap:wrap;gap:12px;padding-top:14px;padding-bottom:14px}
.header-inner .brand{flex:0 0 auto}
.header-inner .nav{width:100%;flex:1 0 100%;gap:10px;display:flex;flex-wrap:wrap;overflow:visible;white-space:normal}
.header-inner .nav a{display:inline-flex;align-items:center;min-height:38px;font-size:13px;line-height:1.25;padding:8px 12px;background:#29392d;border:1px solid #445448;border-radius:9px}
.header-inner .nav a::after{display:none}
}
@media(max-width:720px){
.header-inner{flex-direction:column;align-items:stretch;gap:10px}
.header-inner .nav{flex:unset;width:100%;gap:8px;white-space:normal;overflow:visible}
.header-inner .nav a{font-size:12px;min-height:36px;padding:7px 10px}
.main-content{padding-top:24px}
}
@media(max-width:360px){.header-inner .nav a{font-size:12px;padding:7px 8px}}
/* Small-phone overflow fix verified against Chromium layout at 320px */
.steps-tool,.steps-tool-placement,.steps-tool__fields,.steps-tool__fields>label,.steps-unit,.steps-result{min-width:0;max-width:100%}
.steps-tool input,.steps-tool select{width:100%;max-width:100%;min-width:0}
.steps-unit{width:100%}
@media(max-width:680px){.steps-tool{grid-template-columns:minmax(0,1fr)}.steps-unit{grid-template-columns:minmax(0,1fr) 96px}}
