:root { color-scheme: light; font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif; background: #f3f6f2; color: #18372e; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; }
.app { width: min(100%, 560px); margin: 0 auto; padding: max(28px, env(safe-area-inset-top)) 20px max(32px, env(safe-area-inset-bottom)); }
.eyebrow { margin: 0 0 10px; color: #59806f; font-size: 12px; font-weight: 800; letter-spacing: .16em; }
h1 { margin: 0; font-size: clamp(28px, 8vw, 36px); line-height: 1.2; letter-spacing: -.03em; }
.intro { margin: 12px 0 26px; color: #50675d; line-height: 1.7; }
.result { padding: 26px 22px 22px; border-radius: 22px; color: #fff; background: #12362e; box-shadow: 0 12px 30px #12362e22; }
.label { margin: 0; color: #bad7c8; font-size: 14px; font-weight: 700; }
.distance { display: flex; align-items: baseline; gap: 10px; margin: 12px 0 14px; font-variant-numeric: tabular-nums; }
.distance output { font-size: clamp(64px, 19vw, 96px); line-height: 1; font-weight: 750; letter-spacing: -.07em; }
.distance span { font-size: 24px; font-weight: 700; }
.status { min-height: 2.8em; margin: 0; color: #e2f4e8; line-height: 1.4; }
.points { margin: 18px 0 22px; border: 1px solid #d7e4d9; border-radius: 16px; overflow: hidden; background: #fff; }
.point { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 20px; }
.point + .point { border-top: 1px solid #e7eee7; }
.point-name { font-weight: 800; }
.accuracy { text-align: right; color: #496758; font-variant-numeric: tabular-nums; }
.actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
button { min-height: 64px; padding: 10px; border: 0; border-radius: 14px; font: inherit; font-weight: 800; cursor: pointer; touch-action: manipulation; }
button:focus-visible { outline: 3px solid #edaa43; outline-offset: 2px; }
button:disabled { opacity: .42; cursor: not-allowed; }
.primary { color: #fff; background: #147955; }
.secondary { color: #185941; background: #dcebe0; }
.note { margin-top: 24px; color: #576d61; font-size: 13px; line-height: 1.7; }
.note p { margin: 0 0 10px; }
@media (max-width: 350px) { .actions { grid-template-columns: 1fr; } }
