@font-face { font-family: 'DM Sans'; src: url('/fonts/DMSansVariable.woff2') format('woff2'); font-style: normal; font-weight: 100 900; font-display: swap; }
.mobile-only, .mobile-bottom-nav, .mobile-transaction-filter, .mobile-brand-name, .mobile-entry-icon, .mobile-entry-date, .mobile-budget-back, .mobile-tool-tabs { display: none; }
.mobile-stat-label, .mobile-chart-period { display: none; }
.entry-receipt-upload { display: flex !important; align-items: center; flex-wrap: wrap; gap: 10px; padding: 16px; border: 1px dashed #c8d0be; border-radius: 13px; cursor: pointer; }
.entry-receipt-upload > svg { width: 21px; height: 21px; }
.entry-receipt-upload small { display: block; flex: 1 0 100%; color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.entry-receipt-upload:focus-within { outline: 3px solid #8ba600; outline-offset: 3px; }
.mobile-section-intro { color: var(--muted); font-size: 16px; line-height: 1.6; margin-bottom: 22px; }
.mobile-more-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); margin-bottom: 24px; }
.mobile-more-item { display: flex; align-items: center; gap: 14px; text-align: left; background: white; border: 1px solid var(--line); border-radius: 18px; padding: 18px; color: var(--ink); }
.mobile-more-item > span:nth-child(2) { flex: 1; min-width: 0; }
.mobile-more-item strong, .mobile-more-item small { display: block; }
.mobile-more-item strong { font-size: 16px; }
.mobile-more-item small { font-size: 14px; color: var(--muted); line-height: 1.5; margin-top: 4px; }
.mobile-menu-icon { width: 45px; height: 45px; flex-shrink: 0; display: grid; place-items: center; background: #f3f9de; border-radius: 14px; }
.mobile-search { display: flex; align-items: center; gap: 10px; background: #f4f5f3; border: 1px solid #eceee8; border-radius: 12px; padding: 0 13px; margin-bottom: 18px; }
.mobile-search > svg { width: 20px; flex-shrink: 0; }
.mobile-search > input { margin: 0; padding: 13px 0; border: 0; background: transparent; font-size: 16px; min-width: 0; }
.mobile-file-tabs, .mobile-tool-tabs { gap: 6px; margin: 0 0 18px; }
.mobile-file-tabs { display: flex; flex-wrap: wrap; }
.mobile-file-tabs button, .mobile-tool-tabs button { padding: 10px 13px; font-size: 14px; border-radius: 20px; background: #f2f3f0; color: #383d36; min-height: 44px; }
.mobile-file-tabs [aria-pressed="true"], .mobile-tool-tabs [aria-pressed="true"] { background: var(--lime); color: #111; font-weight: 700; }
.mobile-upload-card { padding: 20px; margin-top: 20px; }
.mobile-upload-card > .button, #mobile-invite-person { margin-top: 20px; }
.mobile-category-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(115px, 1fr)); gap: 12px; }
.mobile-category { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; min-height: 110px; padding: 13px 8px; text-align: center; border: 1px solid #e9ebe5; border-radius: 16px; background: white; }
.mobile-category strong { font-size: 14px; line-height: 1.4; overflow-wrap: anywhere; }
.mobile-welcome { max-width: 440px; margin: 30px auto; text-align: center; }
.mobile-welcome-brand { display: flex; align-items: center; justify-content: center; margin-bottom: 28px; }
.mobile-welcome-brand img { width: 42px; height: 48px; }
.mobile-welcome-brand > span { font-size: 51px; font-weight: 800; margin-left: -3px; letter-spacing: -2.8px; }
.mobile-welcome h1 { font: 800 35px/1.1 'DM Sans', sans-serif; letter-spacing: -1.6px; }
.mobile-welcome > p { font-size: 16px; line-height: 1.6; color: #61665d; margin-top: 18px; }
.welcome-illustration { max-width: 250px; margin: 25px auto; }
.mobile-welcome .button { margin: 12px 0; min-height: 50px; }
.mobile-welcome > .text-button { margin-top: 12px; }
.auth-brand { display: inline-flex; align-items: center; font: 800 43px/1 'DM Sans', sans-serif; letter-spacing: -2px; }
.auth-brand img { width: 35px; height: 43px; }
.auth-brand span { margin-left: -2px; }
.goal-cover { width: 64px; height: 64px; border-radius: 15px; overflow: hidden; background: #f2f8df; display: grid; place-items: center; margin-bottom: 15px; }
.goal-cover img, .goal-detail-cover img { width: 100%; height: 100%; object-fit: cover; }
.goal-cover > span { font-size: 30px; }
.goal-copy > p { font-size: 14px; margin-top: 9px; color: var(--muted); }
.goal-copy .progress-track { margin-top: 16px; }
.goal-progress { display: block; text-align: right; font-size: 14px; margin-top: 8px; }
.goal-card > .button { margin-top: 18px; }
.goal-detail-heading { padding: 10px 0 25px; }
.goal-detail-heading h2 { margin-top: 18px; font-size: 30px; line-height: 1.2; }
.goal-detail-cover { width: 72px; height: 72px; border-radius: 20px; display: grid; place-items: center; overflow: hidden; background: #eff6d8; font-size: 34px; margin-top: 12px; }
.goal-detail-card { max-width: 650px; padding: 28px; }
.goal-detail-amount { display: block; font-size: 38px; letter-spacing: -1px; }
.goal-detail-card > p { color: var(--muted); margin-top: 8px; }
.goal-detail-card .progress-track { margin: 24px 0 12px; }
.goal-detail-card dl { margin: 20px 0; }
.goal-detail-card dl > div { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); padding: 18px 0; }
.goal-detail-card dt { color: var(--muted); font-size: 14px; }
.goal-detail-card dd { text-align: right; font-weight: 600; font-size: 16px; }

@media (max-width: 760px) {
    .sereno-app, .auth-page { --font: 'DM Sans', Inter, Arial, sans-serif; --ink: #171a18; --muted: #72766f; --line: #e9ece6; --canvas: #fff; --positive: #257a48; --negative: #c53b3e; font-family: var(--font); background: #fff; letter-spacing: -.02em; }
    .sereno-app [hidden], .auth-page [hidden] { display: none !important; }
    .mobile-only { display: flex; }
    .sereno-app button, .sereno-app input, .sereno-app select, .auth-page input, .auth-page button { font-family: var(--font); }
    .sereno-app .button, .auth-page .button { min-height: 48px; border-radius: 13px; font-size: 16px; font-weight: 700; padding: 12px 16px; }
    .sereno-app .text-button { min-height: 44px; font-size: 14px; }
    .sereno-app .sereno-topbar { position: relative; height: calc(70px + env(safe-area-inset-top)); flex-wrap: nowrap; justify-content: space-between; gap: 16px; padding: calc(12px + env(safe-area-inset-top)) 20px 12px; border: 0; box-shadow: none; z-index: 35; }
    .sereno-topbar .header-mark { width: auto; height: 42px; padding: 0; margin: 0; border: 0; text-decoration: none; color: #171a18; }
    .sereno-topbar .header-mark img { height: 39px; width: 31px; }
    .mobile-brand-name { display: block; font-size: 42px; line-height: 1; font-weight: 800; letter-spacing: -2px; margin-left: -2px; }
    .sereno-topbar .global-nav, .sereno-topbar .header-workspace, .sereno-topbar .mobile-menu { display: none; }
    .sereno-topbar .topbar-actions { gap: 7px; padding: 0; margin-left: auto; border: 0; }
    .sereno-topbar .topbar-actions .icon-button { width: 42px; height: 44px; }
    .sereno-topbar .icon-button svg { width: 22px; height: 22px; }
    .sereno-app .app-shell { display: block; padding: 18px 20px calc(104px + env(safe-area-inset-bottom)); min-height: calc(100dvh - 70px); }
    .sereno-app #main { min-width: 0; padding: 0; }
    .sereno-app .folder-sidebar, .sereno-app .sidebar-scrim { display: none; }
    .sereno-app .page-heading { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-bottom: 24px; padding: 0; }
    .sereno-app .page-heading h1 { font-size: 28px; line-height: 1.2; letter-spacing: -1px; font-weight: 800; }
    .sereno-app .page-heading .eyebrow, .sereno-app .page-subtitle { display: none; }
    .sereno-app .heading-actions { display: flex; flex-wrap: wrap; width: 100%; gap: 12px; }
    .sereno-app .heading-actions > .button { min-height: 44px; font-size: 14px; }
    .sereno-app:not([data-view="movimientos"]) .heading-actions > #new-entry { display: none; }
    .sereno-app:not([data-view="movimientos"]):not([data-view="calendario"]) .heading-actions { display: none; }
    .month-control { height: 44px; flex: 1; justify-content: space-between; font-size: 14px; }
    .month-control button { width: 40px; height: 40px; }
    .mobile-space-heading { display: none; }
    .sereno-app[data-view="resumen"] .sereno-topbar, .sereno-app.is-budget-detail .sereno-topbar { background: #1b1e1c; color: white; }
    .sereno-app[data-view="resumen"] .header-mark, .sereno-app.is-budget-detail .header-mark { color: white; }
    .sereno-app[data-view="resumen"] .header-mark img, .sereno-app.is-budget-detail .header-mark img { content: url('/brand/mark-dark.svg'); }
    .sereno-app[data-view="resumen"] .topbar-actions button, .sereno-app.is-budget-detail .topbar-actions button { color: white; }
    .sereno-app[data-view="resumen"] .app-shell, .sereno-app.is-budget-detail .app-shell { padding-top: 0; }
    .sereno-app[data-view="resumen"] .page-heading { background: #1b1e1c; margin: 0 -20px; padding: 4px 20px 18px; color: white; }
    .sereno-app[data-view="resumen"] #page-title, .sereno-app[data-view="resumen"] .heading-actions { display: none; }
    .sereno-app[data-view="resumen"] .mobile-space-heading { display: flex; background: transparent; align-items: center; gap: 12px; width: calc(100vw - 40px); color: white; text-align: left; padding: 8px 0; font-size: 17px; font-weight: 600; min-height: 44px; }
    .mobile-space-heading span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .mobile-space-heading svg:last-child { transform: rotate(90deg); }
    .sereno-app .stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 -20px 24px; padding: 0 20px; background: linear-gradient(#1b1e1c 0 85px, transparent 85px); }
    .sereno-app .stat-card { min-height: 85px; padding: 14px; border: 1px solid var(--line); border-radius: 17px; box-shadow: none; }
    .sereno-app .stat-card.balance-card { grid-column: 1/-1; background: #e4ff88; min-height: 126px; border: 0; padding: 20px; }
    .balance-card .stat-top > span { color: #344321; opacity: 1; }
    .stat-label-full { display: none; }
    .mobile-stat-label { display: inline; }
    .stat-card .stat-top { gap: 8px; font-size: 14px; }
    .stat-card .stat-icon { width: 25px; height: 25px; background: transparent; }
    .stat-card .stat-icon svg { width: 18px; height: 18px; }
    .sereno-app .stat-amount { margin-top: 8px; font-size: clamp(21px, 6vw, 28px); line-height: 1.3; font-weight: 750; letter-spacing: -1px; }
    .sereno-app .balance-card .stat-amount { font-size: clamp(34px, 10vw, 44px); margin-top: 11px; color: #151911; }
    .stat-card .stat-foot, .stat-card .stat-description, .balance-card .stat-icon, .stats-grid .stat-card:last-child { display: none; }
    .sereno-app .overview-middle, .sereno-app .overview-bottom { display: grid; grid-template-columns: 1fr; gap: 20px; margin-bottom: 24px; }
    .sereno-app .panel { border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 4px 15px #15200003; min-width: 0; }
    .sereno-app .cashflow-panel { min-height: 198px; padding: 0; border: 0; box-shadow: none; }
    .sereno-app .panel-heading { padding: 18px; gap: 12px; }
    .sereno-app .panel-heading h2 { font-size: 18px; font-weight: 750; letter-spacing: -.5px; line-height: 1.3; }
    .cashflow-panel .panel-heading { padding: 0 0 16px; }
    .cashflow-panel .panel-heading p, .cashflow-panel .chart-summary { display: none; }
    .cashflow-panel .chart-legend { display: none; }
    .mobile-chart-period { display: inline; color: #6d7467; font-size: 12px; line-height: 1.4; }
    .sereno-app .chart-wrap { margin: 0; height: 145px; }
    .chart-y-axis { font-size: 12px; }
    .chart-x-axis { font-size: 10px; }
    .overview-middle .spending-panel, .overview-bottom .shared-panel, .sereno-app .insight-strip { display: none; }
    .sereno-app .transactions-panel { border: 0; box-shadow: none; }
    .transactions-panel .panel-heading { padding: 0 0 12px; }
    .transactions-panel .panel-heading p { display: none; }
    .sereno-app .ledger-scroll { overflow: visible; }
    .sereno-app .ledger-table, .sereno-app .ledger-table tbody { display: block; }
    .sereno-app .ledger-table thead { display: none; }
    .sereno-app .ledger-table tr { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 10px; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--line); }
    .sereno-app .ledger-table tr:last-child { border-bottom: 0; }
    .sereno-app .ledger-table td { display: block; border: 0; padding: 0; height: auto; min-width: 0; max-width: none; font-size: 15px; line-height: 1.5; }
    .sereno-app .ledger-table td:first-child { position: relative; padding-left: 49px; min-height: 42px; }
    .sereno-app .ledger-table td strong { font-size: 15px; font-weight: 650; line-height: 1.4; letter-spacing: -.2px; }
    .sereno-app .ledger-table td small { font-size: 12px; line-height: 1.4; margin-top: 5px; }
    .sereno-app .ledger-table .ledger-date, .sereno-app .ledger-table .ledger-category, .sereno-app .ledger-table .ledger-budget { display: none; }
    .mobile-entry-icon { display: grid; place-items: center; position: absolute; left: 0; top: 1px; width: 37px; height: 40px; border-radius: 11px; color: #283322; background: #f0facb; }
    .mobile-entry-icon svg { width: 21px; height: 21px; }
    .entry-type-expense > td:last-child { color: #c53b3e; }
    .entry-type-income > td:last-child { color: #257a48; }
    .entry-category-summary > svg { display: none; }
    .mobile-entry-date { display: inline; color: var(--muted); }
    .sereno-app .ledger-table .unexpected-tag { font-size: 12px; padding: 2px 6px; border-radius: 7px; }
    .sereno-app .filter-bar { display: grid; grid-template-columns: 1fr; padding: 0 0 18px; gap: 12px; }
    #transaction-type, #budget-type-filter { display: none; }
    #view-movimientos > .panel { padding: 0; border: 0; box-shadow: none; }
    #export-transactions { justify-self: start; min-height: 40px; font-size: 13px; padding: 8px 12px; }
    .sereno-app.has-floating-transactions .app-shell { padding-bottom: calc(185px + env(safe-area-inset-bottom)); }
    .mobile-transaction-filter { display: grid; grid-template-columns: .85fr 1.1fr 1.1fr; position: fixed; z-index: 42; bottom: calc(87px + env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); width: min(350px, calc(100vw - 32px)); padding: 6px; gap: 3px; border: 1px solid #e5e8df; border-radius: 21px; background: #ffffffed; box-shadow: 0 6px 30px #111b1924; backdrop-filter: blur(14px); }
    .mobile-transaction-filter button { display: flex; align-items: center; justify-content: center; gap: 5px; min-width: 0; min-height: 44px; padding: 9px 6px; border-radius: 15px; font-size: 14px; font-weight: 600; color: #565d51; background: transparent; }
    .mobile-transaction-filter [aria-checked="true"] { background: var(--lime); color: #151b0d; font-weight: 750; }
    .mobile-bottom-nav { position: fixed; z-index: 40; display: grid; grid-template-columns: repeat(4,1fr); inset: auto 0 0; padding: 9px 12px calc(9px + env(safe-area-inset-bottom)); min-height: 73px; background: #fffffff5; border-top: 1px solid #edf0e8; backdrop-filter: blur(16px); }
    .mobile-bottom-nav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: #666d60; font-size: 11px; line-height: 1.3; min-height: 52px; font-weight: 550; text-decoration: none; }
    .mobile-bottom-nav svg { width: 37px; height: 28px; padding: 3px 7px; border-radius: 11px; }
    .mobile-bottom-nav [aria-current="page"] { color: #181d14; font-weight: 750; }
    .mobile-bottom-nav [aria-current="page"] svg { background: var(--lime); }
    .sereno-app .toast { position: fixed; bottom: calc(155px + env(safe-area-inset-bottom)); left: 20px; right: 20px; max-width: none; width: auto; transform: none; z-index: 120; font-size: 14px; }
    .sereno-app .three-column-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
    .section-toolbar { flex-direction: row; align-items: center; gap: 12px; margin-bottom: 18px; }
    .section-toolbar > p { display: none; }
    .section-toolbar .button { min-height: 44px; padding: 10px 15px; font-size: 14px; }
    .sereno-app .folder-card { position: relative; padding: 18px 18px 16px 64px; border-radius: 17px; }
    .folder-card .folder-card-top { position: absolute; left: 16px; top: 20px; margin: 0; }
    .folder-card .folder-symbol { width: 33px; height: 35px; border-radius: 10px; }
    .folder-card .folder-symbol svg { width: 23px; height: 23px; }
    .folder-card .soft-label, .folder-card .folder-description, .folder-card .folder-totals { display: none; }
    .sereno-app .folder-card h3 { font-size: 18px; padding-right: 10px; }
    .folder-card .folder-dates { font-size: 13px; margin-top: 5px; }
    .folder-card .folder-balance { padding-top: 12px; border: 0; font-size: 13px; }
    .folder-card .folder-balance strong { font-size: 20px; }
    .folder-card > .button { margin-top: 14px; min-height: 40px; font-size: 14px; background: #f5f8ed; border: 0; padding: 8px 12px; }
    .sereno-budget-heading { background: #1b1e1c; color: white; margin: 0 -20px; padding: 12px 20px 22px; }
    .sereno-budget-heading .eyebrow { display: none; }
    .sereno-budget-heading h1 { font-size: 28px; letter-spacing: -.9px; }
    .sereno-app .sereno-budget-heading h1 { color: white; }
    .sereno-budget-heading .budget-period { color: #c5cbbd; font-size: 14px; margin-top: 8px; }
    .mobile-budget-back { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: #dce3d3; background: transparent; min-height: 44px; margin: -4px 0 8px -7px; padding: 5px; }
    .mobile-budget-back svg { transform: rotate(180deg); width: 18px; height: 18px; }
    .sereno-budget-actions { margin-top: 18px; gap: 10px; }
    .sereno-budget-actions .button { flex: 1; font-size: 13px; min-height: 44px; height: auto; padding: 9px; }
    .sereno-budget-actions .secondary { background: #30352e; border-color: #484f44; color: white; }
    .budget-summary { display: grid; grid-template-columns: 1fr; margin-top: 18px; border: 0; gap: 12px; }
    .summary-balance { min-height: 103px; border-radius: 16px; margin: 0; padding: 18px; gap: 7px; background: #e7ff97; }
    .summary-balance > span { font-size: 14px; font-weight: 550; }
    .summary-balance > strong { font-size: 36px; line-height: 1.2; letter-spacing: -1px; }
    .summary-metrics { padding: 0; gap: 8px; }
    .summary-metric { padding: 11px 9px; border: 1px solid var(--line); border-radius: 12px; }
    .summary-metric > div { font-size: 12px; line-height: 1.3; }
    .summary-metric > strong { font-size: clamp(14px,4.3vw,19px); margin-top: 8px; }
    .budget-content-toolbar { margin-top: 12px; padding: 0 0 15px; border-bottom: 0; }
    .sereno-budget-content .budget-tabs { border: 0; gap: 7px; justify-content: flex-start; }
    .sereno-budget-content .budget-tabs > button { min-height: 44px; padding: 10px 12px; border: 0; border-radius: 22px; font-size: 14px; background: #f4f5f1; }
    .sereno-budget-content .budget-tabs > button.selected { background: #e8ff9e; font-weight: 700; }
    .sereno-budget-content .budget-tabs > button.selected::after { display: none; }
    .budget-search-controls { padding-top: 12px; }
    .budget-search input { background: #f5f6f3; border-color: #eff0eb; font-size: 15px; }
    .budget-ledger-panel { margin-top: 2px; border: 0 !important; box-shadow: none !important; }
    .budget-collaboration-shelf { padding: 20px 16px; margin-top: 24px; }
    .budget-collaboration-shelf h2 { font-size: 17px; }
    .sereno-app .member-row { padding: 17px 15px; gap: 10px; display: grid; grid-template-columns: 36px minmax(0,1fr); }
    .member-row .avatar { width: 34px; height: 34px; background: #eff8d9; color: #3a4d25; }
    .member-row > div { min-width: 0; }
    .member-row > .member-role-label, .member-row > .role-badge, .member-row > .text-button { margin: 0; grid-column: 2; }
    .member-role-label select { width: 100%; max-width: none; font-size: 14px; min-height: 44px; }
    #view-compartidos > #space-members { display: none; }
    .mobile-space-members-link { width: 100%; margin-top: 12px; }
    .space-card { padding: 18px; }
    .space-card .folder-card-top { margin-bottom: 18px; }
    .space-card-actions { margin-top: 18px; gap: 10px; }
    .space-card h3 { font-size: 20px; }
    .space-card .folder-symbol { width: 40px; height: 42px; }
    .space-card > p { font-size: 14px; }
    .mobile-more-grid { grid-template-columns: 1fr; gap: 10px; }
    .mobile-more-item { border-radius: 15px; padding: 14px; min-height: 82px; }
    .mobile-category-list { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
    .mobile-category { min-height: 105px; }
    .mobile-category strong { font-size: 13px; }
    .mobile-upload-card { padding: 17px; }
    .sereno-app .file-list { padding: 0 15px; }
    .file-row { display: grid; grid-template-columns: 35px minmax(0,1fr); padding: 17px 0; gap: 12px; }
    .file-row > .button { margin: 0; grid-column: 2; justify-self: start; min-height: 36px; padding: 7px 12px; font-size: 13px; }
    .file-row .file-symbol { width: 35px; height: 40px; }
    .mobile-tool-tabs { display: flex; flex-wrap: wrap; }
    .tools-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
    .tools-grid > .utility-card, .tools-grid > .revenue-history { display: none; }
    [data-mobile-tool="facturacion"] .revenue-card, [data-mobile-tool="facturacion"] .revenue-history, [data-mobile-tool="divisa"] .exchange-card, [data-mobile-tool="reparto"] .split-card, [data-mobile-tool="ahorro"] .saving-card { display: block; }
    .utility-card { padding: 21px 17px; }
    .utility-icon, .utility-title .eyebrow, .utility-title .soft-label { display: none; }
    .utility-card h2 { font-size: 21px; letter-spacing: -.5px; }
    .utility-card > p { font-size: 14px; line-height: 1.6; }
    .utility-card label { font-size: 14px; }
    .utility-card .form-row { grid-template-columns: 1fr 1fr; }
    .revenue-results { background: #f2facf; padding: 17px 13px; gap: 10px; }
    .revenue-results span { color: #515a42; font-size: 12px; }
    .revenue-results strong { color: #1a210f; font-size: 23px; }
    .utility-card .form-actions { gap: 10px; }
    .utility-card .form-actions .button { font-size: 14px; padding: 10px 12px; }
    .revenue-record { padding: 18px; gap: 12px; }
    .record-results { gap: 20px; }
    .calendar-layout { grid-template-columns: 1fr; gap: 20px; }
    .calendar-panel .panel-heading { padding: 18px 16px; }
    .calendar-panel .soft-label { display: none; }
    .calendar-grid { padding: 8px; gap: 4px; }
    .calendar-grid .calendar-day { min-height: 40px; height: 40px; padding: 5px; font-size: 14px; }
    .calendar-event { padding: 15px 18px; }
    .calendar-detail .demo-note { font-size: 13px; }
    #mobile-calendar-entry { margin-bottom: 18px; }
    .goal-card { padding: 22px; }
    .sereno-app .goal-card { display: grid; grid-template-columns: 55px minmax(0,1fr); gap: 0 13px; padding: 18px; }
    .goal-card .goal-cover { width: 55px; height: 60px; margin: 0; }
    .goal-card .goal-copy h3 { font-size: 17px; }
    .goal-card .goal-copy > p { font-size: 13px; }
    .goal-card > .button { grid-column: 1/-1; min-height: 40px; font-size: 14px; margin-top: 12px; }
    .sereno-app.is-goal-detail .sereno-topbar { background: #1b1e1c; color: white; }
    .sereno-app.is-goal-detail .header-mark, .sereno-app.is-goal-detail .topbar-actions button { color: white; }
    .sereno-app.is-goal-detail .header-mark img { content: url('/brand/mark-dark.svg'); }
    .sereno-app.is-goal-detail .page-heading { display: none; }
    .sereno-app.is-goal-detail .app-shell { padding-top: 0; }
    .goal-detail-heading { background: #1b1e1c; color: white; margin: 0 -20px; padding: 0 20px 25px; }
    .goal-detail-heading .text-button { color: #dce5d0; }
    .goal-detail-heading h2 { font-size: 25px; }
    .sereno-app .goal-detail-heading h2 { color: white; }
    .goal-detail-card { margin-top: 20px; padding: 22px 18px; }
    .goal-detail-amount { font-size: 36px; }
    .goal-card .goal-emoji { font-size: 32px; }
    .goal-card h3 { font-size: 20px; }
    .settings-grid { display: block; }
    .settings-card { padding: 20px 17px; margin-bottom: 18px; }
    .settings-card h2 { font-size: 19px; }
    .settings-symbol.lavender, .utility-icon.lavender { background: #eff6db; color: #526434; }
    .settings-toggle { min-height: 58px; }
    .settings-category-library { display: none; }
    .settings-save-bar { position: static; padding: 8px 0; background: transparent; border: 0; box-shadow: none; }
    .settings-save-bar .button { width: 100%; }
    .sereno-app .app-footer { display: none; }
    .sereno-app .app-dialog { position: fixed; inset: 0; margin: 0; width: 100%; max-width: none; height: 100dvh; max-height: 100dvh; border: 0; border-radius: 0; padding: max(22px,env(safe-area-inset-top)) 22px max(30px,env(safe-area-inset-bottom)); overflow-y: auto; overscroll-behavior: contain; box-shadow: none; font-family: var(--font); }
    .app-dialog .dialog-heading { position: sticky; top: -24px; z-index: 2; background: white; padding: 12px 0 18px; min-height: 72px; margin: 0 0 18px; }
    .app-dialog .dialog-heading h2 { font-size: 25px; letter-spacing: -.8px; }
    .app-dialog .dialog-heading .eyebrow { display: none; }
    .app-dialog .icon-button { min-width: 44px; min-height: 44px; }
    .app-dialog label { font-size: 15px; margin-top: 18px; }
    .app-dialog input:not([type="checkbox"]):not([type="radio"]), .app-dialog select { min-height: 49px; font-size: 16px; border-color: #e0e5da; background-color: #fafbf8; }
    .app-dialog form > .button:last-child { margin-top: 28px; }
    .app-dialog .segmented-control { background: #f2f4ee; border-radius: 14px; padding: 4px; margin-bottom: 24px; }
    .app-dialog .segmented-control label { margin: 0; }
    .app-dialog .segmented-control span { min-height: 44px; display: grid; place-items: center; border-radius: 11px; }
    .app-dialog .entry-amount-field input { min-height: 82px !important; font-size: 38px !important; letter-spacing: -1px; font-weight: 750; background: #efffc0 !important; border: 0; text-align: center; }
    .app-dialog .entry-amount-field { margin-top: 0; }
    .app-dialog .field-help { font-size: 13px; }
    .category-picker-panel { max-height: none; }
    .category-picker-grid { max-height: 310px; grid-template-columns: repeat(3,minmax(0,1fr)); }
    .sereno-app .notification-panel { position: fixed; inset: 0; width: 100%; max-height: none; height: 100dvh; margin: 0; border-radius: 0; z-index: 90; padding: 20px 5px; overflow-y: auto; }
    .notification-toolbar { flex-wrap: wrap; gap: 8px; }
    .sereno-app[data-view="bienvenida"] .sereno-topbar, .sereno-app[data-view="bienvenida"] .page-heading, .sereno-app[data-view="bienvenida"] .mobile-bottom-nav { display: none; }
    .sereno-app[data-view="bienvenida"] .app-shell { padding: max(35px,env(safe-area-inset-top)) 28px 30px; }
    .mobile-welcome { margin: 0 auto; }
    .auth-page { min-height: 100dvh; }
    .auth-layout { max-width: 470px; min-height: 100dvh; padding: max(28px,env(safe-area-inset-top)) 24px 30px; align-items: stretch; gap: 24px; }
    .auth-layout > a:first-child { align-self: flex-start; }
    .auth-layout .auth-card { padding: 15px 0; border: 0; box-shadow: none; }
    .auth-card .eyebrow { display: none; }
    .auth-card h1 { font-size: 30px; line-height: 1.15; font-weight: 800; }
    .auth-card > p { font-size: 15px; line-height: 1.6; margin-top: 14px; }
    .auth-card label { font-size: 15px; margin-top: 22px; }
    .auth-card input { min-height: 51px; background: #fafbf8; border-color: #e0e4db; font-size: 16px; }
    .auth-card form > .button { min-height: 50px; margin-top: 28px; }
}

@media (prefers-reduced-motion: reduce) { .mobile-bottom-nav *, .mobile-transaction-filter * { transition: none !important; } }
