.pf-app .pf-cal-marks { display: none; }
.pf-app [data-view="budget"] .pf-section-title .pf-primary { white-space: nowrap; }
.pf-app .pf-calendar { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.pf-app .pf-cal-day b { white-space: nowrap; }
.pf-app .pf-data-panel p { max-width: 46ch; margin: 0 0 16px; color: #536d70; font-size: 13px; line-height: 1.65; word-break: keep-all; }
.pf-app .pf-data-panel .pf-actions { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; width: 100%; max-width: 420px; margin: 0 0 16px; }
.pf-app .pf-data-panel .pf-actions button { min-width: 0; min-height: 46px !important; padding: 10px 12px !important; font-size: 14px !important; white-space: nowrap; }
.pf-app .pf-data-panel .pf-actions button:first-child { background: #0d7775 !important; border-color: #0d7775 !important; color: #fff !important; }
.pf-app .pf-data-panel .pf-actions button:last-child { background: #fffefa !important; border-color: #bddbd3 !important; color: #0d7775 !important; }
.pf-app .pf-data-panel .pf-file { display: flex !important; flex-direction: column; align-items: stretch; gap: 8px; width: min(100%, 420px) !important; margin: 0; padding: 12px 14px; border-color: #d4e3dc; color: #19343a; font-size: 13px; font-weight: 750; white-space: nowrap; }
.pf-app .pf-data-panel .pf-file input { display: block; width: 100% !important; max-width: none !important; min-width: 0; overflow: hidden; font-size: 12px !important; font-weight: 400; }
.pf-app .pf-data-panel .pf-file input::file-selector-button { margin-right: 8px; padding: 7px 9px; border: 1px solid #bddbd3; border-radius: 7px; background: #f0f8f5; color: #145c5b; font: inherit; cursor: pointer; }
.pf-app .pf-data-panel .pf-danger { margin-top: 18px !important; white-space: nowrap; }
@container (max-width: 520px) {
  .pf-app .pf-data-panel .pf-actions { grid-template-columns: minmax(0, 1fr); max-width: none; }
  .pf-app .pf-data-panel .pf-file { width: 100% !important; }
  .pf-app [data-view="stats"] .pf-section-title { flex-direction: column; align-items: stretch; }
  .pf-app [data-view="stats"] .pf-section-title h3 { white-space: nowrap; }
  .pf-app [data-stats-range] { flex: 0 0 auto; width: 100% !important; max-width: none; }
  .pf-app [data-view="budget"] .pf-feature-label { flex-direction: column; align-items: flex-start; gap: 2px; }
  .pf-app [data-view="budget"] .pf-feature-label span,.pf-app [data-view="budget"] .pf-feature-label b { white-space: nowrap; }
  .pf-app [data-view="stats"] .pf-chart-card { padding: 16px 12px; }
  .pf-app .pf-report-head { flex-wrap: wrap; gap: 4px 12px; }
  .pf-app .pf-report-head>b { font-size: 17px; white-space: nowrap; }
  .pf-app .pf-report-visual { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 16px; margin: 18px 0; }
  .pf-app .pf-report-donut { width: min(100%, 190px); height: auto; aspect-ratio: 1; }
  .pf-app .pf-report-donut>div { width: 58%; height: auto; aspect-ratio: 1; padding: 8px; }
  .pf-app .pf-report-donut strong { font-size: 17px; white-space: nowrap; }
  .pf-app .pf-report-legend { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .pf-app .pf-report-legend>div { min-width: 0; font-size: 13px; }
  .pf-app .pf-report-table-head { display: none; }
  .pf-app .pf-report-group-title,.pf-app .pf-report-child { grid-template-columns: minmax(0, 1fr) auto; gap: 2px 8px; padding: 12px 6px; }
  .pf-app .pf-report-group-title { font-size: 14px; }
  .pf-app .pf-report-child { padding-left: 15px; font-size: 13px; }
  .pf-app .pf-report-rank { min-width: 0; gap: 6px; }
  .pf-app .pf-report-group-title>b,.pf-app .pf-report-child>b { grid-column: 2; grid-row: 1; white-space: nowrap; font-size: 13px; }
  .pf-app .pf-report-group-title>strong,.pf-app .pf-report-child>span:last-child { grid-column: 2; grid-row: 2; color: #0d7775; text-align: right; white-space: nowrap; font-size: 12px; }
  .pf-app [data-month-chart] .pf-chart-row { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 8px; }
  .pf-app [data-month-chart] .pf-chart-row>span { grid-column: 1; grid-row: 1; }
  .pf-app [data-month-chart] .pf-chart-row>b { grid-column: 2; grid-row: 1; white-space: nowrap; }
  .pf-app [data-month-chart] .pf-chart-track { grid-column: 1 / -1; grid-row: 2; }
  .pf-app [data-view="calendar"] .pf-section-title { gap: 6px; }
  .pf-app [data-view="calendar"] .pf-section-title h3 { font-size: 22px !important; white-space: nowrap; }
  .pf-app .pf-month-nav { gap: 3px; white-space: nowrap; }
  .pf-app .pf-month-nav button { flex: 0 0 25px; width: 25px !important; height: 28px !important; }
  .pf-app .pf-month-nav b { font-size: 13px; }
  .pf-app .pf-calendar { gap: 3px; padding: 8px; }
  .pf-app .pf-calendar>.pf-cal-blank { min-height: 0; padding: 0; }
  .pf-app .pf-cal-head { min-height: 20px !important; padding: 1px 0; font-size: 11px; }
  .pf-app .pf-cal-day { min-height: 48px !important; padding: 6px 1px !important; align-items: center; border-radius: 8px !important; background: #f4f7f5 !important; }
  .pf-app .pf-cal-day b { width: 100%; font-size: 13px; line-height: 1; text-align: center; }
  .pf-app .pf-cal-day small { display: none; }
  .pf-app .pf-cal-marks { display: flex; justify-content: center; gap: 3px; min-height: 6px; margin-top: auto; }
  .pf-app .pf-cal-marks i { width: 5px; height: 5px; border-radius: 50%; }
  .pf-app .pf-cal-marks i.expense { background: #c94f49; }
  .pf-app .pf-cal-marks i.income { background: #128367; }
  .pf-app [data-view="budget"] .pf-section-title .pf-primary { flex: 0 0 auto; font-size: 12px !important; }
}
@media (max-width: 520px) {
  .pf-app .pf-data-panel .pf-actions { grid-template-columns: minmax(0, 1fr); max-width: none; }
  .pf-app .pf-data-panel .pf-file { width: 100% !important; }
  .pf-app [data-view="stats"] .pf-section-title { flex-direction: column; align-items: stretch; }
  .pf-app [data-view="stats"] .pf-section-title h3 { white-space: nowrap; }
  .pf-app [data-stats-range] { flex: 0 0 auto; width: 100% !important; max-width: none; }
  .pf-app [data-view="budget"] .pf-feature-label { flex-direction: column; align-items: flex-start; gap: 2px; }
  .pf-app [data-view="budget"] .pf-feature-label span,.pf-app [data-view="budget"] .pf-feature-label b { white-space: nowrap; }
  .pf-app .pf-cal-day small { display: none; }
  .pf-app .pf-cal-marks { display: flex; justify-content: center; gap: 3px; min-height: 6px; margin-top: auto; }
  .pf-app .pf-cal-marks i { width: 5px; height: 5px; border-radius: 50%; }
  .pf-app .pf-cal-marks i.expense { background: #c94f49; }
  .pf-app .pf-cal-marks i.income { background: #128367; }
}
