:root{--bg:#f4f6fb;--paper:#fff;--ink:#142034;--sub:#748095;--line:#e7ebf3;--navy:#10192f;--blue:#5178f6;--blueSoft:#eaf0ff;--coral:#ef5f66;--coralSoft:#fff0ef;--red:#cb3450;--amber:#d68a29;--amberSoft:#fff3e4;--mint:#2aa888;--mintSoft:#e5f8f2;font-family:system-ui,-apple-system,"Segoe UI","Microsoft YaHei",sans-serif;color:var(--ink);background:var(--bg)}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:var(--bg)}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.55;cursor:default}input,select,textarea{min-width:0}#app{min-height:100dvh;padding-bottom:70px}.screen{min-height:calc(100dvh - 70px)}
.hero{position:relative;overflow:hidden;padding:19px 22px 26px;color:#fff;background:radial-gradient(circle at 91% 8%,#3d56a5 0,transparent 28%),linear-gradient(139deg,#111a31 4%,#1c2950 65%,#1a2550 100%)}.hero:after{content:"";position:absolute;right:-70px;bottom:-105px;width:270px;height:270px;border:1px solid #ffffff20;border-radius:50%;box-shadow:0 0 0 25px #ffffff07,0 0 0 58px #ffffff05;pointer-events:none}.hero>*{position:relative;z-index:1}.brand-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px}.brand{display:flex;gap:9px;align-items:center;font-size:18px;font-weight:800;letter-spacing:.04em}.brand-mark{display:grid;place-items:center;width:29px;height:29px;border-radius:9px;background:linear-gradient(140deg,#a6b7ff,#6584ff);color:#121b31;font-size:17px}.hero-pill,.icon-button{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:31px;padding:6px 10px;border:0;border-radius:30px;background:#ffffff1d;color:#fff;font-size:11px;font-weight:650}.hero-label{color:#c6d2ed;font-size:13px}.hero-amount{margin:5px 0 0;font-size:clamp(38px,11vw,48px);font-weight:800;letter-spacing:-.045em;line-height:1.1;font-variant-numeric:tabular-nums}.hero-sub{margin-top:10px;color:#d5dff7;font-size:12px}.hero h1{margin:0;font-size:26px;line-height:1.22;letter-spacing:-.03em}.hero .desc{margin:8px 0 0;color:#cbd6ef;font-size:12px;line-height:1.45}.hero-mini-total{display:flex;align-items:baseline;gap:10px;margin-top:15px}.hero-mini-total strong{font-size:30px;font-variant-numeric:tabular-nums}.hero-mini-total span{color:#d4dff3;font-size:12px}.risk-bar{display:flex;gap:3px;height:6px;margin-top:20px;overflow:hidden;border-radius:8px;background:#ffffff20}.risk-bar i{display:block}.risk-bar i:nth-child(1){background:#ff7876}.risk-bar i:nth-child(2){background:#ffc46e}.risk-bar i:nth-child(3){background:#91a8ff}.risk-labels{display:flex;justify-content:space-between;margin-top:8px;color:#d0dbf4;font-size:11px}
.content{padding:16px 18px 25px;max-width:640px;margin:auto}.surface{background:var(--paper);border-radius:17px;box-shadow:0 3px 15px #14203b08}.summary-card{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 16px}.eyebrow{display:block;color:var(--sub);font-size:11px}.summary-card strong{display:block;margin-top:4px;font-size:25px;letter-spacing:-.03em;font-variant-numeric:tabular-nums}.summary-card .right{text-align:right}.summary-card .right b{display:block;color:var(--blue);font-size:12px}.summary-card .right small{display:block;margin-top:4px;color:var(--sub);font-size:11px}.alert{display:flex;align-items:center;gap:11px;margin-top:12px;padding:12px 13px;border:0;border-radius:15px;background:var(--coralSoft);text-align:left;width:100%;color:var(--ink)}.alert.overdue{background:#ffe9ed}.alert-icon{flex:none;display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:var(--coral);color:#fff}.alert.overdue .alert-icon{background:var(--red)}.alert-main{flex:1;min-width:0}.alert-main strong{display:block;color:var(--coral);font-size:13px}.alert.overdue .alert-main strong{color:var(--red)}.alert-main small{display:block;margin-top:3px;font-size:11px;line-height:1.4}.chev{font-size:21px;color:var(--coral)}.section-head{display:flex;justify-content:space-between;align-items:baseline;gap:10px;margin:20px 2px 9px}.section-head strong{font-size:15px}.section-head button,.text-link{border:0;background:none;color:var(--blue);font-size:12px;font-weight:650}.bill-list{overflow:hidden;border-radius:16px;background:var(--paper)}.bill-row{display:flex;align-items:center;gap:10px;width:100%;padding:13px;border:0;border-bottom:1px solid var(--line);background:var(--paper);text-align:left;color:var(--ink)}.bill-row:last-child{border-bottom:0}.bill-date{flex:none;width:45px;text-align:center}.bill-date b{display:block;font-size:18px;line-height:1.1;font-variant-numeric:tabular-nums}.bill-date small{display:block;margin-top:2px;color:var(--sub);font-size:10px}.bill-info{flex:1;min-width:0}.bill-info b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.bill-info small{display:block;margin-top:3px;color:var(--sub);font-size:11px}.bill-end{text-align:right;flex:none}.bill-end b{display:block;font-size:14px;font-variant-numeric:tabular-nums}.bill-end small{display:block;margin-top:3px;font-size:10px;font-weight:700}.overdue-text{color:var(--red)!important}.urgent-text{color:var(--coral)!important}.soon-text{color:var(--amber)!important}.normal-text{color:var(--blue)!important}.paid-text{color:var(--mint)!important}.quick-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:11px}.quick-grid button{display:flex;align-items:center;gap:8px;min-height:45px;padding:10px;border:0;border-radius:14px;background:var(--paper);color:var(--ink);font-size:11px;font-weight:700;text-align:left}.quick-grid svg{color:var(--blue)}.empty{padding:28px 20px;text-align:center}.empty-art{display:grid;place-items:center;width:58px;height:58px;margin:auto auto 14px;border-radius:18px;background:var(--blueSoft);color:var(--blue)}.empty h2{margin:0 0 7px;font-size:18px}.empty p{margin:0 auto 15px;max-width:270px;color:var(--sub);font-size:12px;line-height:1.55}.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 16px;border:0;border-radius:12px;background:var(--blue);color:#fff;font-size:13px;font-weight:750;text-align:center}.primary.full,.secondary.full{width:100%}.secondary{background:var(--paper);color:var(--ink);border:1px solid var(--line)}.danger{background:var(--coral)}.disabled-note{font-size:11px;color:var(--sub);line-height:1.5}
.bottom-nav{position:fixed;z-index:20;left:0;right:0;bottom:0;display:grid;grid-template-columns:repeat(4,1fr);height:70px;padding:7px 8px calc(7px + env(safe-area-inset-bottom));background:var(--paper);border-top:1px solid var(--line)}.nav-btn{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border:0;background:transparent;color:var(--sub);font-size:11px}.nav-btn.active{color:var(--blue);font-weight:750}.nav-btn.active.ai{color:var(--mint)}.nav-btn svg{width:20px;height:20px;stroke-width:1.8}.icon{display:inline-flex;width:18px;height:18px;vertical-align:middle}.icon svg{width:100%;height:100%;stroke:currentColor;fill:none;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}
.week{display:grid;grid-template-columns:repeat(7,1fr);gap:2px;padding:13px 7px}.weekday{display:flex;flex-direction:column;align-items:center;gap:7px;font-size:10px;color:var(--sub)}.weekday b{display:grid;place-items:center;width:30px;height:30px;border-radius:10px;color:var(--ink);font-size:12px}.weekday.hot b{background:var(--coral);color:#fff}.weekday .dot{width:4px;height:4px;border-radius:50%;background:transparent}.weekday.hot .dot{background:var(--coral)}.group-title{display:flex;justify-content:space-between;align-items:center;margin:20px 2px 8px}.group-title b{font-size:13px}.group-title small{color:var(--sub);font-size:11px}.schedule-row{display:flex;gap:10px;align-items:center;width:100%;margin-bottom:8px;padding:12px;background:var(--paper);border:0;border-radius:14px;text-align:left;color:var(--ink)}.schedule-row .stripe{align-self:stretch;width:3px;border-radius:4px;background:var(--blue)}.schedule-row.overdue .stripe{background:var(--red)}.schedule-row.urgent .stripe{background:var(--coral)}.schedule-row.soon .stripe{background:var(--amber)}.schedule-row .main{flex:1}.schedule-row .main b,.schedule-row .end b{display:block;font-size:13px}.schedule-row small{display:block;margin-top:4px;color:var(--sub);font-size:11px}.schedule-row .end{text-align:right}.schedule-row .end small{font-weight:700}.month-switch{display:flex;align-items:center;gap:8px}.month-switch button{border:0;background:#ffffff1d;color:#fff;border-radius:8px;padding:4px 8px;font-size:15px}.legend{display:flex;flex-wrap:wrap;gap:10px;color:var(--sub);font-size:11px;margin-top:12px}.legend span{display:inline-flex;align-items:center;gap:4px}.legend i{width:6px;height:6px;border-radius:50%}
.import-art{position:relative;overflow:hidden;padding:19px;border-radius:19px;background:linear-gradient(135deg,#4569ed,#795bdb);color:#fff}.import-art:after{content:"";position:absolute;right:-45px;top:-45px;width:160px;height:160px;border:1px solid #ffffff42;border-radius:35px;transform:rotate(28deg);box-shadow:0 0 0 25px #ffffff0a,0 0 0 52px #ffffff07}.import-art>*{position:relative;z-index:1}.import-art .round-icon{display:grid;place-items:center;width:42px;height:42px;margin-bottom:22px;border-radius:13px;background:#ffffff35}.import-art strong{display:block;font-size:20px}.import-art p{margin:7px 0 0;max-width:260px;color:#ece9ff;font-size:12px;line-height:1.5}.pick-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:12px}.pick-grid label,.pick-grid button{display:flex;align-items:center;justify-content:center;gap:7px;min-height:48px;border:0;border-radius:14px;background:var(--paper);font-size:12px;font-weight:700}.pick-grid input{display:none}.file-item{display:flex;align-items:center;gap:10px;padding:11px;background:var(--paper);border-radius:14px;margin-bottom:7px}.file-thumb{display:grid;place-items:center;flex:none;width:45px;height:55px;border-radius:8px;background:var(--blueSoft);color:var(--blue)}.file-item .text{flex:1;min-width:0}.file-item b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.file-item small{display:block;margin-top:4px;color:var(--sub);font-size:10px}.file-item .remove{border:0;background:none;color:var(--coral);font-size:18px}.steps{display:grid;gap:10px;margin:12px 0 17px}.steps div{display:flex;align-items:center;gap:9px;color:var(--sub);font-size:12px}.steps b{display:grid;place-items:center;flex:none;width:22px;height:22px;border-radius:7px;background:var(--blueSoft);color:var(--blue);font-size:11px}.busy{display:flex;align-items:center;justify-content:center;gap:8px;margin:12px 0;color:var(--blue);font-size:12px}.spinner{width:16px;height:16px;border:2px solid #b9c8ff;border-top-color:var(--blue);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
.source-card{display:flex;gap:10px;padding:11px;border-radius:15px;background:var(--paper)}.source-card img{width:88px;height:108px;object-fit:cover;object-position:top;border-radius:7px;background:#eef1f7}.source-card .text{flex:1}.source-card b{display:block;font-size:13px}.source-card small{display:block;margin-top:6px;color:var(--sub);font-size:11px;line-height:1.5}.source-card button{margin-top:10px;padding:0;border:0;background:none;color:var(--blue);font-size:11px;font-weight:700}.notice{display:flex;gap:7px;margin-top:10px;padding:10px;border-radius:11px;background:var(--amberSoft);color:var(--amber);font-size:11px;line-height:1.45}.form-card{padding:12px;background:var(--paper);border-radius:15px}.field{display:block;margin-bottom:12px}.field:last-child{margin-bottom:0}.field span{display:block;margin-bottom:5px;color:var(--sub);font-size:11px}.field input,.field select,.field textarea{width:100%;min-height:40px;padding:9px 11px;border:1px solid var(--line);border-radius:10px;outline:none;background:var(--paper);color:var(--ink);font-size:14px}.field textarea{resize:vertical;min-height:75px}.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--blue);box-shadow:0 0 0 2px #5178f623}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.bill-form-row{display:grid;grid-template-columns:1.1fr .8fr;gap:8px;padding-top:10px;margin-top:10px;border-top:1px solid var(--line)}.bill-form-row .wide{grid-column:1/-1}.review-actions{display:grid;grid-template-columns:85px 1fr;gap:8px;margin-top:14px}.review-actions>*{width:100%}
.chat-body{display:flex;flex-direction:column;gap:0;min-height:calc(100dvh - 235px)}.trust{display:flex;align-items:center;gap:7px;padding:10px;border-radius:11px;background:var(--mintSoft);color:var(--mint);font-size:11px;font-weight:700}.chat-list{display:flex;flex-direction:column;gap:14px;padding:18px 0}.bubble{max-width:89%;padding:13px 14px;border-radius:16px;font-size:13px;line-height:1.6;white-space:pre-wrap;word-break:break-word}.bubble.user{align-self:flex-end;border-bottom-right-radius:4px;background:var(--blue);color:#fff}.bubble.assistant{align-self:flex-start;border-bottom-left-radius:4px;background:var(--paper)}.bubble.assistant .who{display:flex;align-items:center;gap:5px;margin-bottom:7px;color:var(--blue);font-size:11px;font-weight:750}.suggestions{display:flex;flex-wrap:wrap;gap:7px;margin-top:auto;margin-bottom:11px}.suggestions button{padding:8px 10px;border:1px solid var(--line);border-radius:30px;background:var(--paper);color:var(--sub);font-size:11px}.composer{display:flex;align-items:center;gap:8px;padding:7px 7px 7px 12px;background:var(--paper);border-radius:14px}.composer textarea{flex:1;min-height:32px;max-height:90px;resize:none;padding:6px 0;border:0;outline:none;background:transparent;color:var(--ink);font-size:14px}.composer button{display:grid;place-items:center;flex:none;width:35px;height:35px;border:0;border-radius:10px;background:var(--blue);color:#fff}
.settings-section{padding:15px;margin-bottom:12px}.settings-section h2{margin:0 0 12px;font-size:15px}.settings-section p{margin:9px 0;color:var(--sub);font-size:11px;line-height:1.55}.settings-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 0;border-top:1px solid var(--line);font-size:12px}.settings-row:first-of-type{border:0}.settings-row span{color:var(--sub)}.settings-row button{border:0;background:none;color:var(--blue);font-size:12px;font-weight:700}.inline-buttons{display:flex;gap:8px}.inline-buttons button{flex:1}.callout{padding:11px 12px;border-radius:11px;background:var(--blueSoft);color:#3e5dcb;font-size:11px;line-height:1.5}
.modal-wrap{position:fixed;z-index:35;inset:0;display:flex;align-items:flex-end;background:#0c1528a6}.modal{width:100%;max-width:640px;max-height:90dvh;margin:0 auto;overflow-y:auto;padding:17px 18px calc(20px + env(safe-area-inset-bottom));border-radius:23px 23px 0 0;background:var(--bg);box-shadow:0 -12px 35px #0002}.modal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.modal-head h2{margin:0;font-size:20px}.modal-head button{display:grid;place-items:center;width:32px;height:32px;border:0;border-radius:10px;background:var(--paper);color:var(--sub);font-size:21px}.modal .primary{margin-top:12px}.modal .secondary{margin-top:8px}.modal p{color:var(--sub);font-size:11px;line-height:1.55}.toast{position:fixed;z-index:60;left:50%;bottom:84px;transform:translateX(-50%);max-width:88vw;padding:11px 14px;border-radius:10px;background:#17213b;color:#fff;font-size:12px;box-shadow:0 8px 25px #0003;white-space:pre-wrap;text-align:center;pointer-events:none}.hidden{display:none!important}
@media(min-width:650px){#app{max-width:470px;margin:auto;box-shadow:0 0 50px #18234114}.bottom-nav{max-width:470px;left:50%;transform:translateX(-50%)}}
.storage-error{position:fixed;z-index:80;top:0;left:0;right:0;padding:10px 14px;background:#a61c32;color:#fff;font-size:12px;text-align:center}.storage-error button{margin-left:8px;border:0;background:#fff;color:#a61c32;border-radius:6px;padding:4px 7px}
.expense-panel{padding-top:0}.expense-summary{display:flex;align-items:center;justify-content:space-between;padding:16px}.expense-summary strong{display:block;margin-top:4px;font-size:25px;font-variant-numeric:tabular-nums}.expense-summary small{color:var(--sub);font-size:11px}.expense-voice-row{display:grid;grid-template-columns:1fr 95px;gap:9px;margin:10px 0}.voice-hold{touch-action:none;-webkit-user-select:none;user-select:none}.expense-voice-row .voice-hold{display:flex;align-items:center;justify-content:center;gap:8px;min-height:51px;border:0;border-radius:14px;background:linear-gradient(135deg,#466af0,#6b58d7);color:#fff;font-size:13px;font-weight:750;box-shadow:0 5px 15px #5264d033}.voice-hold.listening{background:#e45c65!important;color:#fff!important;box-shadow:0 0 0 4px #e45c6530}.expense-list{overflow:hidden}.expense-row{display:flex;align-items:center;gap:10px;width:100%;min-height:57px;padding:10px 12px;border:0;border-bottom:1px solid var(--line);background:var(--paper);color:var(--ink);text-align:left}.expense-row:last-child{border-bottom:0}.expense-category{flex:none;display:grid;place-items:center;min-width:38px;height:35px;padding:0 6px;border-radius:9px;background:#eef0ff;color:#5966cf;font-size:10px;font-weight:750}.expense-info{flex:1;min-width:0}.expense-info b,.expense-info small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.expense-info b{font-size:12px}.expense-info small{margin-top:4px;color:var(--sub);font-size:10px}.expense-row strong{font-size:13px;font-variant-numeric:tabular-nums}.composer .mic-composer{background:#edf1ff;color:var(--blue);border:1px solid #dce3ff}
.home-voice{display:flex;align-items:center;justify-content:center;gap:11px;width:100%;min-height:61px;margin-top:12px;border:0;border-radius:15px;background:linear-gradient(120deg,#4569ee,#695bd8);box-shadow:0 7px 18px #4059d43d;color:#fff;text-align:left}.home-voice .icon{width:22px;height:22px}.home-voice b,.home-voice small{display:block}.home-voice b{font-size:14px}.home-voice small{margin-top:3px;color:#eef1ff;font-size:10px}.expense-panel .section-head span{display:flex;gap:8px}
#app.has-voice-dock{padding-bottom:170px}.voice-dock,.composer.text-mode{position:fixed;z-index:24;left:50%;bottom:70px;transform:translateX(-50%);display:flex;align-items:center;gap:9px;width:100%;max-width:470px;min-height:74px;padding:9px 13px;border-top:1px solid var(--line);background:var(--paper);box-shadow:0 -8px 24px #1823410d}.voice-mode-switch{display:grid;place-items:center;flex:none;width:47px;height:52px;border:1px solid #dce3f5;border-radius:13px;background:#f6f8fd;color:var(--blue)}.voice-mode-switch .icon{width:22px;height:22px}.voice-main{display:flex;align-items:center;justify-content:center;gap:12px;flex:1;min-height:52px;border:1px solid #a9bafb;border-radius:13px;background:#edf2ff;color:#3d5ed6}.voice-main .icon{width:22px;height:22px}.voice-main b,.voice-main small{display:block}.voice-main b{font-size:14px}.voice-main small{margin-top:2px;font-size:10px;color:#6b80ca}.voice-main.listening small{color:#fff}.composer.text-mode{min-height:74px;border-radius:0}.composer.text-mode textarea{min-height:36px}.composer.text-mode .voice-mode-switch{background:#edf2ff;color:var(--blue)}
.chat-body{padding-bottom:105px}.composer.text-mode .voice-mode-switch{width:44px;height:44px}
.voice-bubble{display:inline-flex;align-items:center;gap:10px;min-width:148px;border:0;border-radius:18px;padding:10px 14px;background:#e4efff;color:#183b70;font:inherit;font-weight:700;cursor:pointer}.voice-bubble .icon{width:19px;height:19px}.voice-bubble:active{background:#c7dcff}
.api-test-result{margin-top:10px;padding:11px 12px;border-radius:11px;font-size:12px;line-height:1.55;overflow-wrap:anywhere}.api-test-result.pending{background:#edf2ff;color:#405dcc}.api-test-result.ok{background:#e5f7ef;color:#157457}.api-test-result.error{background:#fff0ef;color:#b53944}
.advanced-config{margin:12px 0;color:var(--sub)}.advanced-config summary{cursor:pointer;font-size:12px;font-weight:700;color:var(--blue)}.advanced-config[open]{padding:10px;border:1px solid var(--line);border-radius:10px}.advanced-config .field{margin-top:10px}

/* Conversation-first home and one-layer voice messages */
.bottom-nav{grid-template-columns:repeat(3,1fr)}
.chat-screen{background:#f5f6f9}.chat-header{position:sticky;top:0;z-index:5;padding:13px 18px 10px;background:#fff;border-bottom:1px solid var(--line)}.chat-header .brand-row{margin-bottom:0}.chat-header .brand{color:var(--ink)}.chat-header .brand-mark{background:var(--blue);color:#fff}.chat-header .icon-button{background:#f0f3fa;color:var(--ink)}.chat-header p{margin:5px 0 0;color:var(--sub);font-size:11px}.chat-screen .chat-body{min-height:calc(100dvh - 140px);padding-top:10px}.chat-screen .chat-list{flex:1;gap:11px;padding:12px 0 110px}.chat-welcome{align-self:center;margin:32px 0;padding:11px 14px;color:var(--sub);font-size:12px;text-align:center}.bubble.user.voice-message{padding:0;background:transparent;border-radius:0}.bubble.user.voice-message .voice-bubble{background:var(--blue);color:#fff;border:0;border-radius:17px 17px 5px 17px;box-shadow:0 3px 9px #3359c51c}.voice-bubble{display:inline-flex;align-items:center;justify-content:space-between;gap:10px;min-width:155px;padding:11px 14px;font-size:13px}.voice-bubble b{font-size:11px}.voice-bubble:active{background:#3d63dc!important}.voice-main{border:0;background:var(--blue);color:#fff}.voice-main small{color:#dfe6ff}.chat-photo-action,.chat-attach{display:grid;place-items:center;flex:none;width:43px;height:49px;border-radius:12px;background:#f3f5f9;color:var(--blue);font-size:27px;font-weight:400;cursor:pointer}.chat-attach{height:35px;width:35px}.voice-mode-switch{border:0;background:#f3f5f9}.composer.text-mode{gap:8px}.composer.text-mode .chat-attach{order:0}.composer.text-mode .voice-mode-switch{order:-1}

/* Compact image review card inside the conversation */
.image-review-card{width:100%;padding:14px;margin:2px 0 18px;border:1px solid #dce4f4;border-radius:17px;background:#fff;box-shadow:0 5px 18px #1b28400b}.image-review-title{display:flex;align-items:baseline;justify-content:space-between;gap:8px}.image-review-title span{font-size:15px;font-weight:800;color:var(--ink)}.image-review-title small{font-size:10px;color:var(--amber);font-weight:700}.image-review-source{display:flex;align-items:center;gap:9px;margin-top:12px;padding:8px;border-radius:10px;background:#f6f8fd;font-size:11px;color:var(--sub)}.image-review-source img{width:37px;height:45px;object-fit:cover;border-radius:5px}.image-review-source span{flex:1}.image-review-source button{padding:5px;border:0;background:none;color:var(--blue);font-size:11px}.image-review-reply{margin:12px 0;font-size:12px;line-height:1.55}.review-card-group{padding:11px 0;border-top:1px solid var(--line)}.review-card-group>strong{display:block;margin-bottom:7px;font-size:12px}.review-line{display:flex;justify-content:space-between;gap:10px;padding:5px 0;font-size:11px}.review-line b{font-weight:700}.review-line span{color:var(--sub);text-align:right}.review-subline{padding:3px 0 3px 8px;color:var(--sub);font-size:10px}.review-questions{padding:9px 10px;border-radius:10px;background:var(--amberSoft);color:#9a5f16;font-size:11px}.review-questions p{margin:5px 0}.review-ask{display:flex;gap:7px;margin:10px 0}.review-ask textarea{flex:1;min-height:51px;resize:vertical;padding:8px;border:1px solid var(--line);border-radius:9px;font-size:12px}.review-ask button{min-height:45px;padding:8px;font-size:11px}.review-audit,.review-cancel{border:0;background:none;color:var(--blue);font-size:11px;font-weight:700}.review-audit{margin-bottom:9px;padding:0}.review-cancel{display:block;margin:10px auto 0;color:var(--sub)}.review-edit{margin:9px 0}.review-edit summary{padding:10px 0;border-top:1px solid var(--line);color:var(--blue);font-size:11px;font-weight:700;cursor:pointer}.review-loan,.review-transaction{padding:10px;margin:8px 0;border:1px solid var(--line);border-radius:11px}.review-loan-head{display:flex;justify-content:space-between;margin-bottom:8px;font-size:12px}.review-loan-head button,.review-remove-text,.review-add,.review-remove{border:0;background:none;color:var(--blue);font-size:11px}.review-loan-fields{display:grid;grid-template-columns:1fr 1fr;gap:6px}.review-loan-fields .field{margin-bottom:4px}.review-table-wrap{overflow-x:auto}.review-table{width:100%;min-width:330px;border-collapse:collapse}.review-table th{color:var(--sub);font-size:10px;text-align:left}.review-table td{padding:5px 2px}.review-table input{width:100%;min-width:65px;padding:5px;border:1px solid var(--line);border-radius:6px;font-size:11px}.review-table input[type=date]{min-width:112px}.review-table input[type=number]{min-width:75px}.review-table td:last-child{width:23px}.review-warning{padding:7px;margin:6px 0;border-radius:7px;background:var(--amberSoft);color:#9a5f16;font-size:10px}.review-evidence{color:var(--sub);font-size:10px}.review-empty{color:var(--sub);font-size:10px}.review-edit .secondary.full{margin:8px 0}.review-transaction .field{margin-bottom:7px}.review-remove-text{padding:2px 0;color:var(--coral)}

.cash-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.cash-summary>div{padding:12px 9px;border-radius:13px;background:#fff}.cash-summary small{display:block;color:var(--sub);font-size:10px}.cash-summary strong{display:block;margin-top:5px;font-size:15px;white-space:nowrap}.expense-category.income{background:var(--mintSoft);color:var(--mint)}.income-text{color:var(--mint)}
.debt-overview{display:flex;justify-content:space-between;align-items:center;width:100%;margin-bottom:12px;padding:15px 16px;border:0;text-align:left;color:var(--ink)}.debt-overview small{display:block;color:var(--sub);font-size:11px}.debt-overview strong{display:block;margin-top:4px;font-size:23px}.debt-overview>span:last-child{color:var(--blue);font-size:11px}.review-conversation{display:grid;gap:6px;margin:9px 0}.review-message{padding:7px 9px;border-radius:9px;background:#f4f6fa;font-size:11px;line-height:1.5}.review-message.user{background:#eaf0ff;text-align:right}.review-message b{display:block;color:var(--blue);font-size:10px}
