/* Financial overview: shared controls; mobile presentation scoped to this page. */
.finance-intro,.finance-overview,.finance-shortcuts{display:none}
.finance-period{padding:16px;background:var(--aura-surface);border:1px solid var(--aura-border);border-radius:16px}
.finance-period-head,.finance-presets,.finance-dates{display:flex;align-items:center;gap:12px}
.finance-period-head{justify-content:space-between;margin-bottom:12px;font-weight:600}
.finance-presets{gap:4px}.finance-presets .tbtn{min-height:44px;padding:8px 14px}
.finance-presets [aria-pressed=true]{background:var(--aura-primary-subtle);color:var(--p-text);border-radius:10px}
.finance-dates label{display:grid;gap:6px;flex:1;min-width:0;font-size:12px;color:var(--aura-text-secondary)}
.finance-dates input{width:100%;min-width:0;min-height:44px}
.finance-note{color:var(--aura-text-muted);font-size:12px;line-height:1.5;margin:12px 0}
.finance-page :focus-visible{outline:3px solid var(--aura-blue-500);outline-offset:3px}
@media(max-width:700px){
  #area:has(.finance-page){padding:16px 16px calc(90px + env(safe-area-inset-bottom))}
  .content:has(.finance-page)>.crumbs{display:none}
  .finance-page{max-width:640px;margin:auto;min-width:0;color:var(--aura-text-primary)}
  .finance-desktop-kpis{display:none}
  .finance-intro{display:block;margin:4px 0 20px}.finance-intro h2{font-size:28px;letter-spacing:-.03em;margin:0}.finance-intro p{margin:5px 0 0;color:var(--aura-text-muted)}
  .finance-period{padding:14px;margin-bottom:18px;box-shadow:none}
  .finance-dates input{font-size:14px;max-width:100%;padding:10px}
  .finance-overview{display:block;padding:22px 20px 10px;background:var(--aura-surface);border:1px solid var(--aura-border);border-radius:20px}
  .finance-result{padding-bottom:20px;border-bottom:1px solid var(--aura-border)}
  .finance-result>span{font-size:13px;color:var(--aura-text-secondary)}
  .finance-result strong{display:block;font-size:clamp(28px,8.5vw,38px);font-weight:700;line-height:1.2;letter-spacing:-.04em;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;margin:8px 0 10px;color:var(--aura-text-primary)}
  .finance-result strong.negative{color:var(--aura-danger)}.finance-result p{font-size:12px;color:var(--aura-text-muted);margin:0;max-width:30ch}
  .finance-breakdown{margin:6px 0}.finance-breakdown>div{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:12px 0}
  .finance-breakdown dt{font-size:12px;color:var(--aura-text-secondary);display:flex;align-items:center;gap:8px}.finance-breakdown dd{margin:0;font-weight:600;font-size:14px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;text-align:right}
  .finance-dot{width:7px;height:7px;border-radius:50%;flex-shrink:0;background:var(--aura-primary)}.finance-dot.income{background:var(--aura-success)}.finance-dot.expense{background:var(--aura-danger)}
  .finance-shortcuts{display:flex;gap:8px;margin:16px 0 4px}.finance-shortcuts a{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:80px;text-align:center;border:1px solid var(--aura-border);border-radius:14px;padding:10px 6px;background:var(--aura-surface);color:var(--p-text);font-size:11px;font-weight:600}
  [data-brand="aura"] .finance-page .tc{background:transparent;border:0;box-shadow:none;overflow:visible}
  [data-brand="aura"] .finance-page .tc .card-h{padding:8px 0 12px;display:flex;flex-wrap:wrap;gap:10px;border:0}[data-brand="aura"] .finance-page .tc .card-h h2{font-size:16px;line-height:1.4}
  [data-brand="aura"] .finance-page .tc .tools{flex-wrap:wrap;max-width:100%}[data-brand="aura"] .finance-page .tc input[type=search]{max-width:100%;min-width:0}
  [data-brand="aura"] .finance-page .tc .scroll{overflow:visible}[data-brand="aura"] .finance-page .tc table{display:block;width:100%;min-width:0!important;border:0}[data-brand="aura"] .finance-page .tc thead{display:none}[data-brand="aura"] .finance-page .tc tbody{display:grid;gap:12px}
  [data-brand="aura"] .finance-page .tc tbody tr{display:grid;background:var(--aura-surface);border:1px solid var(--aura-border);border-radius:16px;padding:16px;gap:10px;box-shadow:none}
  [data-brand="aura"] .finance-page .tc tbody td{display:block;padding:0!important;border:0!important;min-width:0;white-space:normal;overflow-wrap:anywhere;text-align:left;background:transparent!important}
  [data-brand="aura"] .finance-page .tc tbody td::before{display:none}
  .finance-page [data-tc=cxs] tbody tr{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:'date date' 'description description' 'amount amount' 'actions actions'}
  .finance-page [data-tc=cxs] td:nth-child(1){grid-area:date;color:var(--aura-text-muted);font-size:11px}
  .finance-page [data-tc=cxs] td:nth-child(2){grid-area:description;font-size:14px;line-height:1.5}.finance-page [data-tc=cxs] td:nth-child(2) small{font-size:11px;margin-top:4px}
  .finance-page [data-tc=cxs] td:nth-child(3),.finance-page [data-tc=cxs] td:nth-child(4){grid-area:amount}
  .finance-page [data-tc=cxs] td:nth-child(3):not(:has(.lg-v)),.finance-page [data-tc=cxs] td:nth-child(4):not(:has(.lg-v)){display:none}
  .finance-page [data-tc=cxs] .lg-v{font-size:18px;font-weight:650;background:transparent;padding:0;white-space:normal;font-variant-numeric:tabular-nums}
  .finance-page [data-tc=cxs] td:nth-child(5){grid-area:actions;padding-top:10px!important;border-top:1px solid var(--aura-border)!important}.finance-page .rowbtns{display:flex;gap:8px;flex-wrap:wrap}.finance-page .rowbtns .btn{flex:1;min-height:44px;justify-content:center}
  [data-brand="aura"] .finance-page .tc tbody td[colspan]{grid-column:1/-1;grid-area:auto!important;padding:16px 0!important;color:var(--aura-text-muted);line-height:1.6}
  .finance-page [data-tc=cons] tbody tr{grid-template-columns:1fr 1fr}.finance-page [data-tc=cons] td:first-child{grid-column:1/-1;font-weight:700;padding-bottom:8px!important}.finance-page [data-tc=cons] td:not(:first-child)::before{display:block;content:attr(data-label);color:var(--aura-text-muted);font-size:11px;margin-bottom:4px}
  [data-brand="aura"] .finance-page .tc .card-f{padding:14px 0;display:flex;flex-wrap:wrap;gap:12px;justify-content:space-between}.finance-page .pager{flex-wrap:wrap}.finance-page .pager button{min-width:36px;min-height:44px}
}
@media(max-width:360px){.finance-dates{flex-direction:column;align-items:stretch}}

