@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

.auth-switch { margin: 1.15rem 0 0; text-align: center; font-size: 12px; color: var(--muted); }
.auth-switch a { color: var(--green); font-weight: 700; text-decoration: none; }

/* Tipografia principal: acompanha a legibilidade aplicada ao Perfil. */
body .dash-header h1 { font-size: 20px; }
body .dash-header p { font-size: 12px; }
body .balance-card p { font-size: 12px; }
body .balance-card > strong { font-size: 25px; }
body .balance-bottom { font-size: 11px; }
body .metric-card p { font-size: 11px; }
body .metric-card strong { font-size: 18px; }
body .metric-card small { font-size: 10px; }
body .section-heading h2 { font-size: 14px; }
body .section-heading span, body .section-heading a { font-size: 11px; }
body .legend p { font-size: 10px; }
body .legend b { font-size: 9px; }
body .transactions li strong { font-size: 12px; }
body .transactions li small, body .transactions li > b { font-size: 10px; }

body .transactions-header h1, body .projects-header h1, body .debts-header h1 { font-size: 18px; }
body .transaction-filters button, body .project-tabs button, body .debt-tabs button { font-size: 10px; }
body .transaction-day h2 { font-size: 12px; }
body .transaction-row strong { font-size: 11px; }
body .transaction-row small, body .transaction-row > b { font-size: 10px; }
body .new-transaction { font-size: 11px; }

body .new-header h1, body .detail-header h1 { font-size: 14px; }
body .new-project-card h2 { font-size: 14px; }
body .new-project-card p { font-size: 10px; }
body .project-title strong, body .project-card strong { font-size: 11px; }
body .project-title b, body .project-main small, body .project-card small { font-size: 9px; }

body .debt-summary > span { font-size: 11px; }
body .debt-summary > strong { font-size: 24px; }
body .debt-summary small { font-size: 10px; }
body .debt-card-main strong { font-size: 11px; }
body .debt-card-main p { font-size: 10px; }
body .debt-card-main b, body .debt-card-main span, body .debt-card-main small { font-size: 9px; }
body .installments h2, body .debt-chart h2 { font-size: 14px; }
body .installments li strong, body .installments li b { font-size: 10px; }
body .installments li small { font-size: 9px; }

