:root{font-family:-apple-system,BlinkMacSystemFont,Hiragino Sans,Noto Sans JP,sans-serif;color:#202520;background:#f5f6f2;font-synthesis:none;--green: #32765f;--muted: #7b807b;--bg: #f1f5f3}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{border:0;background:none;color:var(--green);cursor:pointer;min-height:44px;padding:8px;display:inline-flex;align-items:center;justify-content:center;gap:8px;touch-action:manipulation}button:disabled{opacity:.4;cursor:default}button:focus-visible,a:focus-visible{outline:3px solid #e3a35b;outline-offset:3px}input,textarea,select{font-size:16px;max-width:100%;min-width:0;background:transparent;color:inherit;border:0;border-radius:4px;padding:8px 2px;outline-offset:2px}input:not([type=checkbox]):not([type=date]),textarea{width:100%}input[type=date]{min-height:42px;max-width:165px}input:focus,textarea:focus{outline:2px solid #32765f55}textarea{min-height:88px;resize:vertical}select{color:var(--green)}h1,h2,h3,p{margin:0}h1{font-size:34px;letter-spacing:-1px;font-weight:750}h2{font-size:20px;line-height:1.5}h3{font-size:15px;font-weight:650}p{line-height:1.7}small,.footnote{font-size:12px;color:var(--muted);line-height:1.7}svg{flex-shrink:0}a{color:var(--green)}.app{max-width:620px;margin:auto;min-height:100dvh}.page-header{padding:calc(20px + env(safe-area-inset-top)) 20px 4px;display:flex;align-items:center;justify-content:space-between}.page-header>div{display:flex}.content{padding:20px 20px calc(100px + env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:22px}.caption{display:flex;flex-direction:column;gap:6px}.caption h2{font-size:19px}.caption p{font-size:14px;color:var(--muted)}.card{background:#fff;border-radius:22px;padding:20px}.capture{border-radius:28px;padding:38px 24px 24px;display:flex;flex-direction:column;align-items:center;gap:22px;text-align:center}.capture p{font-size:14px;line-height:1.5;color:var(--muted);margin-top:8px}.scan-art{width:132px;height:148px;border-radius:26px;background:#32765f12;display:grid;place-items:center;color:var(--green)}.primary,.secondary{width:100%;border-radius:12px;min-height:56px;font-size:17px;font-weight:650;padding:14px 10px}.primary{background:var(--green);color:#fff}.secondary{background:#32765f13;color:var(--green)}.capture .secondary{margin-top:-10px}.guidance{padding:0 8px;display:flex;flex-direction:column;gap:12px}.guidance h3{display:flex;align-items:center;gap:8px}.guidance p{color:var(--muted);font-size:12px}.text-button{font-size:15px}.tabs{position:fixed;bottom:0;left:50%;transform:translate(-50%);width:100%;max-width:620px;background:#fafbf9f5;backdrop-filter:blur(16px);border-top:1px solid #dfe3df;display:flex;padding:6px 0 calc(6px + env(safe-area-inset-bottom));z-index:10}.tabs button{flex:1;flex-direction:column;gap:4px;color:#929790;font-size:10px;min-height:49px}.tabs button.active{color:var(--green)}.tabs svg{width:24px;height:24px}.row{display:flex;align-items:center;gap:12px}.spread{justify-content:space-between}.content>.row{font-size:13px}.row input{min-width:0}.row>div{min-width:0}.search{display:flex;align-items:center;gap:6px;border-radius:10px;background:#e9ece7;padding:0 10px;color:#888f87}.search input{font-size:15px}.form{display:flex;flex-direction:column;gap:10px}.field{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:46px;border-bottom:1px solid #eeefec;font-size:14px}.field>span{flex-shrink:0}.field>input{text-align:right}.total-card{background:var(--green);color:#fff;border-radius:24px;padding:24px;display:flex;flex-direction:column;gap:12px}.total-card p{font-size:14px;opacity:.8}.total-card>strong{font-size:38px;font-weight:650;font-variant-numeric:tabular-nums;letter-spacing:-1px}.total-card .row{font-size:12px}.segments{background:#e7e9e4;padding:3px;border-radius:9px;display:flex}.segments button{flex:1;font-size:13px;min-height:30px;padding:5px;color:#30362f;border-radius:7px}.segments .selected{background:#fff;box-shadow:0 2px 4px #0002}.entry-list{padding:0;overflow:hidden}.entry-list>button{width:100%;text-align:left;padding:16px;gap:12px;color:inherit;justify-content:flex-start;border-bottom:1px solid #eee}.entry-list>button:last-child{border:0}.category-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;flex-shrink:0}.entry-description{display:flex;flex-direction:column;gap:5px;flex:1;min-width:0}.entry-description strong{font-size:14px}.entry-description small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.entry-list>button>strong{font-size:14px;white-space:nowrap}.empty{text-align:center;padding:48px 0;color:var(--muted)}.empty h2{margin:15px 0 10px;color:#262e27}.empty p{font-size:13px}.donut{margin:4px auto 26px;width:230px;height:230px;border-radius:50%;display:grid;place-items:center}.donut>div{border-radius:50%;background:#fff;width:158px;height:158px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px}.donut strong{font-size:21px}table{width:100%;border-collapse:collapse;font-size:14px}th,td{padding:14px 0;text-align:left}th:last-child,td:last-child{text-align:right}thead{font-size:12px;color:var(--muted)}thead,tfoot{border-top:1px solid #eee;border-bottom:1px solid #eee}.dot{display:inline-block;width:9px;height:9px;border-radius:50%;margin-right:10px}.excel-icon{display:grid;place-items:center;background:#32765f12;border-radius:14px;color:var(--green);width:56px;height:56px;flex-shrink:0}.excel-icon+h3{margin:0}.calendar{margin:12px 0}.calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:3px}.calendar-grid small{text-align:center;padding:12px 0}.calendar-grid button{border-radius:50%;min-height:38px;width:38px;justify-self:center;color:inherit;font-size:17px}.calendar-grid button.chosen{background:var(--green);color:#fff}.dates{border-top:1px solid #eee;padding-top:12px;gap:4px}.dates input{font-size:12px;width:44%}.export-total{padding:0 8px}.export-total>div{display:flex;flex-direction:column;gap:6px}.export-total>div:last-child{text-align:right}.export-total strong{font-size:20px}details summary{cursor:pointer;color:var(--green);font-size:14px}details p{margin:14px 0}details>button{display:flex;justify-content:flex-start;text-align:left}.sheet{padding:0;border:0;background:var(--bg);color:inherit;width:100%;max-width:620px;max-height:94dvh;height:auto;min-height:260px;border-radius:22px 22px 0 0;margin:auto auto 0;overflow:auto;box-shadow:0 0 50px #0002}.sheet::backdrop{background:#0006}.sheet-header{position:sticky;top:0;z-index:2;background:#f5f6f2f5;backdrop-filter:blur(16px);border-bottom:1px solid #ddd;display:grid;grid-template-columns:80px 1fr 80px;align-items:center;text-align:center;padding:8px 12px}.sheet-header>button{justify-self:start}.sheet-header>span{justify-self:end}.sheet-header strong,.sheet-header button{font-size:16px}.sheet-body{padding:24px 20px calc(28px + env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:20px}.sheet-body>h3{color:var(--muted);font-size:12px;font-weight:500;padding-left:12px;margin-bottom:-10px}.draft-item{border-bottom:1px solid #eee;padding:8px 0 12px}.draft-item .row{gap:8px}.draft-item .amount-input{width:100px!important;flex:1}.draft-item select{max-width:48%}.draft-item small{display:block;margin:6px 0}.danger{color:#c7514b}.warning{color:#af722e}.receipt-image{width:100%;height:280px;object-fit:contain;background:#fff;border-radius:18px;margin-top:12px}.confirm{display:flex;align-items:center;justify-content:space-between;font-size:13px;gap:10px}.confirm input{appearance:none;flex-shrink:0;width:44px;height:27px;border-radius:20px;background:#d9ddd7;padding:3px;transition:background .15s}.confirm input:before{content:"";display:block;border-radius:50%;width:21px;height:21px;background:#fff;box-shadow:0 1px 3px #0002;transition:transform .15s}.confirm input:checked{background:var(--green)}.confirm input:checked:before{transform:translate(17px)}pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px}.list{padding:6px 16px}.list button{display:flex;width:100%;justify-content:flex-start;padding:12px 0;border-bottom:1px solid #eee}.list button span:nth-child(2){flex:1;text-align:left}.colors{display:flex;justify-content:space-between}.colors button{width:34px;height:34px;min-height:34px;border-radius:50%;padding:0;color:#fff}.busy{position:fixed;z-index:1000;bottom:calc(90px + env(safe-area-inset-bottom));left:50%;transform:translate(-50%);width:max-content;max-width:90%;background:#fff;box-shadow:0 4px 30px #0003;border-radius:14px;padding:18px;display:flex;align-items:center;gap:12px;font-size:13px}.spinner{border:2px solid #d4dfd8;border-top-color:var(--green);width:22px;height:22px;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.center-screen,.login{min-height:100dvh;max-width:540px;margin:auto;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:30px 24px;gap:20px;text-align:center}.login h1{font-size:30px}.login>p{color:var(--muted)}.login .card{margin-top:12px;padding:28px 24px;display:flex;flex-direction:column;gap:22px;width:100%}.login .card p{font-size:13px;color:var(--muted)}.brand-icon{background:#32765f13;color:var(--green);width:100px;height:100px;border-radius:28px;display:grid;place-items:center}.update-bar{padding:12px 20px;background:#e5eee7;display:flex;align-items:center;flex-wrap:wrap;justify-content:space-between;font-size:13px}.update-bar small{width:100%}@media(min-width:700px){.sheet{margin:auto;border-radius:22px;max-height:90dvh}.app{border-left:1px solid #e9ece7;border-right:1px solid #e9ece7}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}.primary,.secondary{border-radius:999px;min-height:64px}.capture .secondary{margin-top:0;background:#32765f2b}.tabs{bottom:calc(10px + env(safe-area-inset-bottom));width:calc(100% - 96px);max-width:360px;border:5px solid #ffffffd9;border-radius:999px;box-shadow:0 5px 24px #263a291c;padding:0;background:#f8faf6df}.tabs button{border-radius:999px;min-height:52px;color:#252b25}.tabs button.active{background:#dce3dc8c}.tabs button span{font-size:11px;font-weight:550}@media(display-mode:standalone){.page-header{padding-top:calc(42px + env(safe-area-inset-top))}}@media(max-width:350px){.tabs{width:calc(100% - 40px)}}.tab-page{display:flex;flex-direction:column;gap:22px}.tab-page[hidden]{display:none}.inbox-item{padding:16px 0;border-top:1px solid #e6e9e4}.inbox-item p{margin:6px 0;color:var(--muted);font-size:14px}.app{height:100dvh;min-height:0;display:flex;flex-direction:column;overflow:hidden}.page-header{flex:none;padding:calc(8px + env(safe-area-inset-top)) 16px 0;gap:8px}.page-header h1{font-size:28px;margin-right:auto}.help-button{border:1px solid #bfcfc5;border-radius:50%;min-height:32px;width:32px;font-weight:700;padding:0}.content{flex:1;min-height:0;padding:12px 16px 8px;gap:10px;overflow:hidden}.tabs{position:static;transform:none;flex:none;align-self:center;margin:0 0 calc(10px + env(safe-area-inset-bottom))}.tab-page{min-height:0;height:100%;gap:10px}.content .card{padding:14px;border-radius:20px}.content .primary,.content .secondary{min-height:44px;font-size:14px;padding:8px}.content .caption,.content .footnote,.update-bar small{display:none}.content>.text-button{flex:none}.receipt-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.receipt-actions .secondary{display:flex;flex-direction:column;border-radius:16px;font-size:11px;gap:6px;padding:12px 2px}.receipt-actions svg{width:21px}.receipt-board{display:flex;flex:1;flex-direction:column;gap:10px;min-height:0}.receipt-board>.row{font-size:13px}progress{width:100%;height:8px;border:0;border-radius:8px;accent-color:var(--green);overflow:hidden;flex:none}progress::-webkit-progress-bar{background:#e8eee8}progress::-webkit-progress-value{background:var(--green);border-radius:8px}.receipt-grid{min-height:0;flex:1;display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 8px) / 3);gap:4px;overflow-x:auto;overflow-y:hidden;align-content:start;padding:0}.receipt-cell{position:relative;min-height:32px;height:32px;min-width:0;display:flex;flex-direction:row;justify-content:center;gap:5px;padding:6px 4px;border:1px solid #d2d8d2;border-radius:8px;background:#edf0ec;color:#536053}.receipt-cell strong{font-size:11px;white-space:nowrap}.cell-number{font-size:10px;align-self:flex-start;line-height:1;font-variant-numeric:tabular-nums}.receipt-cell.saving{background:#f0f1ef;color:#626a62}.receipt-cell.queued{background:#e2e6e1;color:#505c50}.receipt-cell.processing{background:#fff0b8;color:#795b0b;border-color:#e3c764}.receipt-cell.ready{background:#e1f0e4;color:#246544;border-color:#a0c5a7}.receipt-cell.failed{background:#fbe3df;color:#a43830;border-color:#dfa79e}.receipt-placeholder{grid-row:1 / -1;grid-column:1 / 4;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:12px;color:#8d9d90}.bulk-actions{display:flex;gap:8px;flex:none}.bulk-actions>button{flex:1;font-size:14px;min-height:44px}.total-card{padding:12px 18px;gap:4px;border-radius:18px;flex:none}.total-card>strong{font-size:28px}.tab-page>.row{font-size:12px}.empty{padding:16px 0}.compact-sheet{height:min(760px,94dvh);overflow:hidden;padding:0 14px 14px}.compact-sheet[open]{display:flex;flex-direction:column;gap:8px}.compact-sheet .sheet-header{margin:0 -14px;flex:none}.quick-review{flex:1;min-height:0;display:flex;flex-direction:column;gap:8px;touch-action:pan-y}.quick-review>strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.quick-items{flex:1;min-height:0;overflow-y:auto;border-radius:12px;background:#fff;padding:8px 12px}.quick-item{display:grid;grid-template-columns:1fr auto;gap:3px 10px;border-bottom:1px solid #eee;padding:8px 0;font-size:14px}.quick-item strong{overflow-wrap:anywhere}.quick-item small{grid-column:1 / -1}.quick-total{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px;font-size:13px}.quick-total>strong:last-child{width:100%}.quick-review .primary,.quick-review .secondary{min-height:44px;padding:8px;font-size:14px}.camera-preview{width:100%;flex:1;min-height:0;object-fit:contain;background:#19231c;border-radius:16px}@media(max-height:620px){.content{gap:6px;padding-top:6px}.total-card>strong{font-size:23px}.total-card p{display:none}}@media(max-height:480px)and (min-width:600px){.page-header{padding-top:env(safe-area-inset-top)}.page-header h1{font-size:22px}.tabs button{flex-direction:row;min-height:36px}.tabs svg{width:18px;height:18px}.tabs{margin-bottom:4px}.receipt-actions .secondary{flex-direction:row;padding:6px}.export-page{display:grid;grid-template-columns:1fr 1fr;align-content:start}.export-page>.card{grid-column:1 / -1}}.page-header{height:calc(64px + env(safe-area-inset-top));padding:calc(8px + env(safe-area-inset-top)) 16px 8px}.page-header h1{font-size:28px;line-height:40px;letter-spacing:-.5px;margin:0}.page-tools{margin-left:auto;display:flex;align-items:center;gap:4px}.page-tools>div{display:flex;align-items:center}.sheet-header{min-height:60px;padding:8px 12px}.quick-price{display:flex;align-items:baseline;justify-content:flex-end;flex-wrap:wrap;gap:4px}.item-discount{color:#7b6450;font-size:12px;white-space:nowrap}.camera-gallery{display:flex;flex:none;gap:8px;overflow-x:auto;padding:4px 0}.camera-gallery button{position:relative;flex:0 0 60px;height:64px;padding:2px;border:2px solid transparent;border-radius:8px}.camera-gallery button[aria-pressed=true]{border-color:var(--green)}.camera-gallery img{width:100%;height:100%;object-fit:cover;border-radius:4px}.camera-gallery span{position:absolute;top:1px;left:1px;padding:1px 4px;border-radius:4px;background:#fff;font-size:11px}.camera-preview[hidden]{display:none}@media(max-height:480px)and (min-width:600px){.page-header{height:calc(44px + env(safe-area-inset-top));padding-top:env(safe-area-inset-top);padding-bottom:0}.page-header h1{font-size:22px}.camera-gallery button{height:40px;flex-basis:44px}}html,body,#root{height:100%;overflow:hidden;overscroll-behavior:none}body{position:fixed;inset:0;width:100%}.receipt-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.cell-header.sheet-header{grid-template-columns:36px 44px minmax(0,1fr) 44px;padding:6px;gap:4px}.cell-header.sheet-header strong{font-size:14px;white-space:nowrap}.cell-arrow{background:#1976c9;color:#fff;border-radius:10px;width:44px}.cell-arrow:disabled{background:#c7d8e8;color:#5a7083;opacity:1}.quick-review>*{flex-shrink:0}.quick-review>.quick-items{flex:1 1 0}.merchant-field,.review-date label{font-size:11px}.merchant-field input,.review-date input,.quick-item input,.quick-total input{border:1px solid #cbd5cc;background:#fff;padding:5px 7px}.review-date{display:flex;justify-content:space-between;align-items:end;gap:8px}.review-date label{display:flex;flex-direction:column}.review-date button{font-size:13px;white-space:nowrap}.quick-items{overscroll-behavior:contain}button.quick-item{width:100%;text-align:left;color:inherit;border-radius:0}.quick-total{display:flex;align-items:center;justify-content:space-between;gap:8px}.quick-total label{display:flex;align-items:center;gap:4px;font-size:11px}.quick-total input{width:115px!important}.total-status{display:flex;justify-content:flex-end;align-items:center;gap:4px;padding:6px;border-radius:8px;font-size:12px}.total-status.matched{color:#176342;background:#dcefe3}.total-status.mismatched{color:#a02620;background:#ffe4df}.receipt-photo-button{min-height:36px;padding:5px}.receipt-photo-scroll{min-height:0;overflow:auto;overscroll-behavior:contain}.receipt-photo-scroll img{display:block;width:100%}.manual-review{display:flex;flex-direction:column;gap:8px;height:min(650px,72dvh)}@media(max-height:500px){.compact-sheet{height:98dvh;max-height:98dvh}.quick-review{gap:3px}.merchant-field{display:flex;align-items:center;gap:8px}.review-date label{flex-direction:row;align-items:center}.review-date input{min-height:30px}.review-date button,.receipt-photo-button,.quick-review .bulk-actions button{min-height:30px;padding:3px}.total-status{padding:3px}}.quick-item{grid-template-columns:minmax(0,1fr) 148px;grid-template-rows:22px 28px;align-items:center;gap:2px 6px}.quick-item>strong,.quick-item>.inline-name{grid-column:1;grid-row:1;font-size:14px;font-weight:600;line-height:22px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.quick-item>small,.quick-item>.inline-category{grid-column:1;grid-row:2;font-size:12px;line-height:22px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.quick-item .quick-price{grid-column:2;grid-row:1;flex-wrap:nowrap;gap:4px;font-size:14px;line-height:22px}.quick-item input{min-width:0;height:22px;padding:0 2px;border:0;border-radius:3px;box-shadow:inset 0 0 0 1px #b8cdbf;background:#f7fbf8;font:inherit}.quick-item input.inline-discount{width:4ch;font-size:12px}.quick-item input.inline-amount{width:6ch;text-align:right;font-size:14px}.inline-amount-wrap{display:inline-flex;align-items:baseline}.item-actions{grid-column:2;grid-row:2;display:flex;justify-content:flex-end;gap:8px}.item-actions button{min-height:26px;font-size:11px;padding:2px 8px;border:1px solid currentColor;border-radius:5px}.merchant-field,.review-date label{display:flex;flex-direction:row;align-items:center;font-size:12px;gap:4px}.merchant-field>span,.review-date label>span{white-space:nowrap}.merchant-field input{flex:1;width:auto}.review-date{align-items:center}.review-date input{width:145px}.quick-total{flex-wrap:nowrap}.quick-total label{flex-direction:column;align-items:flex-start;font-size:12px}.quick-total input{width:110px!important}.quick-total>strong:last-child{width:auto;text-align:right;font-size:12px}.quick-total output{display:block;font-size:16px}.cell-header.sheet-header{grid-template-columns:36px minmax(0,1fr) 36px 46px;gap:6px}.cell-header>.dialog-close{grid-column:4;grid-row:1;flex-direction:column;gap:0;border-left:1px solid #cdd5cd;padding:2px 0 2px 8px;color:#4c554d}.cell-header .dialog-close span{font-size:10px}.cell-header .dialog-close svg{width:20px;height:20px}.cell-header .cell-arrow{width:36px}.cell-header .cell-arrow:first-of-type{grid-column:1}.cell-header>.cell-arrow{grid-row:1}.cell-header>.cell-arrow:nth-child(2){grid-column:1}.cell-header>strong{grid-column:2;grid-row:1}.cell-header>.cell-arrow:last-child{grid-column:3}html,body{background-color:#f1f5f3}body:before{content:"";position:fixed;inset:0 0 auto;height:env(safe-area-inset-top,0px);background:#f1f5f3;pointer-events:none;z-index:100}.receipt-photo-scroll pre{white-space:pre-wrap;overflow-wrap:anywhere}html,body,#root,.sheet-header{background:#f1f5f3}.quick-item{grid-template-columns:minmax(0,1fr) 168px;grid-template-rows:32px 34px;gap:3px 6px;font-size:16px}.quick-item>strong,.quick-item>small,.quick-item>.inline-name,.quick-item>.inline-category,.quick-item .quick-price{font-size:16px;line-height:30px}.quick-item input,.quick-item select,.quick-item input.inline-discount,.quick-item input.inline-amount{font-size:16px;height:30px;padding:2px}.quick-item input.inline-discount{width:3ch}.quick-item input.inline-amount{width:6ch}.quick-item select{width:100%;background:#f7fbf8;box-shadow:inset 0 0 0 1px #b8cdbf}.item-actions button{font-size:13px;min-height:30px}.merchant-field input,.review-date input{background:#e7e7e2;font-size:16px}.merchant-field input:focus,.review-date input:focus{background:#fff}.cell-header.sheet-header{grid-template-columns:32px max-content 32px minmax(0,1fr) 40px;gap:3px}.cell-header>.dialog-close{grid-column:5;padding:0;border:0;border-radius:50%;width:36px;min-height:36px;height:36px;color:#fff;background:#cb4444;justify-self:end}.cell-header .cell-arrow{width:32px;min-height:36px;padding:3px}.receipt-summary{display:flex;gap:8px;align-items:center;justify-content:space-between}.receipt-summary .receipt-photo-button{min-width:0;padding:6px;gap:4px;border-radius:10px;font-size:12px}.receipt-photo-button small{display:block;color:#73776e;font-size:10px}.registration-total{font-size:18px;padding:10px 6px;border-radius:10px;white-space:nowrap}.registration-total output{display:inline}.registration-total.matched{background:#dcefe3;color:#176342}.registration-total.mismatched,.total-confirmation{background:#ffdfad;color:#854704}.total-confirmation{display:flex;align-items:center;justify-content:flex-end;gap:8px;padding:8px;border-radius:10px;font-size:12px}.total-confirmation input{appearance:none;-webkit-appearance:none;flex:none;width:40px;height:24px;border-radius:20px;background:#aaa;position:relative;padding:0}.total-confirmation input:after{content:"";position:absolute;width:18px;height:18px;border-radius:50%;background:#fff;left:3px;top:3px}.total-confirmation input:checked{background:#32765f}.total-confirmation input:checked:after{left:19px}*:focus,*:focus-visible{outline:none!important}*{-webkit-tap-highlight-color:transparent}@media(max-width:350px){.quick-item{grid-template-columns:minmax(0,1fr) 154px}.quick-item input.inline-amount{width:5ch}.registration-total{font-size:16px;padding:8px 4px}.receipt-summary{gap:4px}.receipt-summary .receipt-photo-button svg{display:none}.receipt-photo-button small{font-size:9px}.cell-header.sheet-header strong{font-size:13px}}.content{padding:16px 18px 12px;gap:14px}.tab-page{gap:14px}.content .card{padding:16px}.receipt-actions{gap:12px}.receipt-board{gap:14px}.receipt-grid{gap:8px;grid-auto-columns:calc((100% - 16px) / 3)}.receipt-cell{height:40px;min-height:40px;gap:1px;padding:6px 3px}.cell-number{font-size:16px;align-self:center;line-height:20px}.cell-number.large-number{font-size:10px;border:1px solid currentColor;border-radius:50%;min-width:18px;text-align:center}.cell-thumbnail{width:12px;height:18px;display:inline-flex;flex:none;margin-right:3px;background:#fff9;border-radius:2px;overflow:hidden}.cell-thumbnail img,.cell-thumbnail svg{width:100%;height:100%;object-fit:contain}.cell-header.sheet-header{grid-template-columns:44px minmax(0,1fr) 44px;grid-template-rows:40px 46px;gap:8px;padding:12px 16px}.cell-header>.dialog-close{grid-column:1;grid-row:1;background:#e0e6e3;color:#52655b;width:38px;height:38px;min-height:38px;justify-self:start}.cell-header>.cell-arrow:nth-child(2){grid-column:1;grid-row:2}.cell-header>strong{grid-column:2;grid-row:2;font-size:18px}.cell-header>.cell-arrow:last-child{grid-column:3;grid-row:2}.cell-header .cell-arrow{width:44px;height:44px}.compact-sheet{padding:0 18px 18px}.compact-sheet .sheet-header{margin:0 -18px}.compact-sheet[open],.quick-review{gap:12px}.quick-items{padding:10px 12px}.quick-item{padding-top:12px;padding-bottom:12px}.quick-review .danger,.item-actions .danger{border:1px solid #e7b7b3;background:#fbe9e7;border-radius:10px;color:#a9433c}.item-actions{gap:6px}.item-actions button{padding-left:7px;padding-right:7px}.item-actions .confirm-item{background:#32765f;border-color:#32765f;color:#fff}.item-actions .cancel-item{background:#b63e36;border-color:#b63e36;color:#fff}.quick-review>.pending-receipt-photo{flex:1;min-height:0}.registration-total{font-size:13px;font-weight:500;padding:10px}.registration-total output{font-size:18px;font-weight:700}.photo-total{display:flex;align-items:center;justify-content:space-between;padding:16px;background:#fff;border-radius:14px;flex:none}.photo-total span{color:#66756c;font-size:14px}.photo-total strong{font-size:24px;color:#32765f}.help-guide{display:flex;flex-direction:column;gap:24px}.help-intro{padding:20px;border-radius:18px;background:#e1eee7}.help-intro h2{font-size:20px;margin:0 0 8px}.help-guide p{margin:0;line-height:1.8;font-size:14px;color:#5c6961}.help-guide h3{margin:0 0 12px;font-size:16px}.help-steps{list-style:none;padding:0;margin:0;display:grid;gap:12px}.help-steps li{display:flex;gap:14px;align-items:start;padding:16px;background:#fff;border-radius:16px}.help-step-icon{display:flex;align-items:center;justify-content:center;flex:none;width:38px;height:38px;border-radius:12px;background:#eef4f0;color:#32765f}.help-steps strong{display:block;margin-bottom:4px;font-size:15px}.help-statuses{display:grid;grid-template-columns:1fr 1fr;gap:8px}.help-statuses span{padding:10px;border-radius:10px;font-size:12px}.help-statuses .waiting{background:#e4e8e5}.help-statuses .processing{background:#fff0b8}.help-statuses .ready{background:#dcefe3}.help-statuses .failed{background:#fbe3df}.help-guide details{background:#fff;border-radius:14px;padding:16px}.help-guide summary{font-weight:600;font-size:14px;cursor:pointer;line-height:1.6}.help-guide details p{margin-top:12px}.help-faq{display:grid;gap:10px}@media(max-width:350px){.receipt-grid{grid-auto-columns:calc((100% - 8px)/2)}.cell-header>strong{font-size:16px!important}.compact-sheet{padding-left:14px;padding-right:14px}.compact-sheet .sheet-header{margin-left:-14px;margin-right:-14px}.registration-total{font-size:12px;padding:8px 6px}.registration-total output{font-size:16px}}@media(max-height:650px){.content{gap:8px;padding-top:8px}.receipt-board{gap:8px}.compact-sheet{padding-bottom:10px}.compact-sheet[open],.quick-review{gap:6px}.cell-header.sheet-header{grid-template-rows:32px 36px;padding:6px 14px;gap:4px}.cell-header>.dialog-close{min-height:30px;width:30px;height:30px}.cell-header .cell-arrow{height:36px;min-height:36px}.quick-review .receipt-photo-button,.quick-review .bulk-actions button{min-height:32px;padding:4px}}.tab-page.ledger-page:not([hidden]){display:flex;flex-direction:column}.ledger-period{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) auto;align-items:center;gap:5px;flex:none}.ledger-period input{width:100%;min-width:0;min-height:38px;padding:5px 3px;border:1px solid #c6d4cb;border-radius:8px;background:#fff;font-size:16px;color:#293f32}.ledger-period input::-webkit-date-and-time-value{text-align:center;min-width:0}.ledger-period button{min-height:38px;gap:3px;font-size:11px;padding:5px;border-radius:8px;background:#e2ebe5;white-space:nowrap}.ledger-period button[aria-pressed=true]{background:#32765f;color:#fff}.ledger-page .ledger-results{display:flex;flex-direction:column;flex:1;min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain}.ledger-page .ledger-results>button{flex:none;height:48px;min-height:48px;padding:5px 9px;gap:7px}.ledger-results .category-icon{width:26px;height:26px;border-radius:7px}.ledger-results .category-icon svg{width:16px;height:16px}.ledger-results .entry-description{gap:1px}.ledger-results .entry-description strong{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ledger-results .entry-description small{font-size:10px}.ledger-results>button>strong{font-size:13px;font-variant-numeric:tabular-nums}.ledger-page .ledger-summary{flex:1;min-height:0;min-width:0;display:flex;flex-direction:column;padding:12px;gap:6px;overflow:hidden}.ledger-chart-row{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.6fr);align-items:center;gap:10px;flex:1;min-height:0;width:100%}.ledger-chart-row.no-donut{grid-template-columns:minmax(0,1fr)}.ledger-page .ledger-summary .donut{width:100%;max-width:160px;height:auto;aspect-ratio:1;min-width:0;margin:0;justify-self:center}.ledger-page .ledger-summary .donut>div{width:70%;height:70%;gap:0}.ledger-page .ledger-summary .donut small{display:block;font-size:10px;text-align:center}.ledger-legend{align-self:stretch;min-height:0;min-width:0;overflow-y:auto;overscroll-behavior:contain}.ledger-page .ledger-summary table{display:table;width:100%;min-width:0;table-layout:fixed;font-size:11px}.ledger-page .ledger-summary thead{display:table-header-group}.ledger-page .ledger-summary tbody{display:table-row-group}.ledger-page .ledger-summary tfoot{display:table-footer-group}.ledger-page .ledger-summary tr{display:table-row}.ledger-page .ledger-summary th,.ledger-page .ledger-summary td{padding:7px 2px;overflow-wrap:anywhere}.ledger-page .ledger-summary th:first-child,.ledger-page .ledger-summary td:first-child{width:48%;text-align:left}.ledger-page .ledger-summary th:last-child,.ledger-page .ledger-summary td:last-child{text-align:right;font-variant-numeric:tabular-nums}.ledger-summary .dot{width:7px;height:7px;margin-right:3px}.ledger-summary .footnote{margin:0;font-size:10px;flex:none}.ledger-filters{display:flex;flex-direction:column;gap:14px}.ledger-filters .search{margin:0}.category-filters{min-width:0;border:0;padding:0;margin:0}.category-filters legend{font-size:14px;font-weight:650;margin-bottom:8px}.category-filter-actions{display:flex;gap:10px;margin-bottom:8px}.category-filter-actions button{background:#e5eee8;border-radius:8px;padding:8px 12px;font-size:13px}.category-filter-option{display:flex;align-items:center;gap:10px;min-height:44px;padding:8px;border-bottom:1px solid #e5ebe7}.category-filter-option input{width:20px;height:20px;flex:none;accent-color:#32765f}.category-filter-option .dot{margin:0;flex:none}.category-filter-option span:last-child{overflow-wrap:anywhere;min-width:0}@media(max-width:350px){.ledger-period{gap:3px}.ledger-period button{flex-direction:column;font-size:10px;line-height:1}.ledger-page .ledger-summary{padding:9px}.ledger-chart-row{gap:7px}}@media(max-height:480px)and (min-width:600px){.ledger-page .total-card{flex-direction:row;align-items:center;justify-content:space-between;padding:4px 12px}.ledger-page .total-card p{display:block}.ledger-page .ledger-summary .donut{width:min(100%,70px)}.ledger-page .ledger-summary{padding:5px 10px}}.ledger-page .ledger-results{padding:0}.ledger-filters .search input{font-size:16px}.quick-item small .ocr-review-label{color:#8a5200;font-weight:700}.classification-status{color:#576b62;font-size:10px;white-space:nowrap}button.quick-item>small{grid-column:1 / -1;font-size:13px}