/* Keep the financial page on the same mobile shell up to its breakpoint. */
@media(max-width:700px){
  [data-brand="aura"] .app:has(.finance-page){grid-template-columns:minmax(0,1fr)}
  [data-brand="aura"] .app:has(.finance-page) .sb{position:fixed;left:0;top:0;width:280px;transform:translateX(-100%);visibility:hidden}
  body[data-brand="aura"].nav-open .app:has(.finance-page) .sb{transform:none;visibility:visible}
  [data-brand="aura"] .app:has(.finance-page) .sb .lbl,[data-brand="aura"] .app:has(.finance-page) .sb-group,[data-brand="aura"] .app:has(.finance-page) .sb-unit,[data-brand="aura"] .app:has(.finance-page) .sb .wm-rest{display:revert}
  [data-brand="aura"] .app:has(.finance-page) .sb-group{display:flex;align-items:center;justify-content:space-between;text-align:left;width:100%}
  [data-brand="aura"] .app:has(.finance-page) .sb a.item{justify-content:flex-start;padding:0 12px}
  [data-brand="aura"] .app:has(.finance-page) .grp.closed .grp-items{display:none}
  [data-brand="aura"] .finance-page .tc{margin:0;border-radius:0;background:transparent}
  [data-brand="aura"] .finance-page .tc .card-h{display:grid;grid-template-columns:minmax(0,1fr);background:transparent}
  [data-brand="aura"] .finance-page .tc .tools{display:grid;grid-template-columns:minmax(0,1fr) auto;width:100%;gap:8px}
  [data-brand="aura"] .finance-page .tc .srch{width:100%;min-width:0}
  [data-brand="aura"] .finance-page .tc .srch input[type=search]{width:100%;min-width:0}
  [data-brand="aura"] .finance-page .tc .tools>.tbtn{min-height:44px;padding:8px 12px;white-space:nowrap}
  [data-brand="aura"] .finance-page .tc .scroll{background:transparent;background-image:none}
  [data-brand="aura"] .finance-page .tc table.dt tbody{display:grid;gap:12px}
  [data-brand="aura"] .finance-page .tc table.dt tbody tr{margin:0;width:100%}
  [data-brand="aura"] .finance-page .tc table.dt td{height:auto;width:auto}
  [data-brand="aura"] .finance-page .tc .card-f{display:grid;grid-template-columns:minmax(0,1fr);justify-items:center;background:transparent;text-align:center}
  [data-brand="aura"] .finance-page .tc .perpage{display:flex;align-items:center;justify-content:center;gap:8px;margin:0}
  .finance-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch}
  .finance-shortcuts a{min-height:88px;line-height:1.4}
  .finance-shortcuts a span{min-height:30px;display:flex;align-items:center;justify-content:center}
}