body .select-field, body .select-field select, body .description-field, body .description-field input, body .description-field textarea { font-size: 11px; }
body .bottom-nav a { font-size: 9px; }
.bottom-nav a img{width:18px;height:18px;object-fit:contain;opacity:.72;filter:grayscale(1) brightness(1.8)}.bottom-nav a.active img{opacity:1;filter:none;filter:drop-shadow(0 0 6px rgba(139,98,229,.6))}
.profile-page .phone-shell{padding-top:30px}.profile-top{display:flex;align-items:center;justify-content:space-between;margin:3px 2px 20px}.profile-top h1{margin:0;font-size:20px}.profile-summary{display:grid;grid-template-columns:112px 1fr;gap:16px;align-items:center;padding:20px;background:linear-gradient(135deg,#172238,#101826);border:1px solid rgba(255,255,255,.05);border-radius:16px}.summary-photo{position:relative;display:grid;place-items:center;width:112px;height:112px;overflow:hidden;border-radius:50%;background:linear-gradient(135deg,#6c43d0,#a64dff);color:#fff;font-size:42px;font-weight:800;cursor:pointer}.summary-photo img{width:100%;height:100%;object-fit:cover}.summary-photo input{position:absolute;inset:0;opacity:0;cursor:pointer}.summary-photo i{position:absolute;right:0;bottom:2px;display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#8648ef;border:2px solid #18243a;color:#fff;font-size:18px;font-style:normal}.summary-user h2{margin:0;font-size:21px;line-height:1.05}.summary-user p{margin:7px 0 16px;color:#aeb7c7;font-size:11px;word-break:break-word}.outline-action{padding:8px 13px;border:1px solid #9c59ff;border-radius:8px;color:#b77aff;background:transparent;font-size:10px;font-weight:700}.profile-group-title{margin:25px 3px 11px;color:#b8c1d0;font-size:16px}.profile-menu{overflow:hidden;background:linear-gradient(140deg,#172238,#101826);border:1px solid rgba(255,255,255,.05);border-radius:15px}.profile-menu button,.logout-card button{display:grid;grid-template-columns:45px 1fr 16px;gap:12px;align-items:center;width:100%;padding:14px;border:0;border-bottom:1px solid #263246;background:transparent;color:var(--text);text-align:left;cursor:pointer}.profile-menu button:last-child{border:0}.profile-menu button>span:nth-child(2){display:grid;gap:4px}.profile-menu strong,.logout-card strong{font-size:14px}.profile-menu small{color:#aab4c4;font-size:10px}.profile-menu b,.logout-card b{color:#c6cdda;font-size:28px;font-weight:300}.menu-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;color:#fff;font-size:22px}.violet{background:linear-gradient(135deg,#6f43d5,#9f55ee)}.cyan{background:linear-gradient(135deg,#0492a7,#06bbce)}.green{background:linear-gradient(135deg,#238a37,#48b53a)}.blue{background:linear-gradient(135deg,#285cba,#4c87e8)}.teal{background:linear-gradient(135deg,#008a82,#13b9af)}.danger{background:linear-gradient(135deg,#9f292d,#d54d4c)}.profile-panel{margin-top:10px;padding:13px;background:var(--surface);border:1px solid var(--line);border-radius:11px}.profile-panel form{margin:0}.panel-save{height:31px;margin-top:9px;border:0;border-radius:7px;color:#fff;background:#7041d6;font-size:9px;font-weight:700}.logout-card{margin-top:18px;overflow:hidden;border:1px solid rgba(255,255,255,.05);border-radius:15px;background:var(--surface)}.logout-card button{border:0}.logout-card strong{color:#fb6370}.profile-message{margin:10px 0;color:#b8c2d2;font-size:10px;text-align:center}
.header-actions { display:flex; align-items:center; gap:4px; }.header-avatar,.profile-avatar { display:grid; place-items:center; overflow:hidden; border-radius:50%; background:linear-gradient(135deg,#7041d6,#a34cff); color:#fff; font-weight:800; }.header-avatar { width:30px; height:30px; font-size:12px; }.header-avatar img,.profile-avatar img { width:100%; height:100%; object-fit:cover; }.profile-page .phone-shell { padding-top:29px; }.profile-header { display:grid; grid-template-columns:32px 1fr 32px; align-items:center; margin:7px 1px 17px; }.profile-header h1 { margin:0; text-align:center; font-size:13px; }.profile-hero { padding:16px; text-align:center; background:linear-gradient(140deg,#17243b,#111927); border-radius:12px; }.profile-hero form { margin:0; justify-items:center; }.profile-avatar { position:relative; width:70px; height:70px; margin-bottom:5px; font-size:27px; cursor:pointer; }.profile-avatar input { position:absolute; inset:0; opacity:0; cursor:pointer; }.profile-avatar i { position:absolute; right:0; bottom:0; display:grid; place-items:center; width:21px; height:21px; border-radius:50%; background:#1e293b; font-size:11px; font-style:normal; }.profile-name { width:100%; gap:3px; }.profile-name span { color:var(--muted); font-size:8px; }.profile-name input { width:100%; padding:0; color:var(--text); background:transparent; border:0; outline:0; text-align:center; font-size:14px; font-weight:700; }.profile-hero p { margin:0; color:var(--muted); font-size:9px; }.profile-hero button,.category-form button,.password-form button { border:0; border-radius:7px; color:#f1eaff; background:#7041d6; font-size:9px; font-weight:700; cursor:pointer; }.profile-hero button { padding:7px 12px; }.profile-section { margin-top:13px; padding:13px; background:var(--surface); border-radius:10px; }.category-form { display:grid; grid-template-columns:1fr 84px auto; gap:6px; margin:11px 0; }.category-form input,.category-form select,.password-form input { min-width:0; padding:8px; color:var(--text); background:var(--surface-2); border:1px solid var(--line); border-radius:6px; font-size:9px; }.category-form button { padding:0 8px; }.category-columns { display:grid; grid-template-columns:1fr 1fr; gap:12px; }.category-columns h3 { margin:0 0 7px; color:var(--muted); font-size:9px; }.category-columns ul { display:grid; gap:6px; padding:0; margin:0; list-style:none; }.category-columns li { display:flex; align-items:center; gap:5px; font-size:9px; }.category-columns li i { width:6px; height:6px; border-radius:50%; }.muted { color:var(--muted); }.password-form { display:grid; gap:8px; margin:11px 0 0; }.password-form button { height:31px; }.success-alert { padding:8px; margin:10px 0 0; color:#bff8da; background:rgba(40,209,124,.14); border-radius:7px; font-size:9px; }
.installment-preview { display:grid; gap:3px; padding:10px 11px; background:rgba(139,98,229,.11); border:1px solid rgba(139,98,229,.22); border-radius:8px; }.installment-preview span,.installment-preview small { color:var(--muted); font-size:8px; }.installment-preview strong { color:#e7dbff; font-size:13px; }
.debt-card[hidden] { display:none!important; }.debts-page .phone-shell { padding-top:28px; }.debts-header { display:grid; grid-template-columns:30px 1fr 30px; align-items:center; margin:5px 1px 16px; }.debts-header h1 { margin:0 0 4px; font-size:15px; }.debts-header p { margin:0; color:var(--muted); font-size:9px; }.debt-summary { padding:15px; background:linear-gradient(135deg,#17243b,#111927); border-radius:11px; box-shadow:0 10px 24px rgba(0,0,0,.18); }.debt-summary>span { color:var(--muted); font-size:9px; }.debt-summary>strong { display:block; margin:4px 0 9px; font-size:20px; }.debt-summary>small { color:var(--purple); font-size:9px; }.debt-progress { height:5px; margin:12px 0 10px; overflow:hidden; background:#263247; border-radius:5px; }.debt-progress i { display:block; height:100%; border-radius:inherit; background:linear-gradient(90deg,#7a49df,#a44bff); }.debt-summary>div:last-child { display:flex; justify-content:space-between; color:var(--muted); font-size:9px; }.debt-summary b { color:#e5eaf2; }.debt-alert { margin:10px 0; padding:9px 11px; color:#ffd892; background:rgba(222,154,48,.12); border-radius:8px; font-size:9px; }.debt-tabs { display:grid; grid-template-columns:repeat(3,1fr); gap:5px; margin:11px 0; padding:3px; background:#0b121e; border:1px solid #172337; border-radius:8px; }.debt-tabs button { height:25px; border:0; border-radius:5px; color:#8d98aa; background:transparent; font-size:8px; font-weight:700; }.debt-tabs button.active { color:#eee7ff; background:linear-gradient(100deg,#7041d6,#a34cff); }.debts-list { display:grid; gap:10px; }.debt-card { display:grid; grid-template-columns:32px 1fr; gap:10px; padding:12px; color:inherit; background:linear-gradient(140deg,var(--surface-2),var(--surface)); border-radius:10px; }.debt-icon { display:grid; place-items:center; width:28px; height:28px; color:#e6ddff; background:rgba(139,98,229,.22); border-radius:50%; }.debt-card-main>div:first-child { display:flex; justify-content:space-between; gap:8px; }.debt-card-main strong { font-size:10px; }.debt-card-main b,.debt-card-main span,.debt-card-main small { color:var(--muted); font-size:8px; }.debt-card-main p { margin:4px 0 7px; color:#b7c0ce; font-size:9px; }.debt-card-main>.debt-progress { margin:9px 0 5px; }.new-debt { position:fixed; z-index:3; bottom:74px; left:50%; display:grid; place-items:center; width:min(calc(100% - 34px),426px); height:37px; transform:translateX(-50%); border-radius:20px; color:#fff; background:linear-gradient(100deg,#7b49e1,#a549ff); box-shadow:0 7px 19px rgba(130,66,237,.38); font-size:10px; font-weight:700; }.new-debt span { font-size:16px; }.debts-empty { margin-top:52px; text-align:center; color:var(--muted); }.new-debt-page .phone-shell { padding-top:29px; }.new-debt-form { margin:0; gap:0; }.debt-category { display:grid; grid-template-columns:repeat(2,1fr); gap:7px; padding:11px; margin:0; border:1px solid #253146; border-radius:8px; }.debt-category legend { padding:0 3px; color:#8490a2; font-size:8px; }.debt-category label { display:flex; align-items:center; gap:5px; color:#ccd4df; font-size:9px; }.debt-category input { accent-color:var(--purple); }.debt-detail-page .phone-shell { padding-top:29px; }.debt-detail-summary { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; padding:15px; background:linear-gradient(140deg,#17243b,#111927); border-radius:10px; }.debt-detail-summary div:not(.debt-progress) { display:grid; gap:5px; }.debt-detail-summary span,.debt-detail-summary small { color:var(--muted); font-size:8px; }.debt-detail-summary strong { font-size:11px; }.debt-detail-summary .debt-progress { grid-column:1/-1; margin:3px 0 0; }.debt-detail-summary small { grid-column:1/-1; }.installments,.debt-chart { margin-top:14px; }.installments h2,.debt-chart h2 { margin:0 0 9px; font-size:11px; }.installments ul { padding:0; margin:0; list-style:none; background:var(--surface); border-radius:9px; }.installments li { display:grid; grid-template-columns:25px 1fr auto auto; gap:8px; align-items:center; padding:10px; border-bottom:1px solid var(--line); }.installments li>span { display:grid; place-items:center; width:20px; height:20px; color:#e7dfff; background:#323049; border-radius:50%; font-size:10px; }.installments li.paid>span { color:#d8ffee; background:rgba(40,209,124,.2); }.installments li.late>span { color:#ffd2d6; background:rgba(251,98,112,.2); }.installments li div { display:grid; gap:3px; }.installments li strong,.installments li b { font-size:9px; }.installments li small { color:var(--muted); font-size:8px; }.installments li form { margin:0; }.installments li button { padding:5px 7px; border:0; border-radius:5px; color:#e9e1ff; background:#6640bb; font-size:8px; }.chart-bars { display:flex; align-items:end; gap:6px; height:58px; padding:8px; background:var(--surface); border-radius:9px; }.chart-bars i { flex:1; height:var(--h,40%); background:linear-gradient(#a44bff,#7041d6); border-radius:3px 3px 0 0; }.chart-bars i:nth-child(2){height:52%}.chart-bars i:nth-child(3){height:63%}.chart-bars i:nth-child(4){height:73%}.chart-bars i:nth-child(5){height:83%}.chart-bars i:nth-child(6){height:90%}.chart-bars i:nth-child(7){height:100%}.debt-chart p { color:var(--muted); font-size:8px; }
.file-field { display:grid; gap:5px; min-height:52px; padding:9px 11px; background:var(--surface-2); border:1px dashed #30405a; border-radius:8px; }.file-field span { color:#8490a2; font-size:8px; }.file-field input { width:100%; color:#d6dde8; font-size:9px; }.file-field small { color:var(--muted); font-size:8px; }.cover-preview { width:100%; height:96px; margin-bottom:12px; object-fit:cover; border-radius:9px; }.reserve-heading { display:flex; justify-content:space-between; }.reserve-list { display:grid; gap:8px; padding:0; margin:-8px 0 0; list-style:none; }.reserve-list li { display:grid; grid-template-columns:25px 1fr auto; align-items:center; gap:8px; padding:8px 0; border-bottom:1px solid var(--line); }.reserve-list li>span { display:grid; place-items:center; width:22px; height:22px; border-radius:7px; color:#d8ffee; background:rgba(40,209,124,.18); font-size:14px; }.reserve-list li div { display:grid; gap:2px; }.reserve-list strong { font-size:9px; }.reserve-list small { color:var(--muted); font-size:8px; }.reserve-list li>b { color:var(--green); font-size:8px; }.project-actions a { display:grid; place-items:center; height:31px; border-radius:17px; color:#dfe5ee; background:#172132; font-size:9px; font-weight:700; }.project-actions a:last-child { color:#fff; background:linear-gradient(100deg,#7a49df,#a44bff); box-shadow:0 7px 19px rgba(130,66,237,.3); }
.transaction-row[hidden], .transaction-day[hidden] { display:none !important; }
.new-project-page .phone-shell { padding-top:29px; }.new-project-form { margin:0; gap:0; }.project-form-hero { padding:20px 12px 22px; text-align:center; }.project-form-hero span { display:grid; place-items:center; width:37px; height:37px; margin:auto auto 10px; border-radius:12px; color:#e8ddff; background:linear-gradient(135deg,#7041d6,#a34cff); box-shadow:0 6px 14px rgba(139,73,239,.28); font-size:20px; }.project-form-hero h2 { margin:0; font-size:14px; }.project-form-hero p { margin:6px 0 0; color:var(--muted); font-size:9px; }.project-value { margin:11px 0 2px; }.project-value input { font-size:19px; }.save-project { height:37px; margin-top:27px; border:0; border-radius:20px; color:#fff; background:linear-gradient(100deg,#7a49df,#a44bff); box-shadow:0 7px 19px rgba(130,66,237,.34); font-size:10px; font-weight:700; cursor:pointer; }
.transaction-row { color:inherit; cursor:pointer; }.transaction-row:active { background:rgba(139,98,229,.08); }.delete-transaction-form { margin-top:12px; }.delete-transaction-form button { width:100%; border:0; color:#ff9ca7; background:transparent; font-size:10px; font-weight:700; cursor:pointer; }
.project-detail-page .phone-shell { padding-top:29px; }.detail-header { display:grid; grid-template-columns:32px 1fr 32px; align-items:center; margin:7px 1px 14px; }.detail-header h1 { overflow:hidden; margin:0; text-align:center; text-overflow:ellipsis; white-space:nowrap; font-size:12px; }.detail-more { border:0; color:#bdc7d5; background:transparent; letter-spacing:1px; cursor:pointer; }.project-hero { position:relative; display:flex; flex-direction:column; justify-content:flex-end; min-height:107px; padding:12px; overflow:hidden; background:linear-gradient(135deg,#315374,#1b2538 56%,#161b2a); background-size:cover; background-position:center; border-radius:4px; }.project-hero::before { content:""; position:absolute; inset:0; background:linear-gradient(0deg,rgba(8,13,23,.78),transparent 70%); }.project-hero strong,.hero-progress { position:relative; }.project-hero strong { margin-bottom:8px; font-size:10px; }.hero-progress { height:4px; overflow:hidden; background:#2d3650; border-radius:4px; }.hero-progress i { display:block; height:100%; border-radius:inherit; background:linear-gradient(90deg,#7041d6,#a34cff); box-shadow:0 0 6px rgba(164,75,255,.7); }.project-finance { padding:13px 4px 12px; border-bottom:1px solid var(--line); }.project-finance dl { display:grid; gap:9px; margin:0; }.project-finance dl div { display:flex; justify-content:space-between; }.project-finance dt,.project-finance dd { margin:0; font-size:9px; }.project-finance dt,.completion-date span { color:var(--muted); }.project-finance dd { color:#e2e7ef; font-weight:700; }.completion-date { display:flex; justify-content:space-between; margin-top:15px; font-size:9px; }.completion-date b { color:#c6cfdd; text-transform:capitalize; }.project-details { display:grid; gap:20px; padding:18px 4px; }.project-details>div { display:flex; align-items:center; gap:10px; }.project-details span { color:#aeb7c4; font-size:9px; }.project-details b { margin-left:auto; font-size:9px; }.project-details button { display:grid; place-items:center; width:20px; height:20px; border:0; border-radius:4px; color:#d8e0ea; background:#263244; font-size:10px; }.project-details p { margin:-10px 0 0; color:var(--muted); font-size:9px; }.project-actions { position:fixed; z-index:3; bottom:74px; left:50%; display:grid; grid-template-columns:1fr 1fr; gap:10px; width:min(calc(100% - 34px),426px); transform:translateX(-50%); }.project-actions button { height:31px; border:0; border-radius:17px; color:#dfe5ee; background:#172132; font-size:9px; font-weight:700; cursor:pointer; }.project-actions button:last-child { color:#fff; background:linear-gradient(100deg,#7a49df,#a44bff); box-shadow:0 7px 19px rgba(130,66,237,.3); }
.projects-page .phone-shell { padding-top:30px; }.projects-header { display:flex; justify-content:space-between; align-items:center; margin:5px 3px 15px; }.projects-header h1 { margin:0; font-size:15px; }.new-project-card { display:flex; align-items:center; justify-content:space-between; min-height:62px; padding:12px 14px; background:linear-gradient(130deg,#162036,#121a29); border:1px solid rgba(255,255,255,.025); border-radius:9px; box-shadow:0 9px 20px rgba(0,0,0,.14); }.new-project-card h2 { margin:0 0 5px; font-size:12px; }.new-project-card p { margin:0; color:var(--muted); font-size:8px; }.new-project-card button { display:grid; place-items:center; width:30px; height:30px; border:0; border-radius:50%; color:#e9ddff; background:linear-gradient(135deg,#7041d6,#a34cff); box-shadow:0 5px 13px rgba(139,73,239,.35); font-size:23px; font-weight:300; cursor:pointer; }.project-tabs { display:grid; grid-template-columns:repeat(3,1fr); gap:5px; margin:12px 0 16px; padding:3px; background:#0b121e; border:1px solid #172337; border-radius:8px; }.project-tabs button { height:24px; border:0; border-radius:5px; color:#8d98aa; background:transparent; font-size:8px; font-weight:700; cursor:pointer; }.project-tabs button.active { color:#eee7ff; background:linear-gradient(100deg,#7041d6,#a34cff); box-shadow:0 4px 9px rgba(139,73,239,.26); }.projects-list { display:grid; gap:11px; }.project-card { display:grid; grid-template-columns:35px 1fr; gap:10px; min-height:76px; padding:13px 12px; background:linear-gradient(140deg,var(--surface-2),var(--surface)); border:1px solid rgba(255,255,255,.025); border-radius:10px; box-shadow:0 9px 19px rgba(0,0,0,.13); }.project-icon { display:grid; place-items:center; width:28px; height:28px; border-radius:50%; font-size:14px; }.project-icon.cyan { color:#c8faff; background:#1cabbc; }.project-icon.yellow { color:#fff0bf; background:#d7a22b; }.project-icon.red { color:#ffdcdf; background:#e85062; }.project-main { min-width:0; }.project-title { display:flex; align-items:center; justify-content:space-between; gap:8px; }.project-title strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:10px; }.project-title b { flex:none; color:#c6cfdd; font-size:8px; }.project-progress { height:4px; margin:12px 0 7px; overflow:hidden; background:#273143; border-radius:4px; }.project-progress i { display:block; height:100%; border-radius:inherit; background:linear-gradient(90deg,#20bd70,#28d17c); box-shadow:0 0 6px rgba(40,209,124,.5); }.project-main small { color:#bdc5d1; font-size:8px; }.projects-empty { margin-top:52px; padding:28px; text-align:center; color:var(--muted); }.projects-empty span { display:grid; place-items:center; width:44px; height:44px; margin:auto; border-radius:14px; color:var(--purple); background:rgba(139,98,229,.14); font-size:23px; }.projects-empty h2 { margin:13px 0 6px; color:var(--text); font-size:13px; }.projects-empty p { margin:0; font-size:10px; line-height:1.5; }
.new-transaction { display:grid; place-items:center; }.new-transaction-page .phone-shell { padding-top:29px; }.new-header { display:grid; grid-template-columns:32px 1fr 32px; align-items:center; margin:7px 1px 18px; }.new-header h1 { margin:0; text-align:center; font-size:12px; }.back-button { display:grid; place-items:center; width:29px; height:29px; color:#aab4c2; font-size:27px; line-height:1; }.new-transaction-form { margin:0; gap:0; }.type-toggle { display:grid; grid-template-columns:1fr 1fr; gap:3px; padding:3px; background:#0b121e; border:1px solid #202c3d; border-radius:9px; }.type-toggle button { height:28px; border:0; border-radius:6px; color:#9aa5b4; background:transparent; font-size:9px; font-weight:700; cursor:pointer; }.type-toggle button.active { color:#e5ffef; background:linear-gradient(100deg,#23bf6b,#28d17c); box-shadow:0 4px 10px rgba(40,209,124,.21); }.value-field { display:grid; justify-items:center; gap:5px; margin:35px 0 24px; }.value-field input { width:180px; padding:0; color:var(--text); background:transparent; border:0; outline:0; text-align:center; font-size:22px; font-weight:800; letter-spacing:-.6px; }.value-field input::placeholder { color:var(--text); opacity:1; }.value-field span { color:var(--muted); font-size:9px; }.form-alert { margin:0 0 13px; padding:8px 10px; color:#ffb4bc; background:rgba(251,98,112,.12); border-radius:7px; font-size:9px; }.form-fields { display:grid; gap:10px; }.select-field,.description-field { position:relative; display:grid; gap:4px; min-height:48px; padding:8px 11px; background:var(--surface-2); border:1px solid rgba(255,255,255,.025); border-radius:8px; }.select-field>span,.description-field>span { color:#8490a2; font-size:8px; }.select-field select,.select-field input,.description-field input { width:100%; padding:0 18px 0 0; color:#d6dde8; background:transparent; border:0; outline:0; font:inherit; font-size:9px; appearance:none; }.select-field select:disabled { color:#d6dde8; opacity:1; }.select-field b { position:absolute; right:11px; bottom:11px; color:#c5ced9; font-size:11px; }.select-field:nth-child(1) b { color:#efc45f; }.select-field:nth-child(3) b { color:#ef6573; }.description-field input::placeholder { color:#8490a2; }.save-transaction { height:37px; margin-top:35px; border:0; border-radius:20px; color:#fff; background:linear-gradient(100deg,#7a49df,#a44bff); box-shadow:0 7px 19px rgba(130,66,237,.34); font-size:10px; font-weight:700; cursor:pointer; }

:root { --bg:#080d17; --surface:#101825; --surface-2:#151f2e; --line:#1d2a3d; --text:#f5f7fb; --muted:#8793a7; --green:#28d17c; --red:#fb6270; --purple:#8b62e5; font-family:Inter,Arial,sans-serif; color:var(--text); background:var(--bg); }
* { box-sizing:border-box; } body { margin:0; min-width:320px; background:var(--bg); } button,a { font:inherit; } a { color:inherit; text-decoration:none; }
.hf-app { padding:env(safe-area-inset-top) 0 calc(76px + env(safe-area-inset-bottom)); }.phone-shell { width:min(100%,460px); margin:auto; padding:26px 17px 22px; }.dash-header { display:flex; justify-content:space-between; align-items:center; margin:8px 3px 17px; }.dash-header h1 { margin:0 0 4px; font-size:16px; font-weight:700; letter-spacing:-.4px; }.dash-header h1 span { font-size:15px; }.dash-header p { margin:0; color:var(--muted); font-size:10px; }.icon-button { display:grid; place-items:center; width:34px; height:34px; padding:0; color:#bdc7d5; background:transparent; border:0; cursor:pointer; }.icon-button svg { width:20px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.balance-card,.metric-card,.month-card,.transactions { background:linear-gradient(140deg,var(--surface-2),var(--surface)); border:1px solid rgba(255,255,255,.025); box-shadow:0 10px 24px rgba(0,0,0,.17); }.balance-card { min-height:142px; padding:16px; border-radius:10px; }.balance-card p { margin:0; color:#a8b2c1; font-size:10px; }.balance-card>strong { display:block; margin-top:5px; font-size:21px; letter-spacing:-.7px; }.balance-bottom { display:flex; align-items:flex-end; gap:5px; margin-top:13px; font-size:9px; color:var(--muted); }.balance-bottom .up { color:var(--green); font-weight:700; }.line-chart { width:98px; height:34px; margin-left:auto; overflow:visible; }.line-chart path { fill:none; stroke:var(--green); stroke-width:1.7; vector-effect:non-scaling-stroke; filter:drop-shadow(0 0 3px rgba(40,209,124,.6)); }
.income-cards { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin:11px 0; }.metric-card { min-height:92px; padding:14px 12px; border-radius:10px; }.metric-card p { margin:0 0 6px; font-size:10px; }.income p,.income small { color:var(--green); }.expense p { color:var(--red); }.expense small { color:var(--red); }.metric-card strong { display:block; font-size:16px; letter-spacing:-.5px; }.metric-card small { display:block; margin-top:12px; font-size:9px; font-weight:700; }
.month-card { border-radius:10px; padding:15px 13px; }.section-heading { display:flex; justify-content:space-between; align-items:center; }.section-heading h2 { margin:0; font-size:11px; letter-spacing:-.2px; }.section-heading span,.section-heading a { color:var(--muted); font-size:9px; }.month-content { display:flex; align-items:center; gap:17px; margin-top:13px; }.donut { position:relative; width:72px; aspect-ratio:1; flex:none; display:grid; place-items:center; border-radius:50%; background:conic-gradient(var(--green) 0 calc(var(--income)), var(--red) calc(var(--income)) calc(var(--income) + var(--expense)), var(--purple) calc(var(--income) + var(--expense)) 100%); }.donut::after { content:""; position:absolute; inset:9px; background:var(--surface); border-radius:50%; }.donut span { position:relative; z-index:1; color:var(--muted); font-size:9px; }.legend { flex:1; display:grid; gap:8px; }.legend p { display:grid; grid-template-columns:9px 1fr auto; align-items:center; gap:5px; margin:0; color:var(--muted); font-size:9px; }.legend b { color:#d5dbe4; font-weight:600; font-size:8px; }.dot { width:5px; height:5px; border-radius:50%; }.green { background:var(--green); }.red { background:var(--red); }.purple { background:var(--purple); }
.transactions { margin-top:11px; padding:15px 13px; border-radius:10px; }.transactions ul { padding:0; margin:10px 0 0; list-style:none; }.transactions li { display:grid; grid-template-columns:28px 1fr auto; align-items:center; gap:9px; padding:9px 0; border-bottom:1px solid var(--line); }.transactions li:last-child { border:0; }.transaction-icon { display:grid; place-items:center; width:25px; height:25px; border-radius:8px; font-size:14px; }.icon-income { color:#d8ffee; background:rgba(40,209,124,.18); }.icon-expense { color:#ffccd2; background:rgba(251,98,112,.15); }.transactions li div { display:grid; gap:3px; }.transactions li strong { font-size:10px; }.transactions li small { color:var(--muted); font-size:8px; }.transactions li>b { font-size:9px; }.amount-income { color:var(--green); }.amount-expense { color:var(--red); }.empty-state { margin:15px 0 2px; color:var(--muted); font-size:10px; text-align:center; }
.bottom-nav { position:fixed; z-index:4; bottom:0; left:50%; display:flex; justify-content:space-around; width:min(100%,460px); height:64px; padding:8px 4px calc(7px + env(safe-area-inset-bottom)); transform:translateX(-50%); background:rgba(11,17,28,.96); border-top:1px solid var(--line); backdrop-filter:blur(15px); }.bottom-nav a { display:grid; place-items:center; align-content:center; gap:3px; min-width:55px; color:#8b96a9; font-size:7px; }.bottom-nav a span { font-size:17px; line-height:15px; }.bottom-nav a.active { color:var(--purple); font-weight:700; }.bottom-nav a.active span { text-shadow:0 0 10px rgba(139,98,229,.7); }
.transactions-page .phone-shell { padding-top:30px; }.transactions-header { display:flex; align-items:center; justify-content:space-between; margin:5px 3px 18px; }.transactions-header h1 { margin:0; font-size:14px; font-weight:700; }.transaction-filters { display:grid; grid-template-columns:repeat(3,1fr); gap:9px; margin-bottom:17px; }.transaction-filters button { height:27px; border:0; border-radius:7px; color:#8e99aa; background:#111a28; font-size:9px; font-weight:700; cursor:pointer; }.transaction-filters button.active { color:#f2eaff; background:linear-gradient(100deg,#7041d6,#a34cff); box-shadow:0 5px 13px rgba(139,73,239,.25); }.transaction-day { margin-bottom:15px; }.transaction-day h2 { margin:0 0 8px 3px; font-size:10px; }.transaction-group { overflow:hidden; background:linear-gradient(140deg,var(--surface-2),var(--surface)); border:1px solid rgba(255,255,255,.025); border-radius:10px; box-shadow:0 9px 19px rgba(0,0,0,.13); }.transaction-row { display:grid; grid-template-columns:29px 1fr auto; align-items:center; gap:9px; min-height:54px; padding:8px 11px; border-bottom:1px solid var(--line); }.transaction-row:last-child { border-bottom:0; }.transaction-row strong { display:block; font-size:9px; }.transaction-row small { display:block; margin-top:3px; color:var(--muted); font-size:8px; }.transaction-row>b { font-size:8px; }.new-transaction { position:fixed; z-index:3; bottom:74px; left:50%; width:min(calc(100% - 34px),426px); height:37px; transform:translateX(-50%); border:0; border-radius:20px; color:#fff; background:linear-gradient(100deg,#7b49e1,#a549ff); box-shadow:0 7px 19px rgba(130,66,237,.38); font-size:10px; font-weight:700; cursor:pointer; }.new-transaction span { font-size:16px; font-weight:400; vertical-align:-1px; }.transactions-empty { margin-top:55px; padding:25px; text-align:center; color:var(--muted); }.transactions-empty span { display:grid; place-items:center; width:44px; height:44px; margin:auto; border-radius:14px; color:var(--purple); background:rgba(139,98,229,.14); font-size:23px; }.transactions-empty h2 { margin:13px 0 6px; color:var(--text); font-size:13px; }.transactions-empty p { margin:0; font-size:10px; line-height:1.5; }
.reveal { opacity:0; animation:reveal .5s ease forwards; }.delay-1 { animation-delay:.08s; }.delay-2 { animation-delay:.16s; }.delay-3 { animation-delay:.24s; }.delay-4 { animation-delay:.32s; } @keyframes reveal { from { opacity:0; transform:translateY(9px); } to { opacity:1; transform:translateY(0); } } @media (min-width:700px) { .hf-app { background:radial-gradient(circle at top,#18223a,var(--bg) 58%); min-height:100vh; }.phone-shell { border-inline:1px solid rgba(255,255,255,.035); } } @media (prefers-reduced-motion:reduce) { .reveal { animation:none; opacity:1; } }

/* Login e páginas de erro */
.center-page { min-height:100vh; display:grid; place-items:center; padding:1rem; }.card { width:min(100%,420px); padding:2rem; background:var(--surface); border:1px solid var(--line); border-radius:14px; }.login-card h1 { margin:0; color:var(--text); }.login-card p { color:var(--muted); }form { display:grid; gap:1rem; margin-top:1.25rem; }label { display:grid; gap:.4rem; font-size:12px; font-weight:600; }.input { width:100%; padding:.75rem; color:var(--text); background:var(--surface-2); border:1px solid var(--line); border-radius:7px; font:inherit; }.button { border:0; border-radius:7px; padding:.75rem 1rem; color:#08110d; background:var(--green); font:inherit; font-weight:700; cursor:pointer; }.alert { padding:.75rem; color:#ffbdc5!important; background:rgba(251,98,112,.14); border-radius:7px; }
