:root{--green:#164b3b;--green-dark:#103a2e;--mint:#eaf1ec;--canvas:#f3f5f3;--paper:#fff;--ink:#25352e;--muted:#66756d;--line:#d9e1db;--gold:#d8b56d;--blue:#e9f0f4;--danger:#a43a33;--radius:10px;font-family:'Trebuchet MS',Arial,sans-serif;color:var(--ink);background:var(--canvas);font-synthesis:none;font-size:16px}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait;opacity:.6}input,select,textarea{max-width:100%;border:1px solid #b8c6bc;background:white;color:var(--ink);border-radius:6px;padding:11px 12px;min-height:44px}input[type=checkbox]{min-height:20px;width:20px;height:20px;accent-color:var(--green)}input[type=number]{appearance:textfield;-moz-appearance:textfield}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input:focus,select:focus,textarea:focus{border-color:var(--green)}:focus-visible{outline:3px solid #bd9340;outline-offset:3px}textarea{resize:vertical;min-height:94px;line-height:1.5}svg{width:21px;height:21px;flex-shrink:0}p{line-height:1.55}h1,h2,h3,p{margin-top:0}h1{font-family:Georgia,'Times New Roman',serif;font-weight:normal;font-size:38px;letter-spacing:-1.1px;margin-bottom:10px}h2{font-size:19px;letter-spacing:-.2px;margin-bottom:14px}small{line-height:1.5}i{font-style:normal;padding:0 7px;color:#98a89d}a{color:var(--green)}.loading{padding:60px}.app-shell{display:flex;min-height:100vh}.sidebar{width:218px;flex-shrink:0;background:var(--green-dark);color:#fff;padding:34px 20px;display:flex;flex-direction:column;position:fixed;inset:0 auto 0 0;z-index:3}.brand{display:flex;align-items:center;gap:10px;color:white;text-decoration:none}.brand>svg{height:36px;width:28px;color:var(--gold)}.brand span{font-family:Georgia,serif;font-style:italic;font-size:28px}.brand small{display:block;font:8px 'Trebuchet MS',sans-serif;letter-spacing:1.8px;margin-top:9px;color:#b0c6b8}.sidebar-rule{height:1px;background:#376052;margin:30px 0 22px}.sidebar nav{display:flex;flex-direction:column;gap:7px}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid var(--line);background:#fff;color:var(--ink);min-height:44px;padding:10px 16px;border-radius:6px;font-weight:600;line-height:1.25;white-space:nowrap;text-decoration:none}.button:hover{background:#eef3ef;border-color:#a4b7ab}.button.primary{background:var(--green);border-color:var(--green);color:white}.button.primary:hover{background:#22634e}.button.nav{justify-content:flex-start;color:#c7d8cd;border:none;background:none;padding:14px 12px;font-size:15px}.button.nav:hover,.button.nav.active{color:white;background:#2c5848}.button.nav.active{box-shadow:inset 3px 0 var(--gold)}.button.nav svg{width:20px}.sidebar-bottom{margin-top:auto;padding-top:50px}.sidebar-bottom .nav{font-size:14px;padding-left:10px}.saved-note{display:flex;align-items:center;gap:6px;font-size:11px;color:#c0d4c5;padding:25px 0 0}.saved-note svg{width:15px;height:15px}.sidebar-caption{display:block;color:#a9c1b2;margin-top:18px;font-size:12px}.workspace{margin-left:218px;min-width:0;width:calc(100% - 218px)}.topbar{height:80px;border-bottom:1px solid var(--line);padding:0 40px;display:flex;align-items:center;justify-content:space-between;background:#fff}.edition{font-size:11px;letter-spacing:2px;color:var(--muted)}.golfer-select{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:13px}.golfer-select select{border:none;background:#f2f5f2;min-height:40px;font-size:14px;font-weight:bold}main{max-width:1420px;margin:auto;padding:40px}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:22px;margin-bottom:29px}.eyebrow{font-size:10px;font-weight:bold;letter-spacing:1.8px;color:var(--green);margin-bottom:12px}.description{color:var(--muted);font-size:15px;margin-bottom:0;max-width:590px}.actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.panel{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 2px 3px #1c3d2603;overflow:hidden}.course-ribbon{background:var(--mint);padding:18px 22px;display:flex;justify-content:space-between;align-items:center;gap:16px}.course-ribbon>div{display:flex;align-items:center;gap:10px}.course-ribbon svg{color:var(--green)}.course-ribbon strong{font-family:Georgia,serif;font-size:23px;font-weight:normal}.course-ribbon>span{font-size:13px;color:#4d6255}.tee-badge{font-size:11px;border:1px solid #bdcdd5;background:#eef4f9;color:#355770;border-radius:20px;padding:5px 9px;white-space:nowrap}.setup-grid{display:grid;grid-template-columns:2fr 1.1fr 1fr;gap:20px;padding:24px 22px 18px}.field{display:flex;flex-direction:column;gap:8px;min-width:0}.field>span{font-size:13px;font-weight:600;color:#465b4c}.field input,.field select{width:100%}.entry-options{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:0 22px 22px}.segmented{display:inline-flex;background:#f0f3f0;padding:4px;border-radius:7px;gap:3px}.segmented .button{border:none;background:none;min-height:34px;padding:8px 14px;font-size:13px;font-weight:normal}.segmented .button.selected{background:#fff;box-shadow:0 1px 4px #203a2320;color:var(--green);font-weight:bold}.details-toggle{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--muted)}.score-grids{display:flex;flex-direction:column;gap:20px;margin-top:24px}.nine-title{display:flex;align-items:center;justify-content:space-between;padding:17px 22px;gap:12px}.nine-title h2{margin:0;font-size:17px}.nine-title>span{font-size:12px;color:var(--muted)}.table-scroll{overflow-x:auto}.score-grid{border-collapse:collapse;width:100%;table-layout:fixed;min-width:675px;font-variant-numeric:tabular-nums}.score-grid thead{background:var(--green);color:white}.score-grid th,.score-grid td{height:38px;text-align:center;border-right:1px solid var(--line);border-bottom:1px solid var(--line);font-size:13px;padding:6px}.score-grid thead th{border-right-color:#366451;height:39px;font-weight:normal}.score-grid th:first-child{width:117px;text-align:left;padding-left:22px;font-weight:normal}.score-grid th:last-child,.score-grid td:last-child{border-right:0}.score-grid tr:last-child td,.score-grid tr:last-child th{border-bottom:0}.score-grid tbody tr:nth-child(2){background:#f7f9f6;font-weight:bold}.score-grid tbody tr:nth-child(3){color:var(--muted);font-size:12px}.score-grid .subtotal{background:#edf2ed;color:var(--green);font-weight:bold}.score-grid .scores-row{background:#fff}.score-grid .scores-row th{font-weight:bold;font-size:15px}.score-grid .scores-row td{padding:8px 7px;height:67px}.score-grid input{width:100%;padding:6px 2px;text-align:center;min-height:44px;font-size:21px;font-weight:bold;border:1px solid #b8c7bc;border-radius:5px;box-shadow:inset 0 1px 2px #21362307}.score-grid input::placeholder{color:#c0ccc3;font-weight:normal}.score-grid .scores-row .subtotal{font-size:22px}.score-grid .under-par{border:2px solid #598371;border-radius:50%;color:#165138;background:#eef7f0}.score-grid .over-par{color:#895530;background:#fcf8f0}.score-grid .detail-row input,.score-grid .detail-row select{min-height:37px;padding:3px 1px;font-size:15px;text-align:center;width:100%;border-color:#d0dbd2;font-weight:normal}.score-grid .detail-row td{padding:5px 7px}.not-applicable{background:repeating-linear-gradient(135deg,#fff,#fff 4px,#e7ece8 4px,#e7ece8 5px);color:#546a5c}.round-bottom{display:grid;grid-template-columns:1.35fr 1fr;gap:20px;margin-top:24px}.round-notes,.round-totals{padding:22px}.round-notes textarea{width:100%;border-color:var(--line);font-size:14px}.optional{font-size:11px;font-weight:normal;color:var(--muted);margin-left:8px}.round-notes details{margin-top:15px;font-size:13px;color:var(--muted)}summary{cursor:pointer;min-height:30px}.notes-fields{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-top:10px}.totals-values{display:flex;justify-content:space-between;border-bottom:1px solid var(--line);padding-bottom:18px;margin-bottom:16px}.totals-values span{font-size:9px;letter-spacing:1px;color:var(--muted)}.totals-values strong{display:block;margin-top:6px;font-family:Georgia,serif;font-weight:normal;font-size:32px;color:var(--green)}.round-totals .field{display:flex;flex-direction:row;align-items:center;justify-content:space-between}.round-totals input{width:72px;min-height:35px;padding:6px 9px}.round-totals>small{display:block;margin-top:10px;font-size:11px;color:var(--muted)}.save-bar{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:23px 0}.save-bar>span{font-size:12px;color:var(--muted)}.app-footer{margin:0 40px;padding:23px 0;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:15px;font-size:10px;color:var(--muted)}.total-entry{display:flex;gap:40px;padding:30px;margin-top:24px;align-items:center}.total-entry input{font-size:40px;width:190px}.total-entry p{color:var(--muted);font-size:15px;margin:0}.empty{text-align:center;padding:70px 24px}.empty>svg{width:40px;height:40px;color:var(--green);margin-bottom:20px}.empty h2{font-family:Georgia,serif;font-size:25px;font-weight:normal}.empty p{color:var(--muted)}.course-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,355px),1fr));gap:24px}.course-card{padding:25px;max-width:650px}.course-card-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}.course-emblem{background:var(--mint);padding:14px;border-radius:50%;color:var(--green);display:flex}.course-emblem svg{height:28px;width:28px}.course-card h2{font-family:Georgia,serif;font-size:29px;font-weight:normal;margin-bottom:8px}.course-card p{font-size:13px;color:var(--muted)}.course-card dl{display:flex;justify-content:space-between;margin:24px 0;padding:20px 0;border-block:1px solid var(--line)}dt{font-size:12px;color:var(--muted);margin-bottom:7px}dd{margin:0;font-size:18px}.course-actions{display:flex;gap:8px;flex-wrap:wrap}.course-actions .button{font-size:13px;padding:9px 12px}.helper{font-size:12px;color:var(--muted);margin:20px 0}.history-filters{display:flex;gap:20px;padding:22px}.history-filters .field:first-child{flex:1}.history-table{border-collapse:collapse;width:100%;min-width:720px;text-align:left}.history-table th{font-size:11px;text-transform:uppercase;letter-spacing:.5px;background:var(--mint);color:#546b5b;padding:14px 18px}.history-table td{padding:20px 18px;border-bottom:1px solid var(--line);font-size:14px}.history-table small{display:block;color:var(--muted);font-size:12px;margin-top:4px}.history-table .history-score{font-size:24px;font-family:Georgia,serif;color:var(--green)}.history-table tr:last-child td{border-bottom:0}.status-pill{font-size:11px;padding:5px 9px;border-radius:20px;background:var(--mint);color:var(--green)}.status-pill.draft{background:#f8efd9;color:#826129}.stats-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:15px;margin-bottom:24px}.stat{padding:23px 18px;display:flex;flex-direction:column}.stat>span{font-size:12px;color:var(--muted)}.stat strong{font-family:Georgia,serif;font-weight:normal;font-size:36px;color:var(--green);margin:20px 0 14px}.stat small{font-size:10px;color:var(--muted)}.trend{width:100%;height:auto;max-height:340px;padding:10px 24px 25px}.trend text{fill:var(--muted);font:12px 'Trebuchet MS',sans-serif}.chart-grid{stroke:var(--line);stroke-width:1}.chart-line{fill:none;stroke:var(--green);stroke-width:2.5}.chart-point{fill:var(--green);stroke:#fff;stroke-width:2}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.settings-panel{padding:26px}.settings-panel p{font-size:14px;color:var(--muted)}.settings-panel p.helper{font-size:12px;margin-bottom:0}.golfer-row{display:flex;justify-content:space-between;gap:15px;align-items:center;padding:15px 0;border-bottom:1px solid var(--line);margin-bottom:20px}.golfer-row small{display:block;color:var(--muted);font-size:11px;margin-top:6px}.print-settings{display:flex;align-items:center;padding:20px;gap:20px}.print-settings .field{flex:1}.print-settings p{font-size:12px;color:var(--muted);margin:0}.paper-scroll{overflow-x:auto;padding:2px 0 25px}.paper{background:#fff;color:#171717;width:816px;min-height:990px;padding:30px 25px;box-shadow:0 2px 12px #1b352219;margin:8px auto;font-family:Arial,sans-serif}.paper-brand{font-size:14px;margin-bottom:22px;font-weight:bold}.paper-brand span{font-size:10px;font-weight:normal;margin-left:12px}.paper-meta{display:flex;justify-content:space-between;gap:12px;background:#ddd;padding:8px;font-size:11px}.paper-meta>b{max-width:51%;overflow-wrap:anywhere}.paper-table{border-collapse:collapse;width:100%;table-layout:fixed;font-size:9px}.paper-label{width:16%}.paper-table th,.paper-table td{border:1px solid #777;text-align:center;height:31px;padding:2px;position:relative;overflow-wrap:anywhere}.paper-table th:first-child{text-align:left;padding:5px;font-weight:normal;font-size:10px}.paper-table thead th{background:#eee;font-weight:normal;height:28px}.paper-table tr:nth-child(1),.paper-table tr:nth-child(3){background:#eee}.paper-table .paper-turn{border-left:4px solid #444}.paper-table .paper-score td{height:39px;padding-bottom:10px}.paper-table .paper-score th{font-size:10px}.stroke-dots{display:block;position:absolute;bottom:2px;left:0;right:0;font-size:9px;letter-spacing:1px;line-height:10px}.paper-na{background:repeating-linear-gradient(45deg,transparent,transparent 4px,#777 4px,#777 5px)}.paper-footer{border:1px solid #777;border-top:0;font-size:11px}.paper-caption{font-size:8px;margin:6px 0 0;color:#555}.fold-line{display:flex;align-items:center;gap:10px;margin:25px -3px 34px;color:#333;font-size:11px}.fold-line::before,.fold-line::after{content:'';height:0;border-top:1px dashed #999;flex:1}.paper-notes{display:grid;grid-template-columns:1fr 1fr;gap:20px;min-height:380px}.paper-notes fieldset{border:1px solid #888;margin:0;min-width:0;padding:10px}.paper-notes legend{font-size:12px;padding:0 6px}.paper-notes p{font-size:11px;white-space:pre-wrap;overflow-wrap:anywhere;margin:0}.paper-round-notes{font-size:11px;white-space:pre-wrap;overflow-wrap:anywhere;margin:15px 0 0}.print-only{display:none}dialog{padding:0;border:1px solid var(--line);border-radius:12px;box-shadow:0 25px 90px #07241250;max-width:760px;width:calc(100% - 30px);max-height:90vh;color:var(--ink)}dialog::backdrop{background:#0e241b77;backdrop-filter:blur(3px)}.dialog-heading{padding:24px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);gap:20px}.dialog-heading h2{font-family:Georgia,serif;font-size:27px;font-weight:normal;margin:0}.dialog-content{padding:24px;overflow-y:auto;max-height:65vh}.dialog-footer{padding:18px 24px;background:var(--canvas);display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap;border-top:1px solid var(--line)}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:15px}.course-fields table{width:100%;border-collapse:collapse}.course-fields th,.course-fields td{padding:6px 12px;border-bottom:1px solid var(--line);text-align:center}.course-fields th{font-size:13px;color:var(--muted)}.course-fields input{width:100%;max-width:115px;text-align:center;min-height:40px}.form-error{color:var(--danger);font-size:14px}.button.danger{color:var(--danger);margin-right:auto;background:transparent}.saving button{pointer-events:none;opacity:.6}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%) translateY(25px);max-width:90vw;padding:16px 23px;border-radius:8px;background:var(--green);color:#fff;box-shadow:0 5px 20px #133b2630;z-index:20;opacity:0;pointer-events:none;transition:opacity .15s,transform .15s;font-size:14px}#toast.visible{opacity:1;transform:translateX(-50%) translateY(0)}#toast.error{background:#8d342c}
[data-theme=classic]{--green:#000080;--green-dark:#008080;--mint:#e6e6e6;--canvas:#c0c0c0;--ink:#161616;--muted:#505050;--line:#989898;--radius:0px;font-family:Tahoma,Arial,sans-serif}[data-theme=classic] .panel,[data-theme=classic] .button,[data-theme=classic] .segmented{border-radius:0;box-shadow:inset 1px 1px white,1px 1px #777}[data-theme=classic] .sidebar{background:#c0c0c0;border-right:2px solid #808080}[data-theme=classic] .brand{background:#000080;padding:8px;color:white}[data-theme=classic] .brand span{font:22px Georgia,serif}[data-theme=classic] .brand small{font-size:6px;letter-spacing:1px;color:white}[data-theme=classic] .sidebar .nav{color:#151515}[data-theme=classic] .sidebar .nav.active{background:#000080;color:white;box-shadow:none}[data-theme=classic] .sidebar-caption,[data-theme=classic] .saved-note{color:#333}[data-theme=classic] input,[data-theme=classic] textarea,[data-theme=classic] select{border-radius:0}[data-theme=classic] h1{font:32px Tahoma,Arial,sans-serif}[data-theme=classic] .nine-title{background:#000080;color:white;margin:3px 3px 0;padding:7px 14px}[data-theme=classic] .nine-title>span{color:white}[data-theme=classic] .score-grid thead{background:#008080}[data-theme=classic] .paper{color:#171717}
@media(min-width:1600px){main{padding-top:48px}.page-heading{margin-bottom:34px}}
@media(max-width:1200px){.sidebar{width:195px;padding:28px 14px}.workspace{margin-left:195px;width:calc(100% - 195px)}main{padding:28px}.topbar{padding:0 28px}.page-heading{align-items:flex-start}.page-heading .actions{justify-content:flex-end;max-width:190px}.page-heading .actions .button{font-size:13px}.course-ribbon{flex-wrap:wrap}.stats-grid{grid-template-columns:repeat(3,1fr)}.print-settings{flex-wrap:wrap}.settings-grid{grid-template-columns:1fr}.save-bar{align-items:flex-start}.save-bar .actions{justify-content:flex-end}}
@media(max-width:850px){.sidebar{position:static;width:auto;padding:15px 20px;display:block}.app-shell{display:block}.brand{width:max-content}.brand small{display:none}.sidebar-rule,.sidebar-bottom{display:none}.sidebar nav{flex-direction:row;overflow-x:auto;margin-top:18px;gap:2px}.sidebar .nav{font-size:12px;padding:10px 12px;white-space:nowrap;min-height:40px}.sidebar nav::after{content:none}.workspace{margin-left:0;width:100%}.topbar{height:66px;padding:0 22px}.topbar .edition{font-size:9px;letter-spacing:1px}.golfer-select{font-size:11px;gap:5px}.golfer-select select{max-width:190px}.page-heading h1{font-size:33px}.page-heading .actions{max-width:none}.page-heading{flex-wrap:wrap}.page-heading .actions{justify-content:flex-start}.round-bottom{grid-template-columns:1fr}.app-footer{margin:0 24px}.entry-options{flex-wrap:wrap}.course-ribbon>span{font-size:12px}.setup-grid{gap:12px}.save-bar{flex-wrap:wrap}.save-bar .actions{justify-content:flex-start}.print-settings .field{min-width:150px}.brand{position:relative}.sidebar nav{padding-right:5px}.topbar::before{content:none}}
@media(max-width:540px){main{padding:24px 16px}.sidebar{padding:16px}.sidebar .nav{padding:9px 10px;font-size:11px;gap:6px}.sidebar .nav svg{width:16px}.topbar{padding:0 16px}.topbar .edition{display:none}.topbar{justify-content:space-between}.topbar::before{content:'YOUR GOLF BOOK';font-size:9px;color:var(--muted);letter-spacing:1px}.description{font-size:14px}.course-ribbon strong{font-size:21px}.course-ribbon{padding:17px}.setup-grid{grid-template-columns:1fr 1fr;padding:18px 16px}.setup-grid .wide{grid-column:1 / -1}.entry-options{padding:0 16px 18px}.nine-title{padding:16px}.nine-title>span{font-size:10px}.round-notes,.round-totals{padding:18px}.save-bar .actions{gap:8px}.save-bar .button{font-size:12px;padding:10px}.stats-grid{grid-template-columns:1fr 1fr}.stat{padding:19px 15px}.stat strong{font-size:32px}.history-filters{flex-direction:column;padding:18px}.form-grid{gap:14px}.dialog-content{padding:18px}.dialog-heading{padding:18px}.dialog-footer{padding:15px}.dialog-footer .button{font-size:12px}.course-fields th,.course-fields td{padding:5px}.course-fields input{padding:8px 3px}.app-footer{font-size:9px;margin:0 16px}.settings-panel{padding:20px}.total-entry{padding:22px;gap:20px;flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
@page{size:Letter portrait;margin:.35in}
@media print{html,body{background:white!important;margin:0!important;padding:0!important;color:#000!important}.app-shell,dialog,#toast{display:none!important}.print-only{display:block!important}.paper{box-shadow:none!important;width:100%;min-height:0;margin:0;padding:0;color:#111;font-family:Arial,sans-serif;print-color-adjust:exact;-webkit-print-color-adjust:exact}.paper-brand{margin:10px 0 18px;font-size:12px}.paper-meta{font-size:10px;padding:7px}.paper-table{font-size:8px}.paper-table th,.paper-table td{height:.29in;padding:2px}.paper-table th:first-child{font-size:9px}.paper-table .paper-score td{height:.35in}.paper-footer{font-size:10px}.paper-caption{font-size:7px}.fold-line{margin:25px 0 28px}.paper-notes{min-height:4.35in;break-inside:avoid}.paper-notes p{font-size:10px}.paper-round-notes{font-size:10px}.paper-table,.paper-meta{break-inside:avoid}.paper-round-notes:empty{display:none}}

[hidden]{display:none!important}.mobile-settings{display:none!important}.login-page{min-height:100vh;display:grid;place-items:center;background:#eaf1ec}.login-card{background:white;padding:50px;max-width:480px;border:1px solid var(--line);border-radius:14px;margin:30px 20px}.login-card>img{margin-bottom:25px}.login-card h1{font-size:32px}.login-card p:not(.eyebrow){font-size:15px;color:var(--muted)}.login-card form .button{width:100%;margin-top:20px}.login-card small{color:var(--muted);font-size:12px}.login-card #login-status{margin:22px 0}.login-card [hidden]{display:none!important}@media(max-width:850px){.mobile-settings{display:inline-flex!important}}

#toast.visible{pointer-events:auto}#toast a{color:white;text-decoration:underline;font-weight:bold}
.mobile-hole{padding:16px 20px;border-top:1px solid var(--line)}.mobile-hole-main{display:flex;align-items:center;justify-content:space-between;gap:20px}.mobile-hole h3{font-size:18px;margin:0 0 5px}.mobile-hole p{font-size:14px;color:var(--muted);margin:0}.mobile-hole-main>.field{width:84px;flex-shrink:0}.mobile-hole-main input{font-size:22px;text-align:center;min-height:52px}.mobile-hole-details{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:20px}.mobile-hole-details input,.mobile-hole-details select{width:100%;min-width:0}.mobile-hole-details .field{min-width:0}
@media(max-width:600px){.button,.sidebar .nav,.course-actions .button{min-height:48px;font-size:15px}.field>span,.details-toggle{font-size:14px}input,select,textarea{font-size:16px;min-height:48px}.login-card{padding:28px 22px;margin:20px 16px}.login-card h1{font-size:30px}.login-card p:not(.eyebrow){font-size:17px}.save-bar .button{font-size:14px;min-height:48px}.save-bar .actions{width:100%}.save-bar .actions button[type=submit]{width:100%}.description{font-size:16px}.dialog-footer .button{font-size:14px;min-height:48px}.course-fields input{min-height:48px;font-size:17px}.mobile-hole-main .field>span{font-size:14px}}

.mobile-hint{display:none}@media(max-width:540px){.sidebar nav{display:flex;flex-direction:row;gap:4px;overflow-x:auto;overscroll-behavior-x:contain;padding-bottom:8px;scrollbar-width:thin}.sidebar .nav{font-size:14px;flex:0 0 auto}.topbar::before{display:none}.mobile-hint{display:block;font-size:11px;color:var(--muted);padding:0 16px;margin:0 0 12px}.score-grid th:first-child{position:sticky;left:0;z-index:1;background:#fff}.score-grid thead th:first-child{background:var(--green)}.topbar .button{font-size:13px;padding:9px 12px}}

#confirm-dialog{max-width:480px}#confirm-dialog .dialog-content{font-size:17px;line-height:1.65}#confirm-dialog .dialog-content p{margin:0}.button.destructive{background:#923b32;color:white;border-color:#923b32}#confirm-dialog .dialog-footer{gap:12px}#confirm-dialog .button{min-height:48px;font-size:15px}@media(max-width:540px){#confirm-dialog .dialog-footer{flex-direction:column-reverse}#confirm-dialog .button{width:100%}}

.nav-strip{position:relative}.nav-scroll{display:none}.nav-scroll svg{width:22px;height:22px}.nav-scroll[data-back=true] svg{transform:rotate(180deg)}@media(max-width:850px){.nav-strip{padding-right:50px;margin-top:18px}.sidebar .nav-strip nav{margin-top:0}.nav-scroll{position:absolute;top:0;right:0;width:42px;height:48px;display:flex;align-items:center;justify-content:center;border:1px solid #ffffff55;border-radius:7px;background:#2f5b4d;color:#f3d497;cursor:pointer}.nav-scroll:focus-visible{outline:3px solid #f3d497;outline-offset:2px}[data-theme=classic] .nav-scroll{background:#000080;color:white;border-color:white}}

/* Keep navigation and round actions reachable while entering scores. */
:root{--toolbar-height:80px;--mobile-nav-height:0px;scroll-padding-top:calc(var(--toolbar-height) + var(--mobile-nav-height) + 16px)}
.workspace{padding-top:var(--toolbar-height)}
.topbar{position:fixed;top:0;left:218px;right:0;z-index:5;height:auto;min-height:80px;padding:14px 32px;display:flex;flex-wrap:wrap;gap:10px 24px;box-shadow:0 2px 8px #103a2e08}
.toolbar-meta{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%}.has-round .toolbar-meta{width:auto;margin-right:auto}.has-round .edition{display:none}
.round-actions{display:flex;gap:8px}.round-actions .button{min-height:46px}.toolbar-status{flex-basis:100%;font-size:12px;color:var(--muted);text-align:right;line-height:1.4}.round-end{display:flex;justify-content:space-between;align-items:center;gap:20px;padding-top:12px}
.home-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-bottom:28px}.home-action{text-align:left;padding:26px;color:var(--ink);display:flex;align-items:flex-start;flex-direction:column;font:inherit;transition:border-color .15s,background .15s}.home-action:hover{border-color:#8ba898;background:#fafffb}.home-action-icon{display:flex;padding:12px;background:var(--mint);color:var(--green);border-radius:10px;margin-bottom:22px}.home-action h2{font-size:21px;margin-bottom:10px}.home-action p{font-size:16px;color:var(--muted);margin-bottom:24px}.home-action-link{display:flex;align-items:center;gap:8px;color:var(--green);font-weight:bold;margin-top:auto}.home-section{margin-bottom:24px}.home-section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px 24px;border-bottom:1px solid var(--line)}.home-section-heading h2{margin:0}.home-section-heading>span{font-size:14px;color:var(--muted)}.home-empty,.home-course-summary{padding:24px}.home-empty p,.home-course-summary p{color:var(--muted);font-size:16px;margin-bottom:10px}.home-empty p:first-child,.home-course-summary p:first-child{color:var(--ink);font-weight:bold}.home-course-summary .button{margin-top:10px}.recent-round{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:24px;border-bottom:1px solid var(--line)}.recent-round:last-child{border-bottom:0}.recent-round h3{font-size:19px;margin:12px 0 6px}.recent-round p{font-size:14px;color:var(--muted);margin:0}.course-card>.tee-badge{display:inline-block;margin-bottom:18px}
@media(max-width:1200px){.topbar{left:195px;padding:12px 24px}.has-round .toolbar-meta{width:100%}.has-round .golfer-select{margin-left:auto}.round-actions{margin-left:auto}.home-actions{gap:14px}.home-action{padding:22px}}
@media(max-width:850px){.sidebar{position:fixed;inset:0 0 auto;width:100%;z-index:6;padding:10px 16px}.brand span{font-size:24px}.brand>svg{height:26px;width:22px}.nav-strip{margin-top:10px}.sidebar .nav-strip nav{padding-bottom:0;scrollbar-width:none}.sidebar .nav-strip nav::-webkit-scrollbar{display:none}.sidebar .nav{min-height:48px;flex-shrink:0}.topbar{top:var(--mobile-nav-height);left:0;padding:10px 16px;min-height:64px;gap:8px}.workspace{padding-top:calc(var(--mobile-nav-height) + var(--toolbar-height))}.toolbar-meta,.has-round .toolbar-meta{width:100%;gap:8px}.toolbar-meta .edition{display:none}.has-round .golfer-select{margin-left:0}.golfer-select{min-width:0}.golfer-select select{max-width:165px}.round-actions{width:100%;display:grid;grid-template-columns:1fr 1fr 1.3fr;gap:8px}.round-actions .button{white-space:normal;padding:8px;font-size:14px;min-height:50px}.round-actions svg{display:none}.toolbar-status{font-size:12px;text-align:left}.home-actions{grid-template-columns:1fr}.home-action{display:grid;grid-template-columns:44px 1fr;column-gap:18px;padding:20px}.home-action-icon{grid-row:1/4;margin:0;padding:11px}.home-action h2,.home-action p,.home-action-link{grid-column:2}.home-action p{margin-bottom:12px}.home-action h2{font-size:20px}.home-section-heading{padding:18px;flex-wrap:wrap}.home-empty,.home-course-summary,.recent-round{padding:20px}.round-end{align-items:flex-start;flex-direction:column}}
@media(max-width:600px){.recent-round{align-items:stretch;flex-direction:column}.recent-round .button{align-self:flex-start}.toolbar-meta .mobile-settings{font-size:13px;padding:8px;min-height:44px}.golfer-select select{font-size:14px;max-width:150px;min-height:44px;padding:8px}.round-actions .button{font-size:13px;padding:8px 5px;min-height:52px}.home-section-heading h2{font-size:19px}.home-action p{font-size:15px}.home-action-link{font-size:15px}}

/* Give each toolbar control its own space without a second full-width row. */
.topbar{padding:16px 40px;gap:6px 32px}.toolbar-meta{justify-content:flex-end}
.topbar.has-round{display:grid;grid-template-columns:minmax(180px,1fr) auto;grid-template-areas:'golfer actions' 'status actions';align-items:center}
.has-round .toolbar-meta{grid-area:golfer;width:auto;justify-content:flex-start;margin:0}.has-round .golfer-select{margin:0}.round-actions{grid-area:actions;gap:12px;margin:0}.toolbar-status{grid-area:status;text-align:left;padding-left:53px}.round-actions .button{min-height:48px;padding:12px 18px}
@media(min-width:851px) and (max-width:1200px){.topbar{padding:16px 28px;column-gap:20px}.topbar.has-round{grid-template-columns:1fr;grid-template-areas:'golfer' 'actions' 'status';gap:10px}.has-round .toolbar-meta{justify-content:flex-end}.round-actions{justify-content:flex-end}.toolbar-status{text-align:right;padding:0}}
@media(max-width:850px){.topbar,.topbar.has-round{display:flex;padding:10px 16px;gap:8px}.toolbar-meta,.has-round .toolbar-meta{width:100%;justify-content:space-between}.round-actions{gap:10px}.round-actions .button{padding:9px 6px;min-height:52px}.toolbar-status{padding:0;text-align:left}}

.course-ribbon .course-ribbon-actions{margin-left:auto;flex-wrap:wrap;justify-content:flex-end;gap:12px 20px}.course-ribbon-actions>span{font-size:13px;color:#4d6255}.course-ribbon-actions .button{min-height:44px;font-size:14px}.course-edit-scope{padding:16px;background:var(--mint);border:1px solid var(--line);border-radius:8px;margin-bottom:24px}.course-edit-scope p{font-size:15px;margin:0 0 12px}.course-edit-scope .details-toggle{align-items:flex-start;line-height:1.5;color:var(--ink)}.course-edit-scope input[type=checkbox]{flex-shrink:0;margin-top:1px}.field>small{font-size:12px;color:var(--muted)}
#course-form{display:flex;flex-direction:column;max-height:calc(90dvh - 2px)}#course-form .dialog-heading,#course-form .dialog-footer{flex-shrink:0}#course-form .dialog-content{min-height:0;max-height:none;overflow-y:auto}
@media(max-width:600px){.course-ribbon .course-ribbon-actions{margin:0;width:100%;justify-content:space-between}.course-ribbon-actions .button{min-height:48px;font-size:15px}.course-ribbon-actions>span{font-size:13px}.course-edit-scope{padding:14px}.course-edit-scope p{font-size:16px}#course-form .form-grid{grid-template-columns:1fr}#course-form .dialog-heading h2{font-size:24px}#course-form .dialog-footer .button[type=submit]{width:100%}}
.course-fields table{table-layout:fixed}.course-fields th:first-child{width:44px}

/* Save status belongs beside the golfer, never on its own row. */
.topbar.has-round{display:flex;flex-wrap:wrap;gap:16px 24px}.has-round .toolbar-meta{width:auto;flex:1;justify-content:flex-start;gap:16px}.toolbar-status{flex:0 0 auto;white-space:nowrap;padding:0;text-align:left;font-size:12px;border-left:1px solid var(--line);padding-left:16px}.round-actions{margin-left:auto}.has-round .golfer-select{flex-shrink:0}
@media(min-width:851px) and (max-width:1200px){.has-round .toolbar-meta{flex-basis:100%}.round-actions{margin-left:auto}}
@media(max-width:850px){.topbar.has-round{gap:10px}.has-round .toolbar-meta{width:100%;flex:1 1 100%;gap:8px}.has-round .toolbar-meta .mobile-settings{padding:8px;min-width:40px;font-size:0;gap:0}.has-round .toolbar-meta .mobile-settings svg{width:20px}.has-round .golfer-select{gap:6px}.has-round .golfer-select select{max-width:140px}.toolbar-status{margin-left:auto;font-size:11px;padding-left:8px}.round-actions{margin:0}}
#onboarding-dialog{max-width:640px;width:calc(100% - 30px);max-height:90dvh}.tour-shell{display:flex;flex-direction:column;max-height:calc(90dvh - 2px)}.tour-heading{padding:20px 28px 12px;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-shrink:0}.tour-heading>span{font-size:15px;color:var(--muted)}.tour-skip{border:none;background:transparent;color:var(--muted);font-size:15px}.tour-progress{display:flex;gap:6px;padding:0 28px;flex-shrink:0}.tour-progress span{height:5px;flex:1;border-radius:4px;background:var(--line)}.tour-progress .filled{background:var(--green)}.tour-body{padding:24px 28px;overflow-y:auto;min-height:0}.tour-body h2{font-family:Georgia,serif;font-size:30px;font-weight:normal;margin-bottom:16px;outline:none}.tour-description,.tour-tip{font-size:18px;line-height:1.6}.tour-tip{margin:22px 0 0;color:var(--muted);font-size:16px}.tour-choices{display:grid;gap:12px}.tour-choices>div{border:1px solid var(--line);border-radius:8px;padding:16px;background:var(--mint)}.tour-choices b,.tour-choices span{display:block}.tour-choices b{font-size:18px;margin-bottom:5px}.tour-choices span{font-size:16px;line-height:1.5;color:var(--muted)}.tour-example{background:var(--mint);padding:20px;border:1px solid var(--line);border-radius:8px}.tour-example-label{display:block;font-size:14px;color:var(--muted);margin-bottom:16px}.tour-example table{width:100%;border-collapse:collapse;background:white;font-size:16px}.tour-example th,.tour-example td{padding:12px 6px;text-align:center;border:1px solid var(--line)}.tour-example-control{display:inline-block;padding:12px 16px;background:white;border:1px solid var(--line);border-radius:6px;font-weight:bold;margin-top:16px}.tour-example p{font-size:17px;line-height:1.6;margin:0}.tour-instructions{padding-left:26px;font-size:18px;line-height:1.6}.tour-instructions li{padding-left:6px;margin:16px 0}.tour-footer{display:flex;justify-content:space-between;gap:12px;padding:18px 28px;border-top:1px solid var(--line);background:var(--canvas);flex-shrink:0}.tour-footer .button{min-height:52px;font-size:17px;padding:12px 22px}.tour-footer .button:disabled{cursor:default;opacity:.4}
@media(max-width:600px){.tour-heading{padding:12px 18px 10px}.tour-progress{padding:0 18px}.tour-body{padding:22px 18px}.tour-body h2{font-size:27px}.tour-description{font-size:17px}.tour-choices>div{padding:14px}.tour-choices b{font-size:17px}.tour-footer{padding:14px;gap:10px}.tour-footer .button{padding:12px 16px;font-size:16px;white-space:normal}.tour-footer .primary{flex:1}.tour-example{padding:14px}.tour-example th{font-size:13px}}
@media(max-width:600px){.has-round .golfer-select{font-size:0;gap:0}.has-round .golfer-select select{font-size:14px}.has-round .toolbar-meta{min-width:0}}
.card-golfers{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 22px 22px}.card-golfers strong{font-size:14px}.card-golfers p{font-size:15px;color:var(--muted);margin:6px 0 0;overflow-wrap:anywhere}.primary-golfer{padding:16px;background:var(--mint);border-radius:6px;display:flex;justify-content:space-between;gap:12px;margin:20px 0}.primary-golfer span{color:var(--muted);font-size:14px}.guest-fields{display:grid;grid-template-columns:1fr 1fr auto;gap:14px;padding:20px 0;border-top:1px solid var(--line);align-items:end}.guest-totals{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:20px}.guest-totals>.panel{padding:20px;display:flex;flex-direction:column;gap:8px}.guest-totals span,.guest-totals small{color:var(--muted)}.mobile-guest-score{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:14px;padding-top:14px;border-top:1px dashed var(--line)}.mobile-guest-score>.field{width:84px;flex-shrink:0}.mobile-guest-score input{min-height:52px;font-size:22px;text-align:center}.mobile-guest-score>span{overflow-wrap:anywhere;font-size:17px;font-weight:bold}.score-grid th:first-child{overflow-wrap:anywhere}.total-entry{flex-wrap:wrap}.total-entry>.field{max-width:100%}
#card-golfers-form{display:flex;flex-direction:column;max-height:calc(90dvh - 2px)}#card-golfers-form .dialog-content{overflow-y:auto;min-height:0;max-height:none}#card-golfers-form .dialog-heading,#card-golfers-form .dialog-footer{flex-shrink:0}
@media(max-width:600px){.card-golfers{padding:0 16px 20px;align-items:flex-start;flex-direction:column}.guest-fields{grid-template-columns:1fr}.guest-fields>.button{justify-self:start}.guest-totals{grid-template-columns:1fr}.score-grid th:first-child{font-size:13px}}
@media print{.group-card .paper-notes{min-height:3.2in}}
#email-form{display:flex;flex-direction:column;max-height:calc(90dvh - 2px)}#email-form .dialog-heading,#email-form .dialog-footer{flex-shrink:0}#email-form .dialog-content{overflow-y:auto;min-height:0;max-height:none}.email-options{display:flex;flex-wrap:wrap;gap:16px;margin:20px 0 28px}#email-preview{overflow-x:auto;border:1px solid var(--line);border-radius:8px}.email-card{padding:18px;font-size:15px}.email-card table{width:100%;border-collapse:collapse;font-size:13px}.email-card td,.email-card th{padding:9px 6px;border:1px solid var(--line);text-align:center;overflow-wrap:anywhere}.email-card thead{background:var(--mint)}.email-card h2{font-size:22px}.email-card p{color:var(--muted)}.email-card th{min-width:36px}
.primary-score-name{display:block;margin-top:12px;font-size:17px;overflow-wrap:anywhere}.email-card table{min-width:460px}.email-card th,.email-card td{overflow-wrap:normal}.email-card table th{white-space:normal}