@media(max-width:360px){.app:has(.finance-page) #btm>a,.app:has(.finance-page) #btm>button{font-size:10px!important;padding-inline:2px!important}}

/* Shared financial detail pages retain existing table controls and actions. */
.finance-detail-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:10px;margin-bottom:20px}
@media(max-width:700px){
  .finance-detail-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;margin-bottom:20px}
  .finance-detail-actions .btn{width:100%;min-height:44px;white-space:normal}
  [data-brand="aura"] .finance-detail .kpis{display:grid;grid-template-columns:minmax(0,1fr)!important;gap:12px;margin-bottom:24px}
  [data-brand="aura"] .finance-detail .kpi{min-width:0;padding:16px;border-radius:16px}
  [data-brand="aura"] .finance-detail .kpi b{font-size:22px;overflow-wrap:anywhere}
  [data-brand="aura"] .finance-detail .tc{margin-top:24px}
  [data-brand="aura"] .finance-detail .tc .tools{grid-template-columns:repeat(2,minmax(0,1fr))}
  [data-brand="aura"] .finance-detail .tc .srch{grid-column:1/-1}
  [data-brand="aura"] .finance-detail .tc table.dt tbody tr{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 12px}
  [data-brand="aura"] .finance-detail .tc table.dt td::before{display:block;content:attr(data-label);max-width:none;font-size:11px;font-weight:500;color:var(--aura-text-muted);margin-bottom:5px}
  [data-brand="aura"] .finance-detail .tc table.dt td{font-size:14px;line-height:1.5;text-align:left}
  [data-brand="aura"] .finance-detail .tc table.dt td.no{display:none}
  [data-brand="aura"] .finance-detail .tc table.dt td[data-label=""],
  [data-brand="aura"] .finance-detail [data-tc=cm1] td:first-child,
  [data-brand="aura"] .finance-detail [data-tc=cm2] td[data-label=Item],
  [data-brand="aura"] .finance-detail [data-tc=pay] td:nth-child(2){grid-column:1/-1}
  [data-brand="aura"] .finance-detail .tc table.dt td[data-label=""]::before{display:none}
  [data-brand="aura"] .finance-detail .tc table.dt td:empty{display:none}
  .finance-detail .person{min-width:0;gap:10px}.finance-detail .person b{overflow-wrap:anywhere}
  .finance-detail [data-pay],.finance-detail [data-crep],.finance-detail [data-reopen-payable]{width:100%;min-height:44px;white-space:normal;justify-content:center}
  .finance-detail .note{margin-top:20px;line-height:1.6}
}
@media(max-width:360px){[data-brand="aura"] .finance-detail .kpis{grid-template-columns:minmax(0,1fr)!important}}

