.detour-calculator{padding:clamp(1rem,3vw,2rem);border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--surface);scroll-margin-top:6rem}.detour-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:1.2rem;gap:1.2rem;margin:1.5rem 0}.detour-field{display:flex;flex-direction:column;gap:.45rem;min-width:0}.detour-field label{font-weight:650;line-height:1.5}.detour-field label span,.detour-field small,.detour-note{color:var(--text-soft)}.detour-field input{box-sizing:border-box;width:100%;min-height:48px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--text);padding:.7rem .9rem;font:inherit}.detour-field input:focus-visible{outline:3px solid var(--brand-600);outline-offset:3px}.detour-field input[aria-invalid=true]{border-color:#bd523f}.detour-field small{font-size:.8rem;line-height:1.5}.detour-field .detour-error{color:var(--text);font-weight:600}.detour-result{display:block;padding:1.4rem;border-radius:14px;background:var(--bg-strong);border:1px solid var(--line)}.detour-result>span{display:block;font-weight:650}.detour-result>strong{display:block;font-size:clamp(2rem,6vw,3rem);line-height:1.2;margin:.5rem 0;overflow-wrap:anywhere}.detour-result dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:1rem;gap:1rem;margin:1.3rem 0 0}.detour-result dt{font-size:.85rem;line-height:1.4;color:var(--text-soft)}.detour-result dd{margin:.4rem 0 0;font-weight:700}.detour-note{font-size:.88rem;line-height:1.65;margin-top:1rem}@media(max-width:600px){.detour-fields,.detour-result dl{grid-template-columns:1fr}}