:root{color:#242c32;font-synthesis:none;--accent:#b84c32;--muted:#6d747a;--line:#e5e7e1;--soft:#f0f1ed;--dark:#233635;background:#f7f7f4;font-family:-apple-system,BlinkMacSystemFont,PingFang SC,Segoe UI,sans-serif;font-size:15px}.filing-footer{text-align:center;color:var(--muted);overflow-wrap:anywhere;padding:20px 16px 24px;font-size:12px}.filing-footer a{color:inherit;text-decoration:none}.filing-footer a:hover{text-decoration:underline}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer;color:inherit;background:0 0;border:0;justify-content:center;align-items:center;gap:7px;min-height:40px;transition:background .15s;display:inline-flex}button:disabled{opacity:.45;cursor:not-allowed}input,select,textarea{color:#26332f;background:#fff;border:1px solid #dce0d9;border-radius:9px;max-width:100%;min-height:44px;padding:10px 12px}input[type=checkbox]{width:16px;height:16px;min-height:0;accent-color:var(--accent)}input:focus,select:focus,textarea:focus{outline-offset:2px;outline:2px solid #d6ad9e}button:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid var(--accent);outline-offset:3px}textarea{resize:vertical}button.primary,.primary{background:var(--accent);color:#fff;white-space:nowrap;border-radius:9px;padding:10px 17px;font-weight:600}.primary:hover{background:#9f3b25}.secondary{border:1px solid var(--line);white-space:nowrap;background:#fff;border-radius:9px;padding:9px 13px}.secondary:hover{background:#f4f4f0}.quiet{color:#5c6762;border-radius:8px;padding:8px 12px}.quiet:hover,.icon-button:hover{background:var(--soft)}.icon-button{border-radius:9px;flex-shrink:0;width:40px;height:40px}.danger{color:#fff;background:#a8342f;border-radius:8px;padding:9px 13px}.danger-text{color:#ac3c35}.amount{font-variant-numeric:tabular-nums;letter-spacing:-.035em;white-space:nowrap;font-weight:650}h1,h2,h3,p{margin:0}h1{letter-spacing:-.045em;font-size:30px;font-weight:650;line-height:1.35}h2{letter-spacing:-.02em;font-size:17px;font-weight:650}h3{font-size:15px}p{line-height:1.75}small,.muted{color:var(--muted);font-size:12px;line-height:1.7}.sidebar{background:#f0f2ed;border-right:1px solid #e0e5dc;flex-direction:column;width:218px;padding:31px 20px 22px;display:flex;position:fixed;inset:0 auto 0 0}.brand{text-align:left;justify-content:flex-start;gap:11px;padding:0}.brand img{border-radius:12px;width:40px;height:40px}.brand span{letter-spacing:-.06em;font-size:22px;font-weight:750}.brand small{letter-spacing:.06em;font-size:11px;font-weight:400;display:block}.nav-label{color:#8b958a;letter-spacing:.1em;margin:44px 10px 15px;font-size:11px}.sidebar nav{gap:7px;display:grid}.sidebar nav button{color:#687268;border-radius:10px;justify-content:flex-start;height:47px;padding:0 14px;font-weight:500}.sidebar nav button svg:last-child{opacity:0;margin-left:auto}.sidebar nav button.active{color:#fff;background:#233c35}.sidebar nav button.active svg:last-child{opacity:1}.sidebar nav button:hover:not(.active){background:#e7eae3}.sidebar-bottom{border-top:1px solid #dce2d7;margin-top:auto;padding:16px 9px 0}.sidebar-bottom p{color:#818a7f;margin-bottom:13px;font-size:12px}.sidebar-bottom button{color:#52604f;padding:0;font-size:13px}.sidebar-bottom small{margin-top:12px;font-size:10px;display:block}.workspace{margin-left:218px}.topbar{border-bottom:1px solid var(--line);z-index:20;background:#f7f7f4;justify-content:space-between;align-items:center;height:76px;padding:0 40px;display:flex;position:sticky;top:0}.desktop-breadcrumb{color:#66716a;font-size:12px}.desktop-breadcrumb span{color:#b1b7ad;margin:0 13px}.top-actions{align-items:center;gap:13px;display:flex}.sync-status{color:#507160;min-width:105px;font-size:12px}.sync-status.pending{color:#ad6230}.mobile-brand{display:none}main{max-width:1500px;margin:0 auto;padding:35px 40px 50px}.page-intro{justify-content:space-between;align-items:flex-end;margin-bottom:27px;display:flex}.eyebrow{letter-spacing:.15em;color:#8a937f;font-size:10px}.page-intro h1{margin-top:9px;font-size:29px}.page-intro p,.page-heading p{color:var(--muted);margin-top:7px;font-size:13px}.period-label{color:#78826e;white-space:nowrap;border:1px solid #dfe4d7;border-radius:6px;padding:7px 11px;font-size:12px}.metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:23px;display:grid}.metric{border:1px solid var(--line);background:#fff;border-radius:13px;padding:21px 21px 17px}.metric>span:first-child{color:#737c73;margin-bottom:12px;font-size:12px;display:block}.metric .amount{font-size:28px;line-height:1.25;display:block}.metric small{margin-top:12px;font-size:11px;display:block}.metric.accent{background:#f3e9e3;border-color:#eadcd1}.metric.accent .amount{color:#a8422b}.quick-panel{border:1px solid var(--line);background:#fafbf8;border-radius:13px;flex-wrap:wrap;align-items:center;gap:22px;margin-bottom:27px;padding:18px 21px;display:flex}.quick-panel>div:first-child b{font-size:13px}.quick-panel p{color:var(--muted);margin-top:4px;font-size:11px}.quick-games{flex-wrap:wrap;flex:1;gap:10px;display:flex}.quick-games button{background:#fff;border:1px solid #e1e5da;border-radius:9px;gap:7px;padding:5px 10px 5px 6px;font-size:12px}.quick-games button>svg{color:#8f9b85}.logo{color:#6e7d5c;background:#e9ede3;border:1px solid #0000000a;border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:34px;height:34px;display:inline-flex;position:relative;overflow:hidden}.logo.large{border-radius:14px;width:52px;height:52px}.logo.has-artwork{background:0 0;border:0;border-radius:0;overflow:visible}.logo img{object-fit:contain;width:100%;height:100%;display:block}.template-menu{color:#626f5c;font-size:12px;position:relative}.template-menu summary{cursor:pointer;align-items:center;gap:7px;display:flex}.template-menu>div{border:1px solid var(--line);z-index:5;background:#fff;border-radius:10px;width:185px;padding:7px;display:grid;position:absolute;top:27px;right:0;box-shadow:0 10px 40px #20351d18}.template-menu button{justify-content:flex-start;padding:7px}.template-menu button:hover{background:var(--soft)}.dashboard-grid{grid-template-columns:1.3fr 1fr;align-items:start;gap:23px;display:grid}.panel{border:1px solid var(--line);background:#fff;border-radius:13px;min-width:0;margin-bottom:24px;padding:22px}.section-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;display:flex}.section-heading p{color:var(--muted);margin-top:6px;font-size:12px}.section-heading>.muted{font-size:11px}.record-line{text-align:left;border-bottom:1px solid #eef0e9;justify-content:flex-start;gap:12px;width:100%;min-height:76px;padding:14px 0;display:flex}.record-line:last-child{border-bottom:0}.record-line:hover{background:#fafbf7}.record-body{flex:1;min-width:0}.record-title{align-items:center;gap:12px;font-size:13px;font-weight:600;display:flex}.record-title small{font-size:10px;font-weight:400}.record-note{white-space:nowrap;text-overflow:ellipsis;color:#7a8078;max-width:35vw;margin-top:5px;font-size:11px;display:block;overflow:hidden}.record-money{text-align:right;flex-direction:column;gap:6px;max-width:140px;display:flex}.record-money .amount{font-size:15px}.record-money small{font-size:10px}.record-chevron{color:#9aa398}.refund{color:#3e7e61}.ranking{display:grid}.ranking>button{text-align:left;border-bottom:1px solid #f1f2ed;justify-content:flex-start;gap:12px;width:100%;min-height:76px;padding:14px 0}.ranking>button:last-child{border:0}.rank{color:#9ca38f;width:18px;font-size:11px}.rank-body{flex:1;min-width:0}.rank-body b{white-space:nowrap;text-overflow:ellipsis;font-size:12px;display:block;overflow:hidden}.rank-track,.tiny-track{background:#eff1e8;border-radius:8px;height:3px;margin-top:12px;display:block;overflow:hidden}.rank-track i,.tiny-track i{background:#aabb92;height:100%;display:block}.ranking .amount{font-size:13px}.year-strip{grid-template-columns:repeat(6,minmax(0,1fr));gap:20px;margin-top:24px;display:grid}.year-strip>div>span:first-child{color:var(--muted);font-size:12px}.year-strip .amount{margin-top:10px;font-size:19px;display:block}.year-strip .tiny-track{height:4px;margin-top:15px}.unassigned{border-top:1px solid var(--line);color:#697462;margin-top:24px;padding-top:16px;font-size:12px}.unassigned summary{cursor:pointer}.year-compact{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:20px;display:grid}.year-compact>div,.summary-row{justify-content:space-between;gap:12px;display:flex}.page-heading{justify-content:space-between;align-items:center;margin-bottom:28px;display:flex}.ledger-tabs{border-bottom:1px solid var(--line);gap:24px;margin-bottom:21px;display:flex;overflow:auto}.ledger-tabs button{white-space:nowrap;color:#78816f;border-bottom:2px solid #0000;padding:0 8px 14px}.ledger-tabs button.active{border-color:var(--accent);color:var(--accent);font-weight:650}.filter-bar{flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:19px;display:flex}.filter-bar select,.filter-bar>input{min-height:40px;padding:9px 10px;font-size:12px}.search{border:1px solid var(--line);color:#7b8472;background:#fff;border-radius:9px;flex:1;align-items:center;gap:8px;min-width:210px;padding:0 12px;display:flex}.search input{background:0 0;border:0;width:100%;min-width:0;font-size:13px}.result-line{color:var(--muted);justify-content:space-between;margin:20px 0 13px;font-size:12px;display:flex}.result-line .amount{color:#27352b;margin-left:10px;font-size:16px}.record-group{letter-spacing:.03em;color:#758267;background:#f6f7f2;border-radius:7px;margin:0 -3px;padding:10px 13px;font-size:12px}.record-panel .record-note{max-width:60vw}.load-more{color:#6d7f5a;border-top:1px solid var(--line);width:100%;min-height:44px;margin-top:12px;padding-top:13px;font-size:13px}.segmented{background:#ecefe7;border-radius:9px;flex-wrap:wrap;gap:3px;padding:4px;display:flex}.segmented button{color:#77826e;white-space:nowrap;border-radius:6px;min-height:34px;padding:7px 12px;font-size:12px}.segmented button.active{color:#354931;background:#fff;box-shadow:0 1px 4px #24331b12}.game-list-heading{color:#838c7b;border-bottom:1px solid var(--line);justify-content:space-between;padding-bottom:12px;font-size:11px;display:flex}.game-row{text-align:left;border-bottom:1px solid var(--line);justify-content:flex-start;gap:17px;width:100%;padding:18px 0}.game-row:last-child{border:0}.game-row:hover{background:#fafbf7}.game-row-body{flex:1}.game-row-body b{font-size:15px;display:block}.game-row-body small{margin-top:6px;font-size:11px;display:block}.status-dot{background:#9e9b8d;border-radius:50%;width:6px;height:6px;margin-right:6px;display:inline-block}.status-dot.playing{background:#578364}.game-row .amount{font-size:18px}.game-row>svg{color:#9ca48f;margin-left:15px}.back-link{color:#6c7f5d;padding:0 0 20px;font-size:12px}.game-detail-title{align-items:center;gap:18px;margin-bottom:26px;display:flex}.game-detail-title>div{flex:1}.game-detail-title h1{font-size:28px}.game-detail-title p{color:var(--muted);margin-top:6px;font-size:12px}.detail-summary{border-top:1px solid var(--line);border-bottom:1px solid var(--line);gap:55px;margin-bottom:26px;padding:24px 0;display:flex}.detail-summary small{font-size:12px;display:block}.detail-summary .amount,.detail-summary strong{margin-top:9px;font-size:25px;display:block}.detail-summary strong small{font-size:12px;display:inline}.distribution-selection{background:#f3f5ee;border-radius:8px;justify-content:space-between;margin:15px 0 20px;padding:13px 15px;font-size:13px;display:flex}.year-row{margin:15px 0}.year-label{justify-content:space-between;align-items:center;margin-bottom:9px;font-size:12px;display:flex}.year-label .amount{font-size:13px}.month-grid{grid-template-columns:repeat(12,minmax(0,1fr));gap:5px;display:grid}.month-grid button{border:1px solid #0000;border-radius:7px;flex-direction:column;gap:6px;min-height:61px;padding:6px 3px;font-size:12px;display:flex}.month-grid button.selected{border-color:#b95135;box-shadow:0 0 0 1px #b95135}.month-grid button small{color:#6f5747;font-size:9px}.month-grid button>span>small{margin-left:2px}.annual-list{grid-template-columns:repeat(4,1fr);gap:12px;display:grid}.annual-list button{border:1px solid var(--line);border-radius:8px;justify-content:space-between;gap:10px;padding:15px;font-size:13px;display:flex}.annual-list button.active{border-color:var(--accent)}.summary-row{border-bottom:1px solid var(--line);padding:16px 0;font-size:13px}.memo-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:22px;display:grid}.memo{text-align:left;border:1px solid #00000005;border-radius:3px 3px 18px;padding:27px;display:block;position:relative;box-shadow:0 5px 15px #26341908}.memo-0{background:#f6eab7}.memo-1{background:#e1edf2}.memo-2{background:#e4edd9}.memo-3{background:#f3e2de}.memo h2{margin-bottom:16px;font-size:18px}.memo p{white-space:pre-wrap;font-size:14px;line-height:1.95}.memo small{justify-content:space-between;margin-top:23px;font-size:10px;display:flex}.memo-pin{background:#ffffff70;border-radius:10px;width:29px;height:7px;margin-bottom:18px;display:block}.empty{text-align:center;color:var(--muted);padding:42px 20px}.empty>svg{margin:0 auto 16px}.empty h3{margin-bottom:12px}.empty button{margin-top:15px}.empty p{font-size:13px}.modal{width:540px;max-width:calc(100vw - 28px);max-height:90dvh;color:inherit;background:#fff;border:1px solid #e1e5da;border-radius:18px;padding:0;overflow:hidden;box-shadow:0 30px 100px #1a2c1d33}.modal[open]{flex-direction:column;display:flex}.modal::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#172c2955}.modal.wide{width:720px}.modal-heading{border-bottom:1px solid var(--line);flex-shrink:0;justify-content:space-between;align-items:center;padding:17px 24px;display:flex}.modal-heading h2{font-size:19px}.modal>form{flex-direction:column;min-height:0;display:flex}.modal-body{overscroll-behavior:contain;min-height:0;padding:23px 24px;overflow-y:auto}.modal-body>*+*{margin-top:18px}.modal-footer{border-top:1px solid var(--line);background:#fbfcf8;flex-shrink:0;justify-content:flex-end;align-items:center;gap:8px;padding:13px 21px;display:flex}.footer-left{gap:4px;margin-right:auto;display:flex}.modal-footer button{font-size:13px}.field{flex-direction:column;gap:8px;min-width:0;font-size:13px;font-weight:550;display:flex}.field input,.field select,.field textarea{width:100%;font-weight:400}.field small{font-weight:400}.field-grid{grid-template-columns:1fr 1fr;gap:15px;display:grid}.editor-context{justify-content:space-between;align-items:center;gap:12px;display:flex}.editor-context>span{color:var(--accent);font-size:12px}.editor-context>small{font-size:10px}.editor-type{color:var(--muted);justify-content:space-between;align-items:center;font-size:12px;display:flex}.editor-type .segmented button{min-height:30px;padding:5px 13px}.money-input{color:#7c826f;border-bottom:1px solid #cdd7c4;align-items:center;font-size:25px;display:flex}.money-input input{letter-spacing:-.03em;border:0;padding:7px 12px;font-size:36px;font-weight:650;line-height:1.2}.money-input input:focus{outline:none}.quick-values{align-items:center;gap:15px;display:flex}.quick-values button{color:#607744;background:#f1f3e9;border-radius:7px;min-height:30px;padding:5px 10px;font-size:11px}.quick-values small{font-size:10px}.category-field{border:0;margin:20px 0 0;padding:0}.category-field legend{margin-bottom:9px;font-size:13px;font-weight:550}.category-field legend small{margin-left:6px;font-size:11px;font-weight:400}.type-pills{flex-wrap:wrap;gap:7px;display:flex}.type-pills label{cursor:pointer;border:1px solid #e2e6dc;border-radius:7px;align-items:center;gap:5px;min-height:36px;padding:8px 11px;font-size:12px;display:flex}.type-pills label.selected{color:#a54b2e;background:#fcf2eb;border-color:#d8b8a7}.type-pills input{width:12px;height:12px}.advanced{border-top:1px solid var(--line);color:#737e6b;padding-top:15px;font-size:12px}.advanced summary{cursor:pointer}.advanced label{align-items:center;gap:8px;margin-top:14px;display:flex}.computed{background:var(--soft);border-radius:8px;justify-content:space-between;padding:13px;font-size:13px;display:flex}.error{color:#a33f2c;overflow-wrap:anywhere;background:#fff0eb;border:1px solid #f0c9bf;border-radius:8px;padding:11px 13px;font-size:12px}.success{color:#446637;background:#eef5e8;border-radius:8px;padding:12px;font-size:13px}.notice{background:#f2f5ec;border:1px solid #dfe6d6;border-radius:10px;padding:17px;font-size:13px;line-height:1.7}.notice p{color:#68775a;margin-top:7px}.notice button{margin-top:11px;margin-right:8px}.danger-box{background:#fff0ed;border:1px solid #edc2b8;border-radius:9px;padding:15px;font-size:13px;line-height:1.7}.danger-box button{margin-top:10px}.logo-picker{flex-wrap:wrap;align-items:center;gap:13px;display:flex}.note-colors{gap:12px;display:flex}.note-colors button{border:2px solid #0000;border-radius:50%;width:33px;min-height:33px}.note-colors .chosen{border-color:#627651}.settings h3{margin-top:25px}.settings-actions{flex-wrap:wrap;gap:9px;display:flex}.settings-actions button{font-size:12px}.settings-status{grid-template-columns:auto 1fr;gap:13px;font-size:12px;display:grid}.settings-status>span{color:var(--muted)}.settings-status>b{text-align:right;font-weight:500}.settings-status code{text-align:right;overflow-wrap:anywhere;font-size:10px}.settings details summary{cursor:pointer;font-size:13px}.settings details .field-grid{margin-top:16px}.settings details p{margin-top:11px}.import-preview{border:1px solid #dbb4a6;border-radius:9px;padding:17px;font-size:12px}.import-preview button{margin:12px 7px 0 0}.import-preview table{border-collapse:collapse;text-align:left;width:100%;margin:15px 0}.import-preview th,.import-preview td{border-bottom:1px solid var(--line);padding:10px 6px}.history-row{border-bottom:1px solid var(--line);justify-content:space-between;align-items:flex-start;gap:14px;padding:17px 0;font-size:13px;display:flex}.history-row p{white-space:pre-wrap;overflow-wrap:anywhere;margin:5px 0;font-size:12px}.history-row button{flex-shrink:0}.history-row>div{min-width:0}.conflict-grid{grid-template-columns:1fr 1fr;gap:15px;display:grid}.conflict-grid>div{overflow-wrap:anywhere;background:#f5f6f1;border-radius:9px;min-width:0;padding:16px}.conflict-grid p{white-space:pre-wrap;margin:10px 0;font-size:13px}.sync-banner{color:#7e5b27;background:#faf0dc;border-bottom:1px solid #eddfc1;align-items:center;gap:9px;padding:10px 40px;font-size:12px;display:flex}.sync-banner>span{flex:1}.sync-banner svg{flex-shrink:0}.sync-banner button{min-height:28px;font-size:12px}.toast{color:#fff;z-index:100;background:#263c34;border-radius:10px;padding:12px 21px;font-size:13px;position:fixed;bottom:35px;left:calc(50% + 109px);transform:translate(-50%);box-shadow:0 5px 20px #182b2530}.mobile-tabs{display:none}.welcome,.boot{max-width:430px;margin:12vh auto;padding:30px}.welcome>img,.boot img{border-radius:20px;width:65px;margin-bottom:25px}.welcome h1{font-size:40px}.welcome>p{color:var(--muted);margin:15px 0 30px}.login-form{gap:17px;display:grid}.login-form label{gap:8px;font-size:13px;display:grid}.boot{text-align:center}.boot p{color:var(--muted);margin-top:15px}.spin{animation:1.5s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}@media (min-width:1600px){main{padding-top:45px}.dashboard-grid{grid-template-columns:1.4fr 1fr}.metric .amount{font-size:34px}.record-line{min-height:85px}}@media (max-width:1200px){.metrics{gap:12px}.metric{padding:19px 16px}.metric .amount{font-size:23px}.quick-panel{gap:14px}.quick-panel>div:first-child{width:100%}.dashboard-grid{grid-template-columns:1fr}.ranking{grid-template-columns:1fr 1fr;gap:0 25px}.topbar{padding:0 25px}main{padding:28px 25px}.year-strip .amount{font-size:16px}.memo-grid{grid-template-columns:1fr 1fr}.month-grid{grid-template-columns:repeat(6,1fr)}}@media (max-width:900px){.sidebar{display:none}.workspace{margin-left:0}.topbar{height:64px;padding:0 22px}.desktop-breadcrumb{display:none}.mobile-brand{letter-spacing:-.045em;align-items:center;gap:9px;display:flex}.mobile-brand img{border-radius:9px;width:30px;height:30px}.header-add{display:none}.top-actions{gap:6px}.sync-status{min-width:0;font-size:11px}.top-actions>.icon-button{width:35px}.mobile-tabs{z-index:25;padding:6px 12px calc(8px + env(safe-area-inset-bottom));-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff5;border-top:1px solid #e1e5da;justify-content:space-around;display:flex;position:fixed;bottom:0;left:0;right:0}.mobile-tabs>button{color:#87917c;flex-direction:column;gap:4px;min-width:53px;min-height:47px;font-size:10px;display:flex}.mobile-tabs>button.active{color:#33533c}.mobile-tabs>.mobile-add{color:#fff;background:#b84c32;border-radius:15px;min-width:52px;min-height:48px;margin:0 10px}main{padding-bottom:100px}.workspace.has-filing main{padding-bottom:24px}.workspace>.filing-footer{padding-bottom:calc(88px + env(safe-area-inset-bottom))}.toast{width:max-content;max-width:90vw;bottom:90px;left:50%}.sync-banner{padding:8px 22px}.dashboard-grid{grid-template-columns:1.3fr 1fr;gap:16px}.ranking{display:block}.panel{padding:20px}.record-title{display:block}.record-title small{margin-top:4px;display:block}.year-strip{grid-template-columns:repeat(3,1fr)}}@media (max-width:700px){:root{font-size:15px}.topbar{height:61px;padding:0 17px}.mobile-brand{font-size:17px}.sync-status span{text-overflow:ellipsis;white-space:nowrap;max-width:115px;overflow:hidden}.top-actions{gap:0}.top-actions>.icon-button{width:33px}main{padding:25px 17px 105px}.page-intro{align-items:flex-start;margin-bottom:22px}.page-intro h1{max-width:250px;font-size:23px;line-height:1.45}.eyebrow{letter-spacing:.12em;font-size:8px}.page-intro p{max-width:260px;font-size:11px}.period-label{display:none}.metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:16px}.metric{border-radius:11px;padding:16px 15px}.metric>span:first-child{margin-bottom:10px;font-size:11px}.metric .amount{font-size:24px}.metric small{margin-top:10px;font-size:10px}.quick-panel{border-radius:11px;gap:13px;margin-bottom:19px;padding:15px}.quick-panel>div:first-child{width:auto}.quick-panel p{display:none}.quick-games{flex-basis:100%;order:2;grid-template-columns:1fr 1fr;gap:8px;display:grid}.quick-games button{justify-content:flex-start;min-width:0;padding:6px;font-size:11px}.quick-games button span:not(.logo){white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.quick-games button .logo{width:29px;height:29px}.quick-games button>svg{flex-shrink:0;margin-left:auto}.template-menu{margin-left:auto;font-size:10px}.template-menu>div{top:25px}.dashboard-grid{display:block}.panel{border-radius:12px;margin-bottom:19px;padding:17px}.section-heading{align-items:flex-start;margin-bottom:10px}.section-heading h2{font-size:15px}.section-heading>.muted{text-align:right;max-width:100px;font-size:10px}.record-line{gap:10px;min-height:79px;padding:12px 0}.record-title{font-size:12px}.record-title small{margin-top:4px;font-size:10px}.record-note{max-width:47vw;margin-top:4px;font-size:10px}.record-money .amount{font-size:14px}.record-money small{font-size:9px}.record-chevron{display:none}.record-money{max-width:110px}.record-line .logo{width:31px;height:31px}.ranking>button{min-height:65px}.ranking .amount{font-size:13px}.rank-body b{font-size:12px}.rank-track{margin-top:9px}.year-strip{gap:19px}.year-strip .amount{font-size:16px}.year-strip>div>span:first-child{font-size:11px}.year-compact{grid-template-columns:1fr 1fr;font-size:11px}.unassigned{font-size:11px}.page-heading{margin-bottom:20px}.page-heading h1{font-size:27px}.page-heading p{font-size:12px}.page-heading>.primary{min-height:40px;padding:8px 11px;font-size:12px}.ledger-tabs{gap:12px;margin-bottom:16px}.ledger-tabs button{padding:0 5px 12px;font-size:12px}.filter-bar{gap:9px}.search{flex-basis:100%}.filter-bar>select,.filter-bar>input{flex:1;width:calc(33% - 9px);min-width:0;max-width:100%}.filter-bar .segmented{justify-content:space-between;gap:0;width:100%}.filter-bar .segmented button{padding:7px 9px;font-size:11px}.record-panel .record-note{max-width:46vw}.result-line{font-size:11px}.game-row{gap:13px;padding:16px 0}.game-row .logo{width:43px;height:43px}.game-row-body b{font-size:14px}.game-row-body small{font-size:10px}.game-row .amount{font-size:16px}.game-row>svg{width:14px;margin-left:0}.game-list-heading{font-size:10px}.game-detail-title{flex-wrap:wrap;gap:13px}.game-detail-title>div{flex:1}.game-detail-title .logo{width:50px;height:50px}.game-detail-title h1{font-size:25px}.game-detail-title>.secondary,.game-detail-title>.primary{flex:1;margin-top:6px;font-size:12px}.detail-summary{justify-content:space-between;gap:20px;margin-bottom:20px;padding:18px 0}.detail-summary .amount,.detail-summary strong{font-size:20px}.detail-summary small{font-size:10px}.section-heading p{font-size:11px}.month-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.month-grid button{flex-direction:row;justify-content:space-between;min-height:55px;padding:11px;font-size:13px}.month-grid button small{font-size:10px}.annual-list{grid-template-columns:1fr 1fr;gap:8px}.annual-list button{padding:12px 9px;font-size:11px}.memo-grid{grid-template-columns:1fr;gap:19px}.memo{padding:24px}.modal{border:0;border-radius:0;width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0}.modal.wide{width:100vw}.modal-heading{padding:13px 18px;padding-top:max(13px, env(safe-area-inset-top))}.modal-heading h2{font-size:19px}.modal-body{flex:1;padding:21px 18px}.modal>form{flex:1}.modal-footer{padding:12px 14px calc(12px + env(safe-area-inset-bottom));gap:7px}.modal-footer button{min-height:44px;padding:8px 10px;font-size:12px}.modal-footer>.icon-button{width:36px}.editor-context{align-items:flex-start}.editor-context>small{text-align:right;max-width:160px}.type-pills{gap:7px}.type-pills label{flex-basis:calc(25% - 6px);justify-content:center;min-height:41px;padding:8px;font-size:11px}.type-pills input{display:none}.editor-type .segmented button{padding:7px 11px}.advanced label{min-height:30px}.settings-status{gap:13px 10px;font-size:11px}.settings-actions button{font-size:11px}.settings-status code{font-size:9px}.conflict-grid{grid-template-columns:1fr}.sync-banner{padding:9px 17px;font-size:11px}.welcome,.boot{margin-top:7vh}.result-line .amount{font-size:15px}.import-preview{padding:12px}.import-preview table{font-size:11px}}@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}@media (min-width:701px){dialog form:has(.editor-body){max-height:calc(90dvh - 75px)}}@media (max-width:380px){.metric{padding:14px 12px}.metric .amount{font-size:clamp(17px,5.7vw,22px)}.year-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.topbar{padding-inline:12px}.sync-status{padding-inline:5px}}.month-picker{gap:8px;min-width:0;display:flex}.month-picker select{flex:1;width:50%;min-width:0}.filter-bar .month-picker{min-width:0;max-width:240px}@media (max-width:700px){.filter-bar .month-picker{max-width:none}input,select,textarea,.field input,.field select,.field textarea,.filter-bar input,.filter-bar select,.month-picker select{font-size:16px}.money-input input{font-size:34px}}.ledger-totals{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:1fr;align-items:stretch;gap:12px;margin-bottom:22px;display:grid}.ledger-totals>div{border:1px solid var(--line);background:#fff;border-radius:12px;grid-template-columns:1fr auto;align-content:center;align-items:baseline;gap:7px 14px;min-width:0;min-height:96px;padding:16px 20px;display:grid}.ledger-totals>div:only-child{grid-column:1/-1}.ledger-totals small{color:var(--muted);grid-column:1/-1;font-size:12px;line-height:1.6;display:block}.ledger-totals .amount{font-size:21px}.cumulative-adds{flex-wrap:wrap;gap:8px;display:flex}.cumulative-editor-summary{background:#f0f3ed;border-radius:10px;margin:16px 0;padding:5px 15px 10px}.cumulative-editor-summary .field{margin-top:12px}.cumulative-editor-summary p{font-size:12px;line-height:1.7}.record-transition{color:#52695e;margin-top:4px;font-size:12px;display:block}.cumulative-line{background:#fafbf8}.cumulative-line .record-title small{color:#527461}@media (max-width:600px){.ledger-totals>div{flex-basis:100%;min-width:0;padding:15px}.ledger-totals .amount{font-size:20px}.cumulative-adds .secondary{padding:8px 10px;font-size:13px}.result-line{flex-wrap:wrap;gap:10px}}.metric small.metric-detail{color:var(--muted);margin-top:7px;font-size:11px;line-height:1.65}.cumulative-updated{border:1px solid var(--line);background:#fff;border-radius:12px;flex-wrap:wrap;align-items:center;gap:15px;margin-bottom:22px;padding:18px 22px;display:flex}.cumulative-updated>svg{color:#58705e}.cumulative-updated>div{align-items:center;gap:15px;display:flex}.cumulative-updated span{color:var(--muted);font-size:12px}.cumulative-updated time{font-variant-numeric:tabular-nums;font-size:16px;font-weight:600}.cumulative-updated p{color:var(--muted);margin:0 0 0 auto;font-size:12px}@media (max-width:600px){.ledger-totals{grid-template-columns:minmax(0,1fr)}.cumulative-updated{gap:12px;padding:15px}.cumulative-updated p{flex-basis:100%;margin:0;line-height:1.6}}.auth-heading p{color:var(--muted);margin:6px 0 0;font-size:13px}.auth-links{justify-content:space-between;gap:12px;display:flex}.account-summary{justify-content:space-between;align-items:center;gap:12px;margin:12px 0;display:flex}.account-summary span{color:var(--muted);font-size:12px}.account-form{gap:12px;max-width:420px;margin:16px 0;display:grid}.account-form label,.invitation-result label{gap:6px;font-size:13px;display:grid}.account-form input,.invitation-result input{width:100%;min-width:0}.invitation-result{gap:10px;margin:16px 0;display:grid}.invitation-result input{font-family:ui-monospace,monospace}.invitation-list{margin-top:14px}.invitation-row{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;padding:12px 0;display:flex}.invitation-row div{gap:4px;min-width:0;display:grid}.invitation-row small{overflow-wrap:anywhere}.current-account{text-overflow:ellipsis;white-space:nowrap;max-width:110px;color:var(--muted);font-size:10px;font-weight:400;display:block;overflow:hidden}@media (max-width:600px){.welcome{margin:28px auto;padding:0 24px 28px}.welcome>img{border-radius:14px;width:48px;margin-bottom:12px}.welcome h1{font-size:30px;line-height:1.2}.welcome>p{margin:12px 0 22px}.welcome .login-form{gap:14px}}
