:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#192d23;background:#f5f7f3;font-synthesis:none;--green:#185b41;--line:#d9e1d8}*{box-sizing:border-box}body{margin:0;padding:env(safe-area-inset-top) 0 env(safe-area-inset-bottom)}button,input{font:inherit}button{cursor:pointer;touch-action:manipulation}button:focus-visible,input:focus-visible{outline:3px solid #a3c97e;outline-offset:2px}button{color:inherit}main{max-width:860px;margin:auto;padding:24px}header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:32px}.brand{font-size:23px;font-weight:800;letter-spacing:-.7px;color:#103d2a}.text-button{border:0;background:none;color:var(--green);font-size:14px;font-weight:650;padding:10px 0}h1{font-size:clamp(29px,5vw,38px);letter-spacing:-1.1px;line-height:1.15;margin:0 0 8px}h2{font-size:21px;letter-spacing:-.4px;margin:0 0 16px}.intro{margin:0 0 28px;line-height:1.45;color:#546458;font-size:15px}.setup{max-width:620px;margin:0 auto}.count-grid,.names-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.count-grid{margin-bottom:24px}.names-grid{margin-bottom:30px}label{display:flex;flex-direction:column;gap:8px;font-size:14px;font-weight:650;min-width:0}input{width:100%;min-width:0;height:46px;border:1px solid #bbc7bb;border-radius:9px;background:white;color:inherit;padding:10px 12px;font-size:16px}input[type=number]{font-variant-numeric:tabular-nums}.par-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px 10px;margin-bottom:28px}.par-grid label{text-align:center;font-size:12px;gap:6px}.par-grid input{text-align:center;padding:8px 2px;appearance:textfield}.par-grid input::-webkit-inner-spin-button{appearance:none}.primary,.secondary{border:0;border-radius:10px;min-height:48px;padding:12px 18px;font-size:16px;font-weight:700}.primary{background:var(--green);color:#fff;width:100%}.primary:hover{background:#10472f}.secondary{background:#e7ece4}.local-note{font-size:12px;line-height:1.5;text-align:center;color:#647368;margin:16px 0 0}.board-heading{padding:0 0 6px}.board-heading .intro{margin-bottom:18px}.table-wrap{border:1px solid var(--line);border-radius:12px;overflow-x:auto;background:#fff}table{border-collapse:separate;border-spacing:0;width:100%;table-layout:fixed;font-variant-numeric:tabular-nums}th,td{text-align:center;padding:0;border-bottom:1px solid var(--line);border-right:1px solid var(--line)}tr>:last-child{border-right:0}tbody tr:last-child>*{border-bottom:0}thead th{background:#e7eee5;vertical-align:middle;padding:12px 3px;font-size:12px;font-weight:700;line-height:1.25;overflow-wrap:anywhere;hyphens:auto}col.hole-col{width:40px}col.par-col{width:30px}tbody th{font-size:13px;font-weight:700;background:#f8faf6}td.par{font-size:12px;color:#657569;background:#f8faf6}.score{width:100%;min-height:44px;border:0;background:transparent;font-size:17px;font-weight:650;padding:8px 0;color:var(--green)}.score.empty{color:#a8b6a8;font-size:18px;font-weight:400}.score:hover{background:#edf4e8}.current-row .score.empty{background:#f3f8ef}.total-row th,.total-row td{background:var(--green);color:white;border-color:#39755b;height:44px;font-size:17px;font-weight:750}.total-row th{text-align:left;padding-left:10px;font-size:12px}.progress{height:4px;background:#e3eadf;border-radius:4px;overflow:hidden;margin-bottom:22px}.progress span{display:block;height:100%;background:var(--green);transition:width .2s}.board-tip{font-size:13px;color:#637267;text-align:center;line-height:1.5;margin:18px 0 4px}.warning{position:relative;max-width:650px;margin:12px auto;padding:12px 20px;background:#fff1cc;font-size:13px}.sheet{border:0;position:fixed;inset:auto 0 0;margin:0 auto;width:min(100%,440px);max-width:100%;max-height:95dvh;overflow:auto;border-radius:24px 24px 0 0;background:#f8faf7;padding:10px 20px max(20px,env(safe-area-inset-bottom));color:inherit;box-shadow:0 -8px 60px #12251720}.sheet::backdrop,.confirm-dialog::backdrop{background:#13291d66}.sheet-handle{width:40px;height:4px;background:#c1c8be;border-radius:4px;margin:0 auto 16px}.sheet-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px}.sheet h2{font-size:19px;line-height:1.3;margin:0;overflow-wrap:anywhere}.sheet-heading .text-button{font-size:12px;flex-shrink:0}output{display:block;text-align:center;border:1px solid #bdcbbd;border-radius:10px;background:#fff;font-size:35px;line-height:1.2;font-weight:700;padding:8px;margin-bottom:12px;min-height:60px}.keypad{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.keypad button{border:1px solid #cbd4c7;border-radius:10px;background:#fff;font-size:25px;font-weight:600;min-height:51px}.keypad button:active{background:#e0edd8}.keypad .small-key{font-size:14px}.input-hint{font-size:12px;color:#637267;line-height:1.4;margin:12px 0}.confirm-dialog{border:0;border-radius:18px;padding:26px;max-width:min(420px,calc(100% - 32px));color:inherit;background:#f8faf7}.confirm-dialog p{line-height:1.5;color:#546458}.actions{display:flex;gap:12px}.actions button{flex:1;width:auto;font-size:14px}@media(min-width:700px){main{padding-top:36px}.score{min-height:48px}thead th{font-size:14px}.sheet{inset:50% auto auto 50%;transform:translate(-50%,-50%);border-radius:22px;padding:20px}.sheet-handle{display:none}}@media(max-width:480px){main{padding:20px 14px}header{margin-bottom:26px}.board{margin:0 -8px}col.hole-col{width:34px}col.par-col{width:27px}thead th{font-size:11px;padding:12px 2px}.score{font-size:16px}.par-grid{gap:12px 7px}.table-wrap{border-radius:10px}.brand{font-size:22px}.names-grid{gap:16px 12px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}@media print{header button,.board-tip,.local-note,.progress{display:none}main{max-width:none;padding:0}.table-wrap{overflow:visible}.score{min-height:30px}.total-row{print-color-adjust:exact}}
thead th:nth-child(-n+2){white-space:nowrap;overflow-wrap:normal;hyphens:none;font-size:11px}