@media(max-width:700px){[data-brand="aura"] .finance-detail .kpi{min-height:100px}.finance-detail .kpis+div[style]{display:none}.finance-detail .kpi>b{font-variant-numeric:tabular-nums}}

@media(max-width:700px){[data-brand="aura"] .finance-detail .tc .tools:not(:has([data-fmenu])){grid-template-columns:minmax(0,1fr) auto}[data-brand="aura"] .finance-detail .tc .tools:not(:has([data-fmenu])) .srch{grid-column:auto}}

/* Compact, aligned mobile financial controls and cards. */
@media(max-width:700px){
  .finance-intro{margin:0 0 16px}.finance-intro h2{font-size:24px;line-height:1.25}.finance-intro p{font-size:12px;overflow-wrap:anywhere}
  .finance-period,.finance-overview,.finance-shortcuts{min-width:0;max-width:100%}
  .finance-period{padding:12px;margin-bottom:12px}
  .finance-period-head{flex-wrap:wrap;gap:8px;margin-bottom:12px;font-size:13px}
  .finance-presets{display:grid;grid-template-columns:1fr 1fr;gap:3px;padding:3px;border-radius:12px;background:var(--aura-surface-muted)}
  [data-brand="aura"] .finance-presets .tbtn{border:0!important;border-radius:9px!important;box-shadow:none!important;background:transparent;min-height:40px;padding:8px 10px;font-size:12px;white-space:nowrap}
  [data-brand="aura"] .finance-presets .tbtn[aria-pressed=true]{background:var(--aura-primary-subtle)!important;color:var(--p-text)!important}
  .finance-dates{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:start}
  .finance-dates label{display:grid;grid-template-columns:minmax(0,1fr);min-width:0;max-width:100%;gap:6px;margin:0;line-height:1.3}
  [data-brand="aura"] .finance-dates input[type=date]{display:block;box-sizing:border-box;width:100%;min-width:0;max-width:100%;min-inline-size:0;max-inline-size:100%;height:46px;margin:0;padding:8px;border-radius:12px;font-size:16px;line-height:normal;text-align:left;-webkit-appearance:none;appearance:none}
  .finance-dates input::-webkit-date-and-time-value{text-align:left;margin:0;min-width:0;max-width:100%;min-height:1.2em}.finance-dates input::-webkit-calendar-picker-indicator{margin:0;padding:2px;flex-shrink:0}
  .finance-overview{padding:16px;border-radius:16px}
  .finance-result{padding-bottom:12px}.finance-result strong{font-size:clamp(28px,8vw,34px);margin:6px 0;letter-spacing:-.03em}.finance-result p{max-width:none;line-height:1.5}
  .finance-breakdown{margin:4px 0 0}.finance-breakdown>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:10px 0;align-items:center}.finance-breakdown dt,.finance-breakdown dd{min-width:0;overflow-wrap:anywhere;line-height:1.4}.finance-breakdown dd{font-size:14px;max-width:44vw}
  .finance-note{margin:8px 0 0;font-size:11px;line-height:1.5}
  .finance-shortcuts{grid-template-columns:repeat(auto-fit,minmax(80px,1fr));gap:8px;margin:12px 0}
  .finance-shortcuts a{min-height:76px;padding:10px 6px;border-radius:14px;gap:6px}.finance-shortcuts a span{min-height:28px;line-height:1.25}
  [data-brand="aura"] .finance-page .tc .card-h h2{font-size:15px;margin:0}
  [data-brand="aura"] .finance-page .tc .srch input[type=search]{height:44px;border-radius:12px}
  [data-brand="aura"] .finance-page .tc .tools>.tbtn{height:44px;border-radius:12px!important;font-size:12px}
  [data-brand="aura"] .finance-page .tc table.dt tbody tr{padding:14px;gap:10px}
  .finance-page .rowbtns .btn{border-radius:12px!important;min-width:0;font-size:12px}
  [data-brand="aura"] .finance-page [data-tc=cons] td:not(:first-child)::before{display:block;content:attr(data-label);color:var(--aura-text-muted);font-size:11px;margin-bottom:4px}
}
/* A data por extenso do iOS precisa de uma linha inteira nos celulares menores. */
@media(max-width:480px){.finance-dates{grid-template-columns:minmax(0,1fr)}}

