:root{--bg:#f4f2ec;--ink:#22312d;--muted:#74827d;--green:#2d6956;--mint:#dfede7;--gold:#efbd55;--line:#dfe4df}

*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif}button,input,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}.app-shell{min-height:100vh;display:grid;grid-template-columns:258px 1fr}.sidebar{position:sticky;top:0;height:100vh;background:#203a34;color:#fff;padding:28px 20px;display:flex;flex-direction:column}.brand{display:flex;gap:12px;align-items:center;margin:0 8px 36px}.brand-mark{width:42px;height:42px;border-radius:13px;background:var(--gold);color:#203a34;display:grid;place-items:center;font-size:23px;font-weight:800}.brand strong,.brand small{display:block}.brand strong{font-size:17px}.brand small{opacity:.62;margin-top:4px}.sidebar nav{display:grid;gap:8px}.nav-item{width:100%;border:0;background:transparent;color:#fff;border-radius:14px;display:flex;gap:13px;align-items:center;text-align:left;padding:13px}.nav-item>span{width:30px;height:30px;border-radius:9px;background:#ffffff12;display:grid;place-items:center}.nav-item div{font-weight:700}.nav-item small{display:block;font-weight:400;opacity:.57;margin-top:3px}.nav-item.active{background:#ffffff14}.nav-item.active>span{background:var(--gold);color:#203a34}.privacy-card{margin-top:auto;background:#ffffff0d;border:1px solid #ffffff17;border-radius:16px;padding:16px}.privacy-card span{color:var(--gold);font-size:21px}.privacy-card strong,.privacy-card small{display:block;margin-top:8px}.privacy-card small{opacity:.58;line-height:1.55}.workspace{min-width:0;padding:42px 5vw 70px;max-width:1320px;width:100%;margin:auto}.eyebrow{color:var(--green);text-transform:uppercase;letter-spacing:.14em;font-size:12px;font-weight:800}.welcome{max-width:900px;margin:4vh auto 0}.welcome h1{font-family:Georgia,"Songti SC",serif;font-size:clamp(44px,5.5vw,74px);line-height:1.08;letter-spacing:-.04em;margin:18px 0}.welcome h1 em{color:var(--green);font-style:normal}.welcome>p{font-size:18px;line-height:1.8;color:var(--muted);max-width:700px}.drop-zone{margin-top:34px;border:2px dashed #b7ccc5;background:#fff;border-radius:24px;min-height:220px;display:flex;flex-direction:column;align-items:center;justify-content:center;transition:.2s;box-shadow:0 16px 45px #23453a0a}.drop-zone:hover,.drop-zone.dragging{border-color:var(--green);transform:translateY(-2px);box-shadow:0 20px 55px #23453a14}.drop-zone input{display:none}.drop-icon{width:54px;height:54px;border-radius:17px;background:var(--mint);color:var(--green);display:grid;place-items:center;font-size:27px;margin-bottom:14px}.drop-zone strong{font-size:20px}.drop-zone span,.drop-zone small{color:var(--muted);margin-top:7px}.drop-zone small{font-size:12px}.feature-row{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:22px}.feature-row>div{background:#fff;border-radius:17px;padding:18px 20px;border:1px solid var(--line)}.feature-row span{font-family:Georgia;color:var(--gold);font-weight:800;margin-right:10px}.feature-row strong{font-size:14px}.feature-row small{display:block;color:var(--muted);margin:7px 0 0 29px}.loader{width:44px;height:44px;border:4px solid var(--mint);border-top-color:var(--green);border-radius:50%;animation:spin .8s linear infinite;margin-bottom:16px}@keyframes spin{to{transform:rotate(360deg)}}.topbar{display:flex;align-items:end;justify-content:space-between;margin-bottom:22px}.topbar h2{font-family:Georgia,"Songti SC",serif;font-size:37px;margin:7px 0 0}.score{background:#fff;border:1px solid var(--line);border-radius:16px;padding:11px 17px;display:grid;grid-template-columns:auto auto;gap:0 8px}.score span{color:var(--gold);grid-row:1/3;font-size:24px;align-self:center}.score strong{font-size:19px}.score small{color:var(--muted)}.progress-panel{background:#fff;border:1px solid var(--line);border-radius:18px;padding:16px 19px;display:grid;grid-template-columns:auto 1fr auto;gap:18px;align-items:center;margin-bottom:20px}.progress-copy strong{font-size:24px}.progress-copy span{display:block;color:var(--muted);font-size:12px;margin-top:2px}.progress-track{height:9px;background:#edf0eb;border-radius:99px;overflow:hidden}.progress-track i{display:block;height:100%;background:linear-gradient(90deg,var(--green),#79c9ae);border-radius:inherit;transition:.45s}.streak{background:#f7f1e5;color:#8f6b27;border-radius:99px;padding:8px 12px;font-size:12px;font-weight:700}.streak.hot{animation:pulse 1.3s infinite}@keyframes pulse{50%{transform:scale(1.04)}}.review-card{background:#fff;border:1px solid var(--line);border-radius:26px;padding:0 30px 28px;box-shadow:0 20px 65px #1a3d320b;overflow:hidden}.card-ribbon{height:54px;margin:0 -30px;padding:0 30px;background:#f8f9f6;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:12px;color:var(--muted);font-size:12px}.card-ribbon span:first-child{background:#e4f0eb;color:var(--green);border-radius:99px;padding:5px 9px;font-weight:700}.text-button{margin-left:auto;border:0;background:transparent;color:var(--green);font-weight:700}.merchant{display:grid;grid-template-columns:58px 1fr auto;gap:16px;align-items:center;padding:29px 0 23px}.merchant-avatar{width:58px;height:58px;border-radius:18px;background:var(--mint);color:var(--green);display:grid;place-items:center;font-family:Georgia;font-size:25px}.merchant small{color:var(--muted)}.merchant h3{font-size:25px;margin:4px 0}.merchant p{margin:0;color:var(--muted);max-width:650px}.amount{font-family:Georgia;font-size:32px}.reason{display:flex;gap:12px;background:#faf6ec;border:1px solid #eee2c7;border-radius:15px;padding:14px 16px;margin-bottom:20px}.reason>span{width:28px;height:28px;border-radius:50%;background:var(--gold);display:grid;place-items:center;font-weight:800}.reason strong{font-size:13px}.reason p{margin:4px 0 0;color:#7f6a42;font-size:13px}.decision-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.decision-grid label>span{display:block;font-size:13px;font-weight:700;margin:0 0 8px 3px}.decision-grid select{width:100%;height:52px;border:1px solid #ccd6d1;background:#fff;border-radius:13px;padding:0 14px;color:var(--ink)}.decision-grid select:focus{outline:3px solid #70ad9822;border-color:var(--green)}.remember{display:flex;gap:10px;align-items:flex-start;margin:18px 3px}.remember input{accent-color:var(--green);width:17px;height:17px}.remember strong,.remember small{display:block}.remember small{color:var(--muted);margin-top:3px}.card-actions{display:flex;gap:10px;align-items:center;border-top:1px solid var(--line);padding-top:22px;margin-top:17px}.card-actions .primary{margin-left:auto}.primary,.secondary,.ghost{border-radius:12px;min-height:46px;padding:0 18px;border:0;font-weight:750}.primary{background:var(--green);color:white;box-shadow:0 8px 24px #2d69562e}.primary:hover{background:#255e4d;transform:translateY(-1px)}.secondary{background:#e9f1ee;color:var(--green)}.ghost{background:transparent;color:var(--muted)}kbd{font:10px monospace;background:#ffffff24;border:1px solid #ffffff38;border-radius:5px;padding:3px 5px;margin-left:8px}.session-overview{display:flex;gap:10px;align-items:center;margin-top:16px;color:var(--muted);font-size:12px}.filter-chip{border:1px solid var(--line);background:#fff;border-radius:99px;padding:7px 11px;color:var(--muted)}.filter-chip.active{background:var(--green);color:#fff}.session-overview span{padding:0 6px}.empty-state{text-align:center;background:#fff;border:1px solid var(--line);border-radius:26px;padding:60px 20px}.trophy{width:78px;height:78px;border-radius:25px;background:#f8edca;color:#b88322;display:grid;place-items:center;margin:auto;font-size:40px}.empty-state h3{font:32px Georgia;margin:20px 0 8px}.empty-state p{color:var(--muted);margin-bottom:22px}.refund-help{background:#fff0ec;border:1px solid #f4d2ca;border-radius:14px;padding:15px 17px;color:#8e4638}.refund-help p{margin:5px 0 0;line-height:1.55}.export-hero{display:flex;gap:23px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:22px;padding:24px}.export-ring{width:92px;height:92px;border-radius:50%;background:conic-gradient(var(--green) var(--p),#e7ece9 0);display:grid;place-items:center;position:relative}.export-ring:before{content:"";position:absolute;inset:9px;border-radius:50%;background:#fff}.export-ring span{position:relative;font:700 18px Georgia}.export-hero h3{font-size:23px;margin:0 0 6px}.export-hero p{color:var(--muted);margin:0}.summary-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:13px;margin:17px 0}.summary-grid>div{background:#fff;border:1px solid var(--line);border-radius:16px;padding:18px}.summary-grid small,.summary-grid strong{display:block}.summary-grid small{color:var(--muted)}.summary-grid strong{font:24px Georgia;margin-top:8px}.batch-list{background:#fff;border:1px solid var(--line);border-radius:20px;padding:22px}.batch-list h3{margin-top:0}.batch-list>div{display:grid;grid-template-columns:38px 1fr auto;gap:3px 11px;align-items:center;padding:12px 0;border-top:1px solid var(--line)}.file-badge{grid-row:1/3;width:38px;height:38px;border-radius:11px;background:var(--mint);color:var(--green);display:grid;place-items:center;font-weight:800}.batch-list small{color:var(--muted)}.batch-list em{grid-column:2/4;color:#a16b2e;font-size:12px;font-style:normal}.export-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}dialog{border:0;border-radius:20px;padding:0;width:min(640px,90vw);box-shadow:0 25px 100px #0004}dialog::backdrop{background:#19352e88}.dialog-head{display:flex;justify-content:space-between;align-items:center;padding:18px 22px;border-bottom:1px solid var(--line)}.dialog-head h3{margin:0}.dialog-head button{border:0;background:transparent;font-size:26px}dialog dl{display:grid;grid-template-columns:150px 1fr;max-height:65vh;overflow:auto;margin:0;padding:20px 24px}dialog dt,dialog dd{padding:8px 0;border-bottom:1px solid var(--line);margin:0}dialog dt{color:var(--muted)}.toast{position:fixed;left:50%;bottom:28px;transform:translateX(-50%);background:#203a34;color:white;padding:13px 20px;border-radius:13px;box-shadow:0 10px 35px #0003;z-index:20;animation:toast-in .25s}.toast.error{background:#a4483a}.toast.success{background:#2d6956}@keyframes toast-in{from{opacity:0;transform:translate(-50%,12px)}}.confetti{position:fixed;z-index:30;left:74%;top:55%;width:8px;height:8px;border-radius:2px;animation:confetti .85s ease-out forwards}@keyframes confetti{to{transform:translate(var(--x),var(--y)) rotate(280deg);opacity:0}}
@media(max-width:850px){.app-shell{display:block}.sidebar{position:static;height:auto;padding:16px}.brand{margin:0 0 14px}.sidebar nav{grid-template-columns:repeat(3,1fr)}.nav-item{justify-content:center;padding:10px}.nav-item div small,.privacy-card{display:none}.workspace{padding:28px 18px}.feature-row,.summary-grid{grid-template-columns:1fr 1fr}.decision-grid{grid-template-columns:1fr}.progress-panel{grid-template-columns:1fr}.streak{justify-self:start}.merchant{grid-template-columns:50px 1fr}.merchant-avatar{width:50px;height:50px}.amount{grid-column:2}.card-actions{flex-wrap:wrap}.card-actions .primary{width:100%;order:-1}.welcome h1{font-size:42px}.topbar h2{font-size:30px}}
@media(max-width:520px){.feature-row,.summary-grid{grid-template-columns:1fr}.sidebar nav{overflow:auto}.nav-item{min-width:105px}.workspace{padding:22px 12px}.review-card{padding:0 18px 20px}.card-ribbon{margin:0 -18px;padding:0 18px}.merchant h3{font-size:20px}.merchant p{font-size:13px}.session-overview{overflow:auto}.batch-list>div{grid-template-columns:38px 1fr}.batch-list small,.batch-list em{grid-column:2}.card-actions .secondary,.card-actions .ghost{flex:1}}

.sidebar-tools{display:grid;gap:7px;margin-top:auto;margin-bottom:12px}.mode-toggle{border:0;background:transparent;color:#fff;border-radius:12px;display:flex;gap:11px;align-items:center;text-align:left;padding:10px;width:100%}.mode-toggle:hover{background:#ffffff0d}.mode-toggle>span{width:28px;height:28px;border:1px solid #ffffff20;border-radius:8px;display:grid;place-items:center}.mode-toggle strong,.mode-toggle small{display:block}.mode-toggle strong{font-size:13px}.mode-toggle small{font-size:11px;opacity:.55;margin-top:3px}.privacy-card{margin-top:0}.danger{border:1px solid #d7a49c;background:#fff;color:#a4483a;border-radius:12px;min-height:46px;padding:0 18px;font-weight:750}.file-action{display:inline-flex;align-items:center;justify-content:center}.file-action input{display:none}.rules-dialog{width:min(720px,92vw);padding-bottom:18px}.rules-dialog .dialog-head{align-items:flex-start}.rules-dialog .dialog-head p{margin:7px 25px 0 0;color:var(--muted);font-size:12px;line-height:1.6;max-width:570px}.rules-summary{display:flex;align-items:baseline;gap:8px;padding:18px 22px 3px}.rules-summary strong{font-size:29px}.rules-summary span{color:var(--muted)}.rules-dialog section{padding:0 22px}.rules-dialog h4{margin:16px 0 8px}.rules-dialog ul{list-style:none;margin:0;padding:0;border:1px solid var(--line);border-radius:12px;max-height:150px;overflow:auto}.rules-dialog li{display:grid;grid-template-columns:minmax(120px,1fr) 2fr;gap:10px;padding:10px 12px;border-top:1px solid var(--line);font-size:12px}.rules-dialog li:first-child{border-top:0}.rules-dialog li span{color:var(--muted)}.rules-dialog .empty-rule{display:block;color:var(--muted)}.rules-actions{display:flex;gap:9px;justify-content:flex-end;padding:20px 22px 0}

body.stealth{--bg:#f1f3f5;--ink:#202a33;--muted:#65717c;--line:#d7dde2;--green:#334e68;--mint:#e7edf2;--gold:#607d8b;background:#f1f3f5;color:#202a33;font-size:14px}body.stealth *{animation:none!important;transition:none!important}body.stealth .app-shell{grid-template-columns:238px 1fr}body.stealth .sidebar{background:#26323c;padding:22px 16px}body.stealth .brand{margin:0 7px 28px}body.stealth .brand-mark{border-radius:4px;background:#d7dde2;color:#26323c;font-size:18px}body.stealth .nav-item,body.stealth .mode-toggle{border-radius:4px}body.stealth .nav-item.active{background:#374754}body.stealth .nav-item.active>span{background:#d7dde2;color:#26323c}body.stealth .nav-item>span,body.stealth .mode-toggle>span{border-radius:3px}body.stealth .privacy-card{border-radius:4px;background:#202a33}body.stealth .privacy-card span{color:#a8b5bf}body.stealth .workspace{padding:32px 4vw 55px;max-width:1280px}body.stealth .welcome{margin:2vh auto 0;max-width:960px}body.stealth .eyebrow{color:#556b7d;letter-spacing:.08em;font-size:11px}body.stealth .welcome h1{font-family:inherit;font-size:clamp(30px,3.2vw,42px);line-height:1.25;letter-spacing:0;margin:14px 0}body.stealth .welcome>p{font-size:14px;line-height:1.7;max-width:780px}body.stealth .drop-zone{min-height:170px;margin-top:24px;border:1px solid #c8d0d7;border-radius:5px;box-shadow:none}body.stealth .drop-zone:hover,body.stealth .drop-zone.dragging{border-color:#607d8b;transform:none;box-shadow:none}body.stealth .drop-icon{width:44px;height:44px;border-radius:4px;background:#e7edf2;color:#334e68;font-size:21px}body.stealth .drop-zone strong{font-size:15px}body.stealth .feature-row>div,body.stealth .score,body.stealth .progress-panel,body.stealth .review-card,body.stealth .empty-state,body.stealth .export-hero,body.stealth .summary-grid>div,body.stealth .batch-list{border-radius:5px;box-shadow:none}body.stealth .feature-row>div{padding:15px 17px}body.stealth .feature-row span{font-family:inherit;color:#607d8b}body.stealth .topbar{margin-bottom:16px}body.stealth .topbar h2{font-family:inherit;font-size:26px;font-weight:650;margin-top:5px}body.stealth .score{padding:9px 14px}body.stealth .score span{color:#607d8b;font-size:19px}body.stealth .progress-panel{padding:13px 16px;margin-bottom:15px}body.stealth .progress-copy strong{font-size:19px}body.stealth .progress-track{height:6px}body.stealth .progress-track i{background:#607d8b}body.stealth .streak,body.stealth .streak.hot{background:#e7ebee;color:#596873;border-radius:3px}body.stealth .review-card{padding:0 23px 23px}body.stealth .card-ribbon{height:45px;margin:0 -23px;padding:0 23px;background:#f5f6f7}body.stealth .card-ribbon span:first-child,body.stealth .filter-chip,body.stealth .filter-chip.active{border-radius:3px}body.stealth .merchant{grid-template-columns:46px 1fr auto;padding:22px 0 18px}body.stealth .merchant-avatar{width:46px;height:46px;border-radius:4px;font-family:inherit;font-size:18px}body.stealth .merchant h3{font-size:19px}body.stealth .amount{font-family:inherit;font-size:24px}body.stealth .reason{border-radius:4px;background:#f4f5f6;border-color:#d7dde2}body.stealth .reason>span{border-radius:3px;background:#d7dde2;color:#3f4e59}body.stealth .reason p{color:#65717c}body.stealth .decision-grid select,body.stealth .primary,body.stealth .secondary,body.stealth .ghost,body.stealth .danger{border-radius:4px}body.stealth .primary{background:#334e68;box-shadow:none}body.stealth .secondary{background:#e5eaee;color:#334e68}body.stealth .trophy{border-radius:4px;background:#e7edf2;color:#607d8b}body.stealth .empty-state h3,body.stealth .summary-grid strong,body.stealth .export-ring span{font-family:inherit}body.stealth dialog,body.stealth .toast{border-radius:5px}body.stealth .confetti{display:none}

@media(max-width:850px){.sidebar-tools{grid-template-columns:1fr 1fr;margin:12px 0 0}.mode-toggle{justify-content:center}.mode-toggle small{display:none}body.stealth .app-shell{display:block}body.stealth .sidebar{height:auto}.rules-actions{flex-wrap:wrap}.rules-dialog li{grid-template-columns:1fr}}

.setup-notice{margin:24px 0 0;background:#fff7e6;border:1px solid #eed9a9;border-radius:15px;padding:15px 18px;display:flex;justify-content:space-between;gap:18px;align-items:center}.setup-notice strong,.setup-notice p{display:block;margin:0}.setup-notice p{color:#7d6945;font-size:13px;margin-top:5px}.source-fact{display:grid;grid-template-columns:160px 1fr;gap:3px 14px;background:#f5f7f6;border:1px solid var(--line);border-radius:13px;padding:13px 15px;margin-bottom:17px}.source-fact>span{grid-row:1/3;color:var(--muted);font-size:12px;align-self:center}.source-fact strong{font-size:14px}.source-fact small{color:var(--muted)}.raw-payment{padding-left:12px;border-left:1px solid var(--line)}

.assets-dialog{width:min(1040px,94vw);max-height:90vh;overflow:auto}.assets-dialog .dialog-head{position:sticky;top:0;background:#fff;z-index:3}.assets-dialog .dialog-head p{margin:7px 28px 0 0;color:var(--muted);font-size:12px;line-height:1.55}.asset-guide{display:grid;grid-template-columns:30px 1fr 30px 1fr;gap:10px;align-items:center;padding:16px 22px;background:#f5f8f7;border-bottom:1px solid var(--line)}.asset-guide>span{width:28px;height:28px;border-radius:50%;background:var(--green);color:#fff;display:grid;place-items:center;font-weight:800}.asset-guide p,.asset-guide strong,.asset-guide small{margin:0;display:block}.asset-guide small{color:var(--muted);margin-top:3px}.asset-section{margin:18px 22px 0;border:1px solid var(--line);border-radius:14px;background:#fff;overflow:hidden}.section-title{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;background:#fafbfa;border-bottom:1px solid var(--line)}.section-title h4{margin:0}.section-title small{display:block;color:var(--muted);margin-top:4px}.asset-editor-list,.mapping-list{display:grid}.asset-editor-row{display:grid;grid-template-columns:54px minmax(190px,1fr) 125px auto auto auto;gap:10px;align-items:end;padding:12px 14px;border-top:1px solid var(--line)}.asset-editor-row:first-child{border-top:0}.asset-editor-row label>span{display:block;color:var(--muted);font-size:11px;margin-bottom:5px}.asset-editor-row input[type=text],.asset-editor-row input:not([type]),.asset-editor-row select{width:100%;height:40px;border:1px solid #ccd6d1;border-radius:9px;background:#fff;padding:0 11px}.asset-order{display:flex;gap:3px}.asset-order button{border:1px solid var(--line);background:#fff;width:25px;height:40px;color:var(--muted)}.mini-check{height:40px;display:flex;align-items:center;gap:5px;font-size:12px;white-space:nowrap}.mini-check input{accent-color:var(--green)}.asset-empty{padding:24px;text-align:center;color:var(--muted)}.mapping-row{display:grid;grid-template-columns:1fr 28px 1fr;gap:12px;align-items:center;padding:12px 16px;border-top:1px solid var(--line)}.mapping-row:first-child{border-top:0}.mapping-row>span{display:grid;grid-template-columns:auto 1fr;gap:3px 8px}.mapping-row em{grid-row:1/3;font-style:normal;background:var(--mint);color:var(--green);padding:5px 7px;border-radius:7px;font-size:11px;align-self:center}.mapping-row strong{font-size:13px}.mapping-row small{color:var(--muted);font-size:11px}.mapping-row b{text-align:center;color:var(--muted)}.mapping-row select,.compact-setting select{width:100%;height:42px;border:1px solid #ccd6d1;border-radius:9px;background:#fff;padding:0 10px}.compact-setting{padding:15px 16px}.compact-setting label{display:grid;grid-template-columns:1fr minmax(240px,40%);gap:18px;align-items:center}.compact-setting strong,.compact-setting small{display:block}.compact-setting small{color:var(--muted);margin-top:4px}.assets-dialog>.rules-actions{position:sticky;bottom:0;background:#fff;border-top:1px solid var(--line);padding:14px 22px;margin-top:18px;z-index:3}

body.stealth .setup-notice,body.stealth .source-fact,body.stealth .asset-section{border-radius:4px}body.stealth .setup-notice{background:#eceff1;border-color:#cfd6dc}body.stealth .setup-notice p{color:#65717c}body.stealth .asset-guide>span{border-radius:3px;background:#607d8b}body.stealth .mapping-row em{border-radius:3px;background:#e7edf2;color:#334e68}body.stealth .asset-editor-row input,body.stealth .mapping-row select,body.stealth .compact-setting select{border-radius:3px}

@media(max-width:760px){.setup-notice{align-items:flex-start;flex-direction:column}.asset-guide{grid-template-columns:30px 1fr}.asset-editor-row{grid-template-columns:45px 1fr}.asset-editor-row .mini-check{grid-column:auto}.mapping-row{grid-template-columns:1fr}.mapping-row>b{transform:rotate(90deg)}.compact-setting label{grid-template-columns:1fr}.raw-payment{display:none}.source-fact{grid-template-columns:1fr}.source-fact>span{grid-row:auto}}

.review-head-actions{display:flex;gap:12px;align-items:center}.view-switch{display:flex;border:1px solid var(--line);background:#fff;border-radius:11px;padding:3px}.view-switch button{border:0;background:transparent;color:var(--muted);border-radius:8px;padding:8px 12px}.view-switch button.active{background:var(--green);color:#fff}.table-topbar{align-items:center}.table-summary{display:grid;grid-template-columns:repeat(4,minmax(90px,1fr));gap:10px;margin-bottom:12px}.table-summary>div{background:#fff;border:1px solid var(--line);border-radius:13px;padding:13px 15px}.table-summary strong,.table-summary span{display:block}.table-summary strong{font-size:21px}.table-summary span{color:var(--muted);font-size:11px;margin-top:3px}.manual-mode-note{display:flex;gap:9px;align-items:center;background:#fff5df;border:1px solid #ecd49d;color:#765a24;border-radius:12px;padding:11px 14px;margin-bottom:12px;font-size:12px}.manual-mode-note strong{white-space:nowrap}.ledger-toolbar{display:flex;justify-content:space-between;gap:14px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:13px;padding:10px 12px;margin-bottom:12px}.table-filters{display:flex;gap:5px;flex-wrap:wrap}.table-filters button{border:0;background:#f2f4f2;color:var(--muted);border-radius:8px;padding:8px 11px}.table-filters button.active{background:var(--green);color:#fff}.ledger-toolbar form{display:flex;gap:6px}.ledger-toolbar input{width:min(330px,34vw);height:39px;border:1px solid #ccd6d1;border-radius:9px;padding:0 11px}.ledger-toolbar button{min-height:39px}.ledger-table-wrap{background:#fff;border:1px solid var(--line);border-radius:14px;overflow:auto}.ledger-table{border-collapse:collapse;width:100%;min-width:1220px;font-size:12px}.ledger-table th{position:sticky;top:0;background:#f4f6f4;color:var(--muted);text-align:left;padding:11px 10px;z-index:1}.ledger-table td{padding:11px 10px;border-top:1px solid var(--line);vertical-align:top;max-width:220px}.ledger-table td>strong,.ledger-table td>small{display:block}.ledger-table td>small{color:var(--muted);margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ledger-table .table-amount{font-weight:800;font-size:14px;white-space:nowrap}.row-excluded{opacity:.72;background:#fafafa}.status-pill{display:inline-block;background:#e9f1ee;color:var(--green);border-radius:99px;padding:4px 7px;font-weight:750}.row-pending .status-pill{background:#fff1dc;color:#95661e}.row-excluded .status-pill{background:#f2e8d0;color:#765a24}.table-edit{border:1px solid var(--line);background:#fff;color:var(--green);border-radius:8px;padding:7px 9px;white-space:nowrap}.table-edit:hover{border-color:var(--green)}.empty-table{text-align:center!important;color:var(--muted);padding:40px!important}.transaction-dialog{width:min(760px,92vw)}.transaction-dialog .dialog-head p{margin:5px 0 0;color:var(--muted);font-size:12px}.transaction-edit-body{padding:20px 22px}.edit-transaction-title{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-bottom:15px}.edit-transaction-title small,.edit-transaction-title strong,.edit-transaction-title p{display:block;margin:0}.edit-transaction-title strong{font-size:20px;margin-top:4px}.edit-transaction-title p{color:var(--muted);margin-top:5px}.edit-transaction-title>b{font-size:25px}.previous-result{border-left:3px solid var(--gold);padding:8px 12px;margin:0 0 17px;color:var(--muted);background:#faf8f2}.previous-result span{font-weight:750;color:var(--ink)}.previous-result p{margin:4px 0 0;font-size:12px}.locked-note{background:#fff0ec;border:1px solid #f4d2ca;border-radius:12px;padding:15px;color:#8e4638}.locked-note p{margin:5px 0 0}.flow-choice,.refund-asset{display:block;margin-bottom:17px}.flow-choice>span,.refund-asset>span{display:block;font-size:13px;font-weight:750;margin:0 0 8px 3px}.flow-choice select,.refund-asset select{width:100%;height:52px;border:1px solid #ccd6d1;background:#fff;border-radius:13px;padding:0 14px}.flow-choice small{display:block;color:var(--muted);margin:6px 3px 0}.refund-task-list{background:#fff8e9;border:1px solid #ead39e;border-radius:18px;padding:20px;margin:17px 0}.refund-task-list h3{margin:0}.refund-task-list>div>p{color:#765a24;line-height:1.6;margin:6px 0 14px}.refund-task-list article{display:grid;grid-template-columns:1fr auto;gap:4px 15px;padding:11px 0;border-top:1px solid #eadfc5}.refund-task-list article small{grid-column:1/3;color:var(--muted)}

body.stealth .view-switch,body.stealth .table-summary>div,body.stealth .ledger-toolbar,body.stealth .ledger-table-wrap,body.stealth .manual-mode-note,body.stealth .refund-task-list{border-radius:4px}body.stealth .view-switch button,body.stealth .table-filters button,body.stealth .table-edit,body.stealth .ledger-toolbar input,body.stealth .flow-choice select,body.stealth .refund-asset select{border-radius:3px}body.stealth .status-pill{border-radius:3px}body.stealth .view-switch button.active,body.stealth .table-filters button.active{background:#334e68}

@media(max-width:900px){.table-summary{grid-template-columns:repeat(2,1fr)}.ledger-toolbar{align-items:stretch;flex-direction:column}.ledger-toolbar input{width:100%}.review-head-actions{align-items:flex-end;flex-direction:column}.score{order:-1}}
@media(max-width:560px){.table-topbar{align-items:flex-start;flex-direction:column}.table-summary{grid-template-columns:1fr 1fr}.ledger-toolbar form{flex-wrap:wrap}.ledger-toolbar form input{flex:1;min-width:180px}.rule-policy{align-items:flex-start;flex-direction:column}.transaction-edit-body{padding:16px}.edit-transaction-title{flex-direction:column}.review-head-actions{width:100%;align-items:stretch}.view-switch{justify-content:space-between}.view-switch button{flex:1}}
