/* Truesum landing: ported from the Lovable project styles (src/styles.css). */
:root { --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; --font-display: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif; }
:root {
 --background: oklch(.992 .002 285); --foreground: oklch(.21 .033 282); --primary: oklch(.514 .185 282); --primary-foreground: oklch(1 0 0); --secondary: oklch(.955 .018 286); --secondary-foreground: oklch(.514 .185 282); --muted: oklch(.965 .009 285); --muted-foreground: oklch(.54 .014 280); --accent: oklch(.94 .025 285); --card: oklch(1 0 0); --border: oklch(.913 .015 284); --hero: oklch(.315 .098 286); --hero-text: oklch(.835 .08 288); --destructive: oklch(.60 .224 25); --success: oklch(.722 .19 145); --success-text: oklch(.50 .136 145); --success-soft: oklch(.95 .044 149); --warning: oklch(.80 .18 72); --warning-text: oklch(.576 .185 37); --warning-soft: oklch(.97 .041 75); --dining: oklch(.66 .22 26); --groceries: oklch(.78 .18 65); --shopping: oklch(.64 .21 310); --travel: oklch(.62 .20 254); --household: oklch(.70 .12 213); --transport: var(--primary); --care: oklch(.65 .235 10); --other: oklch(.63 .014 285); --coffee: oklch(.64 .071 75); --glass: oklch(1 0 0 / .85); --ink: oklch(.12 .01 285); --hero-glow: oklch(.6 .18 285); --phone-shadow: 0 30px 60px oklch(.32 .05 285 / .13), 0 3px 12px oklch(.32 .05 285 / .08); --soft-shadow: 0 8px 30px oklch(.3 .08 285 / .06); --scrim: oklch(.17 .03 285 / .35);
}
* { border-color: var(--border); box-sizing:border-box; letter-spacing:0; }
body { margin:0; background:var(--background); color:var(--foreground); font-family:var(--font-sans); -webkit-font-smoothing:antialiased; }
h1,h2,h3,h4 { font-family:var(--font-display); }
button,a,input,select,textarea { -webkit-tap-highlight-color:transparent; }
a { text-decoration:none; }
button { cursor:pointer; } input,select,textarea { font:inherit; }
.truesum-button { min-height:48px; padding:12px 24px; border-radius:999px; background:var(--primary); color:var(--primary-foreground); font-weight:600; font-size:14px; box-shadow:0 4px 10px color-mix(in oklch,var(--primary) 15%,transparent); transition:transform .2s, background .2s; }
.truesum-button:hover { background:color-mix(in oklch,var(--primary) 90%,var(--foreground)); transform:translateY(-1px); }
.truesum-button-soft { background:var(--secondary); color:var(--primary); box-shadow:none; }
.truesum-button-soft:hover { background:var(--accent); }
.truesum-icon-button { width:44px; height:44px; padding:0; border-radius:50%; background:var(--card); box-shadow:var(--soft-shadow); color:var(--foreground); }
.truesum-tool-button { border-radius:20px; background:var(--card); padding:16px; height:auto; color:var(--foreground); white-space:normal; box-shadow:var(--soft-shadow); }
.brand { display:inline-flex; align-items:center; gap:10px; font-family:var(--font-display); font-weight:800; font-size:24px; color:var(--foreground); }
.brand-mark { display:inline-flex; align-items:center; justify-content:center; width:34px; height:34px; border-radius:10px; background:linear-gradient(150deg,var(--hero-glow),var(--primary)); color:var(--primary-foreground); box-shadow:0 3px 8px color-mix(in oklch,var(--primary) 22%,transparent); }
.brand-mark svg { width:27px; height:27px; }
.site-nav { max-width:1192px; margin:auto; height:90px; display:flex; align-items:center; justify-content:space-between; padding:0 30px; }
.site-nav-links { display:flex; align-items:center; gap:34px; font-size:13px; font-weight:500; color:var(--muted-foreground); }
.site-nav-links a:hover { color:var(--primary); }
.site-nav .truesum-button { min-height:42px; padding:10px 21px; font-size:12px; }
.landing-hero { text-align:center; padding:48px 24px 0; overflow:hidden; background:radial-gradient(ellipse at 50% 64%,var(--secondary),var(--background) 62%); }
.hero-eyebrow { display:inline-flex; align-items:center; gap:8px; color:var(--primary); font-size:11px; font-weight:600; border:1px solid var(--border); background:var(--card); border-radius:50px; padding:7px 12px; }
.hero-eyebrow i { height:6px; width:6px; border-radius:100%; background:var(--primary); }
.landing-hero h1 { font-size:60px; line-height:1.12; font-weight:800; margin:21px auto 20px; }
.landing-hero h1 span { color:var(--primary); }
.hero-subtitle { font-size:15px; line-height:1.7; color:var(--muted-foreground); max-width:430px; margin:0 auto 23px; }
.hero-trust { display:flex; gap:18px; align-items:center; justify-content:center; font-size:10px; color:var(--muted-foreground); margin-top:15px; }
.hero-trust span { display:flex; gap:5px; align-items:center; }
.phone-stage { width:900px; max-width:100%; margin:54px auto 0; height:590px; position:relative; display:flex; align-items:flex-start; justify-content:center; gap:32px; }
.phone { width:282px; height:578px; flex-shrink:0; position:relative; background:var(--muted); border:5px solid var(--card); outline:1px solid var(--border); border-radius:40px; box-shadow:var(--phone-shadow); overflow:hidden; text-align:left; color:var(--ink); }
.phone-stage > .phone:first-child { transform:rotate(-8deg) translateY(55px); }
.phone-stage > .phone:last-child { transform:rotate(8deg) translateY(55px); }
.phone-stage > .phone:nth-child(2) { width:294px; height:600px; z-index:2; }
.phone-status { height:39px; position:relative; padding:13px 19px 0; font-size:10px; font-weight:700; display:flex; justify-content:space-between; align-items:flex-start; }
.phone-status > span:last-child { display:flex; align-items:center; gap:3px; }
.dynamic-island { position:absolute; width:77px; height:22px; border-radius:20px; background:var(--ink); top:6px; left:50%; transform:translateX(-50%); }
.phone-content { padding:12px 12px 70px; }
.phone-top { display:flex; align-items:center; justify-content:space-between; margin-bottom:8px; }
.phone-top .brand-mark { height:25px; width:25px; border-radius:8px; }
.phone-top .brand-mark svg { width:20px; }
.phone-top > span:nth-child(2) { margin-left:auto; margin-right:8px; font-size:9px; background:var(--card); border-radius:20px; padding:7px 10px; }
.mini-avatar { width:24px; height:24px; font-size:9px; display:grid; place-items:center; background:var(--accent); color:var(--primary); border-radius:50%; font-weight:600; }
.phone h3 { font-size:24px; line-height:1.2; font-weight:800; margin:0 0 10px; }
.mini-summary { padding:15px; background:var(--hero); color:var(--hero-text); border-radius:19px; font-size:8px; box-shadow:0 8px 16px color-mix(in oklch,var(--hero) 16%,transparent); }
.mini-amount { color:var(--primary-foreground); font-size:33px; font-weight:700; font-family:var(--font-display); line-height:1.35; font-variant-numeric:tabular-nums; }
.mini-amount > span { font-size:23px; }
.mini-amount > small { font-size:9px; font-weight:400; color:var(--hero-text); }
.mini-trend { font-size:7px; padding:2px 4px; border-radius:6px; color:var(--success-soft); background:color-mix(in oklch,var(--success) 15%,transparent); }
.mini-progress { height:4px; margin:8px 0; background:color-mix(in oklch,var(--hero-text) 25%,transparent); border-radius:4px; }
.mini-progress i { width:89%; height:100%; display:block; background:var(--hero-text); border-radius:4px; }
.category-icon { width:32px; height:32px; border-radius:10px; display:inline-flex; align-items:center; justify-content:center; flex-shrink:0; color:var(--primary-foreground); background:var(--primary); }
.dining { --category:var(--dining); } .groceries { --category:var(--groceries); } .shopping { --category:var(--shopping); } .travel { --category:var(--travel); } .household { --category:var(--household); } .transport { --category:var(--transport); } .care { --category:var(--care); } .other { --category:var(--other); } .coffee { --category:var(--coffee); }
.category-icon.dining,.category-icon.groceries,.category-icon.shopping,.category-icon.travel,.category-icon.household,.category-icon.transport,.category-icon.care,.category-icon.other,.category-icon.coffee { background:var(--category); }
.category-icon.success,.action-1 { background:var(--success); } .category-icon.warning,.action-3 { background:var(--warning); } .action-2 { background:var(--care); }
.mini-checked { display:flex; align-items:center; gap:8px; margin-top:10px; background:var(--card); border-radius:17px; padding:11px; font-size:9px; }
.mini-checked > svg { margin-left:auto; color:var(--muted-foreground); }
.mini-badge { font-size:6px; font-weight:600; padding:2px 4px; border-radius:5px; }
.mini-badge.warning { color:var(--warning-text); background:var(--warning-soft); } .mini-badge.success { color:var(--success-text); background:var(--success-soft); }
.mini-actions { display:flex; justify-content:space-between; margin:13px 0; gap:7px; }
.mini-actions > div { display:flex; align-items:center; flex-direction:column; gap:4px; background:var(--card); border-radius:15px; flex:1; padding:8px 0; font-size:8px; }
.mini-actions .category-icon { width:30px; height:30px; border-radius:9px; }
.mini-section-title { display:flex; align-items:center; justify-content:space-between; font-weight:700; font-size:13px; margin:14px 3px 8px; }
.mini-section-title > span { font-size:8px; color:var(--primary); font-weight:400; }
.mini-group { background:var(--card); border-radius:16px; overflow:hidden; }
.mini-budget,.mini-expense { display:flex; gap:8px; align-items:center; padding:9px 10px; border-bottom:1px solid var(--muted); font-size:9px; }
.mini-budget:last-child,.mini-expense:last-child { border:0; }
.mini-budget .category-icon,.mini-expense .category-icon { width:23px; height:23px; border-radius:7px; }
.mini-budget > div:nth-child(2),.mini-expense > div:nth-child(2) { flex:1; }
.mini-budget > div:last-child,.mini-expense > div:last-child { text-align:right; }
.mini-budget b,.mini-expense b { font-weight:500; }
.mini-budget small,.mini-expense small { display:block; font-size:7px; line-height:1.6; color:var(--muted-foreground); }
.category-line { width:100%; height:3px; background:var(--category); border-radius:3px; margin-top:3px; }
.mini-bottom { position:absolute; left:10px; right:10px; bottom:17px; display:flex; gap:7px; }
.mini-bottom > div { background:var(--glass); backdrop-filter:blur(10px); border:1px solid var(--card); border-radius:40px; padding:5px; display:flex; flex:1; box-shadow:var(--soft-shadow); }
.mini-bottom > div > span { flex:1; display:flex; flex-direction:column; align-items:center; gap:3px; padding:4px 0; }
.mini-bottom small { font-size:6px; } .mini-bottom .selected { color:var(--primary); border-radius:40px; background:var(--secondary); }
.mini-scan { height:47px; width:47px; border-radius:50%; background:var(--primary); color:var(--primary-foreground); display:grid; place-items:center; }
.home-indicator { width:88px; height:3px; background:var(--ink); border-radius:6px; position:absolute; bottom:5px; left:50%; transform:translateX(-50%); }
.mini-stats { display:flex; gap:5px; margin-top:10px; } .mini-stats > div { padding:7px; background:color-mix(in oklch,var(--hero-text) 12%,transparent); border-radius:8px; flex:1; } .mini-stats small,.mini-stats b { display:block; } .mini-stats b { color:var(--primary-foreground); font-size:11px; margin-top:3px; } .mini-stats small { font-size:6px; }
.mini-tool-grid { display:grid; grid-template-columns:1fr 1fr; gap:7px; } .mini-tool-grid > div { background:var(--card); border-radius:15px; padding:12px; } .mini-tool-grid b,.mini-tool-grid small { display:block; } .mini-tool-grid b { font-size:10px; margin:8px 0 3px; } .mini-tool-grid small { font-size:7px; color:var(--muted-foreground); }
.mini-question { background:var(--card); padding:13px; border-radius:16px; font-size:10px; } .mini-question .category-icon { width:27px; height:27px; margin-right:7px; vertical-align:middle; } .mini-question p { font-size:10px; margin:10px 0; color:var(--muted-foreground); line-height:1.5; } .mini-question > div { display:flex; gap:7px; } .mini-question > div span { background:var(--secondary); color:var(--primary); padding:8px; flex:1; text-align:center; border-radius:20px; font-size:8px; font-weight:600; } .mini-question > div span:last-child { background:var(--primary); color:var(--primary-foreground); }
.mini-budget-hero { display:flex; align-items:center; gap:16px; background:var(--card); padding:18px 14px; border-radius:19px; } .preview-ring { height:65px; width:65px; border:5px solid var(--primary); border-right-color:var(--secondary); border-radius:50%; display:grid; place-items:center; font-size:16px; font-weight:800; transform:rotate(-15deg); } .mini-budget-hero b { font-size:15px; } .mini-budget-hero small,.mini-budget-hero span { display:block; font-size:8px; margin-top:4px; } .mini-warning { background:var(--warning-soft); padding:12px; border-radius:15px; margin-top:12px; font-size:10px; } .mini-warning small { display:block; font-size:8px; color:var(--muted-foreground); margin-top:4px; }
.stage-label { position:absolute; z-index:3; background:var(--glass); border:1px solid var(--card); backdrop-filter:blur(12px); padding:12px 17px; border-radius:14px; box-shadow:var(--soft-shadow); display:flex; align-items:center; gap:9px; text-align:left; font-size:10px; }
.stage-label b { display:block; font-size:11px; } .stage-label small { color:var(--muted-foreground); font-size:9px; } .stage-label svg { color:var(--success-text); } .stage-label-left { left:-22px; top:285px; transform:rotate(-4deg); } .stage-label-right { right:-18px; top:140px; transform:rotate(5deg); }
.landing-proof { display:flex; justify-content:center; gap:64px; padding:48px 24px; border-bottom:1px solid var(--border); background:var(--card); position:relative; font-size:12px; color:var(--muted-foreground); }
.landing-proof span { display:flex; align-items:center; gap:9px; } .landing-proof svg { color:var(--primary); width:17px; }
.feature-section { max-width:1080px; margin:0 auto; padding:100px 32px; display:grid; grid-template-columns:1fr 1fr; gap:100px; align-items:center; }
.section-kicker { color:var(--primary); text-transform:uppercase; font-size:11px; font-weight:700; }
.feature-section h2 { font-size:38px; line-height:1.2; font-weight:800; margin:17px 0; } .feature-section p { font-size:14px; color:var(--muted-foreground); line-height:1.8; }
.feature-image { border-radius:24px; width:100%; aspect-ratio:1.15; object-fit:cover; }
.feature-points { display:flex; flex-direction:column; gap:15px; margin:26px 0; font-size:13px; } .feature-points span { display:flex; align-items:center; gap:9px; } .feature-points svg { color:var(--success-text); width:17px; }
.privacy-band { text-align:center; padding:65px 24px; background:var(--secondary); } .privacy-band > svg { color:var(--primary); width:28px; height:28px; margin:auto; } .privacy-band h2 { font-size:32px; font-weight:800; margin:15px 0; } .privacy-band p { color:var(--muted-foreground); font-size:14px; max-width:430px; margin:auto; line-height:1.7; }
.final-cta { text-align:center; padding:80px 24px; } .final-cta h2 { font-size:37px; font-weight:800; margin-bottom:22px; }
.site-footer { max-width:1192px; margin:auto; padding:28px 30px; border-top:1px solid var(--border); display:flex; justify-content:space-between; align-items:center; font-size:11px; color:var(--muted-foreground); } .site-footer .brand { font-size:18px; } .site-footer .brand-mark { width:26px; height:26px; border-radius:8px; }
/* App */
.app-background { background:var(--muted); min-height:100svh; }
.app-desktop-bar { max-width:1080px; margin:auto; padding:20px 28px; display:flex; justify-content:space-between; align-items:center; } .app-desktop-bar .brand { font-size:22px; }
.app-shell { max-width:1000px; margin:auto; padding:20px 30px 130px; } .app-top { display:flex; justify-content:space-between; align-items:center; margin-bottom:26px; } .app-top h1 { font-size:34px; font-weight:800; } .app-top p { color:var(--muted-foreground); font-size:13px; margin-bottom:5px; } .app-top-actions { display:flex; gap:8px; }
.demo-banner { display:flex; justify-content:space-between; align-items:center; font-size:12px; background:var(--secondary); color:var(--primary); padding:10px 17px; border-radius:12px; margin-bottom:22px; }
.app-two-columns { display:grid; grid-template-columns:1.2fr 1fr; gap:25px; } .app-panel { background:var(--card); border-radius:24px; overflow:hidden; box-shadow:var(--soft-shadow); } .spending-panel { background:var(--hero); color:var(--primary-foreground); padding:28px; border-radius:26px; box-shadow:var(--phone-shadow); } .spending-label { display:flex; justify-content:space-between; font-size:12px; color:var(--hero-text); } .spending-amount { font-family:var(--font-display); font-size:46px; font-weight:800; font-variant-numeric:tabular-nums; line-height:1.6; } .spending-panel progress { width:100%; height:6px; border:0; border-radius:9px; appearance:none; } progress::-webkit-progress-bar { background:var(--accent); border-radius:9px; } progress::-webkit-progress-value { background:var(--primary); border-radius:9px; } .spending-panel progress::-webkit-progress-bar { background:color-mix(in oklch,var(--hero-text) 22%,transparent); } .spending-panel progress::-webkit-progress-value { background:var(--hero-text); } .spending-bottom { display:flex; align-items:center; justify-content:space-between; font-size:11px; color:var(--hero-text); margin-top:12px; }
.app-check-summary { padding:20px; display:flex; align-items:center; gap:14px; margin-top:18px; } .app-check-summary b { font-size:15px; } .app-check-summary p { display:flex; gap:6px; margin-top:6px; } .app-check-summary > svg { margin-left:auto; color:var(--muted-foreground); }
.status-badge { display:inline-flex; align-items:center; gap:4px; font-size:10px; font-weight:600; padding:3px 8px; border-radius:20px; white-space:nowrap; } .status-checked,.status-fixed { color:var(--success-text); background:var(--success-soft); } .status-review,.status-flagged { color:var(--warning-text); background:var(--warning-soft); } .status-manual { color:var(--muted-foreground); background:var(--muted); }
.quick-actions { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; margin:21px 0 27px; } .quick-actions .truesum-tool-button { flex-direction:column; gap:8px; padding:15px 8px; font-size:11px; } .quick-actions .category-icon { width:37px; height:37px; border-radius:12px; }
.app-section-heading { display:flex; justify-content:space-between; align-items:center; margin:24px 4px 12px; } .app-section-heading h2 { font-weight:700; font-size:19px; } .app-section-heading .btn-link { font-size:12px; color:var(--primary); }
.expense-row { width:100%; display:flex; align-items:center; gap:12px; border-radius:0; box-shadow:none; padding:15px 18px; justify-content:flex-start; border-bottom:1px solid var(--muted); text-align:left; } .expense-row:hover { background:var(--muted); } .expense-row:last-child { border:0; } .expense-row > div:nth-child(2) { flex:1; min-width:0; } .expense-row strong { font-weight:600; font-size:13px; display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; } .expense-row small { display:block; font-size:11px; color:var(--muted-foreground); margin-top:4px; } .expense-row > div:nth-child(3) { text-align:right; } .expense-row .status-badge { margin-top:4px; } .expense-row > svg { width:12px; color:var(--muted-foreground); }
.budget-row { display:flex; align-items:center; padding:17px 18px; gap:12px; border-bottom:1px solid var(--muted); } .budget-row:last-child { border:0; } .budget-row > div:nth-child(2) { flex:1; } .budget-row b { font-size:13px; font-weight:600; } .budget-row small { display:block; color:var(--muted-foreground); font-size:10px; margin:5px 0; } .budget-row > div:last-child { text-align:right; } .budget-row progress { height:4px; width:100%; display:block; appearance:none; } .budget-row progress::-webkit-progress-value { background:var(--category); } .budget-row.is-close progress::-webkit-progress-value { background:var(--warning); } .budget-row.is-over progress::-webkit-progress-value { background:var(--destructive); } .budget-row.is-over > div:last-child small { color:var(--destructive); }
.app-nav-wrap { position:fixed; bottom:24px; left:50%; transform:translateX(-50%); display:flex; gap:10px; z-index:20; width:390px; max-width:calc(100% - 28px); } .app-tabs { background:var(--glass); backdrop-filter:blur(22px); border:1px solid var(--card); box-shadow:var(--phone-shadow); border-radius:50px; display:flex; flex:1; padding:6px; } .app-tab { flex:1; height:54px; padding:0; border-radius:40px; display:flex; flex-direction:column; gap:4px; font-size:9px; color:var(--muted-foreground); background:transparent; box-shadow:none; } .app-tab svg { width:20px; height:20px; } .app-tab.active { color:var(--primary); background:var(--secondary); } .scan-fab { width:68px; height:68px; border-radius:50%; padding:0; box-shadow:0 8px 24px color-mix(in oklch,var(--primary) 30%,transparent); } .scan-fab svg { width:25px; height:25px; }
.search-box { position:relative; } .search-box svg { position:absolute; left:14px; top:14px; color:var(--muted-foreground); width:18px; } .search-box input { padding-left:43px; }
.field { width:100%; background:var(--card); border:1px solid var(--border); border-radius:13px; padding:13px 14px; color:var(--foreground); outline:none; font-size:14px; } .field:focus { border-color:var(--primary); box-shadow:0 0 0 3px var(--secondary); } .field-label { display:block; font-size:12px; font-weight:600; margin:17px 0 7px; }
.filter-chips { display:flex; flex-wrap:wrap; gap:8px; margin:15px 0 24px; } .filter-chip { min-height:34px; height:34px; padding:7px 13px; font-size:11px; border-radius:20px; box-shadow:none; } .filter-chip.selected { background:var(--primary); color:var(--primary-foreground); }
.month-total { display:flex; justify-content:space-between; font-size:13px; color:var(--muted-foreground); margin:20px 4px; } .month-total strong { color:var(--foreground); font-size:19px; }
.day-heading { display:flex; justify-content:space-between; font-size:10px; color:var(--muted-foreground); font-weight:600; text-transform:uppercase; margin:20px 8px 9px; }
.budget-overview { display:flex; gap:30px; align-items:center; padding:30px; } .budget-ring { width:105px; height:105px; display:grid; place-items:center; border:8px solid var(--primary); border-right-color:var(--secondary); border-radius:50%; font-size:24px; font-weight:800; flex-shrink:0; } .budget-overview h2 { font-size:28px; font-weight:800; } .budget-overview p { font-size:12px; color:var(--muted-foreground); margin:6px 0 10px; }
.warning-panel { padding:18px; background:var(--warning-soft); border-radius:20px; display:flex; gap:12px; margin-top:18px; } .warning-panel > svg { color:var(--warning-text); flex-shrink:0; width:20px; } .warning-panel b { font-size:13px; } .warning-panel p { font-size:12px; line-height:1.6; color:var(--muted-foreground); margin-top:4px; }
.check-hero { background:var(--hero); color:var(--primary-foreground); padding:28px; border-radius:26px; } .check-hero > p { color:var(--hero-text); font-size:12px; } .check-hero h2 { font-size:40px; font-weight:800; margin:12px 0; } .check-hero h2 span { font-size:14px; font-weight:400; color:var(--hero-text); } .check-stat-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; } .check-stat-grid div { background:color-mix(in oklch,var(--hero-text) 12%,transparent); border-radius:12px; padding:14px; } .check-stat-grid small { display:block; color:var(--hero-text); font-size:10px; } .check-stat-grid b { display:block; font-size:18px; margin-top:6px; }
.tools-grid { display:grid; grid-template-columns:1fr 1fr; gap:12px; } .tools-grid .truesum-tool-button { align-items:flex-start; flex-direction:column; gap:7px; text-align:left; } .tools-grid b { font-size:13px; } .tools-grid small { font-size:11px; color:var(--muted-foreground); font-weight:400; line-height:1.5; }
.empty-state { padding:50px 25px; text-align:center; color:var(--muted-foreground); font-size:13px; } .empty-state > svg { margin:auto auto 14px; width:35px; height:35px; color:var(--primary); } .empty-state b { color:var(--foreground); display:block; font-size:18px; margin-bottom:8px; }
.question-panel { padding:20px; } .question-panel h3 { font-size:16px; font-weight:700; margin-bottom:9px; } .question-panel p { font-size:13px; color:var(--muted-foreground); line-height:1.6; margin:12px 0 17px; } .question-panel .question-actions { display:flex; gap:10px; } .question-actions .truesum-button { flex:1; font-size:12px; padding:11px; }
.truesum-modal-overlay { background:var(--scrim); position:fixed; inset:0; z-index:40; backdrop-filter:blur(4px); } .truesum-modal { position:fixed; top:50%; left:50%; transform:translate(-50%,-50%); z-index:41; width:460px; max-width:calc(100% - 28px); max-height:88svh; overflow:auto; background:var(--muted); padding:26px; border:1px solid var(--card); border-radius:30px; box-shadow:var(--phone-shadow); } .modal-title { font-family:var(--font-display); font-size:24px; font-weight:800; padding-right:30px; } .modal-close { position:absolute; right:16px; top:16px; } .modal-description { color:var(--muted-foreground); font-size:12px; line-height:1.6; margin-top:9px; } .modal-footer { display:flex; gap:10px; margin-top:25px; } .modal-footer .truesum-button { flex:1; }
.amount-large { text-align:center; font-family:var(--font-display); font-size:42px; font-weight:800; margin:20px 0; } .detail-group { background:var(--card); border-radius:18px; padding:17px; margin-top:15px; font-size:13px; } .detail-group h3 { font-size:14px; font-weight:700; margin-bottom:12px; } .detail-line { display:flex; justify-content:space-between; gap:15px; margin:10px 0; font-size:12px; } .detail-line span:first-child { color:var(--muted-foreground); }
.upload-zone { border:1px dashed var(--primary); background:var(--secondary); padding:30px 15px; border-radius:20px; text-align:center; margin-top:23px; } .upload-zone svg { color:var(--primary); margin:auto auto 12px; width:32px; height:32px; } .upload-zone p { font-size:12px; color:var(--muted-foreground); margin:10px 0; } .upload-zone input { width:100%; font-size:12px; } .upload-zone input::file-selector-button { border:0; border-radius:20px; padding:10px 15px; background:var(--primary); color:var(--primary-foreground); font:inherit; cursor:pointer; margin-right:10px; }
.receipt-preview { display:flex; gap:8px; overflow:auto; margin:15px 0; } .receipt-preview img { width:85px; height:105px; object-fit:cover; border-radius:9px; }
.error-note { color:var(--destructive); background:var(--card); padding:13px; border-radius:12px; font-size:12px; line-height:1.5; margin-top:14px; }
.result-verdict { display:flex; align-items:center; flex-direction:column; gap:12px; padding:15px 0; } .result-verdict svg { width:48px; height:48px; color:var(--success-text); } .result-verdict.review svg { color:var(--warning-text); } .result-verdict h2 { font-size:26px; font-weight:800; text-align:center; }
.insights-chart { display:flex; height:160px; align-items:flex-end; gap:14px; padding:20px 10px 0; } .insights-chart > div { flex:1; display:flex; flex-direction:column; justify-content:flex-end; align-items:center; height:100%; font-size:9px; gap:8px; } .insights-chart i { width:100%; background:var(--secondary); border-radius:5px 5px 0 0; display:block; } .insights-chart > div:last-child i { background:var(--primary); } .chart-bar-0 { height:75%; } .chart-bar-1 { height:89%; } .chart-bar-2 { height:68%; } .chart-bar-3 { height:98%; } .chart-bar-4 { height:85%; } .chart-bar-5 { height:78%; }
.staff-display { background:var(--card); padding:27px; border-radius:20px; margin-top:20px; } .staff-display p { font-size:16px; line-height:1.8; }
.auth-divider { display:flex; align-items:center; gap:10px; color:var(--muted-foreground); font-size:11px; margin:23px 0 6px; } .auth-divider::before,.auth-divider::after { content:''; height:1px; flex:1; background:var(--border); }
@media(min-width:1500px) { .landing-hero { padding-top:65px; } }
@media(max-width:800px) { .site-nav-links { gap:20px; } .landing-hero h1 { font-size:48px; } .phone-stage { width:750px; max-width:none; left:50%; transform:translateX(-50%); gap:19px; } .phone-stage .phone { width:245px; height:570px; } .phone-stage > .phone:nth-child(2) { width:282px; height:590px; } .stage-label-left { left:40px; } .stage-label-right { right:40px; } .feature-section { gap:40px; padding:70px 28px; } .feature-section h2 { font-size:30px; } .landing-proof { gap:30px; } .app-two-columns { gap:18px; } }
@media(max-width:600px) { .site-nav { height:75px; padding:0 22px; } .site-nav .brand { font-size:21px; } .site-nav-links > a:not(:last-child) { display:none; } .landing-hero { padding:35px 20px 0; } .landing-hero h1 { font-size:39px; line-height:1.17; margin-top:22px; } .hero-subtitle { font-size:13px; max-width:330px; } .hero-trust { font-size:9px; gap:13px; } .phone-stage { margin-top:44px; height:572px; width:630px; gap:12px; } .phone-stage .phone { width:218px; height:530px; } .phone-stage > .phone:nth-child(2) { width:274px; height:573px; } .phone-stage > .phone:first-child { margin-right:-64px; transform:rotate(-10deg) translateY(75px); } .phone-stage > .phone:last-child { margin-left:-64px; transform:rotate(10deg) translateY(75px); } .stage-label { display:none; } .landing-proof { flex-wrap:wrap; gap:20px; padding:30px 20px; font-size:10px; } .feature-section { grid-template-columns:1fr; gap:28px; padding:60px 24px; } .feature-section h2 { font-size:32px; } .feature-section p { font-size:13px; } .feature-section.reverse > div { order:0; } .feature-section.reverse > img { order:1; } .privacy-band h2 { font-size:27px; } .final-cta h2 { font-size:29px; } .site-footer { flex-direction:column; gap:18px; } .app-desktop-bar { padding:18px 20px 8px; } .app-desktop-bar .brand { font-size:19px; } .app-desktop-bar .brand-mark { width:29px; height:29px; } .app-shell { padding:18px 16px 120px; } .app-top { margin-bottom:20px; } .app-top h1 { font-size:31px; } .app-two-columns { grid-template-columns:1fr; gap:0; } .spending-panel { padding:23px; } .spending-amount { font-size:42px; } .app-section-heading { margin-top:22px; } .app-nav-wrap { bottom:18px; } .budget-overview { padding:23px; gap:20px; } .budget-overview h2 { font-size:24px; } .budget-ring { width:85px; height:85px; border-width:7px; font-size:20px; } .truesum-modal { padding:24px 20px; } .check-hero { padding:23px; } .check-stat-grid div { padding:12px 9px; } .check-stat-grid b { font-size:16px; } }
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto!important; transition:none!important; animation:none!important; } }

