/* Aurora — lighting as hierarchy; decorative surfaces never encode financial data. */
:root{--forest:#0b1511;--panel:#1b3028;--surface:#1b3028;--ink:#f4f6ef;--muted:#c1d0c5;--line:#557064;--lime:#d0f88b;--lavender:#c4b5f4;--ivory:#f4f3ed;--aurora-edge:linear-gradient(120deg,#d7f2b7b0,#759d8b50 36%,#b8a4ed91 85%,#e7d8b85e);--aurora-glass:linear-gradient(145deg,#344c41d9,#14241edd 70%,#283b39e8);--aurora-lime:radial-gradient(ellipse at 15% 0%,#f4ffd1,transparent 56%),radial-gradient(ellipse at 105% 110%,#a0bd6d,transparent 66%),linear-gradient(120deg,#d6f5a0,#badc83);--aurora-lav:radial-gradient(ellipse at 8% -10%,#f9eeff,transparent 58%),radial-gradient(ellipse at 110% 88%,#aa95d9,transparent 67%),linear-gradient(145deg,#dfcef7,#c4b2ee);--aurora-sand:radial-gradient(ellipse at 2% 0%,#fff3d7,transparent 62%),radial-gradient(ellipse at 110% 86%,#d5a7a8,transparent 65%),linear-gradient(130deg,#f7ddb7,#ebc89d)}
html{background:#0b1511}body{background:radial-gradient(ellipse at 90% 0%,#35523e 0,transparent 26rem),radial-gradient(ellipse at 0% 35%,#263e35 0,transparent 29rem),radial-gradient(ellipse at 100% 77%,#272b3a 0,transparent 29rem),#0b1511;background-attachment:scroll;line-height:1.43}header h1{font-weight:720;letter-spacing:-2.4px}header>div>small:first-child{color:#c3d3c6}#mode{letter-spacing:.015em}#eye,#globalBack{color:#f2f6ef}#eye{background:var(--aurora-glass) padding-box,var(--aurora-edge) border-box;border:1px solid transparent;box-shadow:inset 0 1px 0 #ffffff27,0 6px 20px #0004}
/* Layered radial fields are a CSS approximation of mesh gradients. */
.hero{background:radial-gradient(ellipse at 93% 4%,#62896a76,transparent 54%),radial-gradient(ellipse at 8% 72%,#2e62505c,transparent 59%),radial-gradient(ellipse at 96% 100%,#564a7755,transparent 60%),linear-gradient(150deg,#294337,#142920 64%,#263a32) padding-box;border:1px solid #819d7d65;border-radius:30px;box-shadow:0 18px 40px #030b0766,inset 0 1px 1px #d7efc52b;isolation:isolate}.hero-numbers .big{font-weight:710;color:#fff;text-shadow:0 2px 18px #06140e52}.hero small{color:#dae5db}.hero-stage{min-height:115px}.sculpture-wrap:before{background:radial-gradient(ellipse at 30% 36%,#c5fa7e45,transparent 66%),radial-gradient(ellipse at 75% 62%,#baa3ff48,transparent 66%);inset:0 -10% -8%;filter:blur(12px)}.trend-interactive svg polyline,.trend-interactive svg path{stroke-linecap:round;stroke-linejoin:round}.trend-interactive [data-point].picked{filter:drop-shadow(0 0 7px #d0f88b)}.trend-selector output{color:#e1f1d9}.trend-selector input::-webkit-slider-runnable-track{background:linear-gradient(90deg,#65866e,#8e86af)}.trend-selector input::-moz-range-track{background:linear-gradient(90deg,#65866e,#8e86af)}
.flow-pair>div{background:radial-gradient(ellipse at 95% -18%,#a2c8815c,transparent 73%),radial-gradient(ellipse at -5% 110%,#486d4a,transparent 72%),#20382b;border:1px solid #a8cf8660;box-shadow:inset 0 1px 0 #e2f4c52c,0 9px 16px #0003;border-radius:23px;padding:13px}.flow-pair>div:nth-child(2){background:radial-gradient(ellipse at 95% -15%,#c0a6f36b,transparent 75%),radial-gradient(ellipse at 0% 120%,#665681,transparent 65%),#302c44;border-color:#c4b5f45c}.flow-pair small{color:#e9eee6}.flow-icon.incoming{background:var(--aurora-lime);box-shadow:0 0 13px #c7f68c37,inset 0 1px 0 #fff9}.flow-icon.outgoing{background:var(--aurora-lav);box-shadow:0 0 13px #c4b5f437,inset 0 1px 0 #fff9}.flow-pair h2{color:#fff}.hero>.refund-summary{border:1px solid #9cc3ae55;border-radius:18px;background:radial-gradient(ellipse at 100% 0%,#76ae9b42,transparent 65%),#193b33;padding:10px 13px;color:#e0f0e6}.refund-summary strong{white-space:normal;text-align:right;overflow-wrap:anywhere;min-width:0}
/* Static account cards: distinct luminous material, not animated or fake bank cards. */
.account-tile{background:var(--aurora-lime);border-color:#e7ffcba8}.account-tile:nth-child(2){background:var(--aurora-lav);border-color:#e7d9ffb0}.account-tile:nth-child(3){background:var(--aurora-sand);border-color:#fff0d3a8}.account-tile:after{border-color:#ffffff32;box-shadow:inset 2px 6px 12px #24352d22,0 5px 10px #24352d18;right:-23px;top:-7px}.account-tile:before{background:linear-gradient(125deg,transparent 20%,#ffffff26 41%,transparent 56%)}.wallet small,.wallet-foot{color:#263d2b}.account-tile,.account-tile:nth-child(2),.account-tile:nth-child(3){transform:none!important}
/* Key actions: one bright surface; secondary controls use outlined glass. */
button.primary,.primary{background:var(--aurora-lime);color:#14251b;border:1px solid #e5ffc3;border-radius:999px;box-shadow:inset 0 1px 0 #fff9,0 5px 17px #b5e56f26;font-weight:700;min-height:48px}button.primary:disabled{box-shadow:none}#bankAction,.secondary-actions .quiet{background:var(--aurora-glass) padding-box,var(--aurora-edge) border-box;border:1px solid transparent;color:#f2f6ef;border-radius:20px;box-shadow:0 5px 12px #0002}#bankAction{color:#def6c4}.filters select{background:linear-gradient(150deg,#33483d,#1c3028);border-color:#74918280;color:#f4f6ef}.filter-reset,.sectionhead button{color:#d0f88b}.sectionhead>small{color:#c1d0c5}.easycards .voicecard{background:var(--aurora-lav)}.easycards .photocard{background:var(--aurora-sand)}.easycards .manualcard{background:var(--aurora-lime)}.easycards button{border-radius:28px;box-shadow:inset 0 1px 0 #fff9,0 13px 26px #0005}.easycards small{color:#26372e}.easycards .easyicon img{filter:drop-shadow(4px 12px 9px #17251d4f)}.record{background:radial-gradient(circle at 30% 10%,#4d6954,#12241b 80%);border:1px solid #a8c693;box-shadow:0 0 18px #b4e88335,0 8px 18px #0003}.record.recording{background:#a73d46;border-color:#f6b6bf;box-shadow:none}
/* Analytics: contrasting luminous accent and quiet category list. */
.analytics-hero{background:radial-gradient(ellipse at 3% 0%,#f5e9ff,transparent 50%),radial-gradient(ellipse at 95% 12%,#e2c2f6a8,transparent 53%),radial-gradient(ellipse at 105% 98%,#9b8bd3,transparent 65%),linear-gradient(140deg,#e0d2fa,#b9a8e9);color:#1c2230;border:1px solid #f0e4ff;box-shadow:inset 0 1px 0 #fff9,0 16px 34px #0005;border-radius:29px}.analytics-hero small,.analytics-hero .chart-note,#spendReadout{color:#322a46}.analytics-hero .refund-summary{border-color:#61507870}.bar-track{background:repeating-linear-gradient(to top,transparent 0 29px,#36274b20 30px 31px)}.bar-track span{background:linear-gradient(90deg,#374f43,#15291f);box-shadow:inset 1px 0 0 #d3e9cf44,3px 3px 5px #2a213c38}.bar-cell[aria-pressed=true]{background:#ffffff76;box-shadow:0 0 0 1px #4a3a63}.analysis-categories{background:#1b3028;border-color:#66847166}.analysis-categories .ring{box-shadow:0 9px 0 -3px #102219,0 15px 28px #0007,inset 0 2px 4px #ffffff45}.ring>div{background:#1b3028}.category-pick[aria-pressed=true]{background:#355344;box-shadow:inset 3px 0 #d0f88b}
/* Glass is limited to floating navigation; opaque fallback for legibility. */
nav,#backBar:not([hidden]){background:linear-gradient(135deg,#344b40,#172920 70%,#303c3d) padding-box,var(--aurora-edge) border-box;border:1px solid transparent;box-shadow:inset 0 1px 0 #ffffff25,0 12px 32px #0009}nav{backdrop-filter:none;-webkit-backdrop-filter:none}#backBar:not([hidden]){backdrop-filter:none;-webkit-backdrop-filter:none}nav .active{background:var(--aurora-lime);box-shadow:inset 0 1px 0 #fff9,0 3px 13px #d0f88b36;color:#14251b}nav button[data-tab=Aggiungi]:not(.active) b{background:linear-gradient(145deg,#f9fff0,#c0d9b2);box-shadow:inset 0 1px 0 #fff9,0 3px 12px #d0f88b30}nav .active[data-tab=Aggiungi]{background:var(--aurora-lime)}#globalBack{min-width:112px;color:#e4f9d8}#backContext{color:#d2e0d5}
@supports ((backdrop-filter:blur(12px)) or (-webkit-backdrop-filter:blur(12px))){nav,#backBar:not([hidden]){background:var(--aurora-glass) padding-box,var(--aurora-edge) border-box;backdrop-filter:blur(18px) saturate(125%);-webkit-backdrop-filter:blur(18px) saturate(125%)}}
/* Transaction and settings surfaces stay intentionally plain. */
.recent-card,.day-group .card{background:#f4f3ed;color:#101f1b}.recent-card .line,.day-group .line{border-color:#d5dcd3}.card:not(.recent-card):not(.analytics-hero):not(.analysis-categories){background-color:#1b3028}.advanced-panel,.smartrow,.match-dialog,.cloudcard input{background:#1b3028}.search-label input,input,select,textarea{border-color:#6b8877}.search-label input{background:#1b3028}.card button:not(.primary):not(.category-pick):not(.bar-cell):not(.refund-choice):not(.attview){border-radius:15px}.card .primary{border-radius:999px}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline-color:#d0f88b}.recent-card button:focus-visible,.day-group button:focus-visible,.analytics-hero button:focus-visible,.easycards button:focus-visible,.account-tile:focus-visible{outline-color:#203b29;outline-offset:-3px}
@media(max-width:350px){.hero-stage{min-height:102px}.flow-pair>div{padding:10px}.hero{border-radius:26px}.easycards button{border-radius:24px}.analytics-hero{border-radius:25px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
@media(prefers-reduced-transparency:reduce){nav,#backBar:not([hidden]){background:linear-gradient(140deg,#344b40,#182920) padding-box,var(--aurora-edge) border-box;backdrop-filter:none;-webkit-backdrop-filter:none}}
.day-group .card:not(.recent-card):not(.analytics-hero):not(.analysis-categories){background-color:#f4f3ed;color:#101f1b}

.account-note{font-size:12px;color:#c2d1c5;line-height:1.45;margin:10px 2px}.account-tile .wallet-foot span:first-child{font-size:10px;letter-spacing:.03em}.accounts-panel{scroll-margin-top:110px}.account-reference-list .line{align-items:center;gap:8px}.account-reference-list button{min-height:44px}.accounts-panel form{margin-top:12px}.account-onboarding{margin-top:18px}
