@import"https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@400;500;600;700;800&display=swap";:root{font-family:Noto Sans TC,sans-serif;font-synthesis:none;color:#172031;background:#f6f8fb;--bg:#f6f8fb;--surface:#fff;--surface2:#f1f4f8;--text:#172031;--muted:#667181;--border:#dce3eb;--grid:#e8edf1;--navy:#283653;--navy2:#1d2942;--green:#078b47;--red:#ce4851;--shadow:0 8px 22px rgba(28,43,67,.045);--input:#fff}*{box-sizing:border-box}html{min-width:320px}body{margin:0}button,input,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.6;cursor:not-allowed}input,select{color:var(--text)}:focus-visible{outline:3px solid #85b5ff;outline-offset:2px}[data-theme=dark]{color-scheme:dark;--bg:#101722;--surface:#1b2533;--surface2:#263243;--text:#f3f6f8;--muted:#a8b5c3;--border:#39485a;--grid:#344355;--navy:#e0e8f7;--navy2:#f4f7ff;--green:#4dde99;--red:#ff8089;--shadow:0 8px 24px rgba(0,0,0,.16);--input:#243142;background:#101722}#root{min-height:100vh}.app{min-height:100vh;background:var(--bg)}.sidebar{display:none}.main{min-width:0}.topbar{height:72px;display:flex;align-items:center;justify-content:space-between;padding:0 22px;background:var(--surface);border-bottom:1px solid var(--border)}.topbar-title{display:flex;align-items:center;gap:11px;color:var(--text);font-size:20px}.topbar-title strong{font-weight:800}.topbar-title svg{flex:none}.version{font-size:14px;font-weight:500;color:var(--navy)}.icon-button{border:0;background:transparent;color:var(--text);width:35px;height:35px;display:grid;place-items:center}.icon-button:hover{background:var(--surface2);border-radius:10px}.back svg{transform:rotate(180deg)}.content{padding:16px 16px 95px;max-width:1180px;margin:0 auto}.desktop-only{display:none}.period-tabs{display:grid;grid-template-columns:repeat(5,1fr);padding:4px;background:var(--surface);border:1px solid var(--border);border-radius:13px;box-shadow:var(--shadow);margin-bottom:13px}.period-tabs button{border:0;background:transparent;color:var(--text);border-radius:9px;padding:10px 2px;font-size:14px}.period-tabs .active{background:var(--navy);color:var(--bg);font-weight:700;box-shadow:0 3px 8px #1a2a4533}[data-theme=dark] .period-tabs .active{color:#152034}.stat-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:12px}.stat-card{min-height:78px;border-radius:13px;padding:14px 11px;display:flex;align-items:center;gap:8px;min-width:0}.stat-card.mint{background:#eaf8f6}.stat-card.rose{background:#fbf2f4}.stat-card.green{background:#e9f8ef}.stat-card.peach{background:#fcf1f1}.stat-card.blue{background:#eff3fb}.stat-card.sand{background:#fbf3f3}.stat-icon{flex:none;width:36px;display:grid;place-items:center;color:#0b7668}.stat-icon svg{width:27px;height:27px;stroke-width:2.1}.rose .stat-icon,.peach .stat-icon,.sand .stat-icon{color:#763a33}.green .stat-icon{color:#0c9a55}.blue .stat-icon{color:#233750}.stat-label{font-size:12px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.stat-value{font-size:20px;line-height:1.25;font-weight:800;white-space:nowrap;letter-spacing:-.5px}.panel{border:1px solid var(--border);background:var(--surface);border-radius:13px;box-shadow:var(--shadow);overflow:hidden;margin-bottom:12px}.panel-head{min-height:38px;display:flex;align-items:center;justify-content:space-between;padding:8px 14px;background:linear-gradient(90deg,var(--surface2),var(--surface));gap:10px}.panel-title{display:flex;align-items:center;gap:8px;color:var(--text);font-size:15px;font-weight:800}.panel-title svg{flex:none}.panel-body{padding:12px 14px}.chart-panel .panel-head,.recent-panel .panel-head{background:transparent}.chart-wrap{height:230px}.empty-chart{height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;color:var(--muted);font-size:13px}.text-action{border:0;background:transparent;color:var(--text);font-size:12px;display:flex;align-items:center;gap:2px}.recent-panel .panel-body{padding:0 10px}.recent-row{width:100%;min-height:57px;display:flex;align-items:center;gap:13px;text-align:left;border:0;border-top:1px solid var(--border);background:transparent;color:var(--text);padding:8px 4px}.recent-row:hover{background:var(--surface2)}.recent-date{font-size:13px;white-space:nowrap}.recent-name{min-width:0;flex:1;display:flex;flex-direction:column;gap:2px}.recent-name strong{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.recent-name em{font-size:11px;background:#dff7e8;border-radius:6px;padding:2px 5px;font-style:normal;font-weight:700;align-self:flex-start}.recent-amount{font-size:13px;white-space:nowrap}.empty-list{padding:26px 12px;text-align:center;color:var(--muted);font-size:13px}.profit-positive{color:var(--green)!important}.profit-negative{color:var(--red)!important}.primary{border:0;background:#263551;color:#fff;border-radius:11px;min-height:44px;padding:10px 20px;font-weight:700;display:flex;align-items:center;justify-content:center;gap:8px;box-shadow:0 5px 13px #1c2b461f}.primary:hover{background:#344869}.mobile-add{width:100%;margin-top:12px}.bottom-nav{position:fixed;bottom:0;left:0;right:0;z-index:20;display:grid;grid-template-columns:repeat(4,1fr);height:72px;padding-bottom:env(safe-area-inset-bottom);background:var(--surface);border-top:1px solid var(--border);box-shadow:0 -8px 20px #19283c08}.bottom-nav button{border:0;background:transparent;color:var(--muted);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;font-size:11px}.bottom-nav svg{width:22px;height:22px;stroke-width:1.9}.bottom-nav .active{color:var(--navy2);font-weight:800}.bottom-nav .active svg{fill:var(--navy2);color:var(--navy2);stroke:var(--surface)}.form-stack .panel-head{background:linear-gradient(90deg,#eef2f7,var(--surface))}.form-stack .panel-body{display:flex;flex-direction:column;gap:6px}.field{display:grid;grid-template-columns:minmax(120px,42%) minmax(0,1fr);align-items:center;gap:8px;min-height:28px;font-size:12px}.field>span{line-height:1.25}.field input{width:100%;height:28px;background:var(--input);border:1px solid #cdd6e2;border-radius:6px;padding:3px 9px;text-align:right;font-size:13px;outline:none}.field input[type=text],.field input[type=date]{text-align:left}.field input:focus{border-color:#5882bd;box-shadow:0 0 0 3px #527ebd24}.field input[readonly]{background:var(--surface2);color:var(--muted)}.required{color:#ee804a}.hint{display:inline-flex;vertical-align:middle;color:var(--muted);margin-left:3px;cursor:help}.switch{position:relative;width:42px;height:23px;display:block}.switch input{position:absolute;opacity:0}.switch span{display:block;width:42px;height:23px;background:#c9d0db;border-radius:20px;transition:background .2s}.switch span:before{content:"";position:absolute;top:3px;left:3px;width:17px;height:17px;border-radius:50%;background:#fff;transition:transform .2s;box-shadow:0 1px 3px #0002}.switch input:checked+span{background:#13aa65}.switch input:checked+span:before{transform:translate(19px)}.off-note{color:var(--muted);font-size:12px;padding:3px 0}.payment-selector{display:flex;gap:14px;flex-wrap:wrap;font-size:12px;margin-bottom:5px}.payment-selector label{display:flex;align-items:center;gap:4px;cursor:pointer}.payment-selector input{accent-color:#253657}.auto-line{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:12px}.auto-line strong{background:var(--surface2);border:1px solid var(--border);border-radius:5px;padding:3px 9px;margin-left:auto}.small-button{background:var(--surface);border:1px solid var(--border);border-radius:6px;color:var(--text);display:flex;align-items:center;gap:3px;padding:4px 7px;font-size:11px}.field-help{font-size:11px;color:var(--muted);margin:2px 0 0}.result-panel{background:linear-gradient(120deg,#f3fbf5,#e7f8ed)}.result-panel .panel-head{background:linear-gradient(90deg,#e0f5e6,#e8f8ec)}.result-panel .panel-body{gap:0;padding:2px 14px 8px}.result-line{display:flex;justify-content:space-between;align-items:center;min-height:26px;border-bottom:1px solid rgba(53,111,76,.11);font-size:12px}.result-line strong{font-size:13px}.result-profit{min-height:38px;color:var(--green);font-weight:800;font-size:16px}.result-profit strong{font-size:21px}.estimate-note{font-size:11px;line-height:1.6;color:#456e57;margin:8px 0 0}.validation-note{display:flex;align-items:center;gap:7px;color:#a34e0c;background:#fff4df;border:1px solid #f4ddb1;border-radius:9px;padding:10px 12px;font-size:12px;margin-bottom:12px}.form-actions{display:flex;gap:10px}.save-button{flex:1}.secondary{border:1px solid var(--border);background:var(--surface);color:var(--text);border-radius:10px;padding:9px 15px;display:flex;align-items:center;justify-content:center;gap:7px;font-weight:700}.filter-panel{display:flex;flex-direction:column;gap:12px;margin-bottom:13px}.search-box{height:44px;display:flex;align-items:center;gap:10px;padding:0 13px;background:var(--surface);border:1px solid var(--border);border-radius:10px;color:var(--muted)}.search-box input{flex:1;border:0;outline:0;background:transparent;min-width:0;font-size:13px}.filter-row{display:flex;gap:10px}.filter-select{display:flex;align-items:center;gap:8px;background:var(--surface);border:1px solid var(--border);border-radius:11px;padding:0 11px;height:40px;min-width:0;flex:1;font-size:12px}.filter-select input,.filter-select select{border:0;outline:0;background:transparent;min-width:0;width:100%;font-size:12px}.filter-select button{background:transparent;border:0;color:var(--muted);padding:0}.records-list{display:flex;flex-direction:column;gap:9px;min-height:300px}.record-card{text-align:left;border:1px solid var(--border);background:var(--surface);border-radius:14px;padding:13px 12px;box-shadow:var(--shadow);color:var(--text)}.record-card:hover{transform:translateY(-1px);box-shadow:0 9px 24px #1b2c4717}.record-top{display:grid;grid-template-columns:42px minmax(0,1fr) auto 13px;align-items:start;gap:7px}.record-date{font-size:13px;padding-top:3px}.record-name{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.record-profit{display:flex;flex-direction:column;align-items:flex-end;gap:1px}.record-profit small{font-size:10px;color:var(--muted)}.record-profit b{font-size:15px}.record-chevron{color:var(--muted);align-self:center}.record-bottom{display:grid;grid-template-columns:42px 1fr;gap:7px;margin-top:-10px;align-items:end}.record-bottom>span:last-child{font-size:11px;line-height:1.7;color:#5c6470}.coupon-badge,.plain-badge{display:inline-block;border-radius:6px;padding:3px 5px;font-style:normal;font-size:10px;font-weight:700;background:#dff6e9;color:#168055}.plain-badge{background:var(--surface2);color:var(--muted)}.empty-state{min-height:260px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;color:var(--muted);font-size:13px}.empty-state strong{font-size:15px;color:var(--text)}.data-toolbar{display:flex;gap:7px;margin-top:16px}.data-toolbar button,.data-buttons button{flex:1;display:flex;align-items:center;justify-content:center;gap:6px;white-space:nowrap;background:var(--surface);border:1px solid var(--border);border-radius:8px;padding:10px 5px;color:var(--text);font-size:11px}.settings-grid .panel-body{display:flex;flex-direction:column;gap:7px}.settings-grid .field{grid-template-columns:minmax(0,1fr) 100px}.formula-box{background:#fff8df;border-radius:6px;padding:9px 8px;text-align:center;font-size:12px;line-height:1.5}.formula-inputs{display:grid;grid-template-columns:1fr 1fr;gap:10px}.formula-inputs .field{display:block}.formula-inputs .field input{margin-top:5px}.theme-options{display:flex;flex-direction:column;gap:7px}.theme-options button{border:1px solid var(--border);background:var(--surface);color:var(--text);border-radius:8px;display:flex;align-items:center;gap:8px;padding:9px 11px;text-align:left;font-size:12px}.theme-options .selected{border-color:#8cabe0;background:#eef3fa}.theme-options button svg:last-child{margin-left:auto}.data-buttons{display:grid;grid-template-columns:1fr 1fr;gap:8px}.data-buttons button{font-size:12px;min-height:39px}.warning{display:flex;gap:8px;background:#fff7db;color:#503f19;border-radius:9px;padding:12px;line-height:1.5;font-size:12px;margin-bottom:12px}.warning svg{color:#e1a211;flex:none}.settings-save{width:100%}.modal-backdrop{position:fixed;z-index:50;top:0;right:0;bottom:0;left:0;background:#1019279c;display:grid;place-items:center;padding:18px}.modal{background:var(--surface);color:var(--text);border-radius:17px;width:min(100%,540px);max-height:90vh;overflow:auto;padding:20px;box-shadow:0 20px 60px #0004}.modal-head{display:flex;justify-content:space-between;align-items:start;border-bottom:1px solid var(--border);padding-bottom:13px}.modal-head h2{font-size:21px;margin:4px 0}.eyebrow{letter-spacing:.16em;font-size:11px;font-weight:800;color:#0b9d67}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 18px;padding:8px 0}.detail-line{display:flex;flex-direction:column;gap:3px;border-bottom:1px solid var(--border);padding:9px 0;font-size:12px}.detail-line span{color:var(--muted)}.detail-line strong{font-size:13px}.modal-actions{display:flex;gap:9px;justify-content:flex-end;margin-top:16px}.danger{color:#c64c55}.toast{position:fixed;z-index:100;left:50%;bottom:87px;transform:translate(-50%,15px);background:#22314b;color:#fff;padding:9px 14px;border-radius:9px;font-size:12px;opacity:0;pointer-events:none;transition:.2s;box-shadow:0 8px 22px #0003;max-width:90vw;text-align:center}.toast.show{opacity:1;transform:translate(-50%)}[data-theme=dark] .stat-card.mint{background:#173c3b}[data-theme=dark] .stat-card.rose{background:#382b37}[data-theme=dark] .stat-card.green{background:#193e32}[data-theme=dark] .stat-card.peach{background:#3e2b2c}[data-theme=dark] .stat-card.blue{background:#253449}[data-theme=dark] .stat-card.sand{background:#392f33}[data-theme=dark] .stat-icon,[data-theme=dark] .rose .stat-icon,[data-theme=dark] .peach .stat-icon,[data-theme=dark] .sand .stat-icon{color:#c5dcea}[data-theme=dark] .green .stat-icon{color:#50df99}[data-theme=dark] .result-panel{background:linear-gradient(120deg,#1e3a30,#1b3329)}[data-theme=dark] .result-panel .panel-head{background:#234836}[data-theme=dark] .form-stack .panel-head{background:linear-gradient(90deg,#283547,var(--surface))}[data-theme=dark] .formula-box{background:#514528;color:#fff4d4}[data-theme=dark] .warning{background:#4a3d25;color:#ffe5ad}[data-theme=dark] .theme-options .selected{background:#2b4057}[data-theme=dark] .recent-name em{background:#20543c}[data-theme=dark] .record-bottom>span:last-child{color:var(--muted)}[data-theme=dark] .estimate-note{color:#b4dcc2}[data-theme=dark] .validation-note{background:#513728;color:#ffd69b;border-color:#745233}@media(min-width:760px){.sidebar{display:flex;position:fixed;inset:0 auto 0 0;width:245px;background:var(--surface);border-right:1px solid var(--border);padding:28px 14px;flex-direction:column;z-index:10}.brand{display:flex;align-items:center;gap:10px;padding:0 7px 31px}.brand-mark{background:#273852;color:#fff;border-radius:10px;padding:9px;display:grid;place-items:center}.brand strong{display:block;font-size:15px}.brand small{font-size:9px;letter-spacing:.09em;color:var(--muted)}.side-label{color:var(--muted);font-size:10px;font-weight:800;letter-spacing:.14em;padding:0 15px 10px}.side-link{border:0;background:transparent;color:var(--muted);display:flex;align-items:center;gap:13px;padding:13px 14px;margin-bottom:4px;border-radius:10px;text-align:left;font-size:13px}.side-link.active{background:#eaf0f8;color:#213650;font-weight:800}.side-chevron{margin-left:auto}.side-bottom{margin-top:auto;font-size:10px;color:var(--muted);padding:12px}.live-dot{width:7px;height:7px;display:inline-block;background:#10a766;border-radius:50%;margin-right:5px}.main{margin-left:245px}.topbar{height:70px;padding:0 34px}.topbar-title{font-size:17px}.topbar-title>svg,.topbar-title .back{display:none}.content{padding:30px 34px 48px}.desktop-only{display:block}.section-intro{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}.section-intro h1,.form-desktop-title h1{font-size:29px;margin:3px 0 4px;letter-spacing:-.03em}.section-intro p,.form-desktop-title p{margin:0;color:var(--muted);font-size:13px}.form-desktop-title{margin-bottom:20px}.desktop-add{font-size:13px;min-height:42px}.period-tabs{max-width:560px;margin-bottom:20px}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(330px,.9fr);gap:18px}.stat-grid{grid-column:1/-1;grid-template-columns:repeat(3,1fr);gap:15px;margin-bottom:0}.stat-card{min-height:112px;padding:20px;gap:16px}.stat-icon{width:42px}.stat-icon svg{width:31px;height:31px}.stat-label{font-size:13px}.stat-value{font-size:26px}.chart-panel,.recent-panel{margin-bottom:0}.chart-wrap{height:280px}.recent-row{min-height:52px}.mobile-add,.bottom-nav{display:none}.form-stack{max-width:850px;display:grid;grid-template-columns:1fr 1fr;gap:16px}.form-desktop-title,.form-stack .result-panel,.form-stack .form-actions,.form-stack .validation-note{grid-column:1/-1}.form-stack .panel{margin-bottom:0}.form-stack .panel:first-of-type{grid-row:2/4}.form-stack .panel-body{gap:10px;padding:15px}.field{font-size:12px;grid-template-columns:minmax(130px,48%) 1fr;min-height:29px}.field input{height:33px}.form-stack .result-panel .panel-body{display:grid;grid-template-columns:1fr 1fr;gap:0 28px}.form-stack .result-profit,.form-stack .estimate-note{grid-column:1/-1}.form-actions{justify-content:flex-end}.save-button{flex:none;min-width:210px}.page-records .filter-panel{display:grid;grid-template-columns:1fr auto;align-items:center}.page-records .filter-row{min-width:390px}.records-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start}.data-toolbar{justify-content:flex-end}.data-toolbar button{flex:none;padding:10px 16px}.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.settings-grid .panel{margin-bottom:0}.settings-grid .warning{grid-column:1/-1;margin-bottom:0}.settings-save{width:auto;min-width:190px;margin-top:17px;margin-left:auto}.toast{bottom:25px}[data-theme=dark] .side-link.active{background:#293f55;color:#e9f4ff}}@media(min-width:1180px){.dashboard-grid{grid-template-columns:minmax(0,1.25fr) minmax(360px,.75fr)}.stat-grid{grid-template-columns:repeat(3,1fr)}.records-list{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:390px){.stat-card{padding:11px 7px;gap:5px}.stat-icon{width:29px}.stat-icon svg{width:24px;height:24px}.stat-label{font-size:11px}.stat-value{font-size:17px}.record-bottom>span:last-child{font-size:10px}.data-toolbar button{font-size:10px}}.cloud-status{min-height:100vh;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;text-align:center;padding:24px;background:var(--bg);color:var(--text)}.cloud-status h1{font-size:20px;margin:0}.cloud-status p{font-size:13px;color:var(--muted);max-width:360px}.cloud-status .primary{min-width:100px}:root{--bg: #f0f2ef;--surface: #fbfaf7;--surface2: #f1f2ef;--input: #fdfcf9;--text: #24313a;--muted: #53616b;--border: #d7ddda;--grid: #e1e6e2;--navy: #30445b;--navy2: #263b53;--green: #087840;--red: #b53d48;--shadow: 0 5px 16px rgba(37, 56, 58, .035);background:var(--bg)}[data-theme=dark]{--bg: #172029;--surface: #212c36;--surface2: #293640;--input: #283641;--text: #e9efeb;--muted: #b2c0bd;--border: #3c4b51;--grid: #34444a;--navy: #d8e7e6;--navy2: #eaf3f1;--green: #75dc9d;--red: #ff9094;--shadow: 0 7px 18px rgba(0, 0, 0, .12);background:var(--bg);color:var(--text)}body{line-height:1.55}.topbar,.bottom-nav,.sidebar{background:var(--surface)}.topbar{min-height:76px}.topbar-title{font-size:19px}.content{padding-top:18px}.period-tabs{box-shadow:none}.period-tabs button{min-height:42px;font-size:14px}.period-tabs .active{background:#30445b;color:#fff;box-shadow:none}[data-theme=dark] .period-tabs .active{background:#c8dad8;color:#172029}.stat-grid{gap:12px;margin-bottom:14px}.stat-card{min-height:95px;padding:16px 13px;gap:10px}.stat-card.mint{background:#e7f0eb}.stat-card.rose{background:#f1eae7}.stat-card.green{background:#e8f1e8}.stat-card.peach{background:#f2ebe7}.stat-card.blue{background:#e8edf0}.stat-card.sand{background:#f0ece8}.stat-label{font-size:13px;line-height:1.4}.stat-value{font-size:21px;line-height:1.35;letter-spacing:-.025em}.panel{margin-bottom:14px;box-shadow:none}.panel-head{min-height:44px;padding:10px 16px;background:var(--surface2)}.panel-title{font-size:16px}.panel-body{padding:15px 16px}.chart-panel .panel-head,.recent-panel .panel-head{background:var(--surface)}.empty-chart{font-size:14px}.text-action{font-size:13px}.recent-row{min-height:67px;gap:12px}.recent-date,.recent-name strong,.recent-amount{font-size:14px}.recent-name em{font-size:12px;background:#deeee2}.primary{min-height:48px;background:#30445b;box-shadow:none;font-size:14px}.primary:hover{background:#405a75}.bottom-nav{min-height:78px;box-shadow:none}.bottom-nav button{font-size:12px;gap:4px}.bottom-nav svg{width:23px;height:23px}.form-stack .panel-head{background:var(--surface2)}.form-stack .panel-body{gap:11px}.field{min-height:42px;font-size:13px;gap:10px}.field>span{line-height:1.45}.field input{height:40px;padding:7px 10px;font-size:14px;background:var(--input);border-color:#bbc8c5}.field input[readonly]{background:var(--surface2)}.field-help,.off-note{font-size:12px;line-height:1.6}.payment-selector{gap:18px;font-size:13px;margin:2px 0 4px}.payment-selector label{gap:6px}.payment-selector input{width:16px;height:16px}.auto-line{font-size:13px;line-height:1.5}.auto-line strong,.small-button{min-height:30px;display:inline-flex;align-items:center;font-size:12px}.result-panel{background:#eaf2e9}.result-panel .panel-head{background:#deebdf}.result-panel .panel-body{padding:8px 16px 13px}.result-line{min-height:34px;font-size:13px}.result-line strong{font-size:14px}.result-profit{min-height:45px;font-size:17px}.result-profit strong{font-size:22px}.estimate-note{font-size:12px}.search-box{height:48px}.search-box input{font-size:14px}.filter-select{height:44px;font-size:13px}.filter-select input,.filter-select select{font-size:13px}.record-card{padding:15px 14px;box-shadow:none}.record-date{font-size:14px}.record-name{font-size:15px}.record-profit b{font-size:17px}.record-profit small{font-size:11px}.record-bottom>span:last-child{font-size:12px;line-height:1.75;color:var(--muted)}.coupon-badge,.plain-badge{font-size:11px}.data-toolbar button,.data-buttons button{font-size:12px;min-height:42px}.settings-grid .field{min-height:44px}.formula-box{background:#f4eedb;color:#3b3c32;font-size:13px}.warning{background:#f6efd9;color:#594c31;font-size:13px}.theme-options button{font-size:13px;min-height:42px}.detail-line{font-size:13px}.detail-line strong{font-size:14px}[data-theme=dark] .stat-card.mint{background:#253c38}[data-theme=dark] .stat-card.rose{background:#3b3336}[data-theme=dark] .stat-card.green{background:#274034}[data-theme=dark] .stat-card.peach{background:#3b3530}[data-theme=dark] .stat-card.blue{background:#2d3b46}[data-theme=dark] .stat-card.sand{background:#393735}[data-theme=dark] .result-panel{background:#263b32}[data-theme=dark] .result-panel .panel-head{background:#304a3c}[data-theme=dark] .form-stack .panel-head{background:var(--surface2)}[data-theme=dark] .recent-name em{background:#2c553e}[data-theme=dark] .field input{border-color:#566869}[data-theme=dark] .formula-box{background:#4c4735;color:#f0e7cf}[data-theme=dark] .warning{background:#493f2e;color:#f0dfb9}@media(min-width:760px){.topbar{height:76px}.content{padding-top:32px}.stat-card{min-height:118px;padding:20px}.stat-label{font-size:14px}.stat-value{font-size:27px}.form-stack .panel-body{gap:12px;padding:18px}.form-stack .field{min-height:42px;font-size:13px}.form-stack .field input{height:40px}.side-link{font-size:14px}.side-link.active{background:#e6edec;color:#263e47}[data-theme=dark] .side-link.active{background:#31464a;color:#e9f3ee}}@media(max-width:390px){.stat-card{min-height:88px;padding:12px 9px;gap:6px}.stat-icon{width:29px}.stat-label{font-size:11px}.stat-value{font-size:18px}.field{grid-template-columns:minmax(104px,39%) minmax(0,1fr);font-size:12px}.record-bottom>span:last-child{font-size:11px}}
