/* TiKi Tax V5.9.6 — dashboard and global mobile polish */
.tt-v596-money { white-space:nowrap!important; word-break:normal!important; overflow-wrap:normal!important; font-variant-numeric:tabular-nums; }

@media (max-width:720px) {
  body.tt-v596-dashboard main { overflow-x:hidden; padding-bottom:calc(160px + env(safe-area-inset-bottom)); }
  body.tt-v596-dashboard main>div { padding:20px 12px!important; }
  body.tt-v596-dashboard h1 { font-size:clamp(1.8rem,8vw,2.35rem)!important; line-height:1.08!important; }
  body.tt-v596-dashboard [role="tablist"] { max-width:none!important; padding:4px!important; border-radius:14px!important; }
  body.tt-v596-dashboard [role="tab"] { min-width:0!important; padding:11px 8px!important; }
  body.tt-v596-dashboard [role="tab"][data-state="active"] { color:#087a4c!important; background:#ecfbf4!important; box-shadow:0 2px 8px rgba(8,122,76,.12)!important; }

  .tt-v596-ai-categories .tt-v596-category-grid { grid-template-columns:1fr!important; gap:8px!important; }
  .tt-v596-category-row { position:relative; min-width:0!important; min-height:48px; padding:10px 12px 10px 20px!important; border:1px solid #e5ece8; background:#fff!important; }
  .tt-v596-category-row::before { content:""; position:absolute; left:7px; top:12px; bottom:12px; width:5px; border-radius:999px; background:#10b981; }
  .tt-v596-category-row>span:first-child { min-width:0!important; padding-right:10px; white-space:normal!important; line-height:1.25; }
  .tt-v596-category-row>span:last-child { flex:0 0 auto!important; white-space:nowrap!important; word-break:normal!important; font-variant-numeric:tabular-nums; font-weight:750; color:#17231d!important; }
  .tt-v596-category-row[data-color-index="1"]::before { background:#0ea5e9; }
  .tt-v596-category-row[data-color-index="2"]::before { background:#7c3aed; }
  .tt-v596-category-row[data-color-index="3"]::before { background:#f97316; }
  .tt-v596-category-row[data-color-index="4"]::before { background:#e11d48; }
  .tt-v596-category-row[data-color-index="5"]::before { background:#64748b; }

  .tt-v596-recent-card>div:last-child { padding:12px!important; }
  .tt-v596-recent-row { display:grid!important; grid-template-columns:minmax(0,1fr) auto!important; align-items:center!important; gap:10px!important; min-height:88px!important; padding:12px!important; }
  .tt-v596-recent-row>div:first-child { min-width:0!important; gap:10px!important; }
  .tt-v596-recent-row>div:first-child>div:last-child { min-width:0!important; }
  .tt-v596-recent-row>div:first-child p { overflow-wrap:normal!important; word-break:normal!important; }
  .tt-v596-recent-row>div:first-child [class*="text-sm"] { flex-wrap:wrap!important; gap:4px 7px!important; line-height:1.3!important; }
  .tt-v596-recent-row>div:last-child { display:grid!important; grid-template-columns:repeat(2,36px)!important; justify-items:center; gap:2px!important; }
  .tt-v596-recent-row>div:last-child>p { grid-column:1/-1; font-size:1.05rem!important; white-space:nowrap!important; font-variant-numeric:tabular-nums; }
  .tt-v596-recent-row button { width:36px!important; height:36px!important; }

  .tt-v596-overview-categories .tt-v596-overview-category-row { position:relative; padding-left:14px; }
  .tt-v596-overview-category-row::before { content:""; position:absolute; left:0; top:2px; bottom:2px; width:5px; border-radius:999px; background:#f97316; }
  .tt-v596-overview-category-row[data-color-index="1"]::before { background:#0ea5e9; }
  .tt-v596-overview-category-row[data-color-index="2"]::before { background:#7c3aed; }
  .tt-v596-overview-category-row[data-color-index="3"]::before { background:#64748b; }
  .tt-v596-overview-category-row[data-color-index="4"]::before { background:#10b981; }
  .tt-v596-overview-category-row[data-color-index="5"]::before { background:#e11d48; }
  .tt-v596-overview-category-row [class*="justify-between"]>*:last-child { white-space:nowrap!important; font-variant-numeric:tabular-nums; }

  #tiki-whatsapp-receipts { width:52px!important; height:52px!important; min-width:52px!important; padding:0!important; display:grid!important; place-items:center!important; overflow:hidden!important; color:transparent!important; font-size:0!important; bottom:226px!important; right:16px!important; }
  #tiki-whatsapp-receipts::before { content:"💬"; color:#fff; font-size:22px; line-height:1; }
  #tikitax-install-app { width:48px!important; height:48px!important; min-width:48px!important; padding:0!important; justify-content:center!important; overflow:hidden!important; font-size:0!important; bottom:calc(112px + env(safe-area-inset-bottom))!important; }
  #tikitax-install-app::before { content:"↓"; font-size:24px; line-height:1; color:#fff; }
}

@media (max-width:390px) {
  body.tt-v596-dashboard main>div { padding-left:10px!important; padding-right:10px!important; }
  .tt-v596-recent-row { grid-template-columns:minmax(0,1fr) 76px!important; }
}
