:root{--green:#1f4d2b;--cream:#f5f1e6;--gold:#e2b33c;--ink:#1b1b1b;--muted:#5d6b60;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;color:var(--ink);background:var(--cream);font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;line-height:1.5}*{box-sizing:border-box}body{background:var(--cream);min-height:100dvh;margin:0}.app{max-width:480px;padding:calc(env(safe-area-inset-top) + 32px) 16px 32px;flex-direction:column;gap:20px;margin:0 auto;display:flex}h1{color:var(--green);margin:0;font-size:2.5rem}.tagline{color:var(--muted);letter-spacing:.04em;margin:4px 0 0}.bob{border-left:4px solid var(--gold);background:#fff;border-radius:8px;margin:0;padding:16px;font-size:1.1rem}button{font:inherit;cursor:pointer}.primary{background:var(--green);color:var(--cream);border:none;border-radius:12px;padding:14px 20px;font-size:1.1rem;font-weight:600}.primary:disabled{opacity:.5;cursor:not-allowed}.muted{color:var(--muted);margin:0;font-size:.9rem}.toast{left:16px;right:16px;bottom:calc(env(safe-area-inset-bottom) + 16px);background:var(--ink);color:#fff;border-radius:12px;align-items:center;gap:8px;max-width:448px;margin:0 auto;padding:12px 16px;display:flex;position:fixed}.toast span{flex:1}h2{color:var(--green);margin:0 0 8px;font-size:1.1rem}.card{background:#fff;border-radius:12px;flex-direction:column;gap:12px;padding:16px;display:flex}.card .bob{background:0 0;padding:0 0 0 12px}label{font-size:.95rem;font-weight:600}input{width:100%;font:inherit;color:var(--ink);background:#fff;border:1px solid #c9c4b5;border-radius:10px;padding:12px 14px;font-size:1.05rem}input:focus-visible,button:focus-visible{outline:3px solid var(--gold);outline-offset:2px}.link{color:var(--green);background:0 0;border:none;align-self:center;padding:8px;text-decoration:underline}.error{color:#8a1c0b;background:#fbe9e7;border-radius:8px;margin:0;padding:10px 12px}.facts{grid-template-columns:auto 1fr;gap:6px 16px;margin:0;display:grid}.facts dt{color:var(--muted)}.facts dd{margin:0}.chat{min-height:100dvh;padding-bottom:0}.chat-header h1{font-size:1.6rem}.thread{flex-direction:column;flex:1;gap:12px;margin:0;padding:0;list-style:none;display:flex}.exchange{flex-direction:column;gap:8px;display:flex}.bubble{border-radius:16px;max-width:85%;margin:0;padding:10px 14px}.bob-bubble{border-left:3px solid var(--gold);background:#fff;border-bottom-left-radius:4px;align-self:flex-start}.me-bubble{background:var(--green);color:var(--cream);border-bottom-right-radius:4px;align-self:flex-end}.composer{padding:12px 16px calc(env(safe-area-inset-bottom) + 12px);background:var(--cream);border-top:1px solid #e3ddcc;flex-direction:column;gap:10px;margin:0 -16px;display:flex;position:sticky;bottom:0}.composer form{flex-direction:column;gap:10px;display:flex}.composer-actions{justify-content:flex-end;align-items:center;gap:8px;display:flex}.composer-actions .primary{min-width:120px}.chips{flex-wrap:wrap;gap:8px;display:flex}.chip{border:1px solid var(--green);color:var(--green);background:#fff;border-radius:999px;padding:8px 14px}.chip.on{background:var(--green);color:var(--cream)}.topbar{justify-content:space-between;align-items:center;margin-bottom:-8px;display:flex}.back{color:var(--green);padding:8px 0;font-weight:600;text-decoration:none}.small{font-size:.82rem}.sr-only{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.button-link{text-align:center;text-decoration:none;display:block}.card-link{color:inherit;text-decoration:none}.icon-button{color:var(--muted);background:0 0;border:none;padding:6px 8px;font-size:1rem}.icon-button:hover{color:#8a1c0b}.gaps{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%}.gaps th{text-align:left;color:var(--muted);padding:4px 6px 8px 0;font-size:.8rem;font-weight:600}.gaps td{vertical-align:top;border-top:1px solid #eee9dc;padding:8px 6px 8px 0}.gaps td a{color:var(--green);font-weight:600;text-decoration:none}.gaps .shots{color:var(--muted);font-size:.75rem;display:block}.gap-big,.gap-overlap,.gap-small{color:#9a5b00;font-weight:700}.notes{color:#6b4a00;margin:0;padding-left:18px;font-size:.9rem}.inline-form{gap:8px;display:flex}.inline-form .primary{padding:10px 16px}.stats{grid-template-columns:1fr 1fr;gap:14px;margin:0;display:grid}.stats dt{color:var(--muted);font-size:.8rem}.stats dd{color:var(--green);margin:2px 0 0;font-size:1.3rem;font-weight:700}.shot-list{margin:0;padding:0;list-style:none}.shot-list li{font-variant-numeric:tabular-nums;border-top:1px solid #eee9dc;justify-content:space-between;align-items:center;padding:6px 0;display:flex}.field-row{grid-template-columns:1fr 1fr;gap:12px;display:grid}.field-row label{margin-bottom:6px;display:block}.label{font-size:.95rem;font-weight:600}.loft-badge{color:#5b4a12;vertical-align:middle;background:#efe7cf;border-radius:6px;margin-left:6px;padding:1px 6px;font-size:.75rem;font-weight:600;display:inline-block}h1 .loft-badge{margin-left:10px;font-size:1rem}a.chip{text-decoration:none}.loft-grid{flex-direction:column;gap:8px;display:flex}.loft-row{justify-content:space-between;align-items:center;gap:12px;display:flex}.loft-input{align-items:center;gap:4px;font-weight:600;display:flex}.loft-input input{text-align:right;width:80px}.check{align-items:center;gap:8px;font-weight:400;display:flex}.check input{width:auto}.trust-badge{color:var(--green);background:#e3efe5;border-radius:6px;padding:1px 6px;font-size:.75rem;font-weight:600;display:inline-block}.choice{flex-direction:column;gap:6px;display:flex}.choice .label{margin:0}select{width:100%;font:inherit;color:var(--ink);background:#fff;border:1px solid #c9c4b5;border-radius:10px;padding:12px 14px;font-size:1.05rem}.attribution{text-align:center;margin-top:8px}.course-list,.tee-list{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.course-list button,.tee-list button{text-align:left;width:100%;color:var(--ink);background:#fff;border:1px solid #e3ddcc;border-radius:12px;flex-direction:column;align-items:flex-start;gap:2px;padding:12px 14px;display:flex}.course-list button:hover,.tee-list button:hover{border-color:var(--green)}.tee-name{align-items:center;gap:8px;font-weight:600;display:flex}.tee-dot{border:1px solid #b9b4a5;border-radius:50%;width:14px;height:14px}.tee-ch{color:var(--green);font-size:.9rem;font-weight:600}.handicap-line{margin:0}.small-dd{font-size:1rem!important}.now-line{margin:0}.hole-play{flex-direction:column;gap:12px;display:flex}.hole-header{background:var(--green);color:var(--cream);border-radius:12px;justify-content:space-between;align-items:center;padding:6px 8px;display:flex}.hole-header .icon-button{color:var(--cream);padding:4px 12px;font-size:1.6rem}.hole-header .icon-button:disabled{opacity:.3}.hole-title{flex-direction:column;align-items:center;display:flex}.hole-title .muted{color:#d9e6dc}.hole-map{background:#2f4a33;border-radius:12px;height:62vh;min-height:300px;position:relative;overflow:hidden}.hole-map-canvas{width:100%;height:100%}.hole-map-off{background:#fff;height:auto;min-height:0;padding:12px}.hole-map.tapping{outline:3px solid var(--gold)}.map-hint{background:var(--ink);color:#fff;pointer-events:none;border-radius:999px;margin:0;padding:4px 10px;font-size:.85rem;position:absolute;top:10px;left:50%;transform:translate(-50%)}.distances{justify-content:center;gap:10px;display:flex}.distances>div{background:#fff;border-radius:12px;flex-direction:column;align-items:center;min-width:80px;padding:8px 12px;display:flex}.distances span{color:var(--green);font-variant-numeric:tabular-nums;font-size:1.6rem;font-weight:700}.distances .main span{font-size:2.4rem}.distances small{color:var(--muted)}.gps-line{text-align:center;margin:-6px 0 0}.shot-log{margin:0;padding-left:22px}.shot-log li{border-top:1px solid #eee9dc;justify-content:space-between;padding:4px 0;display:flex}.hole-actions{flex-direction:column;gap:4px;display:flex}.sheet h2{margin:0}.hole-done{text-align:center;color:var(--green);margin:0;font-weight:700}.scorecard{grid-template-columns:repeat(9,1fr);gap:4px;display:grid}.sc-cell{font-variant-numeric:tabular-nums;background:#fff;border:1px solid #e3ddcc;border-radius:8px;flex-direction:column;align-items:center;padding:4px 0;display:flex}.sc-cell small{color:var(--muted);font-size:.7rem}.sc-cell.current{border-color:var(--green);border-width:2px}.sc-cell.under span{color:#b42318;font-weight:700}.sc-cell.over span{color:#1e40af}.confirm-inline{background:#fbe9e7;border-radius:10px;flex-wrap:wrap;justify-content:center;align-items:center;gap:6px 10px;padding:6px 10px;display:inline-flex}.confirm-prompt{color:#6b1a0d;font-size:.9rem}.confirm-yes{color:#fff;background:#b42318;border:none;border-radius:8px;padding:6px 12px;font-weight:600}.map-reset{background:#1b1b1bbf;border:none;border-radius:8px;place-items:center;width:40px;height:40px;padding:0;display:grid;position:absolute;top:10px;left:10px}.round-header.compact h1{margin-bottom:2px;font-size:1.5rem}.round-header.compact .tagline{margin-top:0}.bob-note{border-left:4px solid var(--gold);background:#fff;border-radius:10px;margin:8px 0 12px}.bob-note-toggle{width:100%;color:var(--green);text-align:left;background:0 0;border:none;justify-content:space-between;align-items:center;padding:10px 14px;font-weight:600;display:flex}.bob-note-body{padding:0 14px 12px}.bob-note-body .bob{background:0 0;border:none;margin:0 0 8px;padding:0}.bob-call{border-left:4px solid var(--gold);background:#fff;border-radius:10px;margin:10px 0;padding:10px 14px}.bob-call-line{margin:0 0 4px;font-weight:600}.bob-call .muted{margin:0}.chip.selected{outline:2px solid var(--gold)}.hole-map-3d{position:absolute;inset:0}.hole-map-3d[hidden]{display:none}.hole-map-3d gmp-map-3d{width:100%;height:100%}.map-view-toggle{color:#fff;background:#1b1b1bbf;border:none;border-radius:8px;min-width:44px;height:36px;padding:0 10px;font-weight:700;position:absolute;top:10px;right:10px}.shot-options{gap:6px;margin:8px 0 0;padding:0;list-style:none;display:grid}.shot-option{width:100%;color:inherit;text-align:left;background:#faf8f1;border:1px solid #e3ddcc;border-radius:8px;gap:2px;padding:8px 10px;display:grid}.shot-option.selected{border-color:var(--gold);box-shadow:0 0 0 1px var(--gold);background:#fff}.shot-option-club{font-weight:700}.shot-option .tag{background:var(--green);color:#fff;border-radius:999px;margin-left:6px;padding:1px 6px;font-size:.7rem;font-weight:600}.shot-option-risk{color:#a4372b}.hole-notes{margin:4px 0 10px}.hole-notes .field{gap:4px;margin-bottom:8px;display:grid}.map-wrap{position:relative}.wind-badge{color:#fff;background:#1b1b1bbf;border:none;border-radius:8px;align-items:center;gap:4px;height:32px;padding:0 8px;font-size:.8rem;font-weight:700;display:flex;position:absolute;top:54px;right:10px}.wind-badge svg{transition:transform .3s}.wind-mine{background:var(--gold);color:#1b1b1b;border-radius:4px;padding:0 4px;font-size:.65rem}.wind-panel{z-index:2;background:#fff;border-radius:10px;padding:10px 12px;position:absolute;top:92px;left:10px;right:10px;box-shadow:0 6px 20px #00000040}.wind-panel p{margin:0 0 6px}.wind-dirs{grid-template-columns:repeat(4,1fr);gap:6px;margin-bottom:8px;display:grid}.wind-speed{align-items:center;gap:10px;margin-bottom:6px;font-weight:700;display:flex}.wind-actions{justify-content:space-between;display:flex}.tap-hint{text-align:center;margin:-2px 0 0}.round-report h2{margin-bottom:8px}.report-headline{gap:10px;margin-bottom:10px;display:flex}.report-headline>div{text-align:center;background:#fff;border-radius:10px;flex:1;padding:10px}.report-headline .big{color:var(--green);font-size:1.8rem;font-weight:800;display:block}.report-focus{margin:6px 0 0;padding-left:18px}.report-focus li{margin-bottom:4px}.report-stats{background:#fff;border-radius:10px;margin:10px 0;padding:12px}.report-table{border-collapse:collapse;background:#fff;border-radius:10px;width:100%;margin:10px 0}.report-table caption{text-align:left;padding:8px 0 4px;font-weight:700}.report-table th,.report-table td{text-align:left;border-bottom:1px solid #eee7d6;padding:6px 8px}.report-diff{color:#a4372b}
