:root{--ink:#163300;--lime:#9FE870;--card:#F2F5EE;--muted:#454745;--line:#C9D1BF;--error:#8c251b;--sans:Inter,"Noto Sans TC","Microsoft JhengHei",sans-serif}*{box-sizing:border-box}body{margin:0;background:#fff;color:var(--ink);font-family:var(--sans);font-size:15px;line-height:1.6}button,input,textarea,select{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{color:var(--ink);background:#fff;border:2px solid var(--ink);border-radius:999px;padding:11px 19px;min-height:44px;font-weight:700;cursor:pointer;box-shadow:0 4px 0 var(--ink);transition:transform .09s,box-shadow .09s}button:active{transform:translateY(4px);box-shadow:none}button:disabled{cursor:wait;opacity:.6}button.primary{background:var(--lime)}a{color:var(--ink)}:focus-visible{outline:3px solid #4d8025;outline-offset:4px}button.text-button{border:0;box-shadow:none;padding:8px 0;background:transparent;border-radius:4px;font-size:14px;text-align:left}h1,h2,h3,p{margin:0}h1{font-family:"Inter Tight",var(--sans);font-weight:900;font-size:clamp(38px,5vw,60px);line-height:1.13;letter-spacing:-.055em}h2{font-size:19px;line-height:1.4;font-weight:800}h3{font-size:16px}p+p{margin-top:8px}.eyebrow{font-size:12px;font-weight:700;letter-spacing:.09em;margin-bottom:12px}.muted{color:var(--muted)}.small{font-size:13px}.num{font-variant-numeric:tabular-nums;font-feature-settings:"tnum";font-family:"Inter Tight",var(--sans)}.topbar{display:flex;align-items:center;justify-content:space-between;max-width:1160px;margin:auto;padding:26px 32px 20px}.brand{display:flex;align-items:center;gap:12px;font-size:17px;font-weight:800;line-height:1.2;text-decoration:none}.brand small{display:block;font-size:11px;font-weight:500;letter-spacing:.08em;color:var(--muted);margin-top:5px}.brand-mark{height:42px;width:42px;display:grid;place-items:center;border:2px solid var(--ink);border-radius:50%;background:var(--lime);font-size:27px}.top-actions{display:flex;align-items:center;gap:16px;font-size:12px}.tabs{display:flex;max-width:1096px;margin:0 auto;border-bottom:1px solid var(--line);gap:24px;padding:0 0 4px}.tabs button{border:0;box-shadow:none;border-radius:0;background:transparent;padding:12px 16px;font-weight:600;color:var(--muted);position:relative}.tabs button.active{color:var(--ink);font-weight:800}.tabs button.active:after{content:"";position:absolute;bottom:-5px;left:16px;right:16px;height:3px;background:var(--ink)}main{max-width:1160px;margin:auto;padding:24px 32px 50px}.scope{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:28px;color:var(--muted);font-size:13px}.scope-controls{display:flex;align-items:center;gap:14px}.scope-controls label{display:flex;align-items:center;gap:8px;font-size:12px}.scope-controls input,.scope-controls select{margin:0;width:auto;background:white;min-height:40px;padding:6px 9px;font-size:13px}.hero{display:flex;justify-content:space-between;gap:24px;align-items:flex-end;margin-bottom:28px}.hero .actions{max-width:370px}.hero>.primary{margin-bottom:7px}.card{background:var(--card);padding:26px;border-radius:24px;margin-bottom:20px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.today-grid,.two-columns{display:grid;grid-template-columns:1fr 1fr;gap:20px}.equation-card{margin:0}.action-card{margin:0;display:flex;flex-direction:column;align-items:flex-start}.action-card h2{font-size:29px;letter-spacing:-.03em}.action-card>p{margin:12px 0 15px}.action-card>.primary{margin-top:auto;width:100%}.badge{display:inline-block;border:1px solid var(--line);padding:3px 9px;border-radius:99px;font-size:11px;font-weight:700;white-space:nowrap;background:#fff}.badge.reviewed{background:var(--ink);border-color:var(--ink);color:var(--lime)}.badge.alert{background:#f9eacd;border-color:#d6bf8b;color:#664908}.badge.failed{background:#f9e6e1;border-color:#d9b0a8;color:var(--error)}.equation{margin:4px 0 12px}.equation-row{display:grid;grid-template-columns:26px 1fr auto;gap:10px;align-items:center;padding:9px 0;position:relative}.equation-row:not(:last-child):after{content:"";position:absolute;left:12px;top:34px;bottom:-8px;width:2px;background:var(--line)}.op{position:relative;z-index:1;width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:var(--ink);color:var(--lime);font-weight:800}.equation-row span:nth-child(2){font-size:14px;color:var(--muted)}.equation-row b{font-size:20px;text-align:right;letter-spacing:-.03em;white-space:nowrap}.equation-row.result{border-top:2px solid var(--ink);margin-top:8px;padding-top:13px}.equation-row.result b{font-size:28px;font-weight:900}.result .op{background:var(--lime);color:var(--ink)}.queue-filters{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px;width:100%}.queue-filters button{font-size:12px;min-height:36px;padding:5px 10px;box-shadow:none;border:1px solid var(--line);background:white}.queue-filters strong{margin-left:8px}.batch-summary{margin:24px 0 28px;padding:15px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);display:flex;flex-wrap:wrap;gap:8px 26px;font-size:12px;color:var(--muted)}.batch-summary b{color:var(--ink)}.document-list{display:grid;gap:10px}.document-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:17px 20px;background:var(--card);border-radius:18px;cursor:pointer;border:1px solid transparent;box-shadow:none;text-align:left;min-width:0}.document-row:hover{border-color:var(--ink)}.document-row h3{overflow-wrap:anywhere;margin:0 0 5px}.document-row p{font-size:12px;color:var(--muted);overflow-wrap:anywhere;font-weight:400}.document-row .amount{font-size:18px;text-align:right;font-weight:800}.document-row .side{display:flex;flex-direction:column;align-items:flex-end;gap:6px}.document-row .doc-warning{color:#795009;margin-top:5px}.actions{display:flex;flex-wrap:wrap;gap:12px;margin:18px 0 10px}.card>h2{margin-bottom:12px}.card>p{margin-bottom:16px}label{display:block;font-size:13px;font-weight:600;margin-bottom:14px}input,textarea,select{display:block;width:100%;background:#fff;border:1px solid #9aa98e;border-radius:12px;padding:11px 12px;margin-top:7px;color:var(--ink);min-height:46px}textarea{resize:vertical;line-height:1.65}input::placeholder,textarea::placeholder{color:#727a6b;font-weight:400}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 14px;align-items:start}.form-grid .wide{grid-column:1/-1}details{margin:16px 0}summary{cursor:pointer;font-weight:700;font-size:13px;min-height:35px}.notice{padding:15px 18px;background:var(--card);border:1px solid var(--line);border-radius:14px;font-size:13px;margin-bottom:20px;overflow-wrap:anywhere}.error{color:var(--error)}.error.notice{background:#fdf0ec;border-color:#deb9b1}.empty{padding:26px 16px;text-align:center;color:var(--muted);font-size:14px}.upload-results{margin-top:20px}.upload-item{padding:13px 0;border-top:1px solid var(--line);font-size:13px;overflow-wrap:anywhere}.quick-asks{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:26px}.quick-asks button{box-shadow:none;background:#fff;font-size:13px;padding:9px 14px}.ask-card{max-width:800px}.answer-card{border:1px solid var(--line);background:#fff;border-radius:24px;padding:26px;max-width:800px;margin-bottom:20px}.answer-text{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.85;margin:14px 0 18px}.source-links{display:flex;flex-wrap:wrap;gap:8px}.source-links button{font-size:12px;padding:6px 10px;box-shadow:none;min-height:36px;border-width:1px}.report-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:20px}.metric{padding:23px;background:var(--card);border-radius:24px;min-width:0}.metric p{font-size:13px;color:var(--muted)}.metric b{display:block;font-size:clamp(22px,2.6vw,32px);line-height:1.2;margin:10px 0 6px;overflow-wrap:anywhere;letter-spacing:-.04em}.metric small{font-size:12px;color:var(--muted)}.bar-row{margin:19px 0}.bar-label{display:flex;justify-content:space-between;gap:14px;font-size:13px;margin-bottom:7px}.bar-label span{overflow-wrap:anywhere}.bar-label b{white-space:nowrap}.track{height:7px;background:#dee5d6;border-radius:99px;overflow:hidden}.bar{height:100%;background:var(--ink);border-radius:99px;min-width:2px}.negative .bar{background:#75533d}.chart-card{margin-top:0}.daily-chart{display:grid;grid-template-columns:repeat(31,minmax(0,1fr));gap:5px;min-height:170px;align-items:end;padding-top:20px}.day-column{height:145px;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;min-width:0;font-size:10px}.day-bar{width:100%;background:var(--lime);border-radius:5px 5px 0 0;min-height:2px}.day-column.negative .day-bar{background:#75533d}.day-column span{padding-top:7px;white-space:nowrap}.payment-summary{display:flex;flex-wrap:wrap;gap:16px 32px}.payment-summary p{font-size:13px;color:var(--muted)}.payment-summary b{display:block;font-size:20px;color:var(--ink)}.app-footer{max-width:1096px;margin:0 auto;padding:0 0 32px;font-size:12px;color:var(--muted)}.ledger-tools{display:flex;align-items:flex-end;gap:14px;padding:20px;background:var(--card);border-radius:24px;margin-bottom:15px}.ledger-tools label{margin:0;flex:1}.ledger-tools label:first-child{flex:2}.ledger-tools button{margin-bottom:4px}.ledger-list{margin:16px 0}dialog{padding:0;width:min(1080px,calc(100% - 36px));max-height:92dvh;border:0;border-radius:28px;color:var(--ink);box-shadow:0 24px 100px #0004;background:#fff}dialog::backdrop{background:#15211070;backdrop-filter:blur(3px)}.detail-header{position:sticky;top:0;background:white;padding:20px 26px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);z-index:3}.detail-header .eyebrow{margin:0 0 4px}.detail-header h2{overflow-wrap:anywhere;font-size:20px}.close-button{border:0;box-shadow:none;padding:0;font-size:30px;min-width:44px;min-height:44px;flex:none}#detail-body{padding:24px}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:start}.original-pane{position:sticky;top:114px;min-width:0}.original-pane img{display:block;width:100%;max-height:65vh;object-fit:contain;background:var(--card);border-radius:16px}.original-pane iframe{border:1px solid var(--line);border-radius:14px;width:100%;height:60vh}.original-pane .actions{margin-top:14px}.details-facts{display:flex;flex-wrap:wrap;gap:10px;font-size:12px;margin-bottom:18px}.warnings{background:#faf0d9;border-radius:12px;padding:14px 18px;color:#71510b;font-size:13px;margin:16px 0}.warnings ul{margin:0;padding-left:17px}.detail-status{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:12px}.review-form .actions button{flex:1}.item-list{border:1px solid var(--line);border-radius:14px;overflow:hidden;margin-bottom:15px}.item-row{padding:13px;border-bottom:1px solid var(--line)}.item-row:last-child{border:0}.item-row label{margin:0 0 8px}.item-row .form-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.item-row input{padding:7px;font-size:12px;min-height:36px}.item-row .item-description{font-weight:700;margin-bottom:7px}.provenance{font-size:12px;color:var(--muted);overflow-wrap:anywhere;white-space:pre-wrap;background:var(--card);border-radius:12px;padding:15px;max-height:260px;overflow:auto}.payment-form{border-top:1px solid var(--line);padding-top:20px;margin-top:20px}.payment-form h3{margin-bottom:12px}.attach-label{border:2px dashed #9aa98e;border-radius:14px;padding:13px;background:var(--card)}.toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);background:var(--ink);color:var(--lime);padding:13px 23px;border-radius:14px;font-weight:600;max-width:calc(100% - 32px);z-index:20;box-shadow:0 4px 16px #0002}.login-shell{min-height:100dvh;display:grid;place-items:center;padding:24px}.login-card{width:min(420px,100%);background:var(--card)}.login-card h1{margin-bottom:20px}.login-card>p{margin-bottom:24px}.login-card button{width:100%;margin-top:8px}.skip{position:fixed;left:15px;top:-90px;background:var(--lime);z-index:30;padding:12px;border-radius:12px}.skip:focus{top:15px}[hidden]{display:none!important}.skeleton{min-height:147px;opacity:.5;background:linear-gradient(90deg,transparent,#dfe8d8,transparent);animation:loading 1.4s infinite}@keyframes loading{50%{opacity:1}}.roll-number{display:inline-block;animation:roll .8s cubic-bezier(.2,.9,.2,1)}@keyframes roll{from{transform:translateY(10px);opacity:.4}to{transform:none;opacity:1}}
@media(min-width:850px){.ledger-list .document-row{grid-template-columns:minmax(0,1fr) 230px}.ledger-list .document-row .side{flex-direction:row;justify-content:flex-end;align-items:center;gap:22px}}
@media(max-width:700px){.topbar{padding:20px 20px 15px}.top-actions{gap:12px}.top-actions>span{display:none}.tabs{padding:0 8px 3px;gap:0;justify-content:space-around}.tabs button{flex:1;padding:13px 9px}.tabs button.active:after{left:18px;right:18px}main{padding:22px 20px 34px}.scope{display:block;margin-bottom:26px}.scope-controls{margin-top:12px;gap:10px;flex-wrap:wrap}.scope-controls label{gap:5px}.scope-controls label>input{max-width:135px}.scope-controls select{max-width:115px}.scope-controls button{font-size:12px}.hero{display:block;margin-bottom:24px}.hero h1{font-size:40px}.hero>.primary{margin:24px 0 0;width:100%}.hero .actions{max-width:none;margin-top:22px}.hero .actions button{flex:1;font-size:13px}.today-grid,.two-columns{grid-template-columns:1fr;gap:16px}.card{padding:22px}.equation-row b{font-size:19px}.equation-row.result b{font-size:27px}.action-card>p{margin-top:10px}.batch-summary{gap:7px 18px;margin-top:20px;font-size:11px}.section-heading h2{font-size:17px}.section-heading>.text-button{font-size:12px}.document-row{padding:16px;gap:12px}.document-row h3{font-size:14px}.document-row .amount{font-size:16px}.document-row .side{max-width:138px}.document-row .badge{font-size:10px}.report-summary{grid-template-columns:1fr;gap:10px}.metric{padding:18px 22px;display:grid;grid-template-columns:1fr auto;align-items:center}.metric b{margin:0;font-size:27px}.metric small{grid-column:1/-1;margin-top:4px}.daily-chart{gap:3px}.day-column{font-size:8px}.day-column:nth-child(even) span{visibility:hidden}.app-footer{padding:0 20px 25px}.ledger-tools{display:grid;grid-template-columns:1fr;padding:18px}.ledger-tools label{width:100%}.ledger-tools button{width:100%;margin:4px 0}.detail-grid{grid-template-columns:1fr}.original-pane{position:static}.original-pane img{max-height:45vh}.detail-header{padding:16px 20px}.detail-header h2{font-size:17px}#detail-body{padding:20px}dialog{width:calc(100% - 16px);max-height:95dvh;border-radius:24px}.form-grid{gap:0 10px}.form-grid input{min-width:0}.answer-card{padding:22px}.quick-asks{gap:8px}.quick-asks button{font-size:12px;padding:8px 11px}.actions button{font-size:14px}.item-row .form-grid{grid-template-columns:1fr 1fr}.scope-controls label{margin:0}.hero .eyebrow{font-size:11px}.payment-summary{gap:15px 24px}}
.ledger-options{display:flex;flex-wrap:wrap;gap:8px 25px;margin:16px 0}.ledger-options label{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:500;margin:0}.ledger-options input{width:18px;height:18px;min-height:18px;margin:0;accent-color:var(--ink)}.support-button{display:block;font-size:12px;margin:12px 0;box-shadow:none;border-width:1px;max-width:100%;overflow-wrap:anywhere}.audit-row{padding:10px 0;border-bottom:1px solid var(--line);font-size:12px}.audit-row span{display:block;color:var(--muted)}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
.daily-chart.no-data{display:block;min-height:0;padding-top:0}
.reading-service{border:1px solid var(--line);border-radius:16px;padding:14px 18px;margin-bottom:20px;background:var(--card);font-size:13px;overflow-wrap:anywhere}.reading-service strong{font-size:13px}.reading-service p{margin:7px 0 0;line-height:1.7}.reading-service.offline{border-color:#c9af75;background:#faf0d9;color:#634b12}
.currency-review-body{padding:24px;max-width:820px;margin:auto}.check-label{display:flex;align-items:flex-start;gap:10px;font-size:13px;font-weight:500}.check-label>input{display:inline-block;width:18px;height:18px;min-height:18px;flex:none;margin:3px 0 0;accent-color:var(--ink)}.currency-selection-actions{display:flex;gap:22px;margin:14px 0}.currency-sample{border:1px solid var(--line);border-radius:16px;overflow:hidden;margin:12px 0 20px}.currency-candidate{padding:15px 18px;background:var(--card);border-bottom:1px solid var(--line);min-width:0}.currency-candidate:last-child{border:0}.currency-candidate .check-label{margin:0}.currency-candidate .check-label>span{flex:1;min-width:0;overflow-wrap:anywhere}.currency-candidate strong{font-size:18px;text-align:right;white-space:nowrap}.currency-candidate small{display:block;font-size:11px;color:var(--muted);font-weight:400;margin-top:3px}.currency-candidate-source{display:flex;justify-content:space-between;gap:15px;margin-top:8px;padding-left:28px;font-size:10px;color:var(--muted);overflow-wrap:anywhere}.currency-candidate-source>span{min-width:0}.currency-candidate-source>a{flex:none;font-size:12px;font-weight:700}.ledger-currency-action{display:flex;align-items:center;flex-wrap:wrap;gap:16px;margin:20px 0}.ledger-currency-action button{font-size:13px}.currency-review-body form{border-top:1px solid var(--line);padding-top:24px;margin-top:20px}.currency-review-body form .check-label{margin:20px 0 12px}.currency-review-body .section-heading{margin-top:24px}.currency-review-body .section-heading h3{font-size:21px}
@media(max-width:700px){.currency-review-body{padding:20px}.currency-candidate{padding:13px 12px}.currency-candidate strong{font-size:15px}.currency-candidate .check-label>span{font-size:12px}.currency-candidate-source{flex-wrap:wrap;gap:6px}.currency-review-body .section-heading h3{font-size:17px}.currency-review-body form .actions button{width:100%}}