/* Financial overview: the same hierarchy and controls on desktop and mobile. */
.finance-home{display:grid;gap:24px;max-width:1200px;margin:0 auto;min-width:0;color:var(--aura-text-primary)}
.finance-home>*{min-width:0;max-width:100%}
.finance-home .finance-intro{display:block;margin:0}
.finance-home .finance-intro h2{margin:0;font-size:28px;line-height:1.2;letter-spacing:-.03em}
.finance-home .finance-intro p{margin:6px 0 0;font-size:13px;color:var(--aura-text-muted);overflow-wrap:anywhere}
.finance-home .finance-period{display:grid;gap:18px;margin:0;padding:24px;border-radius:20px;box-shadow:none}
.finance-home .finance-period-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin:0;flex-wrap:wrap}
.finance-home .finance-period-head h3{font-size:17px;line-height:1.35;margin:0}
.finance-home .finance-period-head p{margin:4px 0 0;font-size:12px;line-height:1.5;font-weight:400;color:var(--aura-text-muted)}
.finance-home .finance-period-kind{display:inline-flex;align-items:center;min-height:28px;padding:4px 10px;border-radius:8px;background:var(--aura-primary-subtle);color:var(--p-text);font-size:11px;font-weight:600;line-height:1.4;overflow-wrap:anywhere}
.finance-home .finance-preset-field{display:grid;grid-template-columns:minmax(0,1fr);min-width:0;gap:8px;font-size:12px;font-weight:500;color:var(--aura-text-secondary)}
[data-brand="aura"] .finance-home #finance-preset{width:100%;min-width:0;max-width:100%;height:48px;box-sizing:border-box;margin:0;padding:0 12px;border:1px solid var(--aura-border);border-radius:12px;background:var(--aura-surface);color:var(--aura-text-primary);font-size:16px;line-height:1.4}
.finance-home .finance-navigation{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;gap:12px;align-items:center;padding:16px;border:1px solid var(--aura-border);border-radius:14px;background:var(--aura-surface-muted)}
[data-brand="aura"] .finance-home .finance-navigation>.tbtn{display:inline-flex;align-items:center;justify-content:center;width:44px;min-width:0;height:44px;padding:0;border:1px solid var(--aura-border);border-radius:12px;background:var(--aura-surface);color:var(--aura-text-secondary);box-shadow:none}
[data-brand="aura"] .finance-home .finance-navigation>.tbtn:disabled{opacity:.4;cursor:not-allowed}
.finance-home .finance-range{display:grid;gap:3px;min-width:0;text-align:center;overflow-wrap:anywhere}
.finance-home .finance-range b{font-size:16px;font-weight:600;line-height:1.4}
.finance-home .finance-range span{font-size:12px;line-height:1.5;color:var(--aura-text-muted);font-variant-numeric:tabular-nums}
.finance-home .finance-custom{min-width:0;padding-top:16px;border-top:1px solid var(--aura-border)}
.finance-home .finance-custom>summary{width:fit-content;max-width:100%;padding:4px 0;color:var(--p-text);font-size:12px;font-weight:600;line-height:1.5;cursor:pointer}
.finance-home .finance-custom[open]>summary{margin-bottom:14px}
.finance-home .finance-custom form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:end;min-width:0}
.finance-home .finance-dates{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:12px;min-width:0}
.finance-home .finance-dates label{display:grid;grid-template-columns:minmax(0,1fr);min-width:0;max-width:100%;margin:0;gap:6px;font-size:12px;font-weight:500;line-height:1.4;color:var(--aura-text-secondary)}
[data-brand="aura"] .finance-home .finance-dates input[type=date]{display:block;box-sizing:border-box;width:100%;min-width:0;max-width:100%;min-inline-size:0;max-inline-size:100%;height:46px;margin:0;padding:0 12px;border-radius:12px;font-size:16px;line-height:normal;text-align:left;-webkit-appearance:none;appearance:none}
.finance-home .finance-dates input::-webkit-date-and-time-value{margin:0;min-width:0;max-width:100%;min-height:1.2em;text-align:left}
.finance-home .finance-custom .btn{min-height:46px;white-space:normal;line-height:1.4}
.finance-home #finance-status{margin:0;color:var(--aura-text-muted);font-size:12px;line-height:1.5}
.finance-home #finance-status:empty{display:none}
.finance-home .finance-summary-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);align-items:stretch;gap:16px}
.finance-home .finance-overview{display:flex;flex-direction:column;justify-content:center;min-width:0;padding:28px;background:var(--aura-surface);border:1px solid var(--aura-border);border-radius:20px}
.finance-home .finance-result{padding:0;border:0;min-width:0}
.finance-home .finance-result>span{font-size:13px;font-weight:500;color:var(--aura-text-secondary)}
.finance-home .finance-result strong{display:block;min-width:0;margin:12px 0;font-size:clamp(30px,3.3vw,44px);font-weight:700;line-height:1.15;letter-spacing:-.04em;color:var(--aura-text-primary);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.finance-home .finance-result strong.negative{color:var(--aura-danger)}
.finance-home .finance-result p{max-width:36ch;margin:0;font-size:12px;line-height:1.6;color:var(--aura-text-muted)}
.finance-home .finance-note{margin:20px 0 0;padding-top:16px;border-top:1px solid var(--aura-border);font-size:11px;line-height:1.6}
.finance-home .finance-metrics{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;min-width:0}
.finance-home .finance-metric{display:grid;grid-template-columns:36px minmax(0,1fr) minmax(0,1fr);grid-template-areas:'icon label value' 'icon hint value';column-gap:12px;row-gap:4px;align-items:center;min-width:0;padding:18px;background:var(--aura-surface);border:1px solid var(--aura-border);border-radius:16px}
.finance-home .finance-metric-icon{grid-area:icon;display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:10px;background:var(--aura-primary-subtle);color:var(--p-text)}
.finance-home .finance-metric.income .finance-metric-icon{background:var(--aura-success-bg);color:var(--aura-success)}
.finance-home .finance-metric.expense .finance-metric-icon{background:var(--aura-danger-bg);color:var(--aura-danger)}
.finance-home .finance-metric-label{grid-area:label;min-width:0;font-size:12px;font-weight:500;line-height:1.5;color:var(--aura-text-secondary);overflow-wrap:anywhere}
.finance-home .finance-metric strong{grid-area:value;min-width:0;font-size:18px;font-weight:650;line-height:1.4;letter-spacing:-.02em;text-align:right;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.finance-home .finance-metric p{grid-area:hint;min-width:0;margin:0;font-size:11px;line-height:1.5;color:var(--aura-text-muted);overflow-wrap:anywhere}
.finance-home .finance-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0}
.finance-home .finance-shortcuts a{display:grid;grid-template-columns:36px minmax(0,1fr);grid-template-areas:'icon title' 'icon hint';gap:3px 12px;align-content:center;align-items:center;min-width:0;min-height:88px;padding:18px;text-align:left;border:1px solid var(--aura-border);border-radius:16px;background:var(--aura-surface);color:var(--aura-text-primary)}
.finance-home .finance-shortcuts a>svg{grid-area:icon;justify-self:center;color:var(--p-text);flex:none}
.finance-home .finance-shortcuts a>span{grid-area:title;display:block;min-width:0;min-height:0;font-size:13px;font-weight:600;line-height:1.4;overflow-wrap:anywhere}
.finance-home .finance-shortcuts a>small{grid-area:hint;min-width:0;font-size:11px;line-height:1.5;font-weight:400;color:var(--aura-text-muted);overflow-wrap:anywhere}
.finance-home .finance-shortcuts a:hover{border-color:var(--aura-primary);background:var(--aura-primary-subtle)}
.finance-home .finance-consolidated,.finance-home .finance-ledger{min-width:0}
.finance-home .finance-section-note{margin:0 0 8px;font-size:12px;line-height:1.5;color:var(--aura-text-muted);overflow-wrap:anywhere}
.finance-home .finance-consolidated>.tc,.finance-home .finance-ledger>.tc{margin:0}
@media(max-width:1100px){
  .finance-home .finance-custom form{grid-template-columns:minmax(0,1fr)}
  .finance-home .finance-custom .btn{justify-self:start}
  .finance-home .finance-summary-grid{grid-template-columns:minmax(0,1fr)}
  .finance-home .finance-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}
  .finance-home .finance-metric{grid-template-columns:36px minmax(0,1fr);grid-template-areas:'icon label' 'value value' 'hint hint';padding:16px;row-gap:10px}
  .finance-home .finance-metric strong{text-align:left;font-size:20px}
  .finance-home .finance-shortcuts a{grid-template-columns:minmax(0,1fr);grid-template-areas:'icon' 'title' 'hint';justify-items:center;text-align:center;padding:16px 12px;gap:8px}
}
@media(max-width:700px){
  .finance-home{gap:20px}
  .finance-home .finance-intro h2{font-size:25px}
  .finance-home .finance-period{gap:16px;padding:16px;border-radius:18px}
  .finance-home .finance-navigation{gap:8px;padding:10px;grid-template-columns:44px minmax(0,1fr) 44px;border-radius:12px}
  .finance-home .finance-range b{font-size:14px}
  .finance-home .finance-range span{font-size:11px}
  .finance-home .finance-custom .btn{width:100%;justify-self:stretch}
  .finance-home .finance-overview{padding:22px 20px;border-radius:18px}
  .finance-home .finance-result strong{font-size:clamp(30px,8vw,38px)}
  .finance-home .finance-note{margin-top:16px;padding-top:14px}
  .finance-home .finance-metrics{grid-template-columns:minmax(0,1fr)}
  .finance-home .finance-metric{grid-template-columns:32px minmax(0,1fr) minmax(0,1fr);grid-template-areas:'icon label value' 'icon hint value';gap:4px 10px;padding:16px}
  .finance-home .finance-metric-icon{width:32px;height:32px;border-radius:9px}
  .finance-home .finance-metric strong{font-size:17px;text-align:right}
  .finance-home .finance-shortcuts{gap:8px}
  .finance-home .finance-shortcuts a{min-height:100px;padding:14px 8px;border-radius:14px;gap:7px}
  .finance-home .finance-shortcuts a>span{font-size:11px}
  .finance-home .finance-shortcuts a>small{font-size:10px;line-height:1.4}
  [data-brand="aura"] .finance-home .finance-ledger>.tc .card-h{padding-top:0}
}
@media(max-width:480px){
  .finance-home .finance-dates{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:360px){
  .finance-home .finance-period{padding:14px}
  .finance-home .finance-period-kind{font-size:10px}
  .finance-home .finance-metric{grid-template-columns:32px minmax(0,1fr);grid-template-areas:'icon label' 'value value' 'hint hint';row-gap:8px}
  .finance-home .finance-metric strong{text-align:left;font-size:20px}
}
