/* MoneyFlow | Material Edition. Static wallet surfaces, studio-lit objects, deliberate motion. */
:root{--forest:#101e19;--lime:#d0f88b;--muted:#bfd0c2;--ivory:#f4f3ed}
body{background:radial-gradient(ellipse at 100% 3%,#344e3e 0,transparent 34rem),radial-gradient(ellipse at -15% 60%,#22392e 0,transparent 36rem),#101e19;background-attachment:fixed;font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","Segoe UI",system-ui,sans-serif;font-feature-settings:"tnum" 1;-webkit-font-smoothing:antialiased}main{padding-top:calc(24px + env(safe-area-inset-top))}header h1{font-size:clamp(34px,9vw,42px);font-weight:740;letter-spacing:-2.7px}header small{font-size:12px;letter-spacing:.01em}#mode{font-size:11px;letter-spacing:.035em}#eye{width:46px;height:46px;background:linear-gradient(155deg,#496052,#253a30);box-shadow:inset 0 1px 0 #ffffff26,0 7px 15px #0002}
.hero{background:radial-gradient(ellipse at 86% 10%,#47634a66,transparent 56%),linear-gradient(145deg,#293f34,#192d24 65%);border:1px solid #617c6466;border-radius:28px;padding:19px 16px 16px;box-shadow:0 20px 42px #08100d55,inset 0 1px 0 #d7f9c51a}.hero-stage{min-height:145px;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr)}.hero-numbers .big{font-size:clamp(26px,8vw,44px);letter-spacing:-1.9px;font-weight:740;line-height:1.04}.hero-numbers>small:first-child{font-size:12px;font-weight:550}.flow-hint{font-size:10px}.flow-sculpture{filter:drop-shadow(0 13px 12px #06100b99)}.sculpture-wrap small{letter-spacing:0;font-size:10px}.trend-selector output{font-weight:550;font-size:12px}.trend-selector input{min-height:44px}.flow-pair>div{background:linear-gradient(150deg,#3b5143,#2a4035);border-color:#69816e50;border-radius:19px;box-shadow:inset 0 1px 0 #ffffff1a}.flow-icon{width:29px;height:29px;font-size:19px;box-shadow:inset 0 1px 1px #ffffff70}.flow-pair h2{font-weight:720}
.account-grid{gap:14px;grid-auto-columns:minmax(190px,72%);padding-bottom:18px;perspective:none;scrollbar-width:none}.account-grid::-webkit-scrollbar{display:none}.account-tile,.account-tile:nth-child(2),.account-tile:nth-child(3){transform:none!important;transition:box-shadow .18s,border-color .18s;min-height:159px;border-radius:23px;border:1px solid #ffffff82;background:radial-gradient(ellipse at 6% -12%,#f3ffd6,transparent 65%),linear-gradient(125deg,#d4ed9b,#a5c973);box-shadow:inset 0 1px 0 #ffffffe0,inset 0 -2px 0 #21361926,0 12px 22px #0005}.account-tile:nth-child(2){background:radial-gradient(ellipse at 5% -12%,#f6efff,transparent 65%),linear-gradient(125deg,#dbcef9,#b1a0df)}.account-tile:nth-child(3){background:radial-gradient(ellipse at 5% -12%,#fff6df,transparent 65%),linear-gradient(125deg,#f6ddb4,#d5ad77)}.account-tile:active:not(:disabled){box-shadow:inset 0 0 0 2px #233c3266,0 4px 10px #0004}.account-tile:after{width:152px;height:152px;right:-29px;top:-15px;border:23px solid #ffffff20;box-shadow:inset 3px 5px 12px #233c3226,0 4px 9px #233c3222;transform:rotate(-23deg) scaleY(.78)}.account-tile:before{background:linear-gradient(125deg,transparent 24%,#fff2 45%,transparent 61%)}.wallet-top strong{font-size:23px;letter-spacing:-.7px}.wallet-top svg{width:22px;height:22px}.wallet small{margin-top:12px}.account-amount{font-size:clamp(23px,6vw,32px);font-weight:750;letter-spacing:-1px}.wallet-foot{font-size:11px;font-weight:550;margin-top:8px}.sectionhead h2{font-weight:690;font-size:20px;letter-spacing:-.6px}.sectionhead button{font-size:12px}.recent-card,.day-group .card{border-radius:23px;box-shadow:0 12px 30px #0003}.category-icon{box-shadow:none}.line .detail strong{font-weight:680}
.section-kicker{font-size:10px;letter-spacing:.15em;color:#bcd2bd;margin:14px 0 6px;font-weight:700}.addtitle{font-size:clamp(30px,8vw,39px);letter-spacing:-1.6px;margin:0 0 7px;line-height:1.12}.addsub{font-size:14px;margin-bottom:21px}.easycards{gap:12px}.easycards button{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 100px;grid-template-rows:1fr;align-items:center;gap:8px;padding:20px 14px 20px 19px;min-height:135px;border-radius:25px;transform:none!important;transition:box-shadow .18s;box-shadow:inset 0 1px 0 #fff9,0 12px 22px #0004;border:1px solid #fff8}.easycards button:after{display:none}.easycards button span:nth-child(2){grid-column:1;grid-row:1;align-self:center;z-index:1;min-width:0}.easycards button>span:last-child{position:absolute;bottom:9px;right:12px;font-weight:700;font-size:20px}.easycards .easyicon{grid-column:2;grid-row:1;background:transparent;border:0;box-shadow:none;width:104px;height:104px;transform:none;pointer-events:none}.easyicon img{width:120px;height:120px;object-fit:contain;filter:drop-shadow(4px 8px 6px #14261b40)}.easycards strong{font-size:21px;font-weight:740;line-height:1.1;letter-spacing:-.65px}.easycards small{font-size:12px;line-height:1.4;max-width:180px;margin-top:8px}.easycards .voicecard{background:radial-gradient(ellipse at 91% 10%,#f1e8ff,#d1bdf3 70%)}.easycards .photocard{background:radial-gradient(ellipse at 90% 0%,#fff0d0,#ebcd9e 80%)}.easycards .manualcard{background:radial-gradient(ellipse at 90% 0%,#ecffc6,#c9e994 80%)}.easycards button:active:not(:disabled){box-shadow:inset 0 0 0 2px #243e3266,0 4px 8px #0004}.secondary-actions{gap:9px;margin-top:22px}
.analytics-hero{background:radial-gradient(ellipse at 100% 0%,#f2eaff,transparent 60%),linear-gradient(140deg,#ded1fa,#b9a7e7);border:1px solid #eee6ff;box-shadow:0 16px 32px #0004}.bar-track span{box-shadow:inset 1px 0 0 #c4d9c34d,3px 3px 5px #2a213c38}.category-pick{min-height:48px}.card:not(.recent-card):not(.analytics-hero){border-color:#59726066}.day-group .card{border:0!important}.capturepanel{box-shadow:inset 0 1px 0 #fff8,0 8px 22px #0003}.record{box-shadow:inset 0 1px 0 #ffffff40,0 8px 18px #0003}nav{background:linear-gradient(135deg,#394f43f7,#22372ef7);border-color:#6c877565;box-shadow:inset 0 1px 0 #ffffff23,0 13px 35px #0009;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}nav .active{background:linear-gradient(145deg,#e1ffa9,#c4eb7d);box-shadow:inset 0 1px 0 #ffffffa0,0 3px 9px #0003}nav button[data-tab=Aggiungi]:not(.active) b{background:#d0f88b;color:#15271d}nav button{min-height:52px}
@media(max-width:350px){main{padding-top:calc(18px + env(safe-area-inset-top))}.hero{padding:13px 12px}.hero-stage{min-height:116px}.hero-numbers .big{font-size:26px}.account-grid{grid-auto-columns:76%}.easycards button{grid-template-columns:minmax(0,1fr) 82px;min-height:120px;padding-left:15px}.easycards .easyicon{width:82px;height:82px}.easyicon img{width:96px;height:96px}.easycards strong{font-size:19px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}
/* Finishing pass: compact hero, avoid decorative object/arrow collisions. */
.hero-stage{min-height:124px}.hero{padding-top:14px}.trend-interactive{height:72px;margin-top:0}.trend-selector{gap:0}.trend-selector input{min-height:44px;height:44px}.hero .pair{margin-top:10px}.flow-pair>div{padding:10px 12px}.easycards button{min-height:126px;padding-top:15px;padding-bottom:15px}.easycards button>span:last-child{position:static;grid-column:1;grid-row:1;justify-self:start;align-self:end;line-height:1;font-size:16px;pointer-events:none}.easycards button span:nth-child(2){align-self:start;margin-top:8px;padding-bottom:20px}.easyicon img{width:112px;height:112px}.easycards button:focus-visible,.account-tile:focus-visible{outline:2px solid #f3ffe4;outline-offset:-4px}
@media(max-width:350px){.hero-stage{min-height:110px}.easycards button{min-height:118px}.easyicon img{width:95px;height:95px}.easycards button span:nth-child(2){margin-top:2px}}

/* Smart Refund */
.refund-state{display:block;color:#345e35;font-size:.76rem;font-weight:700;margin-top:5px;overflow-wrap:anywhere}.refund-state.refund-pending{color:#855019}.refund-state.neutral{color:#53665a}.refund-net{display:block!important;margin-top:3px}.refund-review{margin-top:6px}.refund-review summary{cursor:pointer;font-size:.78rem;font-weight:650;color:#345e35;min-height:32px;display:flex;align-items:center}.refund-review .refund-choice{display:block;width:100%;min-height:44px;text-align:left;white-space:normal;overflow-wrap:anywhere;margin:4px 0;padding:8px;background:#eef2e6;color:#182e22;border:1px solid #c3d0be;border-radius:10px;font-size:.76rem}.refund-summary{margin:12px 0 0;padding-top:10px;border-top:1px solid currentColor;font-size:.78rem;display:grid;gap:6px}.refund-summary>div{display:flex;justify-content:space-between;gap:8px;align-items:center}.refund-summary strong{white-space:nowrap}.refund-summary span{min-width:0;overflow-wrap:anywhere}
