:root { color-scheme: light; }
body { background: #f1f4f8; min-height: 100vh; }
.app-shell { max-width: 760px; }
.auth-card { max-width: 470px; margin: 9vh auto; }
.app-icon { display: inline-grid; place-items: center; width: 54px; height: 54px; color: #fff; background: linear-gradient(135deg, #0d6efd, #0a58ca); border-radius: 18px; font-size: 1.55rem; box-shadow: 0 8px 18px rgba(13, 110, 253, .25); }
.app-icon-small { width: 38px; height: 38px; border-radius: 12px; font-size: 1rem; box-shadow: none; }
.app-nav { gap: .2rem; padding: .25rem; background: #fff; border-radius: 1rem; box-shadow: 0 .15rem .6rem rgba(0, 0, 0, .08); }
.app-nav .nav-link { display: grid; gap: .1rem; padding: .45rem .2rem; border-radius: .8rem; font-size: .72rem; color: #53606d; }
.app-nav .nav-link i { font-size: 1rem; }
.app-nav .nav-link.active { color: #fff; background: #0d6efd; }
.year-select { width: auto; }
.metric-card { min-height: 108px; padding: 1rem; border-radius: 1rem; color: #fff; display: grid; gap: .25rem; box-shadow: 0 .3rem 1rem rgba(0,0,0,.1); }
.metric-card i { opacity: .9; }
.metric-card span { font-size: .78rem; }
.metric-card strong { font-size: 1.25rem; }
.bg-trips { background: linear-gradient(135deg, #4e73df, #224abe); }.bg-engine { background: linear-gradient(135deg, #f6c23e, #e29e00); }.bg-sea { background: linear-gradient(135deg, #3a7bd5, #00b8e8); }.bg-wine { background: linear-gradient(135deg, #e74a3b, #b42115); }.bg-cost { background: linear-gradient(135deg, #36b9cc, #207b89); }
.trend-chart { width: 100%; overflow-x: auto; }.trend-chart svg { display: block; width: 100%; min-width: 310px; height: auto; }.trend-grid { stroke: #e9ecef; }.trend-axis { stroke: #adb5bd; stroke-width: 1.25; }.trend-line { fill: none; stroke: #258391; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }.trend-point { fill: #258391; stroke: white; stroke-width: 2; }.trend-point.current { fill: #224abe; stroke: #dbe5ff; stroke-width: 3; }.trend-label { fill: #6c757d; font-size: 10px; }.trend-year { fill: #343a40; font-size: 12px; font-weight: 700; }.trend-value { fill: #343a40; font-size: 10px; font-weight: 600; }
.entry-card { border: 0; box-shadow: 0 .1rem .5rem rgba(0,0,0,.08); }.entry-card .entry-value { font-weight: 700; }.entry-card .btn-link { text-decoration: none; }
.empty-state { color: #6c757d; text-align: center; padding: 2.5rem 1rem; }
@media (min-width: 576px) { .app-nav .nav-link { display: flex; justify-content: center; align-items: center; gap: .4rem; font-size: .86rem; } }