.spending-chart svg { width:100%; height:auto; margin-top:20px; }
.cashflow-summary { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; border-block:1px solid var(--border); padding:24px 0; }
.cashflow-stat span { display:block; font-size:12px; color:var(--muted-foreground); margin-bottom:8px; }
.cashflow-stat strong { display:block; font-size:28px; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
.cashflow-stat.income strong { color:var(--success-text); }
.payments-actions { display:flex; gap:10px; align-items:center; flex-wrap:wrap; margin:24px 0; }
.payments-actions > :last-child { margin-left:auto; }
.payments-category { width:auto; max-width:100%; margin-left:auto; font-size:12px; padding:8px 12px; }
.payment-row > div:last-child { flex-shrink:0; }
.app-nav-wrap { width:460px; }
@media(max-width:600px) { .cashflow-summary { gap:12px; } .cashflow-stat strong { font-size:21px; } .app-nav-wrap { gap:6px; } .app-tab { font-size:8px; min-width:0; } .scan-fab { width:56px; height:68px; } .payments-category { margin-left:0; width:100%; } }
.chart-budget-line { stroke:var(--warning); stroke-dasharray:4 4; } .chart-budget-label,.chart-month { fill:var(--muted-foreground); font-size:10px; font-family:var(--font-sans); } .chart-current { fill:var(--primary); } .chart-previous { fill:var(--secondary); }
@media(max-width:600px) { .landing-hero h1 { font-size:34px; } .phone-stage { height:362px; transform:translateX(-50%) scale(.62); transform-origin:top center; } .landing-proof { padding-top:22px; } .auth-divider + form + div { flex-wrap:wrap; } }
/* Tailwind/shadcn bits the Lovable markup relied on */
html { -webkit-text-size-adjust:100%; }
h1,h2,h3,h4,p { margin:0; }
a { color:inherit; text-decoration:none; }
img,svg { display:block; max-width:100%; } img { height:auto; }
.btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; white-space:nowrap; }
.btn svg { width:16px; height:16px; flex-shrink:0; }
.btn-link { color:var(--primary); font-weight:500; font-size:14px; padding:8px 16px; }
.btn-link:hover { text-decoration:underline; text-underline-offset:4px; }
.flex { display:flex; } .justify-between { justify-content:space-between; } .justify-center { justify-content:center; }
.text-primary { color:var(--primary); } .text-destructive { color:var(--destructive); } .text-warning { color:var(--warning-text); } .text-success { color:var(--success-text); }
.hidden { display:none; } @media (min-width:640px) { .sm-block { display:block; } }
.site-footer a:hover { color:var(--primary); }
.store-note { margin-top:14px; font-size:13px; color:var(--muted-foreground); }
.footer-links a { margin-left:10px; }
/* Legal pages in the landing style */
.legal-page { background:var(--background); }
.legal-hero { text-align:center; padding:56px 24px 48px; background:radial-gradient(ellipse at 50% 0%,var(--secondary),var(--background) 70%); }
.legal-hero h1 { font-size:48px; line-height:1.1; font-weight:800; margin:14px 0 10px; letter-spacing:-0.02em; }
.legal-updated { font-size:13px; color:var(--muted-foreground); }
.legal-lead { max-width:620px; margin:22px auto 0; }
.legal-lead p { font-size:16px; line-height:1.7; color:var(--muted-foreground); }
.legal-points { max-width:960px; margin:40px auto 0; display:grid; grid-template-columns:repeat(3,1fr); gap:16px; text-align:left; }
.legal-point { background:var(--card); border:1px solid var(--border); border-radius:20px; padding:22px; box-shadow:var(--soft-shadow); }
.legal-point b { display:block; font-family:var(--font-display); font-size:16px; font-weight:700; margin:14px 0 6px; }
.legal-point p { font-size:13px; line-height:1.6; color:var(--muted-foreground); }
.legal-point-icon { display:inline-flex; width:40px; height:40px; border-radius:12px; align-items:center; justify-content:center; background:var(--secondary); color:var(--primary); }
.legal-layout { max-width:1192px; margin:0 auto; padding:24px 30px 96px; display:grid; grid-template-columns:240px minmax(0,1fr); gap:48px; align-items:start; }
.legal-toc { position:sticky; top:24px; font-size:13px; }
.legal-toc > span { display:block; font-size:11px; font-weight:700; text-transform:uppercase; color:var(--muted-foreground); margin-bottom:12px; padding-left:14px; }
.legal-toc ol { list-style:none; margin:0; padding:0; border-left:1px solid var(--border); }
.legal-toc li a { display:block; padding:7px 14px; margin-left:-1px; border-left:2px solid transparent; color:var(--muted-foreground); }
.legal-toc li a:hover { color:var(--primary); border-left-color:var(--primary); }
.legal-toc-contact { display:inline-flex; align-items:center; gap:8px; margin:20px 0 0 14px; color:var(--primary); font-weight:500; }
.legal-card { background:var(--card); border:1px solid var(--border); border-radius:24px; padding:16px 48px; box-shadow:var(--soft-shadow); }
.legal-doc section { padding:32px 0; scroll-margin-top:24px; }
.legal-doc section + section { border-top:1px solid var(--border); }
.legal-doc h2 { display:flex; align-items:center; gap:12px; font-size:22px; font-weight:800; margin:0 0 14px; }
.legal-doc h2 .num { font-family:var(--font-sans); font-size:12px; font-weight:600; color:var(--primary); background:var(--secondary); border-radius:999px; padding:4px 9px; }
.legal-doc p, .legal-doc li { font-size:15px; line-height:1.75; color:var(--muted-foreground); }
.legal-doc ul { margin:0; padding-left:20px; } .legal-doc li { margin:8px 0; } .legal-doc li::marker { color:var(--primary); }
.legal-doc strong { color:var(--foreground); font-weight:600; }
.legal-doc a, .legal-lead a { color:var(--primary); } .legal-doc a:hover { text-decoration:underline; text-underline-offset:3px; }
.site-nav-links a[aria-current="page"] { color:var(--primary); }
@media (max-width:900px) {
  .legal-layout { grid-template-columns:1fr; gap:0; padding:8px 16px 64px; }
  .legal-toc { display:none; }
  .legal-points { grid-template-columns:1fr; gap:12px; }
  .legal-point { display:grid; grid-template-columns:40px 1fr; column-gap:14px; padding:16px 18px; }
  .legal-point-icon { grid-row:span 2; }
  .legal-point b { margin:0 0 2px; }
  .legal-card { padding:8px 22px; border-radius:20px; }
  .legal-hero { padding:40px 16px 32px; }
  .legal-hero h1 { font-size:36px; }
  .legal-doc h2 { font-size:19px; }
}
