:root{font-family:Inter,Segoe UI,Microsoft YaHei,sans-serif;color:#21392f;background:#f5f6f2;font-synthesis:none;font-weight:400;line-height:1.55;font-size:15px}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer;border:1px solid #d7dfd8;border-radius:8px;background:#fff;color:#26483a;padding:10px 15px;min-height:44px;white-space:nowrap}button:hover{background:#eaf0e9}button:disabled{opacity:.5;cursor:not-allowed}button.primary{background:#174f3b;color:#fff;border-color:#174f3b}button.primary:hover{background:#0e3b2b}button.text-button{border:0;background:transparent;color:#276847}input,select,textarea{width:100%;border:1px solid #ced8cf;border-radius:7px;padding:10px 11px;color:#233e31;background:#fff;min-height:44px}input:focus,select:focus,textarea:focus,button:focus-visible{outline:2px solid #398465;outline-offset:2px}label{display:flex;flex-direction:column;gap:7px;font-size:13px;color:#536457}h1,h2,p{margin-top:0}h1{font-size:30px;margin-bottom:3px;letter-spacing:-1px}h2{font-size:18px;margin-bottom:16px}small{display:block;font-size:12px;color:#77847a}strong{font-weight:600}.app-shell{display:flex;min-height:100vh}.sidebar{width:228px;position:fixed;inset:0 auto 0 0;background:#fdfefa;border-right:1px solid #e0e6dc;padding:34px 22px;display:flex;flex-direction:column}.brand{display:flex;gap:12px;align-items:center;font-size:24px;font-weight:700;letter-spacing:2px}.brand small{font-size:9px;letter-spacing:1.8px;font-weight:500}.brand-symbol{display:grid;place-items:center;background:#173e31;color:#f3f6db;width:43px;height:43px;border-radius:12px;font-size:21px}.sidebar nav{display:grid;gap:9px;margin-top:50px}.sidebar nav button{border:0;background:transparent;text-align:left;display:flex;align-items:center;gap:14px;color:#697769;padding:12px 15px}.sidebar nav button.active{background:#e5eee4;color:#1d5339;font-weight:600}.sidebar nav button span{font-size:23px;width:23px;line-height:1}.local-note{margin-top:auto;font-size:12px}.local-note small{padding-top:8px;line-height:1.8}.dot{display:inline-block;width:7px;height:7px;background:#5e9470;border-radius:50%;margin-right:5px}main{margin-left:228px;width:calc(100% - 228px);max-width:1530px;padding:38px 48px 20px}header{display:flex;justify-content:space-between;align-items:center;margin-bottom:27px}.eyebrow{display:block;font-size:10px;font-weight:600;letter-spacing:2px;color:#778979;margin-bottom:9px}.muted{color:#7a857b;font-size:13px;margin-bottom:0}.panel{border:1px solid #e0e6dc;border-radius:12px;background:#fff;padding:24px;margin-bottom:20px}.filters{display:flex;align-items:end;gap:14px;flex-wrap:wrap;margin-bottom:20px}.filters label{min-width:160px}.filters .muted{padding-bottom:10px}.hero{background:#183f32;color:#f3f5e9;display:flex;align-items:center;justify-content:space-between;padding:29px 34px;min-height:225px}.hero .eyebrow{color:#a1bca6}.hero h2{font-size:15px;font-weight:400;margin:5px 0}.hero-number{font-size:48px;font-weight:500;letter-spacing:-1.8px;line-height:1.5;font-variant-numeric:tabular-nums}.hero p{color:#9fbaab;font-size:12px;margin-bottom:0}.hero-side{border-left:1px solid #426152;padding-left:50px;min-width:230px}.hero-side span{font-size:13px;color:#b7c9b8}.hero-side strong{display:block;font-size:33px;color:#d6e8b4;margin:6px 0}.hero-side small{color:#9fbaab}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.metric{padding:21px}.metric span{font-size:13px;color:#7a857b}.metric strong{display:block;font-size:22px;margin-top:13px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.summary-strip{display:flex;justify-content:space-between;padding:2px 0 23px;gap:16px;color:#6c7a70;font-size:13px}.summary-strip strong{color:#243f30;margin:0 5px}.summary-strip small{font-size:11px;margin-top:4px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:15px}.section-heading h2{margin:0}.section-heading .eyebrow{margin-bottom:6px}.table-scroll{overflow:auto}table{width:100%;border-collapse:collapse;white-space:nowrap;text-align:left;font-size:13px}th{font-weight:400;color:#849184;padding:12px 14px;border-bottom:1px solid #e6ebe2;font-size:12px}td{padding:17px 14px;border-bottom:1px solid #edf0ea}td:first-child,th:first-child{padding-left:0}td:last-child{padding-right:0}td small{margin-top:3px}td button{font-size:12px;padding:7px 10px;min-height:36px}.record-note{max-width:230px;overflow:hidden;text-overflow:ellipsis}.badge{padding:4px 9px;border-radius:5px;font-size:11px;background:#eff1ed;color:#637365}.badge.won{background:#e9f2e8;color:#36704b}.badge.lost{background:#fee2e2;color:#b91c1c}.badge.pending{background:#fbf3de;color:#937336}.badge.unknown{background:#ececf5;color:#72728b}.negative{color:#b95a43}.positive{color:#3b7956}.hero .negative{color:#ffc8b6}.empty{padding:48px 15px;text-align:center;color:#7a857b}.empty strong{color:#3c5944;font-size:17px}.empty p{font-size:13px;margin:9px 0 20px}footer{padding:20px 0;color:#919a90;font-size:11px;display:flex;justify-content:space-between;gap:12px}.form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:22px 0}.field-note{display:flex;align-items:center;font-size:13px;color:#7f897e}.entry-form{max-width:1100px}.entry-form details{border-top:1px solid #e5eae1;padding:19px 0}.entry-form summary{cursor:pointer;font-weight:600;font-size:14px}.entry-form summary span{font-size:12px;font-weight:400;color:#8a9588;margin-left:10px}.hint{font-size:12px;color:#7a857b;margin:13px 0}.actions{display:flex;gap:12px;margin-top:15px;flex-wrap:wrap}fieldset{border:1px solid #e0e7db;border-radius:9px;margin:18px 0;padding:15px}legend{font-size:13px;color:#71856a}.error{background:#fff0ea;color:#9d3c28;padding:12px;border-radius:7px;white-space:pre-wrap;overflow-wrap:anywhere}.success{background:#e9f3e6;color:#346046;padding:12px;border-radius:7px}.entry-form>label{margin-bottom:18px}@media(min-width:1500px){main{padding-right:65px;padding-left:65px}}@media(max-width:1100px){.sidebar{width:190px;padding:27px 16px}main{margin-left:190px;width:calc(100% - 190px);padding:30px 25px}.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-side{min-width:170px;padding-left:25px}.hero-number{font-size:39px}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.sidebar{inset:auto 0 0;width:100%;padding:5px 7px max(5px,env(safe-area-inset-bottom));border-right:0;border-top:1px solid #dbe3d6;z-index:10;background:#fdfefa}.brand,.local-note{display:none}.sidebar nav{display:flex;justify-content:space-around;gap:2px;margin:0}.sidebar nav button{flex-direction:column;gap:5px;font-size:10px;padding:8px 10px;min-width:55px}.sidebar nav button span{font-size:19px;text-align:center}main{margin:0;width:100%;padding:25px 16px 95px}header{margin-bottom:23px}h1{font-size:26px}.eyebrow{font-size:8px;letter-spacing:1.6px}header button{padding:9px 12px;font-size:13px}.panel{padding:18px;border-radius:10px}.hero{padding:24px 21px;display:block}.hero-number{font-size:38px;overflow-wrap:anywhere}.hero-side{display:flex;gap:13px;align-items:center;border-left:0;border-top:1px solid #426152;padding:17px 0 0;margin-top:19px}.hero-side strong{font-size:24px;margin:0}.hero-side small{display:none}.hero h2{font-size:14px}.metrics{gap:10px}.metric{margin-bottom:10px;padding:16px 13px}.metric strong{font-size:19px}.metric span{font-size:11px}.summary-strip{font-size:11px;padding-top:8px}.summary-strip small{font-size:10px}.filters{gap:10px}.filters label{min-width:0;flex:1 1 130px}.form-grid{grid-template-columns:1fr;gap:15px}.entry-form summary span{display:block;margin:5px 0 0}.section-heading h2{font-size:16px}.section-heading button{font-size:12px}.section-heading .muted{font-size:11px}footer{display:block;font-size:10px}footer span{display:block;margin-top:4px}input,select,textarea{font-size:16px}.empty{padding:27px 10px}.table-scroll{margin:0 -3px}td,th{padding:13px 11px}}.mode-tabs{display:flex;gap:5px;background:#e9eee4;padding:5px;border-radius:9px;width:fit-content;margin-bottom:20px}.mode-tabs button{background:transparent;border:0}.mode-tabs .selected{background:#fff;box-shadow:0 1px 4px #152d1510}.import-source{margin:20px 0;padding:16px 0;border-top:1px solid #e2e8dd}.import-source summary{cursor:pointer;font-size:14px;margin-bottom:15px}.batch-table{margin-top:20px;max-height:470px}.batch-table th{position:sticky;top:0;background:#fff;z-index:1}.batch-table input{min-width:110px}.batch-table select{min-width:140px}.batch-table td{padding:8px 5px}.batch-table td:first-child{min-width:25px}.batch-table input[type=date]{min-width:155px}.batch-table input:disabled{background:#f2f4ef;color:#7c897a}.file-button{position:relative;display:inline-flex;align-items:center;justify-content:center;overflow:hidden;cursor:pointer;border:1px solid #ced8cf;border-radius:8px;background:#fff;padding:10px 15px;color:#26483a;font-size:14px;min-height:44px}.file-button input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%}.import-preview{border-top:1px solid #dde5d8;margin-top:25px;padding-top:15px}.import-preview .table-scroll{max-height:360px;margin-bottom:20px}.checkbox{flex-direction:row;align-items:center;margin:15px 0}.checkbox input{width:19px;min-height:19px;height:19px;flex-shrink:0}.bar-track{height:6px;background:#edf1e8;border-radius:3px;margin-top:7px;width:180px}.bar-track>div{height:6px;background:#7a9d69;border-radius:3px}@media(max-width:700px){.record-table,.record-table tbody{display:block;white-space:normal}.record-table thead{display:none}.record-table tr{display:grid;grid-template-columns:1fr 1fr;gap:12px 16px;padding:18px 0;border-bottom:1px solid #e4eade}.record-table tr:last-child{border-bottom:0}.record-table td{border:0;padding:0!important;font-size:13px;overflow-wrap:anywhere}.record-table td:first-child{grid-column:1/-1;display:flex;align-items:center;gap:10px;flex-wrap:wrap}.record-table td:first-child small{margin:0}.record-table td:before{content:attr(data-label);display:block;color:#8b9589;font-size:10px;margin-bottom:4px}.record-table td:first-child:before,.record-table td:last-child:before{display:none}.record-table td:last-child{grid-column:1/-1}.record-table td:last-child button{width:100%;margin-top:3px}.record-table .record-note{flex-basis:100%;max-width:none}.record-table .badge{display:inline-block}}.result-field{min-width:0;display:flex;flex-direction:column;gap:7px}.result-caption{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:13px;color:#536457}.result-current{font-size:12px;color:#7a857b}.result-buttons{display:flex;gap:9px}.result-buttons .result-button{flex:1;min-height:44px;padding:9px 15px;background:#fff;border:1px solid #ced8cf}.result-buttons .won[aria-pressed=true]{background:#e5f1e5;border-color:#4d8862;color:#245c39;font-weight:600}.result-buttons .lost[aria-pressed=true]{background:#fbebe6;border-color:#b67561;color:#934b36;font-weight:600}.batch-table .result-field{min-width:182px}.batch-table .result-caption>span:first-child{display:none}.batch-table .result-caption{justify-content:flex-start}.batch-table .result-buttons .result-button{min-height:44px}.selection-section{border-top:1px solid #e5eae1;padding-top:20px}.selection-section>h2{margin-bottom:7px}.handicap-control{display:flex;flex-direction:column;gap:5px}.handicap-control .checkbox{margin:0;min-height:27px}.handicap-control small{padding-top:8px}.selection-section fieldset{margin-top:14px}.pass-field{display:flex;flex-direction:column;gap:7px;min-width:0}.pass-caption{font-size:13px;color:#536457}.pass-selects{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:10px}.pass-times{font-size:22px;color:#536457}.pass-selects select{min-width:0}.batch-table .pass-field{min-width:180px}.batch-table .pass-selects select{min-width:65px}.batch-table .pass-caption{display:none}.record-matches{margin-top:12px;min-width:230px;max-width:430px;white-space:normal;text-align:left}.record-match{padding:10px 0;border-top:1px solid #e5ebe0}.match-teams{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;font-size:13px;color:#294c38}.match-teams>span{overflow-wrap:anywhere}.match-teams b{display:inline-block;font-size:10px;font-weight:400;padding:0 4px;border-radius:3px;background:#edf2e7;color:#73816a;margin-right:5px}.match-vs{font-size:10px;color:#9aa490}.match-facts{display:flex;gap:6px 14px;flex-wrap:wrap;color:#72816c;font-size:12px;margin-top:6px;overflow-wrap:anywhere}.purchase-odds{font-size:12px;color:#6c7b64;margin-bottom:7px}.missing-match{margin:0;font-size:12px;color:#84927d}.record-table td{vertical-align:top}@media(max-width:700px){.record-table td:first-child .record-matches{flex-basis:100%;min-width:0;max-width:none;width:100%;margin-top:4px}.match-teams{gap:6px}.match-facts{font-size:11px}}.team-field{display:flex;flex-direction:column;gap:7px;min-width:0}.team-control{position:relative}.team-suggestions{position:absolute;top:calc(100% + 4px);left:0;right:0;z-index:5;max-height:220px;overflow-y:auto;background:#fff;border:1px solid #ced8cf;border-radius:8px;box-shadow:0 5px 16px #173e3120;padding:4px}.team-suggestions button{display:block;width:100%;text-align:left;border:0;min-height:44px;white-space:normal;overflow-wrap:anywhere}.team-suggestions button[aria-selected=true]{background:#e5eee4;color:#1d5339}.auth-shell{min-height:100dvh;display:grid;place-items:center;padding:24px;background:#f5f6f2}.auth-card{width:100%;max-width:420px}.auth-card label{margin-bottom:16px}.auth-card>button{margin:8px 8px 8px 0}.account-strip{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;margin-bottom:22px;padding:14px;background:#edf2e7;border-radius:10px}.account-strip>div:first-child{min-width:0;display:grid;gap:5px}.account-strip strong{overflow-wrap:anywhere;font-size:13px}.account-strip [role=status]{font-size:12px}.account-strip .actions{margin:0}.conflict{border-top:1px solid #e0e6dc;padding-top:15px;margin-top:20px}.conflict h3{overflow-wrap:anywhere;font-size:13px}.conflict-versions{display:grid;grid-template-columns:1fr 1fr;gap:14px}.recycle-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.auth-card .hint{margin-top:14px}input,select,textarea{scroll-margin-block:100px}.entry-form .actions{padding-bottom:env(safe-area-inset-bottom)}@media(max-width:700px){main{padding-top:max(25px,env(safe-area-inset-top));padding-bottom:calc(95px + env(safe-area-inset-bottom))}.conflict-versions{grid-template-columns:1fr}.account-strip{align-items:stretch}.account-strip .actions{display:flex;flex-wrap:wrap;gap:8px}.account-strip button{padding:8px 10px}.keyboard-open .sidebar{display:none}.keyboard-open main{padding-bottom:25px}.auth-shell{min-height:var(--viewport-height,100dvh)}}
