/* Admin areas (Administração do Automed and Bot normal): one tab bar, one control style,
   responsive stats, filters and tables. Loaded last, scoped to the admin pages only. */
html.automed-clean-workspace{
  --ad-surface:#0b1324;--ad-raised:#101c34;--ad-line:#1e2f52;--ad-line-soft:#16233f;
  --ad-ink:#edf2ff;--ad-muted:#a4b4cf;--ad-dim:#8193b3;--ad-accent:#3cc4ff;--ad-cta:#315ce5;--ad-cta-ink:#fff;
  --ad-ease:cubic-bezier(.23,1,.32,1);--ad-radius:16px;
}
html.automed-clean-workspace[data-theme="light"]{
  --ad-surface:#ffffff;--ad-raised:#f3f8ff;--ad-line:#cfdced;--ad-line-soft:#e3ecf7;
  --ad-ink:#0f1f38;--ad-muted:#4a6280;--ad-dim:#5f7593;--ad-accent:#0b6fb5;--ad-cta:#2754d6;--ad-cta-ink:#fff;
}
html body #app #main #content :is(.official-selftestadmin,.official-admin){display:flex;flex-direction:column;gap:16px;min-width:0}

/* Toolbar: period segmented control on the left, main action on the right. */
html body #app #main #content :is(.official-selftestadmin,.official-admin) .selftest-admin-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px}
html body #app #main #content :is(.official-selftestadmin,.official-admin) .selftest-admin-toolbar .period-picker{display:flex;flex-wrap:nowrap;gap:4px;padding:4px;border:1px solid var(--ad-line);border-radius:999px;background:var(--ad-surface);overflow-x:auto;scrollbar-width:none;max-width:100%}
html body #app #main #content :is(.official-selftestadmin,.official-admin) .selftest-admin-toolbar .period-picker::-webkit-scrollbar{display:none}
html body #app #main #content :is(.official-selftestadmin,.official-admin) .selftest-admin-toolbar .period-option{flex:0 0 auto;min-height:36px;padding:0 14px!important;border:0!important;border-radius:999px!important;background:transparent!important;color:var(--ad-muted)!important;font-size:13px!important;font-weight:600;white-space:nowrap;box-shadow:none!important;transition:background .16s var(--ad-ease),color .16s var(--ad-ease),transform .12s var(--ad-ease)}
html body #app #main #content :is(.official-selftestadmin,.official-admin) .selftest-admin-toolbar .period-option:hover{color:var(--ad-ink)!important;background:var(--ad-raised)!important;filter:none!important}
html body #app #main #content :is(.official-selftestadmin,.official-admin) .selftest-admin-toolbar .period-option:active{transform:scale(.97)}
html body #app #main #content :is(.official-selftestadmin,.official-admin) .selftest-admin-toolbar .period-option[aria-pressed="true"]{background:var(--ad-cta)!important;color:var(--ad-cta-ink)!important}

/* Tab bar: underline tabs, scrolls sideways instead of wrapping into rows. */
html body #app #main #content :is(.official-selftestadmin,.official-admin) .admin-tabs{position:relative;display:flex;flex-wrap:nowrap!important;gap:2px;padding:0 2px;border-bottom:1px solid var(--ad-line);overflow-x:auto;scrollbar-width:none;scroll-snap-type:x proximity;-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 12px,#000 calc(100% - 24px),transparent);mask-image:linear-gradient(90deg,transparent 0,#000 12px,#000 calc(100% - 24px),transparent)}
html body #app #main #content :is(.official-selftestadmin,.official-admin) .admin-tabs::-webkit-scrollbar{display:none}
html body #app #main #content :is(.official-selftestadmin,.official-admin) .admin-tabs .button{position:relative;flex:0 0 auto;min-height:46px;padding:0 14px!important;border:0!important;border-radius:10px 10px 0 0!important;background:transparent!important;color:var(--ad-muted)!important;font-size:14px!important;font-weight:600;white-space:nowrap;box-shadow:none!important;scroll-snap-align:start;transition:color .16s var(--ad-ease),background .16s var(--ad-ease)}
html body #app #main #content :is(.official-selftestadmin,.official-admin) .admin-tabs .button::after{content:""!important;display:block!important;position:absolute;left:12px;right:12px;bottom:-1px;height:2px;border-radius:2px;background:var(--ad-accent)!important;transform:scaleX(0);transform-origin:left;transition:transform .22s var(--ad-ease)}
html body #app #main #content :is(.official-selftestadmin,.official-admin) .admin-tabs .button:hover{color:var(--ad-ink)!important;background:var(--ad-raised)!important;filter:none!important}
html body #app #main #content :is(.official-selftestadmin,.official-admin) .admin-tabs .button:hover::after{transform:scaleX(.5)}
html body #app #main #content :is(.official-selftestadmin,.official-admin) .admin-tabs .button[aria-pressed="true"]{color:var(--ad-ink)!important;background:transparent!important}
html body #app #main #content :is(.official-selftestadmin,.official-admin) .admin-tabs .button[aria-pressed="true"]::after{transform:scaleX(1)}
html body #app #main #content :is(.official-selftestadmin,.official-admin) :is(.admin-tabs .button,.period-option):focus-visible{outline:2px solid var(--ad-accent)!important;outline-offset:-2px}
/* The site-wide button glow and pearl frame do not belong on tabs and period chips. */
html body #app #main #content :is(.official-selftestadmin,.official-admin) :is(.admin-tabs .button,.selftest-admin-toolbar .period-option)::before{display:none!important}
html body #app #main #content :is(.official-selftestadmin,.official-admin) :is(.admin-tabs .button,.selftest-admin-toolbar .period-option)[data-ui-tone]{text-shadow:none!important}

/* Client lookup: label, field and button on one line. */
html body #app #main #content .official-selftestadmin .automed-admin-lookup{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:6px 12px;padding:16px 18px!important;border:1px solid var(--ad-line);border-radius:var(--ad-radius)!important;background:var(--ad-surface)!important}
html body #app #main #content .official-selftestadmin .automed-admin-lookup .field{gap:6px;margin:0!important}
html body #app #main #content .official-selftestadmin .automed-admin-lookup>.button{align-self:end;margin:0!important}
html body #app #main #content .official-selftestadmin .automed-admin-lookup input{min-height:44px;padding:0 14px;border:1px solid var(--ad-line);border-radius:12px;background:var(--ad-raised);color:var(--ad-ink)}
html body #app #main #content .official-selftestadmin .automed-admin-lookup .button{min-height:44px}
html body #app #main #content .official-selftestadmin .automed-admin-lookup p{grid-column:1/-1;margin:0;color:var(--ad-dim)}

/* Stats: even grid that keeps four across on wide screens and two on phones. */
html body #app #main #content :is(.official-selftestadmin,.official-admin) .stats{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr))!important;gap:12px!important}
html body #app #main #content :is(.official-selftestadmin,.official-admin) .stats>*{min-width:0;border:1px solid var(--ad-line);border-radius:var(--ad-radius)!important;transition:transform .18s var(--ad-ease),border-color .18s var(--ad-ease)}
html body #app #main #content :is(.official-selftestadmin,.official-admin) .stats>*:hover{transform:translateY(-2px);border-color:color-mix(in srgb,var(--ad-accent) 45%,var(--ad-line))}

/* Stat cards: lit, tinted panels; each card in the row gets its own accent. */
html body #app #main #content :is(.official-selftestadmin,.official-admin) .stats>.stat{--tone:#3cc4ff;position:relative;display:flex;flex-direction:column;gap:4px;padding:18px 18px 16px!important;border:1px solid color-mix(in srgb,var(--tone) 38%,transparent)!important;background:radial-gradient(120% 90% at 0% 0%,color-mix(in srgb,var(--tone) 24%,transparent),transparent 62%),linear-gradient(160deg,#17284a,#101c36)!important;box-shadow:inset 0 1px 0 #ffffff14,0 10px 28px -16px color-mix(in srgb,var(--tone) 60%,transparent)!important;overflow:hidden}
html body #app #main #content :is(.official-selftestadmin,.official-admin) .stats>.stat:nth-child(5n+2){--tone:#3fd99a}
html body #app #main #content :is(.official-selftestadmin,.official-admin) .stats>.stat:nth-child(5n+3){--tone:#f5ad32}
html body #app #main #content :is(.official-selftestadmin,.official-admin) .stats>.stat:nth-child(5n+4){--tone:#5b8cff}
html body #app #main #content :is(.official-selftestadmin,.official-admin) .stats>.stat:nth-child(5n+5){--tone:#2fd3c8}
html body #app #main #content :is(.official-selftestadmin,.official-admin) .stats>.stat .ff-card-icon{width:38px!important;height:38px!important;margin-bottom:6px;border-radius:12px!important;border:1px solid color-mix(in srgb,var(--tone) 45%,transparent)!important;background:color-mix(in srgb,var(--tone) 22%,transparent)!important;color:var(--tone)!important;box-shadow:none!important}
html body #app #main #content :is(.official-selftestadmin,.official-admin) .stats>.stat strong{font-size:clamp(26px,2.4vw,34px)!important;line-height:1.1;color:#fff!important;letter-spacing:-.02em}
html body #app #main #content :is(.official-selftestadmin,.official-admin) .stats>.stat .caption{color:#e3ecff!important;font-size:14px!important;font-weight:700}
html body #app #main #content :is(.official-selftestadmin,.official-admin) .stats>.stat p{margin:0;color:#b4c4de!important;font-size:12.5px!important}
html body #app #main #content :is(.official-selftestadmin,.official-admin) .stats>.stat:hover{border-color:color-mix(in srgb,var(--tone) 70%,transparent)!important}
html.automed-clean-workspace[data-theme="light"] body #app #main #content :is(.official-selftestadmin,.official-admin) .stats>.stat{background:radial-gradient(120% 90% at 0% 0%,color-mix(in srgb,var(--tone) 20%,transparent),transparent 62%),#fff!important;box-shadow:0 8px 22px -14px #0b2a5a40!important}
html.automed-clean-workspace[data-theme="light"] body #app #main #content :is(.official-selftestadmin,.official-admin) .stats>.stat strong{color:#0f1f38!important}
html.automed-clean-workspace[data-theme="light"] body #app #main #content :is(.official-selftestadmin,.official-admin) .stats>.stat .caption{color:#1c3150!important}
html.automed-clean-workspace[data-theme="light"] body #app #main #content :is(.official-selftestadmin,.official-admin) .stats>.stat p{color:#4a6280!important}

/* Rankings: two tables per row, each fits its block with no sideways scroll. */
html body #app #main #content .official-selftestadmin .selftest-rankings{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,440px),1fr))!important;gap:16px!important}
html body #app #main #content .official-selftestadmin .selftest-rankings .table-wrap{overflow:hidden}
html body #app #main #content .official-selftestadmin .selftest-rankings table{table-layout:fixed}
html body #app #main #content .official-selftestadmin .selftest-rankings :is(th,td):first-child{width:64px;white-space:nowrap}
html body #app #main #content .official-selftestadmin .selftest-rankings :is(th,td):last-child{width:72px;text-align:right;white-space:nowrap}
html body #app #main #content .official-selftestadmin .selftest-rankings td{vertical-align:middle}
html body #app #main #content .official-selftestadmin .selftest-rankings td:first-child{color:var(--ad-accent);font-weight:800}
html body #app #main #content :is(.official-selftestadmin,.official-admin) .automed-admin-identity{display:flex;align-items:center;gap:10px;min-width:0}
html body #app #main #content :is(.official-selftestadmin,.official-admin) .automed-admin-portrait{position:relative;display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;border-radius:50%;background:var(--ad-raised);border:1px solid var(--ad-line);color:var(--ad-muted);font-size:11px;font-weight:800;overflow:hidden}
html body #app #main #content :is(.official-selftestadmin,.official-admin) .automed-admin-portrait img{position:absolute;inset:0;width:100%!important;height:100%!important;border-radius:50%;object-fit:cover}
html body #app #main #content :is(.official-selftestadmin,.official-admin) .automed-admin-identity-label{display:flex;flex-direction:column;min-width:0}
html body #app #main #content :is(.official-selftestadmin,.official-admin) .automed-admin-identity-label>*{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* Purchase filters. */
html body #app #main #content .official-selftestadmin .automed-sales-filters{display:grid!important;grid-template-columns:minmax(180px,240px) minmax(0,1fr) auto;align-items:end;gap:10px 12px;padding:14px 16px;border:1px solid var(--ad-line);border-radius:var(--ad-radius);background:var(--ad-surface)}
html body #app #main #content .official-selftestadmin .automed-sales-filters label{display:grid;gap:6px;color:var(--ad-muted);font-size:13px;font-weight:600}
html body #app #main #content .official-selftestadmin .automed-sales-filters :is(select,input){width:100%;min-height:44px;padding:0 12px;border:1px solid var(--ad-line);border-radius:12px;background:var(--ad-raised);color:var(--ad-ink);font-size:14px}
html body #app #main #content .official-selftestadmin .automed-sales-filters .button{min-height:44px}

/* Tables: steady columns on desktop, readable cards on phones. */
html body #app #main #content :is(.official-selftestadmin,.official-admin) .table-wrap{border:1px solid var(--ad-line-soft);border-radius:14px;overflow-x:auto}
html body #app #main #content :is(.official-selftestadmin,.official-admin) .table-wrap table{width:100%;border-collapse:collapse}
html body #app #main #content :is(.official-selftestadmin,.official-admin) .table-wrap th{position:sticky;top:0;padding:12px 14px;background:var(--ad-raised);color:var(--ad-muted);font-size:12px;font-weight:700;letter-spacing:.02em;text-align:left;white-space:nowrap}
html body #app #main #content :is(.official-selftestadmin,.official-admin) .table-wrap td{padding:12px 14px;border-top:1px solid var(--ad-line-soft);vertical-align:top;color:var(--ad-ink)}
html body #app #main #content :is(.official-selftestadmin,.official-admin) .table-wrap tbody tr{transition:background .14s var(--ad-ease)}
html body #app #main #content :is(.official-selftestadmin,.official-admin) .table-wrap tbody tr:hover{background:var(--ad-raised)}
html body #app #main #content .official-selftestadmin .automed-sales-cell{display:flex;flex-direction:column;gap:2px;min-width:0}
html body #app #main #content .official-selftestadmin .automed-sales-cell :is(strong,span){overflow-wrap:break-word;word-break:normal}
html body #app #main #content .official-selftestadmin .automed-sales-table td[data-label="Valor"]{white-space:nowrap}

/* Loading state while the next tab, period or page arrives. */
html body #app #main #content .official-selftestadmin.admin-switching .admin-tabs::before{content:"";position:absolute;left:0;bottom:-1px;height:2px;width:40%;background:var(--ad-accent);animation:ad-loading 1s var(--ad-ease) infinite}
html body #app #main #content .official-selftestadmin.admin-switching>:not(.admin-tabs):not(.selftest-admin-toolbar):not(.automed-admin-lookup){opacity:.45;pointer-events:none;transition:opacity .12s ease}
@keyframes ad-loading{from{transform:translateX(-100%)}to{transform:translateX(250%)}}

@media(max-width:900px){
  html body #app #main #content .official-selftestadmin .automed-sales-filters{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  html body #app #main #content .official-selftestadmin .automed-sales-filters .button{grid-column:1/-1}
}
@media(max-width:700px){
  html body #app #main #content :is(.official-selftestadmin,.official-admin){gap:12px}
  html body #app #main #content :is(.official-selftestadmin,.official-admin) .selftest-admin-toolbar>.button{width:100%}
  html body #app #main #content :is(.official-selftestadmin,.official-admin) .selftest-admin-toolbar .period-picker{width:100%}
  html body #app #main #content .official-selftestadmin .automed-admin-lookup{grid-template-columns:minmax(0,1fr)}
  html body #app #main #content .official-selftestadmin .automed-admin-lookup .button{width:100%}
  html body #app #main #content :is(.official-selftestadmin,.official-admin) .stats{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  html body #app #main #content .official-selftestadmin .automed-sales-filters{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:1100px){
  /* Rows become cards: each value keeps its column name. */
  html body #app #main #content .official-selftestadmin .automed-sales-table,
  html body #app #main #content .official-selftestadmin .automed-sales-table :is(table,tbody,tr,td){display:block;width:100%}
  html body #app #main #content .official-selftestadmin .automed-sales-table{border:0;overflow:visible}
  html body #app #main #content .official-selftestadmin .automed-sales-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
  html body #app #main #content .official-selftestadmin .automed-sales-table tr{margin:0 0 10px;padding:6px 14px;border:1px solid var(--ad-line);border-radius:14px;background:var(--ad-surface)}
  html body #app #main #content .official-selftestadmin .automed-sales-table .automed-sales-cell :is(strong,span){overflow-wrap:anywhere}
  html body #app #main #content .official-selftestadmin .automed-sales-table td{display:grid;grid-template-columns:clamp(96px,22%,150px) minmax(0,1fr);gap:10px;padding:8px 0;border-top:1px solid var(--ad-line-soft)}
  html body #app #main #content .official-selftestadmin .automed-sales-table td:first-child{border-top:0}
  html body #app #main #content .official-selftestadmin .automed-sales-table td::before{content:attr(data-label);color:var(--ad-dim);font-size:12px;font-weight:700}
  html body #app #main #content .official-selftestadmin .automed-sales-table td[data-label="Valor"]{white-space:normal}
}
@media(prefers-reduced-motion:reduce){
  html body #app #main #content :is(.official-selftestadmin,.official-admin) :is(.admin-tabs .button,.admin-tabs .button::after,.period-option,.stats>*,.table-wrap tbody tr){transition:none!important}
  html body #app #main #content :is(.official-selftestadmin,.official-admin) .stats>*:hover{transform:none}
  html body #app #main #content .official-selftestadmin.admin-switching .admin-tabs::before{animation:none;width:100%;opacity:.6}
}

/* Site motion (2026-11-19): heartbeat mediation bar, sidebar icon spin,
   bare overview card icons and small press/hover touches.
   Loaded last; uses #app #main / #app #sidebar so it wins over older layers.
   Only transform, scale, opacity and stroke-dashoffset are animated. */
:root{--sm-ease:cubic-bezier(.23,1,.32,1);--sm-spring:cubic-bezier(.34,1.56,.64,1)}

/* ---------- Heartbeat mediation bar ---------- */
html body #app #main .mediation-progress.has-ecg progress{
  position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;border:0!important
}
html body #app #main .mediation-progress.has-ecg{position:relative}
.mediation-ecg{display:block;width:100%;height:22px;margin-top:4px;overflow:visible}
.mediation-ecg path{fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.mediation-ecg .ecg-track{stroke:#7f95c233}
.mediation-ecg .ecg-fill{stroke:url(#mediation-ecg-gradient)}
.mediation-ecg .ecg-pulse{stroke:#e9f6ff;stroke-width:2.2;stroke-dasharray:9 111;stroke-dashoffset:9;filter:drop-shadow(0 0 3px #3cc4ff) drop-shadow(0 0 6px #3cc4ff99)}
.mediation-ecg .ecg-tip{fill:#9fdcff;filter:drop-shadow(0 0 4px #3cc4ff);transform-box:fill-box;transform-origin:center}
/* rounded-ui.css sets `#app *{animation:none!important}`, so these need #app + !important. */
html body #app #main .mediation-ecg .ecg-pulse{animation:sm-ecg-sweep 2.6s linear infinite!important}
html body #app #main .mediation-ecg .ecg-tip{animation:sm-ecg-beat 1.3s var(--sm-ease) infinite!important;transition:cx .6s var(--sm-ease),opacity .3s!important}
html body #app #main .mediation-ecg .ecg-clip-rect{transition:width .6s var(--sm-ease)!important}
html[data-theme="light"] .mediation-ecg .ecg-track{stroke:#3761ea2b}
html[data-theme="light"] .mediation-ecg .ecg-pulse{stroke:#fff;filter:drop-shadow(0 0 3px #3761ea) drop-shadow(0 0 5px #3761ea80)}
@keyframes sm-ecg-sweep{to{stroke-dashoffset:-111}}
@keyframes sm-ecg-beat{0%,100%{transform:scale(1);opacity:.85}12%{transform:scale(1.9);opacity:1}28%{transform:scale(1);opacity:.85}40%{transform:scale(1.45)}55%{transform:scale(1)}}
@media(max-width:700px){.mediation-ecg{height:16px;margin-top:2px}}

/* ---------- Sidebar: icon spins when an option is chosen ---------- */
html body #app #sidebar nav button[data-page] [data-icon].nav-icon-spin{animation:sm-nav-spin .62s var(--sm-ease)!important}
@keyframes sm-nav-spin{
  0%{transform:rotate(0) scale(1)}
  35%{transform:rotate(200deg) scale(1.28)}
  70%{transform:rotate(378deg) scale(.96)}
  100%{transform:rotate(360deg) scale(1)}
}
/* Press feedback on every sidebar option (scale is independent of transform:none rules). */
html body #app #sidebar nav button[data-page]{transition:background .15s,color .15s,scale .12s var(--sm-ease)!important}
html body #app #sidebar nav button[data-page]:active{scale:.97}

/* ---------- Visão geral: icons without the bubble ---------- */
html body #app #main .official-overview .official-metric>.ff-card-icon,
html body #app #main .dashboard-metric .ff-card-icon{
  background:none!important;border:0!important;box-shadow:none!important;border-radius:0!important;
  transition:transform .22s var(--sm-spring)!important
}
html body #app #main .official-overview .official-metric>.ff-card-icon svg{width:22px!important;height:22px!important}
html body #app #main .official-overview .official-metric:hover>.ff-card-icon,
html body #app #main .dashboard-metric:hover .ff-card-icon{transform:scale(1.18) rotate(-8deg)}

/* ---------- Small extras ---------- */
/* Quick actions: icon nudges on hover, row presses down on click. */
html body #app #main .official-overview .official-quick-link>.ff-card-icon{transition:transform .2s var(--sm-spring)!important}
html body #app #main .official-overview .official-quick-link:hover>.ff-card-icon{transform:scale(1.08) rotate(-4deg)}
html body #app #main .official-overview .official-quick-link{transition:background .15s,scale .12s var(--sm-ease)!important}
html body #app #main .official-overview .official-quick-link:active{scale:.985}
/* Buttons press down a little. */
html body #app #main :is(.v2-subscription-manage,.period-option){transition-property:background,color,box-shadow,transform,scale!important;transition-duration:.15s!important}
html body #app #main :is(.v2-subscription-manage,.period-option):active{scale:.97}
/* Account menu caret turns when the menu is open. */
html body #app #main .topbar-profile svg{transition:transform .2s var(--sm-ease)}
html body #app #main .topbar-profile-menu[open] .topbar-profile svg{transform:rotate(180deg)}

/* ---------- Respect reduced motion and the site's effects switch ---------- */
@media (prefers-reduced-motion:reduce){
  /* Reduced, not removed: a slower sweep and a still tip. */
  html body #app #main .mediation-ecg .ecg-pulse{animation-duration:4.5s!important}
  html body #app #main .mediation-ecg .ecg-tip{animation:none!important}
  html body #app #main .official-overview .official-metric:hover>.ff-card-icon,
  html body #app #main .dashboard-metric:hover .ff-card-icon{transform:scale(1.08)}
}
html[data-effects="off"] body #app #main .mediation-ecg .ecg-pulse{opacity:0;animation:none!important}
html[data-effects="off"] body #app #main .mediation-ecg .ecg-tip{animation:none!important}
html[data-effects="off"] body #app #sidebar nav button[data-page] [data-icon].nav-icon-spin{animation:none!important}

/* Mobile tab bar (2026-11-19): at <=700px the sidebar becomes a flat bar
   fixed to the bottom of the screen. Doubled ids (#app#app #sidebar#sidebar)
   so these win over the older mobile drawer rules that use !important. */
@media (max-width:700px){
  html body #app#app #sidebar#sidebar{
    position:fixed!important;inset:auto 0 0 0!important;top:auto!important;left:0!important;right:0!important;bottom:0!important;
    width:auto!important;max-width:none!important;height:auto!important;min-height:0!important;max-height:none!important;
    margin:0!important;padding:6px 6px calc(6px + env(safe-area-inset-bottom))!important;
    transform:none!important;translate:none!important;visibility:visible!important;opacity:1!important;display:block!important;
    overflow:visible!important;z-index:60!important;
    border:0!important;border-top:1px solid #1e2f52!important;border-radius:18px 18px 0 0!important;
    background:#080c1aeb!important;-webkit-backdrop-filter:blur(14px) saturate(1.3);backdrop-filter:blur(14px) saturate(1.3);
    box-shadow:0 -10px 30px #0007!important
  }
  /* Only the options stay: no logo, headings or close button. */
  html body #app#app #sidebar#sidebar>.brand,
  html body #app#app #sidebar#sidebar .sidebar-nav-heading,
  html body #app#app #sidebar#sidebar #menu-close{display:none!important}
  html body #app#app #sidebar#sidebar nav{
    display:flex!important;flex-direction:row!important;align-items:stretch!important;gap:2px!important;
    margin:0!important;padding:0!important;overflow-x:auto!important;overflow-y:hidden!important;
    scroll-snap-type:x proximity;scrollbar-width:none;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain
  }
  html body #app#app #sidebar#sidebar nav::-webkit-scrollbar{display:none}
  html body #app#app #sidebar#sidebar .sidebar-nav-section{display:contents!important}
  html body #app#app #sidebar#sidebar nav button[data-page]{
    position:relative!important;flex:1 0 64px!important;min-width:64px!important;max-width:92px!important;min-height:54px!important;height:auto!important;
    display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:4px!important;
    margin:0!important;padding:6px 4px!important;border:0!important;border-radius:12px!important;
    background:transparent!important;box-shadow:none!important;color:#8193b3!important;
    font:600 10.5px/1.15 Geist,var(--font-ui,system-ui)!important;letter-spacing:0!important;text-align:center!important;
    white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;scroll-snap-align:center;
    -webkit-tap-highlight-color:transparent
  }
  html body #app#app #sidebar#sidebar nav button[data-page] [data-icon]{
    display:grid!important;place-items:center!important;width:22px!important;height:22px!important;flex:0 0 22px!important;margin:0!important;
    color:inherit!important;background:none!important;box-shadow:none!important
  }
  html body #app#app #sidebar#sidebar nav button[data-page] [data-icon] svg{width:21px!important;height:21px!important}
  /* Hidden admin entries stay hidden (after the display:flex rule on purpose). */
  html body #app#app #sidebar#sidebar .sidebar-nav-section[hidden],
  html body #app#app #sidebar#sidebar nav button[data-page][hidden]{display:none!important}
  /* The desktop "active" bar on the left is replaced by the light line on top. */
  html body #app#app #sidebar#sidebar nav button[data-page]::before{display:none!important;content:none!important}
  /* Admin options keep their own icon, tinted amber so they read as admin-only. */
  html body #app#app #sidebar#sidebar #workspace-admin button[data-page]:not([aria-current]) [data-icon]{color:#f5ad32!important}
  html body #app#app #sidebar#sidebar nav button[data-page]:hover{background:#101e39!important;color:#edf2ff!important}
  html body #app#app #sidebar#sidebar nav button[data-page][aria-current]{
    background:linear-gradient(180deg,#315ce533,#315ce50a)!important;color:#edf2ff!important;box-shadow:none!important
  }
  html body #app#app #sidebar#sidebar nav button[data-page][aria-current] [data-icon]{color:#3cc4ff!important}
  /* Small light line above the active option. */
  html body #app#app #sidebar#sidebar nav button[data-page]::after{
    content:'';position:absolute;top:0;left:50%;width:22px;height:3px;margin-left:-11px;border-radius:0 0 3px 3px;background:#3cc4ff;
    box-shadow:0 0 10px #3cc4ff;opacity:0;transform:scaleX(.3);transition:opacity .2s,transform .25s cubic-bezier(.23,1,.32,1)
  }
  html body #app#app #sidebar#sidebar nav button[data-page][aria-current]::after{opacity:1;transform:scaleX(1)}
  /* Light theme. */
  html[data-theme="light"] body #app#app #sidebar#sidebar{background:#ffffffeb!important;border-top-color:#dfe5f1!important;box-shadow:0 -8px 24px #0f1f4a14!important}
  html[data-theme="light"] body #app#app #sidebar#sidebar nav button[data-page]{color:#64748b!important}
  html[data-theme="light"] body #app#app #sidebar#sidebar nav button[data-page][aria-current]{background:#3761ea14!important;color:#0f1f4a!important}
  html[data-theme="light"] body #app#app #sidebar#sidebar nav button[data-page][aria-current] [data-icon]{color:#3761ea!important}
  /* The drawer is gone: no hamburger, no backdrop, and room for the bar at the bottom. */
  html body #app#app #main #menu-toggle#menu-toggle,html body #menu-backdrop#menu-backdrop{display:none!important}
  html body #app#app #main{padding-bottom:calc(88px + env(safe-area-inset-bottom))!important}
  html body #toast{bottom:calc(84px + env(safe-area-inset-bottom))!important}
}

/* Overview blue icons + bare chart icons + pill period buttons (2026-11-19). */
/* Every Visão geral icon in one blue (was sky / periwinkle / green per card). */
html body #app #main .official-overview .ff-card-icon,
html body #app #main .official-overview .official-metric[class*="ff-tone-"]>.ff-card-icon,
html body #app #main .official-overview .official-quick-link:nth-of-type(n)>.ff-card-icon{color:#3972ff!important}
html[data-theme="light"] body #app #main .official-overview .ff-card-icon,
html[data-theme="light"] body #app #main .official-overview .official-metric[class*="ff-tone-"]>.ff-card-icon,
html[data-theme="light"] body #app #main .official-overview .official-quick-link:nth-of-type(n)>.ff-card-icon{color:#3761ea!important}

/* Chart card: icons without the bubble. */
html body #app #main .official-overview .official-activity h3 .ff-card-icon,
html body #app #main .official-overview .official-activity .dashboard-empty>svg:first-child,
html body #app #main .official-overview .official-activity .dashboard-empty>.ff-card-icon:first-child{
  background:none!important;border:0!important;box-shadow:none!important;border-radius:0!important;padding:0!important
}
html body #app #main .official-overview .official-activity h3 .ff-card-icon{width:22px!important;height:22px!important;flex:0 0 22px!important}
html body #app #main .official-overview .official-activity h3 .ff-card-icon svg{width:20px!important;height:20px!important}
html body #app #main .official-overview .official-activity .dashboard-empty>svg:first-child{width:30px!important;height:30px!important;color:#3972ff!important}

/* Period buttons: separate rounded pills, no square frame around the group. */
html body #app #main .official-overview .dashboard-toolbar,
html body #app #main .official-overview .dashboard-toolbar-actions,
html body #app #main .official-overview .period-picker{
  border:0!important;background:none!important;box-shadow:none!important;padding:0!important;border-radius:0!important
}
html body #app #main .official-overview .period-picker{display:flex!important;flex-wrap:wrap!important;gap:6px!important}
html body #app #main .official-overview .period-option{
  min-height:32px!important;padding:0 14px!important;border:0!important;border-radius:999px!important;
  background:#101e39!important;box-shadow:none!important;color:#a4b4cf!important;font:600 13px Geist,var(--font-ui,system-ui)!important
}
html body #app #main .official-overview .period-option:hover{background:#18294b!important;color:#edf2ff!important}
html body #app #main .official-overview .period-option[aria-pressed="true"]{
  background:#315ce5!important;color:#fff!important;box-shadow:0 6px 16px #315ce54d,inset 0 1px 0 #ffffff2e!important
}
html[data-theme="light"] body #app #main .official-overview .period-option{background:#eef2fb!important;color:#475569!important}
html[data-theme="light"] body #app #main .official-overview .period-option:hover{background:#e2e9f8!important;color:#0f1f4a!important}
html[data-theme="light"] body #app #main .official-overview .period-option[aria-pressed="true"]{background:#3761ea!important;color:#fff!important;box-shadow:0 6px 14px #3761ea40!important}

/* Quick actions: icons without the bubble (2026-11-19). */
html body #app #main .official-overview .official-quick-link:nth-of-type(n)>.ff-card-icon{
  background:none!important;border:0!important;box-shadow:none!important;border-radius:0!important;
  width:26px!important;height:26px!important;flex:0 0 26px!important
}
html body #app #main .official-overview .official-quick-link>.ff-card-icon svg{width:22px!important;height:22px!important}

/* TEST (2026-11-19): no "Gerenciar assinatura" button and white icons on Visão geral.
   To undo: delete this block. Light theme keeps its own blue (more specific rules above). */
html body #app #main .official-overview .v2-subscription-manage{display:none!important}
html body #app #main .official-overview .ff-card-icon,
html body #app #main .official-overview .official-metric[class*="ff-tone-"]>.ff-card-icon,
html body #app #main .official-overview .official-quick-link:nth-of-type(n)>.ff-card-icon,
html body #app #main .official-overview .official-activity .dashboard-empty>svg:first-child{color:#fff!important}

/* Visão geral (2026-11-19): no caption under card values, no volume squares in the chart. */
html body #app #main .official-overview .official-metric .summary-metric-comparison{display:none!important}
html body #app #main .official-overview .official-activity .chart-volume{display:none!important}

/* Chart pulse (2026-11-19): Visão geral chart line styled like the mediation bar.
   Keyframes sm-ecg-sweep / sm-ecg-beat come from the site motion block above. */
html body #app #main .official-activity .mline{filter:drop-shadow(0 0 3px #3c7bffcc) drop-shadow(0 0 8px #3c7bff66)!important;stroke-width:2.4!important}
html body #app #main .official-activity :is(.chart-line-halo,.ff-spark-halo){display:none!important}
/* The sparkline CSS fades every gradient stop (fill area); the line gradient must stay solid. */
html body #app #main .official-activity linearGradient[id^="mline-grad-"] stop{stop-opacity:1!important}
html body #app #main .official-activity .mline-pulse{
  fill:none!important;stroke:#e9f6ff!important;stroke-width:2.2!important;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke;
  stroke-dasharray:9 111;stroke-dashoffset:9;filter:drop-shadow(0 0 3px #3cc4ff) drop-shadow(0 0 6px #3cc4ff99)!important;
  animation:sm-ecg-sweep 2.6s linear infinite!important;pointer-events:none
}
html body #app #main .official-activity .mline-tip{
  fill:#9fdcff!important;filter:drop-shadow(0 0 4px #3cc4ff);transform-box:fill-box;transform-origin:center;
  animation:sm-ecg-beat 1.3s var(--sm-ease) infinite!important
}
html[data-theme="light"] body #app #main .official-activity .mline-pulse{stroke:#fff!important;filter:drop-shadow(0 0 3px #3761ea) drop-shadow(0 0 5px #3761ea80)!important}
@media (prefers-reduced-motion:reduce){
  html body #app #main .official-activity .mline-pulse{animation-duration:4.5s!important}
  html body #app #main .official-activity .mline-tip{animation:none!important}
}
html[data-effects="off"] body #app #main .official-activity .mline-pulse{opacity:0;animation:none!important}
html[data-effects="off"] body #app #main .official-activity .mline-tip{animation:none!important}

/* Sidebar in the reference style (2026-11-20): rounded framed panel, Fustat font, smaller logo.
   Fustat (OFL) is self-hosted at /assets/fustat-latin.woff2 because the CSP only allows 'self' fonts. */
@font-face{font-family:Fustat;font-style:normal;font-weight:200 800;font-display:swap;src:url('/assets/fustat-latin.woff2') format('woff2')}
html body #app#app #sidebar#sidebar,
html body #app#app #sidebar#sidebar :is(nav,button,span,a){font-family:Fustat,Geist,var(--font-ui,system-ui),sans-serif!important}
@media (min-width:701px){
  html body #app#app #sidebar#sidebar{
    border:1px solid #262d3d!important;border-radius:20px!important;
    background:linear-gradient(180deg,#121722 0%,#151a26 60%,#181d2a 100%)!important;
    box-shadow:0 18px 40px #0007,inset 0 1px 0 #ffffff0a!important;padding:18px 12px!important
  }
  /* Logo: same size as the reference (about 40px mark + 16px name). */
  html body #app#app #sidebar#sidebar .brand{gap:10px!important;padding:2px 8px 18px!important;border-bottom:0!important;align-items:center!important}
  html body #app#app #sidebar#sidebar .brand .brand-mascot{width:40px!important;height:40px!important;flex:0 0 40px!important;object-fit:contain}
  html body #app#app #sidebar#sidebar .brand-name{font:800 17px/1.1 Fustat,Geist,sans-serif!important;letter-spacing:-.02em!important}
  /* Section headings and items with the reference type scale. */
  html body #app#app #sidebar#sidebar .sidebar-nav-heading{font:700 11px/1.4 Fustat,Geist,sans-serif!important;letter-spacing:.06em!important;text-transform:uppercase!important;padding:0 12px!important}
  html body #app#app #sidebar#sidebar nav button[data-page]{font:600 15px/1.3 Fustat,Geist,sans-serif!important;border-radius:12px!important;min-height:44px!important}
  html body #app#app #sidebar#sidebar nav button[data-page][aria-current]{font-weight:700!important}
}

/* Sidebar fix (2026-11-20): original navy colours back; no leftover space under the smaller logo. */
@media (min-width:701px){
  html body #app#app #sidebar#sidebar{
    background:linear-gradient(180deg,#0b1324 0%,#080c1a 100%)!important;border-color:#1e2f52!important;box-shadow:0 18px 40px #0006!important
  }
  html body #app#app #sidebar#sidebar .brand{min-height:0!important;height:auto!important;margin:0!important;padding:6px 8px 14px!important}
  html body #app#app #sidebar#sidebar nav{padding-top:6px!important}
}

/* Sidebar line icons (2026-11-20): outline in the menu text colour, one blue accent; all blue when active. */
html body #app#app #sidebar#sidebar nav [data-icon] svg.nav-line-icon{
  width:20px!important;height:20px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.6!important;
  stroke-linecap:round!important;stroke-linejoin:round!important;overflow:visible
}
html body #app#app #sidebar#sidebar nav [data-icon] svg.nav-line-icon *{fill:none!important;stroke:currentColor!important}
html body #app#app #sidebar#sidebar nav [data-icon] svg.nav-line-icon .a{stroke:#3972ff!important}
html body #app#app #sidebar#sidebar nav [data-icon] svg.nav-line-icon .f{fill:#3972ff!important;stroke:none!important}
html body #app#app #sidebar#sidebar nav button[data-page]:not([aria-current]) [data-icon]{color:#b6c1d6!important}
html body #app#app #sidebar#sidebar nav button[data-page][aria-current] [data-icon]{color:#4d7dff!important}
html body #app#app #sidebar#sidebar nav button[data-page][aria-current] [data-icon] svg.nav-line-icon .a{stroke:#7fa2ff!important}
html body #app#app #sidebar#sidebar nav button[data-page][aria-current] [data-icon] svg.nav-line-icon .f{fill:#7fa2ff!important}
html[data-theme="light"] body #app#app #sidebar#sidebar nav button[data-page]:not([aria-current]) [data-icon]{color:#475569!important}

/* Sidebar tones (2026-11-20), same hierarchy as the reference: text brightest, icons a step
   dimmer, section headings dimmest. Active option and hover keep their own colours. */
html body #app#app #sidebar#sidebar nav button[data-page]:not([aria-current]){color:#d5dcea!important}
html body #app#app #sidebar#sidebar nav button[data-page]:not([aria-current]) [data-icon]{color:#8d9ab3!important}
html body #app#app #sidebar#sidebar .sidebar-nav-heading{color:#6c7a96!important}
html body #app#app #sidebar#sidebar nav button[data-page]:not([aria-current]):hover{color:#fff!important}
html body #app#app #sidebar#sidebar nav button[data-page]:not([aria-current]):hover [data-icon]{color:#b9c4d9!important}
html[data-theme="light"] body #app#app #sidebar#sidebar nav button[data-page]:not([aria-current]){color:#1e293b!important}
html[data-theme="light"] body #app#app #sidebar#sidebar nav button[data-page]:not([aria-current]) [data-icon]{color:#64748b!important}
html[data-theme="light"] body #app#app #sidebar#sidebar .sidebar-nav-heading{color:#94a3b8!important}

/* Sidebar type sizes (2026-11-20), measured against the reference screenshot:
   options 14px (were 15px), section headings 10px (were 11px). Desktop only; the phone bar keeps its own sizes. */
@media (min-width:701px){
  html body #app#app #sidebar#sidebar nav button[data-page]{font-size:14px!important}
  html body #app#app #sidebar#sidebar .sidebar-nav-heading{font-size:10px!important}
}

/* Sidebar row spacing (2026-11-20): 42px per option (40px row + 2px gap) like the reference,
   was 46px. Desktop only. */
@media (min-width:701px){
  html body #app#app #sidebar#sidebar nav button[data-page]{min-height:40px!important;padding-top:7px!important;padding-bottom:7px!important}
}

/* Light theme restore (2026-11-20): the dark-theme redesign of the last days had leaked into the
   light theme. Values below are the original light-theme computed styles (read from the site before
   those changes). Kept from the redesign: Fustat font, sizes, spacing and the outline icons. */
@media (min-width:701px){
  html[data-theme="light"] body #app#app #sidebar#sidebar{
    background:#fff!important;border:1px solid #9dbfe0!important;border-radius:24px!important;
    box-shadow:inset 0 -3px 0 #dcecff,2px 4px 0 #c5ddf4,5px 10px 20px #387bb329!important
  }
  html[data-theme="light"] body #app#app #sidebar#sidebar .brand-name{color:#355475!important}
  html[data-theme="light"] body #app#app #sidebar#sidebar .brand-name .brand-prefix{color:#1767c9!important}
  html[data-theme="light"] body #app#app #sidebar#sidebar .sidebar-nav-heading{color:#526d94!important}
  html[data-theme="light"] body #app#app #sidebar#sidebar nav button[data-page]:not([aria-current]){color:#29496f!important;background:transparent!important}
  html[data-theme="light"] body #app#app #sidebar#sidebar nav button[data-page]:not([aria-current]) [data-icon]{color:#29496f!important}
  html[data-theme="light"] body #app#app #sidebar#sidebar nav button[data-page]:not([aria-current]):hover{color:#183355!important;background:#eef5fd!important}
  html[data-theme="light"] body #app#app #sidebar#sidebar nav button[data-page][aria-current]{color:#fff!important;background:#183e53!important;box-shadow:none!important}
  html[data-theme="light"] body #app#app #sidebar#sidebar nav button[data-page][aria-current] [data-icon]{color:#fff!important}
}
/* Visão geral cards, chart and period buttons. */
html[data-theme="light"] body #app #main .official-overview .official-metric[class*="ff-tone-"]>.ff-card-icon{color:#294d91!important;width:19px!important;height:19px!important;border-radius:10px!important}
html[data-theme="light"] body #app #main .official-overview .official-metric[class*="ff-tone-"]>.ff-card-icon svg{width:19px!important;height:19px!important}
html[data-theme="light"] body #app #main .official-overview .official-metric.ff-tone-rooms>.ff-card-icon{color:#d8efff!important;background:#ffffff18!important}
html[data-theme="light"] body #app #main .official-overview .official-quick-link:nth-of-type(n)>.ff-card-icon{color:#413694!important;width:30px!important;height:30px!important;flex:0 0 30px!important;border-radius:10px!important}
html[data-theme="light"] body #app #main .official-overview .official-quick-link>.ff-card-icon svg{width:18px!important;height:18px!important}
html[data-theme="light"] body #app #main .official-overview .official-activity h3 .ff-card-icon{color:#3972ff!important;width:33px!important;height:33px!important;flex:0 0 33px!important;border-radius:10px!important}
html[data-theme="light"] body #app #main .official-overview .official-activity .dashboard-empty>svg:first-child{color:#4087a9!important;width:24px!important;height:24px!important}
html[data-theme="light"] body #app #main .official-overview .period-option{
  min-height:27px!important;padding:4px 8px!important;border:1px solid transparent!important;border-radius:999px!important;
  background:#fff!important;color:#163b51!important;box-shadow:0 2px 6px #183c5010!important;font:600 10px/13px Geist,system-ui,sans-serif!important
}
html[data-theme="light"] body #app #main .official-overview .period-option[aria-pressed="true"]{background:#183e53!important;color:#fff!important}

/* Light theme uses the dark theme's layout on Visão geral (2026-11-20). Sizes, spacing and positions
   are copied from the dark theme (measured); colours stay the light ones. Overrides the size values
   of the light restore block above. */
html[data-theme="light"] body #app #main .official-overview .dashboard-metrics{gap:16px!important}
html[data-theme="light"] body #app #main .official-overview .official-metric{
  position:relative!important;display:flex!important;flex-direction:column!important;justify-content:flex-start!important;align-items:stretch!important;
  gap:14px!important;min-height:0!important;padding:20px!important;border-radius:16px!important;text-align:left!important
}
html[data-theme="light"] body #app #main .official-overview .official-metric .summary-metric-header{display:flex!important;align-items:center!important;justify-content:flex-start!important;min-height:32px!important;margin:0!important;padding:0 44px 0 0!important}
html[data-theme="light"] body #app #main .official-overview .official-metric .dashboard-metric-label{margin:0!important;font:500 13px/1.3 Geist,var(--font-ui,system-ui),sans-serif!important;text-transform:none!important;letter-spacing:0!important}
html[data-theme="light"] body #app #main .official-overview .official-metric .summary-metric-value{display:flex!important;flex-direction:column!important;gap:10px!important;align-items:flex-start!important;margin:0!important;padding:0!important}
html[data-theme="light"] body #app #main .official-overview .official-metric .dashboard-number{font:700 34px/1 Geist,var(--font-ui,system-ui),sans-serif!important;letter-spacing:-.03em!important}
html[data-theme="light"] body #app #main .official-overview .official-metric[class*="ff-tone-"]>.ff-card-icon{
  position:absolute!important;top:20px!important;right:20px!important;left:auto!important;display:grid!important;place-items:center!important;
  width:32px!important;height:32px!important;margin:0!important
}
html[data-theme="light"] body #app #main .official-overview .official-metric[class*="ff-tone-"]>.ff-card-icon svg{width:22px!important;height:22px!important}
/* Chart and quick actions cards. */
html[data-theme="light"] body #app #main .official-overview :is(.official-activity,.official-quick-actions){border-radius:16px!important}
html[data-theme="light"] body #app #main .official-overview :is(.official-activity,.official-quick-actions) h3{font:600 17px/1.3 Geist,var(--font-ui,system-ui),sans-serif!important}
html[data-theme="light"] body #app #main .official-overview .official-activity h3{gap:10px!important}
html[data-theme="light"] body #app #main .official-overview .official-activity h3 .ff-card-icon{width:22px!important;height:22px!important;flex:0 0 22px!important}
html[data-theme="light"] body #app #main .official-overview .official-activity h3 .ff-card-icon svg{width:20px!important;height:20px!important}
html[data-theme="light"] body #app #main .official-overview .official-quick-link{padding:12px!important;gap:14px!important;border-radius:12px!important}
html[data-theme="light"] body #app #main .official-overview .official-quick-link:nth-of-type(n)>.ff-card-icon{width:26px!important;height:26px!important;flex:0 0 26px!important}
html[data-theme="light"] body #app #main .official-overview .official-quick-link>.ff-card-icon svg{width:22px!important;height:22px!important}
html[data-theme="light"] body #app #main .official-overview .official-quick-link strong{font:600 14px/1.3 Geist,var(--font-ui,system-ui),sans-serif!important}
html[data-theme="light"] body #app #main .official-overview .official-quick-link small{font:400 12px/1.4 Geist,var(--font-ui,system-ui),sans-serif!important}
/* Period buttons and the page title. */
html[data-theme="light"] body #app #main .official-overview .official-activity .dashboard-toolbar{gap:4px!important}
html[data-theme="light"] body #app #main .official-overview .period-option{min-height:32px!important;padding:0 14px!important;font:600 13px Geist,var(--font-ui,system-ui),sans-serif!important}
html[data-theme="light"] body #app #main .official-overview .official-overview-intro h2{font-size:32px!important;font-weight:700!important;letter-spacing:-.03em!important}
html[data-theme="light"] body #app #main .official-overview .official-overview-intro .area-subtitle{font-size:14px!important}
html[data-theme="light"] body #app #main .official-overview .official-metric .summary-metric-value>*{align-self:flex-start!important;justify-self:start!important;margin:0!important;text-align:left!important}

/* Theme wave (2026-11-20): the default cross-fade is replaced by the wave in theme-wave JS. */
::view-transition-old(root),::view-transition-new(root){animation:none;mix-blend-mode:normal}
::view-transition-old(root){z-index:1}
::view-transition-new(root){z-index:2}

/* Sidebar gray borders (2026-11-20): neutral gray frame instead of blue, both themes. */
@media (min-width:701px){
  html:not([data-theme="light"]) body #app#app #sidebar#sidebar{border-color:#1d202a!important;box-shadow:0 0 0 1px #141722,0 18px 40px #0006!important}
  html[data-theme="light"] body #app#app #sidebar#sidebar{
    border-color:#d1d5db!important;
    box-shadow:inset 0 -3px 0 #eceef1,2px 4px 0 #dfe2e6,5px 10px 20px #0f172a14!important
  }
}

/* Administração do Automed: stat cards copied from the reference KPI row
   (icon chip, small label, condensed bold value, hint; first card highlighted blue). */
html body #app #main #content :is(.official-admin,.official-selftestadmin) .stats{gap:14px!important}
html body #app #main #content :is(.official-admin,.official-selftestadmin) .stats>.stat{--k-line:#1a2234;position:relative;isolation:isolate;display:flex;flex-direction:column;align-items:flex-start;gap:0;min-height:142px;padding:16px 16px 14px!important;border:1px solid var(--k-line)!important;border-radius:14px!important;background:linear-gradient(180deg,#0c1220 0%,#080d18 100%)!important;box-shadow:inset 0 1px 0 #ffffff08,0 1px 2px #0006!important;overflow:hidden;transition:transform .18s var(--ad-ease),border-color .18s var(--ad-ease),box-shadow .18s var(--ad-ease)}
html body #app #main #content :is(.official-admin,.official-selftestadmin) .stats>.stat::before{content:none}
html body #app #main #content :is(.official-admin,.official-selftestadmin) .stats>.stat>*{position:relative;z-index:1}
html body #app #main #content :is(.official-admin,.official-selftestadmin) .stats>.stat .ff-card-icon{order:0;display:grid!important;place-items:center;width:32px!important;height:32px!important;margin:0 0 14px!important;padding:0!important;border-radius:9px!important;border:1px solid #273044!important;background:#151b28!important;color:#c3cad8!important;box-shadow:inset 0 1px 0 #ffffff0d!important}
html body #app #main #content :is(.official-admin,.official-selftestadmin) .stats>.stat .ff-card-icon svg{width:16px!important;height:16px!important}
html body #app #main #content :is(.official-admin,.official-selftestadmin) .stats>.stat .caption{order:1;margin:0 0 5px!important;color:#8a94a8!important;font-size:12px!important;font-weight:500!important;letter-spacing:0!important;line-height:1.3}
html body #app #main #content :is(.official-admin,.official-selftestadmin) .stats>.stat strong{order:2;margin:0!important;font-family:"Bahnschrift Condensed",Bahnschrift,"DIN Condensed","Avenir Next Condensed","Roboto Condensed","sans-serif-condensed","Arial Narrow",sans-serif!important;font-stretch:condensed;font-size:27px!important;font-weight:700!important;line-height:1.05!important;letter-spacing:.005em!important;color:#e3eaf8!important;font-variant-numeric:tabular-nums}
html body #app #main #content :is(.official-admin,.official-selftestadmin) .stats>.stat p{order:3;margin:9px 0 0!important;color:#8a94a8!important;font-size:11.5px!important;font-weight:500;line-height:1.35}
html body #app #main #content :is(.official-admin,.official-selftestadmin) .stats>.stat:first-child{--k-line:#2c5fd6;background:radial-gradient(120% 110% at 0% 100%,#2563eb33,transparent 62%),linear-gradient(160deg,#0d1a37 0%,#0a1329 100%)!important;box-shadow:inset 0 1px 0 #ffffff0f,0 0 0 1px #3b82f61f,0 22px 46px -22px #2563ebb3,-16px 16px 46px -26px #2563eb99!important}
html body #app #main #content :is(.official-admin,.official-selftestadmin) .stats>.stat:first-child::before{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;background:repeating-linear-gradient(135deg,#8fb3ff14 0 1px,transparent 1px 7px);-webkit-mask-image:radial-gradient(85% 95% at 100% 0%,#000 0%,transparent 70%);mask-image:radial-gradient(85% 95% at 100% 0%,#000 0%,transparent 70%)}
html body #app #main #content :is(.official-admin,.official-selftestadmin) .stats>.stat{--ic-a:#3b82f6;--ic-b:#1d4ed8;--ic-line:#60a5fa80}html body #app #main #content :is(.official-admin,.official-selftestadmin) .stats>.stat:nth-child(5n+2){--ic-a:#22c55e;--ic-b:#15803d;--ic-line:#4ade8080}html body #app #main #content :is(.official-admin,.official-selftestadmin) .stats>.stat:nth-child(5n+3){--ic-a:#a855f7;--ic-b:#7e22ce;--ic-line:#c084fc80}html body #app #main #content :is(.official-admin,.official-selftestadmin) .stats>.stat:nth-child(5n+4){--ic-a:#f59e0b;--ic-b:#c2410c;--ic-line:#fbbf2480}html body #app #main #content :is(.official-admin,.official-selftestadmin) .stats>.stat:nth-child(5n+5){--ic-a:#06b6d4;--ic-b:#0e7490;--ic-line:#22d3ee80}
html body #app #main #content :is(.official-admin,.official-selftestadmin) .stats>.stat .ff-card-icon{border-color:var(--ic-line)!important;background:linear-gradient(180deg,var(--ic-a) 0%,var(--ic-b) 100%)!important;color:#fff!important;box-shadow:inset 0 1px 0 #ffffff59,0 6px 16px -6px color-mix(in srgb,var(--ic-a) 80%,transparent)!important}
html body #app #main #content :is(.official-admin,.official-selftestadmin) .stats>.stat:hover{transform:translateY(-2px);--k-line:#2a3550}
html body #app #main #content :is(.official-admin,.official-selftestadmin) .stats>.stat:first-child:hover{--k-line:#3b74f0;box-shadow:inset 0 1px 0 #ffffff12,0 0 0 1px #3b82f633,0 24px 50px -20px #2563ebcc,-16px 16px 50px -24px #2563ebb3!important}
html.automed-clean-workspace[data-theme="light"] body #app #main #content :is(.official-admin,.official-selftestadmin) .stats>.stat{--k-line:#dde3ec;background:linear-gradient(180deg,#ffffff 0%,#f8fafc 100%)!important;box-shadow:inset 0 1px 0 #fff,0 1px 2px #0f172a0f,0 8px 20px -14px #0f172a26!important}
html.automed-clean-workspace[data-theme="light"] body #app #main #content :is(.official-admin,.official-selftestadmin) .stats>.stat .ff-card-icon{border-color:#dbe1ea!important;background:#f1f4f8!important;color:#475569!important;box-shadow:inset 0 1px 0 #fff!important}
html.automed-clean-workspace[data-theme="light"] body #app #main #content :is(.official-admin,.official-selftestadmin) .stats>.stat .caption{color:#64748b!important}
html.automed-clean-workspace[data-theme="light"] body #app #main #content :is(.official-admin,.official-selftestadmin) .stats>.stat strong{color:#0f172a!important}
html.automed-clean-workspace[data-theme="light"] body #app #main #content :is(.official-admin,.official-selftestadmin) .stats>.stat p{color:#64748b!important}
html.automed-clean-workspace[data-theme="light"] body #app #main #content :is(.official-admin,.official-selftestadmin) .stats>.stat:first-child{--k-line:#7ea6f5;background:radial-gradient(120% 110% at 0% 100%,#3b82f61f,transparent 62%),linear-gradient(160deg,#f3f7ff 0%,#ffffff 100%)!important;box-shadow:inset 0 1px 0 #fff,0 0 0 1px #3b82f614,0 18px 38px -22px #2563eb73!important}
html.automed-clean-workspace[data-theme="light"] body #app #main #content :is(.official-admin,.official-selftestadmin) .stats>.stat:first-child::before{background:repeating-linear-gradient(135deg,#2563eb12 0 1px,transparent 1px 7px)}
html.automed-clean-workspace[data-theme="light"] body #app #main #content :is(.official-admin,.official-selftestadmin) .stats>.stat .ff-card-icon{border-color:var(--ic-a)!important;background:linear-gradient(180deg,var(--ic-a) 0%,var(--ic-b) 100%)!important;color:#fff!important;box-shadow:inset 0 1px 0 #ffffff59,0 6px 14px -6px color-mix(in srgb,var(--ic-a) 60%,transparent)!important}
html.automed-clean-workspace[data-theme="light"] body #app #main #content :is(.official-admin,.official-selftestadmin) .stats>.stat:hover{--k-line:#c5cfdd}
html.automed-clean-workspace[data-theme="light"] body #app #main #content :is(.official-admin,.official-selftestadmin) .stats>.stat:first-child:hover{--k-line:#5b8def}
@media (prefers-reduced-motion:reduce){html body #app #main #content :is(.official-admin,.official-selftestadmin) .stats>.stat{transition:none!important}html body #app #main #content :is(.official-admin,.official-selftestadmin) .stats>.stat:hover{transform:none}}
/* Administração do Automed (Rankings): no hint line under the stat cards. */
html body #app #main #content .official-selftestadmin .stats>.stat{min-height:0}
html body #app #main #content .official-selftestadmin .stats>.stat p{display:none!important}
/* Administração do Automed (Rankings): slightly larger cards and numbers. */
html body #app #main #content .official-selftestadmin .stats>.stat{min-height:150px;padding:20px 20px 20px!important}
html body #app #main #content .official-selftestadmin .stats>.stat .ff-card-icon{width:36px!important;height:36px!important;margin-bottom:16px!important;border-radius:10px!important}
html body #app #main #content .official-selftestadmin .stats>.stat .ff-card-icon svg{width:18px!important;height:18px!important}
html body #app #main #content .official-selftestadmin .stats>.stat .caption{font-size:13px!important;margin-bottom:6px!important}
html body #app #main #content .official-selftestadmin .stats>.stat strong{font-size:36px!important}
/* Visão geral (dashboard): same KPI card style as the admin stat cards. */
html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric{container-type:inline-size;--k-line:#1a2234;--ic-a:#3b82f6;--ic-b:#1d4ed8;--ic-line:#60a5fa80;position:relative!important;isolation:isolate;display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:flex-start!important;gap:0!important;min-height:150px!important;height:auto!important;padding:20px!important;border:1px solid var(--k-line)!important;border-radius:14px!important;background:linear-gradient(180deg,#0c1220 0%,#080d18 100%)!important;box-shadow:inset 0 1px 0 #ffffff08,0 1px 2px #0006!important;overflow:hidden!important;text-align:left!important;transition:transform .18s var(--ad-ease,ease),border-color .18s var(--ad-ease,ease),box-shadow .18s var(--ad-ease,ease)!important}
html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric::before,html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric::after{content:none!important;display:none!important}
html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric>*{position:relative!important;z-index:1}
html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric:nth-child(3n+2){--ic-a:#22c55e;--ic-b:#15803d;--ic-line:#4ade8080}
html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric:nth-child(3n+3){--ic-a:#a855f7;--ic-b:#7e22ce;--ic-line:#c084fc80}
html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric > .ff-card-icon{order:0!important;position:relative!important;inset:auto!important;top:auto!important;right:auto!important;left:auto!important;display:grid!important;place-items:center!important;width:36px!important;height:36px!important;margin:0 0 16px!important;padding:0!important;border-radius:10px!important;border:1px solid var(--ic-line)!important;background:linear-gradient(180deg,var(--ic-a) 0%,var(--ic-b) 100%)!important;color:#fff!important;box-shadow:inset 0 1px 0 #ffffff59,0 6px 16px -6px color-mix(in srgb,var(--ic-a) 80%,transparent)!important;opacity:1!important;transform:none!important}
html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric > .ff-card-icon svg{width:18px!important;height:18px!important;color:#fff!important;stroke:currentColor}
html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric .summary-metric-header{order:1!important;display:block!important;min-height:0!important;margin:0 0 6px!important;padding:0!important}
html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric .dashboard-metric-label{display:block!important;margin:0!important;padding:0!important;color:#8a94a8!important;font-family:Geist,var(--font-ui,system-ui),sans-serif!important;font-size:13px!important;font-weight:500!important;letter-spacing:0!important;line-height:1.3!important;text-transform:none!important;-webkit-text-fill-color:currentColor!important;background:none!important}
html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric .summary-metric-value{order:2!important;display:block!important;margin:0!important;padding:0!important}
html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric .dashboard-number{display:block!important;margin:0!important;padding:0!important;font-family:"Bahnschrift Condensed",Bahnschrift,"DIN Condensed","Avenir Next Condensed","Roboto Condensed","sans-serif-condensed","Arial Narrow",sans-serif!important;font-stretch:condensed!important;font-size:min(36px,15cqi)!important;white-space:nowrap!important;font-weight:700!important;line-height:1.05!important;letter-spacing:.005em!important;color:#e3eaf8!important;-webkit-text-fill-color:currentColor!important;background:none!important;text-shadow:none!important;font-variant-numeric:tabular-nums}
html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric .summary-metric-comparison{display:none!important}
html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric:first-child{--k-line:#2c5fd6;background:radial-gradient(120% 110% at 0% 100%,#2563eb33,transparent 62%),linear-gradient(160deg,#0d1a37 0%,#0a1329 100%)!important;box-shadow:inset 0 1px 0 #ffffff0f,0 0 0 1px #3b82f61f,0 22px 46px -22px #2563ebb3,-16px 16px 46px -26px #2563eb99!important;overflow:hidden!important}
html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric:first-child::before{content:""!important;display:block!important;position:absolute!important;inset:0!important;z-index:0!important;pointer-events:none;opacity:1!important;background:repeating-linear-gradient(135deg,#8fb3ff14 0 1px,transparent 1px 7px)!important;-webkit-mask-image:radial-gradient(85% 95% at 100% 0%,#000 0%,transparent 70%);mask-image:radial-gradient(85% 95% at 100% 0%,#000 0%,transparent 70%)}
html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric:hover{transform:translateY(-2px)!important;--k-line:#2a3550}
html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric:first-child:hover{--k-line:#3b74f0;box-shadow:inset 0 1px 0 #ffffff12,0 0 0 1px #3b82f633,0 24px 50px -20px #2563ebcc,-16px 16px 50px -24px #2563ebb3!important}
html.automed-clean-workspace[data-theme="light"] body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric{--k-line:#dde3ec;background:linear-gradient(180deg,#ffffff 0%,#f8fafc 100%)!important;box-shadow:inset 0 1px 0 #fff,0 1px 2px #0f172a0f,0 8px 20px -14px #0f172a26!important}
html.automed-clean-workspace[data-theme="light"] body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric > .ff-card-icon{border-color:var(--ic-a)!important;box-shadow:inset 0 1px 0 #ffffff59,0 6px 14px -6px color-mix(in srgb,var(--ic-a) 60%,transparent)!important}
html.automed-clean-workspace[data-theme="light"] body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric .dashboard-metric-label{color:#64748b!important}
html.automed-clean-workspace[data-theme="light"] body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric .dashboard-number{color:#0f172a!important}
html.automed-clean-workspace[data-theme="light"] body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric:first-child{--k-line:#7ea6f5;background:radial-gradient(120% 110% at 0% 100%,#3b82f61f,transparent 62%),linear-gradient(160deg,#f3f7ff 0%,#ffffff 100%)!important;box-shadow:inset 0 1px 0 #fff,0 0 0 1px #3b82f614,0 18px 38px -22px #2563eb73!important}
html.automed-clean-workspace[data-theme="light"] body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric:first-child::before{background:repeating-linear-gradient(135deg,#2563eb12 0 1px,transparent 1px 7px)!important}
html.automed-clean-workspace[data-theme="light"] body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric:hover{--k-line:#c5cfdd}
html.automed-clean-workspace[data-theme="light"] body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric:first-child:hover{--k-line:#5b8def}
@media (prefers-reduced-motion:reduce){html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric{transition:none!important}html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric:hover{transform:none!important}}
/* Visão geral: every card gets the tinted highlight (softer), in its icon colour; no subtitle. */
html body #app#app #main #content .official-overview .official-overview-intro .area-subtitle{display:none!important}
html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric:nth-child(3n+2){--ic-a:#a855f7;--ic-b:#7e22ce;--ic-line:#c084fc80}
html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric:nth-child(3n+3){--ic-a:#22c55e;--ic-b:#15803d;--ic-line:#4ade8080}
html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric,html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric:first-child{--k-line:color-mix(in srgb,var(--ic-a) 42%,#1a2234);background:radial-gradient(120% 110% at 0% 100%,color-mix(in srgb,var(--ic-a) 13%,transparent),transparent 62%),linear-gradient(160deg,color-mix(in srgb,var(--ic-a) 8%,#0b1220) 0%,#090e1b 100%)!important;box-shadow:inset 0 1px 0 #ffffff0a,0 0 0 1px color-mix(in srgb,var(--ic-a) 8%,transparent),0 18px 40px -26px color-mix(in srgb,var(--ic-a) 55%,transparent),-12px 14px 40px -30px color-mix(in srgb,var(--ic-a) 45%,transparent)!important}
html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric::before,html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric:first-child::before{content:""!important;display:block!important;position:absolute!important;inset:0!important;z-index:0!important;pointer-events:none;opacity:1!important;background:repeating-linear-gradient(135deg,color-mix(in srgb,var(--ic-a) 7%,transparent) 0 1px,transparent 1px 7px)!important;-webkit-mask-image:radial-gradient(85% 95% at 100% 0%,#000 0%,transparent 70%);mask-image:radial-gradient(85% 95% at 100% 0%,#000 0%,transparent 70%)}
html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric:hover,html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric:first-child:hover{--k-line:color-mix(in srgb,var(--ic-a) 60%,#1a2234);box-shadow:inset 0 1px 0 #ffffff0d,0 0 0 1px color-mix(in srgb,var(--ic-a) 14%,transparent),0 20px 44px -24px color-mix(in srgb,var(--ic-a) 65%,transparent),-12px 14px 44px -28px color-mix(in srgb,var(--ic-a) 55%,transparent)!important}
html.automed-clean-workspace[data-theme="light"] body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric,html.automed-clean-workspace[data-theme="light"] body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric:first-child{--k-line:color-mix(in srgb,var(--ic-a) 35%,#dde3ec);background:radial-gradient(120% 110% at 0% 100%,color-mix(in srgb,var(--ic-a) 8%,transparent),transparent 62%),linear-gradient(160deg,color-mix(in srgb,var(--ic-a) 4%,#fff) 0%,#ffffff 100%)!important;box-shadow:inset 0 1px 0 #fff,0 0 0 1px color-mix(in srgb,var(--ic-a) 6%,transparent),0 14px 32px -24px color-mix(in srgb,var(--ic-a) 40%,transparent)!important}
html.automed-clean-workspace[data-theme="light"] body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric::before,html.automed-clean-workspace[data-theme="light"] body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric:first-child::before{background:repeating-linear-gradient(135deg,color-mix(in srgb,var(--ic-a) 6%,transparent) 0 1px,transparent 1px 7px)!important}
html.automed-clean-workspace[data-theme="light"] body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric:hover,html.automed-clean-workspace[data-theme="light"] body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric:first-child:hover{--k-line:color-mix(in srgb,var(--ic-a) 55%,#dde3ec)}
/* Visão geral: flat cards, colour only on the border; outline icons in the border colour. */
html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric,html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric:first-child,html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric:hover,html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric:first-child:hover{--k-line:color-mix(in srgb,var(--ic-a) 55%,transparent);background:linear-gradient(180deg,#0c1220 0%,#080d18 100%)!important;box-shadow:none!important}
html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric::before,html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric:first-child::before{content:none!important;display:none!important}
html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric:hover,html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric:first-child:hover{--k-line:color-mix(in srgb,var(--ic-a) 80%,transparent)}
html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric > .ff-card-icon{width:30px!important;height:30px!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:var(--ic-a)!important;-webkit-mask:var(--ic-mask) center/contain no-repeat;mask:var(--ic-mask) center/contain no-repeat}
html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric > .ff-card-icon svg{display:none!important}
html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric:nth-child(3n+1){--ic-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='12' height='12' x='2' y='10' rx='2'/%3E%3Cpath d='m17.92 14 3.5-3.5a2.24 2.24 0 0 0 0-3l-5-4.92a2.24 2.24 0 0 0-3 0L10 6'/%3E%3Cpath d='M6 18h.01'/%3E%3Cpath d='M10 14h.01'/%3E%3Cpath d='M15 6h.01'/%3E%3Cpath d='M18 9h.01'/%3E%3C/svg%3E")}
html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric:nth-child(3n+2){--ic-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 7 13.5 15.5 8.5 10.5 2 17'/%3E%3Cpath d='M16 7h6v6'/%3E%3C/svg%3E")}
html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric:nth-child(3n+3){--ic-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 7V4a1 1 0 0 0-1-1H5a2 2 0 0 0 0 4h15a1 1 0 0 1 1 1v4h-3a2 2 0 0 0 0 4h3a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1'/%3E%3Cpath d='M3 5v14a2 2 0 0 0 2 2h15a1 1 0 0 0 1-1v-4'/%3E%3C/svg%3E")}
html.automed-clean-workspace[data-theme="light"] body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric,html.automed-clean-workspace[data-theme="light"] body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric:first-child,html.automed-clean-workspace[data-theme="light"] body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric:hover,html.automed-clean-workspace[data-theme="light"] body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric:first-child:hover{--k-line:color-mix(in srgb,var(--ic-a) 55%,transparent);background:#fff!important;box-shadow:0 1px 2px #0f172a0d!important}
html.automed-clean-workspace[data-theme="light"] body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric:hover,html.automed-clean-workspace[data-theme="light"] body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric:first-child:hover{--k-line:color-mix(in srgb,var(--ic-a) 85%,transparent)}
html.automed-clean-workspace[data-theme="light"] body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric > .ff-card-icon{border:0!important;box-shadow:none!important;background:var(--ic-a)!important}
/* Visão geral: smaller outline icons and a very light glow on the coloured border. */
html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric > .ff-card-icon{width:24px!important;height:24px!important;margin-bottom:14px!important}
html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric,html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric:first-child{box-shadow:inset 0 1px 0 #ffffff08,inset 0 0 12px -6px color-mix(in srgb,var(--ic-a) 35%,transparent),0 0 16px -8px color-mix(in srgb,var(--ic-a) 40%,transparent)!important}
html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric:hover,html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric:first-child:hover{box-shadow:inset 0 1px 0 #ffffff0a,inset 0 0 14px -6px color-mix(in srgb,var(--ic-a) 45%,transparent),0 0 20px -8px color-mix(in srgb,var(--ic-a) 55%,transparent)!important}
html.automed-clean-workspace[data-theme="light"] body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric,html.automed-clean-workspace[data-theme="light"] body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric:first-child{box-shadow:inset 0 0 10px -6px color-mix(in srgb,var(--ic-a) 22%,transparent),0 0 14px -8px color-mix(in srgb,var(--ic-a) 30%,transparent),0 1px 2px #0f172a0d!important}
html.automed-clean-workspace[data-theme="light"] body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric:hover,html.automed-clean-workspace[data-theme="light"] body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric:first-child:hover{box-shadow:inset 0 0 12px -6px color-mix(in srgb,var(--ic-a) 30%,transparent),0 0 18px -8px color-mix(in srgb,var(--ic-a) 42%,transparent),0 1px 2px #0f172a0d!important}
/* Visão geral: 20px icons; wider but soft border glow, inward and outward. */
html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric > .ff-card-icon{width:20px!important;height:20px!important;margin-bottom:14px!important}
html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric,html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric:first-child{box-shadow:inset 0 1px 0 #ffffff08,inset 0 0 26px -10px color-mix(in srgb,var(--ic-a) 32%,transparent),0 0 30px -12px color-mix(in srgb,var(--ic-a) 38%,transparent)!important}
html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric:hover,html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric:first-child:hover{box-shadow:inset 0 1px 0 #ffffff0a,inset 0 0 30px -10px color-mix(in srgb,var(--ic-a) 42%,transparent),0 0 34px -12px color-mix(in srgb,var(--ic-a) 50%,transparent)!important}
html.automed-clean-workspace[data-theme="light"] body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric,html.automed-clean-workspace[data-theme="light"] body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric:first-child{box-shadow:inset 0 0 22px -10px color-mix(in srgb,var(--ic-a) 22%,transparent),0 0 26px -12px color-mix(in srgb,var(--ic-a) 28%,transparent),0 1px 2px #0f172a0d!important}
html.automed-clean-workspace[data-theme="light"] body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric:hover,html.automed-clean-workspace[data-theme="light"] body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric:first-child:hover{box-shadow:inset 0 0 26px -10px color-mix(in srgb,var(--ic-a) 30%,transparent),0 0 30px -12px color-mix(in srgb,var(--ic-a) 38%,transparent),0 1px 2px #0f172a0d!important}
/* Visão geral: icons back to the original chip style (gradient square, white solid icon). */
html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric > .ff-card-icon{-webkit-mask:none!important;mask:none!important;width:36px!important;height:36px!important;margin:0 0 16px!important;border-radius:10px!important;border:1px solid var(--ic-line)!important;background:linear-gradient(180deg,var(--ic-a) 0%,var(--ic-b) 100%)!important;color:#fff!important;box-shadow:inset 0 1px 0 #ffffff59,0 6px 16px -6px color-mix(in srgb,var(--ic-a) 80%,transparent)!important}
html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric > .ff-card-icon svg{display:block!important;width:18px!important;height:18px!important;color:#fff!important}
html.automed-clean-workspace[data-theme="light"] body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric > .ff-card-icon{border-color:var(--ic-a)!important;background:linear-gradient(180deg,var(--ic-a) 0%,var(--ic-b) 100%)!important;box-shadow:inset 0 1px 0 #ffffff59,0 6px 14px -6px color-mix(in srgb,var(--ic-a) 60%,transparent)!important}
/* Sidebar: category names further left, options further right; "Automed" group collapses (checkbox toggle, desktop only). */
html body #app#app #sidebar#sidebar .sidebar-nav-check{position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important;border:0!important;opacity:0!important}
@media (max-width:700px){
  html body #app#app #sidebar#sidebar .sidebar-nav-toggle{display:none!important}
}
@media (min-width:701px){
  html body #app#app #sidebar#sidebar .sidebar-nav-heading{padding-left:2px!important}
  html body #app#app #sidebar#sidebar nav .sidebar-nav-section>button[data-page]{margin-left:8px!important;width:calc(100% - 8px)!important}
  html body #app#app #sidebar#sidebar .sidebar-nav-toggle{display:flex!important;align-items:center!important;gap:12px!important;width:100%!important;min-height:44px!important;margin:0 0 2px!important;padding:0 12px 0 10px!important;border-radius:12px!important;cursor:pointer;user-select:none;color:#d5dcea!important;font:600 15px/1.3 Fustat,Geist,sans-serif!important;letter-spacing:0!important;text-transform:none!important;transition:background .16s ease,color .16s ease}
  html body #app#app #sidebar#sidebar .sidebar-nav-toggle:hover{background:#101e39!important;color:#fff!important}
  html body #app#app #sidebar#sidebar .sidebar-nav-check:focus-visible+.sidebar-nav-toggle{outline:2px solid #3cc4ff;outline-offset:2px}
  html body #app#app #sidebar#sidebar .sidebar-nav-toggle-icon{display:grid!important;place-items:center!important;width:22px!important;height:22px!important;flex:0 0 22px!important;color:#8d9ab3!important}
  html body #app#app #sidebar#sidebar .sidebar-nav-toggle-icon svg{width:20px!important;height:20px!important;fill:none!important;stroke:currentColor!important}
  html body #app#app #sidebar#sidebar .sidebar-nav-toggle-icon svg *{fill:none!important;stroke:currentColor!important}
  html body #app#app #sidebar#sidebar .sidebar-nav-toggle-text{flex:1 1 auto;min-width:0}
  html body #app#app #sidebar#sidebar .sidebar-nav-chevron{width:8px;height:8px;margin-right:4px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;opacity:.6;transform:translateY(2px) rotate(-135deg);transition:transform .2s cubic-bezier(.23,1,.32,1)}
  html body #app#app #sidebar#sidebar .sidebar-nav-check:not(:checked)+.sidebar-nav-toggle .sidebar-nav-chevron{transform:translateY(-2px) rotate(45deg)}
  html body #app#app #sidebar#sidebar nav .sidebar-nav-group>button[data-page]{margin-left:24px!important;width:calc(100% - 24px)!important}
  html body #app#app #sidebar#sidebar nav .sidebar-nav-check:not(:checked)~button[data-page]{display:none!important}
  html[data-theme="light"] body #app#app #sidebar#sidebar .sidebar-nav-toggle{color:#1e293b!important}
  html[data-theme="light"] body #app#app #sidebar#sidebar .sidebar-nav-toggle:hover{background:#3761ea0f!important;color:#0f172a!important}
  html[data-theme="light"] body #app#app #sidebar#sidebar .sidebar-nav-toggle-icon{color:#64748b!important}
}
@media (prefers-reduced-motion:reduce){html body #app#app #sidebar#sidebar .sidebar-nav-chevron{transition:none}}
/* Sidebar spacing matched to the reference: options closer to the left edge, sub-options indented. */
@media (min-width:701px){
  html body #app#app #sidebar#sidebar nav{margin-left:0!important;margin-right:0!important}
  html body #app#app #sidebar#sidebar nav .sidebar-nav-section{padding-left:0!important;padding-right:0!important}
  html body #app#app #sidebar#sidebar .sidebar-nav-heading{padding-left:11px!important}
  html body #app#app #sidebar#sidebar nav .sidebar-nav-section>button[data-page]{margin-left:0!important;width:100%!important;padding-left:13px!important;gap:8px!important}
  html body #app#app #sidebar#sidebar .sidebar-nav-toggle{padding:0 12px 0 10px!important;gap:8px!important}
  html body #app#app #sidebar#sidebar nav .sidebar-nav-group>button[data-page]{margin-left:27px!important;width:calc(100% - 27px)!important}
}
/* Sidebar: names further left, and no extra gap above the Automed group. */
@media (min-width:701px){
  html body #app#app #sidebar#sidebar .sidebar-nav-heading{margin-left:0!important;padding-left:2px!important}
  html body #app#app #sidebar#sidebar nav .sidebar-nav-section>button[data-page]{padding-left:4px!important}
  html body #app#app #sidebar#sidebar .sidebar-nav-toggle{padding-left:2px!important}
  html body #app#app #sidebar#sidebar nav .sidebar-nav-group>button[data-page]{margin-left:18px!important;width:calc(100% - 18px)!important;padding-left:8px!important}
  html body #app#app #sidebar#sidebar nav .sidebar-nav-group{margin-top:8px!important;padding-top:0!important;padding-bottom:0!important}
}
/* Sidebar: tighter gap above "Automed" and its options closer to the left. */
@media (min-width:701px){
  html body #app#app #sidebar#sidebar nav .sidebar-nav-section:has(+ .sidebar-nav-group){margin-bottom:0!important;padding-bottom:0!important}
  html body #app#app #sidebar#sidebar nav .sidebar-nav-group{margin-top:0!important;padding-top:0!important;border-top:0!important}
  html body #app#app #sidebar#sidebar nav .sidebar-nav-group::before{content:none!important;display:none!important}
  html body #app#app #sidebar#sidebar .sidebar-nav-toggle{min-height:40px!important;margin:0!important}
  html body #app#app #sidebar#sidebar nav .sidebar-nav-group>button[data-page]{margin-left:10px!important;width:calc(100% - 10px)!important;padding-left:6px!important}
}
/* Dashboard (Visão geral): inner lighting like the Autopay metric cards, in each card's colour. */
html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric,html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric:first-child{background:radial-gradient(ellipse 85% 37% at 50% 109%,color-mix(in srgb,var(--ic-a) 56%,transparent) 0%,color-mix(in srgb,var(--ic-a) 17%,transparent) 43%,transparent 78%),radial-gradient(ellipse 95% 70% at 5% 0%,color-mix(in srgb,var(--ic-a) 13%,transparent) 0%,transparent 77%),linear-gradient(155deg,#0c1324 0%,#080e1c 58%,#0c1324 100%)!important;box-shadow:inset 0 -1px 0 color-mix(in srgb,var(--ic-a) 65%,transparent),inset 0 1px 0 color-mix(in srgb,var(--ic-a) 10%,transparent),0 10px 28px color-mix(in srgb,var(--ic-a) 10%,transparent)!important}
html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric:hover,html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric:first-child:hover{background:radial-gradient(ellipse 85% 37% at 50% 109%,color-mix(in srgb,var(--ic-a) 56%,transparent) 0%,color-mix(in srgb,var(--ic-a) 17%,transparent) 43%,transparent 78%),radial-gradient(ellipse 95% 70% at 5% 0%,color-mix(in srgb,var(--ic-a) 13%,transparent) 0%,transparent 77%),linear-gradient(155deg,#0c1324 0%,#080e1c 58%,#0c1324 100%)!important;box-shadow:inset 0 -1px 0 color-mix(in srgb,var(--ic-a) 80%,transparent),inset 0 1px 0 color-mix(in srgb,var(--ic-a) 14%,transparent),0 12px 32px color-mix(in srgb,var(--ic-a) 16%,transparent)!important}
html.automed-clean-workspace[data-theme="light"] body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric,html.automed-clean-workspace[data-theme="light"] body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric:first-child{background:radial-gradient(ellipse 85% 37% at 50% 109%,color-mix(in srgb,var(--ic-a) 22%,transparent),transparent 78%),radial-gradient(ellipse at 0% 0%,color-mix(in srgb,var(--ic-a) 10%,transparent),transparent 58%),linear-gradient(160deg,#fff 50%,color-mix(in srgb,var(--ic-a) 8%,transparent))!important;box-shadow:inset 0 2px 0 #fffd,inset 0 -2px 0 color-mix(in srgb,var(--ic-a) 26%,transparent),0 4px 0 color-mix(in srgb,var(--ic-a) 30%,transparent),0 9px 20px color-mix(in srgb,var(--ic-a) 20%,transparent)!important}
html.automed-clean-workspace[data-theme="light"] body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric:hover,html.automed-clean-workspace[data-theme="light"] body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric:first-child:hover{background:radial-gradient(ellipse 85% 37% at 50% 109%,color-mix(in srgb,var(--ic-a) 22%,transparent),transparent 78%),radial-gradient(ellipse at 0% 0%,color-mix(in srgb,var(--ic-a) 10%,transparent),transparent 58%),linear-gradient(160deg,#fff 50%,color-mix(in srgb,var(--ic-a) 8%,transparent))!important;box-shadow:inset 0 2px 0 #fffd,inset 0 -2px 0 color-mix(in srgb,var(--ic-a) 34%,transparent),0 4px 0 color-mix(in srgb,var(--ic-a) 38%,transparent),0 11px 24px color-mix(in srgb,var(--ic-a) 26%,transparent)!important}
/* Dashboard: no "Nenhuma sala neste período" icon/text in the empty activity chart. */
html body #app#app #main #content .official-overview .dashboard-empty>svg:first-child,
html body #app#app #main #content .official-overview .dashboard-empty>strong{display:none!important}
/* Config Banco: no subtitle under the title (cards share the dashboard style above). */
html body #app#app #main #content .bank-overview .bank-overview-header .area-subtitle{display:none!important}
/* Dashboard + Config Banco: slightly smaller icon chips. */
html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric > .ff-card-icon{width:38px!important;height:38px!important;border-radius:11px!important;margin-bottom:16px!important}
html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric > .ff-card-icon svg{width:20px!important;height:20px!important}
/* Sidebar selected option: rounded like the dashboard cards, thin blue border, no coloured bar on the left. */
@media (min-width:701px){
  html body #app#app #sidebar#sidebar nav button[data-page]{border-radius:14px!important}
  html body #app#app #sidebar#sidebar nav button[data-page][aria-current]{border:1px solid color-mix(in srgb,#3b82f6 45%,transparent)!important;box-shadow:inset 0 1px 0 #ffffff0a!important}
  html body #app#app #sidebar#sidebar nav button[data-page][aria-current]::before{content:none!important;display:none!important}
  html[data-theme="light"] body #app#app #sidebar#sidebar nav button[data-page][aria-current]{border-color:color-mix(in srgb,#3b82f6 40%,transparent)!important;box-shadow:none!important}
}
/* Dashboard + Config Banco: hint line back, styled like the reference (gray text, bold value, green up / red down). */
html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric .summary-metric-comparison{display:block!important;margin:9px 0 0!important;padding:0!important;font:500 11.5px/1.35 Geist,var(--font-ui,system-ui),sans-serif!important;letter-spacing:0!important;color:#8a94a8!important;opacity:1!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:100%}
html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric .summary-metric-comparison b{font-weight:700!important;color:#e3eaf8!important}
html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric .summary-metric-comparison .metric-trend{font-weight:600!important}
html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric .summary-metric-comparison .metric-trend.is-up{color:#34d399!important}
html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric .summary-metric-comparison .metric-trend.is-down{color:#f87171!important}
html.automed-clean-workspace[data-theme="light"] body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric .summary-metric-comparison{color:#64748b!important}
html.automed-clean-workspace[data-theme="light"] body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric .summary-metric-comparison b{color:#0f172a!important}
html.automed-clean-workspace[data-theme="light"] body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric .summary-metric-comparison .metric-trend.is-up{color:#059669!important}
html.automed-clean-workspace[data-theme="light"] body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric .summary-metric-comparison .metric-trend.is-down{color:#dc2626!important}
/* Dashboard + Config Banco: relief exactly like the reference row (first card highlighted blue, the rest plain). */
html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric,html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric:hover{--k-line:#1a2234;background:linear-gradient(180deg,#0c1220 0%,#080d18 100%)!important;box-shadow:inset 0 1px 0 #ffffff08,0 1px 2px #0006!important}
html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric:hover{--k-line:#2a3550}
html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric::before{content:none!important;display:none!important}
html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric:first-child{--k-line:#2c5fd6;background:radial-gradient(120% 110% at 0% 100%,#2563eb33,transparent 62%),linear-gradient(160deg,#0d1a37 0%,#0a1329 100%)!important;box-shadow:inset 0 1px 0 #ffffff0f,0 0 0 1px #3b82f61f,0 22px 46px -22px #2563ebb3,-16px 16px 46px -26px #2563eb99!important}
html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric:first-child:hover{--k-line:#3b74f0;background:radial-gradient(120% 110% at 0% 100%,#2563eb33,transparent 62%),linear-gradient(160deg,#0d1a37 0%,#0a1329 100%)!important;box-shadow:inset 0 1px 0 #ffffff12,0 0 0 1px #3b82f633,0 24px 50px -20px #2563ebcc,-16px 16px 50px -24px #2563ebb3!important}
html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric:first-child::before{content:""!important;display:block!important;position:absolute!important;inset:0!important;z-index:0!important;pointer-events:none;opacity:1!important;background:repeating-linear-gradient(135deg,#8fb3ff14 0 1px,transparent 1px 7px)!important;-webkit-mask-image:radial-gradient(85% 95% at 100% 0%,#000 0%,transparent 70%);mask-image:radial-gradient(85% 95% at 100% 0%,#000 0%,transparent 70%)}
html.automed-clean-workspace[data-theme="light"] body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric,html.automed-clean-workspace[data-theme="light"] body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric:hover{--k-line:#dde3ec;background:linear-gradient(180deg,#ffffff 0%,#f8fafc 100%)!important;box-shadow:inset 0 1px 0 #fff,0 1px 2px #0f172a0f,0 8px 20px -14px #0f172a26!important}
html.automed-clean-workspace[data-theme="light"] body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric:hover{--k-line:#c5cfdd}
html.automed-clean-workspace[data-theme="light"] body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric:first-child,html.automed-clean-workspace[data-theme="light"] body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric:first-child:hover{--k-line:#7ea6f5;background:radial-gradient(120% 110% at 0% 100%,#3b82f61f,transparent 62%),linear-gradient(160deg,#f3f7ff 0%,#ffffff 100%)!important;box-shadow:inset 0 1px 0 #fff,0 0 0 1px #3b82f614,0 18px 38px -22px #2563eb73!important}
html.automed-clean-workspace[data-theme="light"] body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric:first-child::before{background:repeating-linear-gradient(135deg,#2563eb12 0 1px,transparent 1px 7px)!important}
/* Numbers: light at the top fading slightly darker/bluer at the bottom, like the reference. */
html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric .dashboard-number,html body #app #main #content :is(.official-admin,.official-selftestadmin) .stats>.stat strong{background:linear-gradient(180deg,#f4f7ff 0%,#e3eaf8 45%,#a9b9da 100%)!important;-webkit-background-clip:text!important;background-clip:text!important;-webkit-text-fill-color:transparent!important;color:#e3eaf8!important}
html.automed-clean-workspace[data-theme="light"] body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric .dashboard-number,html.automed-clean-workspace[data-theme="light"] body #app #main #content :is(.official-admin,.official-selftestadmin) .stats>.stat strong{background:linear-gradient(180deg,#0f172a 0%,#1e293b 55%,#475569 100%)!important;-webkit-background-clip:text!important;background-clip:text!important;-webkit-text-fill-color:transparent!important;color:#0f172a!important}
/* KPI numbers in Bebas Neue, the reference font (self-hosted). */
@font-face{font-family:'Bebas Neue';font-style:normal;font-weight:400;font-display:swap;src:url('/assets/bebas-neue-latin.woff2') format('woff2')}
html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric .dashboard-number,html body #app #main #content :is(.official-admin,.official-selftestadmin) .stats>.stat strong{font-family:'Bebas Neue',"Bahnschrift Condensed",Bahnschrift,"Roboto Condensed",sans-serif!important;font-weight:400!important;font-stretch:normal!important;letter-spacing:.01em!important}
/* KPI numbers a bit bolder (Bebas Neue has a single weight, so a thin stroke thickens it). */
html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric .dashboard-number,html body #app #main #content :is(.official-admin,.official-selftestadmin) .stats>.stat strong{-webkit-text-stroke:.9px #d6dff2!important;paint-order:stroke fill}
html.automed-clean-workspace[data-theme="light"] body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric .dashboard-number,html.automed-clean-workspace[data-theme="light"] body #app #main #content :is(.official-admin,.official-selftestadmin) .stats>.stat strong{-webkit-text-stroke:.9px #1e293b!important}
/* All KPI cards: the reference relief (light top-left, stripes top-right, glow under the bottom edge) in each card's colour. */
html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric,html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric:first-child,html body #app#app #main #content :is(.official-admin,.official-selftestadmin) .stats>.stat,html body #app#app #main #content :is(.official-admin,.official-selftestadmin) .stats>.stat:first-child{--k-line:color-mix(in srgb,var(--ic-a) 55%,#1a2234);position:relative!important;isolation:isolate;overflow:hidden!important;background:radial-gradient(110% 95% at 0% 0%,color-mix(in srgb,var(--ic-a) 22%,transparent) 0%,transparent 60%),linear-gradient(160deg,color-mix(in srgb,var(--ic-a) 10%,#0b1428) 0%,#0a1225 55%,#080e1d 100%)!important;box-shadow:inset 0 1px 0 #ffffff0f,0 0 0 1px color-mix(in srgb,var(--ic-a) 12%,transparent),0 26px 40px -26px color-mix(in srgb,var(--ic-a) 75%,transparent)!important}
html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric:hover,html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric:first-child:hover,html body #app#app #main #content :is(.official-admin,.official-selftestadmin) .stats>.stat:hover,html body #app#app #main #content :is(.official-admin,.official-selftestadmin) .stats>.stat:first-child:hover{--k-line:color-mix(in srgb,var(--ic-a) 75%,#1a2234);background:radial-gradient(110% 95% at 0% 0%,color-mix(in srgb,var(--ic-a) 22%,transparent) 0%,transparent 60%),linear-gradient(160deg,color-mix(in srgb,var(--ic-a) 10%,#0b1428) 0%,#0a1225 55%,#080e1d 100%)!important;box-shadow:inset 0 1px 0 #ffffff12,0 0 0 1px color-mix(in srgb,var(--ic-a) 20%,transparent),0 28px 44px -24px color-mix(in srgb,var(--ic-a) 90%,transparent)!important}
html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric::before,html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric:first-child::before,html body #app#app #main #content :is(.official-admin,.official-selftestadmin) .stats>.stat::before,html body #app#app #main #content :is(.official-admin,.official-selftestadmin) .stats>.stat:first-child::before{content:""!important;display:block!important;position:absolute!important;inset:0!important;z-index:0!important;pointer-events:none;opacity:1!important;background:repeating-linear-gradient(135deg,color-mix(in srgb,var(--ic-a) 9%,transparent) 0 1px,transparent 1px 7px)!important;-webkit-mask-image:radial-gradient(85% 95% at 100% 0%,#000 0%,transparent 70%);mask-image:radial-gradient(85% 95% at 100% 0%,#000 0%,transparent 70%)}
html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric>*,html body #app#app #main #content :is(.official-admin,.official-selftestadmin) .stats>.stat>*{position:relative;z-index:1}
html.automed-clean-workspace[data-theme="light"] body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric,html.automed-clean-workspace[data-theme="light"] body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric:first-child,html.automed-clean-workspace[data-theme="light"] body #app#app #main #content :is(.official-admin,.official-selftestadmin) .stats>.stat,html.automed-clean-workspace[data-theme="light"] body #app#app #main #content :is(.official-admin,.official-selftestadmin) .stats>.stat:first-child,html.automed-clean-workspace[data-theme="light"] body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric:hover,html.automed-clean-workspace[data-theme="light"] body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric:first-child:hover,html.automed-clean-workspace[data-theme="light"] body #app#app #main #content :is(.official-admin,.official-selftestadmin) .stats>.stat:hover,html.automed-clean-workspace[data-theme="light"] body #app#app #main #content :is(.official-admin,.official-selftestadmin) .stats>.stat:first-child:hover{--k-line:color-mix(in srgb,var(--ic-a) 45%,#dde3ec);background:radial-gradient(110% 95% at 0% 0%,color-mix(in srgb,var(--ic-a) 12%,transparent) 0%,transparent 60%),linear-gradient(160deg,color-mix(in srgb,var(--ic-a) 5%,#fff) 0%,#ffffff 100%)!important;box-shadow:inset 0 1px 0 #fff,0 0 0 1px color-mix(in srgb,var(--ic-a) 8%,transparent),0 20px 34px -24px color-mix(in srgb,var(--ic-a) 45%,transparent)!important}
html.automed-clean-workspace[data-theme="light"] body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric::before,html.automed-clean-workspace[data-theme="light"] body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric:first-child::before,html.automed-clean-workspace[data-theme="light"] body #app#app #main #content :is(.official-admin,.official-selftestadmin) .stats>.stat::before,html.automed-clean-workspace[data-theme="light"] body #app#app #main #content :is(.official-admin,.official-selftestadmin) .stats>.stat:first-child::before{background:repeating-linear-gradient(135deg,color-mix(in srgb,var(--ic-a) 8%,transparent) 0 1px,transparent 1px 7px)!important}
/* KPI cards matched to the reference close-up: bluer background, wide stripes top-right, bright bottom edge and halo. */
html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric,html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric:first-child,html body #app#app #main #content :is(.official-admin,.official-selftestadmin) .stats>.stat,html body #app#app #main #content :is(.official-admin,.official-selftestadmin) .stats>.stat:first-child{--k-line:color-mix(in srgb,var(--ic-a) 72%,#1a2234);background:radial-gradient(85% 55% at 28% 112%,color-mix(in srgb,var(--ic-a) 34%,transparent) 0%,transparent 72%),linear-gradient(165deg,color-mix(in srgb,var(--ic-a) 13%,#091226) 0%,color-mix(in srgb,var(--ic-a) 21%,#0a1430) 100%)!important;box-shadow:inset 0 1px 0 #ffffff12,inset 0 -1px 0 color-mix(in srgb,var(--ic-a) 70%,transparent),0 0 0 1px color-mix(in srgb,var(--ic-a) 14%,transparent),0 0 22px -8px color-mix(in srgb,var(--ic-a) 45%,transparent),0 18px 30px -20px color-mix(in srgb,var(--ic-a) 85%,transparent)!important}
html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric:hover,html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric:first-child:hover,html body #app#app #main #content :is(.official-admin,.official-selftestadmin) .stats>.stat:hover,html body #app#app #main #content :is(.official-admin,.official-selftestadmin) .stats>.stat:first-child:hover{--k-line:color-mix(in srgb,var(--ic-a) 88%,#1a2234);background:radial-gradient(85% 55% at 28% 112%,color-mix(in srgb,var(--ic-a) 34%,transparent) 0%,transparent 72%),linear-gradient(165deg,color-mix(in srgb,var(--ic-a) 13%,#091226) 0%,color-mix(in srgb,var(--ic-a) 21%,#0a1430) 100%)!important;box-shadow:inset 0 1px 0 #ffffff14,inset 0 -1px 0 color-mix(in srgb,var(--ic-a) 85%,transparent),0 0 0 1px color-mix(in srgb,var(--ic-a) 22%,transparent),0 0 26px -8px color-mix(in srgb,var(--ic-a) 55%,transparent),0 20px 34px -18px color-mix(in srgb,var(--ic-a) 95%,transparent)!important}
html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric::before,html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric:first-child::before,html body #app#app #main #content :is(.official-admin,.official-selftestadmin) .stats>.stat::before,html body #app#app #main #content :is(.official-admin,.official-selftestadmin) .stats>.stat:first-child::before{background:repeating-linear-gradient(135deg,color-mix(in srgb,var(--ic-a) 16%,transparent) 0 1px,transparent 1px 7px)!important;-webkit-mask-image:radial-gradient(120% 120% at 100% 0%,#000 0%,#0009 45%,transparent 72%)!important;mask-image:radial-gradient(120% 120% at 100% 0%,#000 0%,#0009 45%,transparent 72%)!important}
html.automed-clean-workspace[data-theme="light"] body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric,html.automed-clean-workspace[data-theme="light"] body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric:first-child,html.automed-clean-workspace[data-theme="light"] body #app#app #main #content :is(.official-admin,.official-selftestadmin) .stats>.stat,html.automed-clean-workspace[data-theme="light"] body #app#app #main #content :is(.official-admin,.official-selftestadmin) .stats>.stat:first-child,html.automed-clean-workspace[data-theme="light"] body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric:hover,html.automed-clean-workspace[data-theme="light"] body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric:first-child:hover,html.automed-clean-workspace[data-theme="light"] body #app#app #main #content :is(.official-admin,.official-selftestadmin) .stats>.stat:hover,html.automed-clean-workspace[data-theme="light"] body #app#app #main #content :is(.official-admin,.official-selftestadmin) .stats>.stat:first-child:hover{--k-line:color-mix(in srgb,var(--ic-a) 55%,#dde3ec);background:radial-gradient(85% 55% at 28% 112%,color-mix(in srgb,var(--ic-a) 16%,transparent) 0%,transparent 72%),linear-gradient(165deg,color-mix(in srgb,var(--ic-a) 4%,#fff) 0%,color-mix(in srgb,var(--ic-a) 9%,#fff) 100%)!important;box-shadow:inset 0 -1px 0 color-mix(in srgb,var(--ic-a) 45%,transparent),0 0 0 1px color-mix(in srgb,var(--ic-a) 10%,transparent),0 0 18px -8px color-mix(in srgb,var(--ic-a) 30%,transparent),0 16px 26px -20px color-mix(in srgb,var(--ic-a) 55%,transparent)!important}
html.automed-clean-workspace[data-theme="light"] body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric::before,html.automed-clean-workspace[data-theme="light"] body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric:first-child::before,html.automed-clean-workspace[data-theme="light"] body #app#app #main #content :is(.official-admin,.official-selftestadmin) .stats>.stat::before,html.automed-clean-workspace[data-theme="light"] body #app#app #main #content :is(.official-admin,.official-selftestadmin) .stats>.stat:first-child::before{background:repeating-linear-gradient(135deg,color-mix(in srgb,var(--ic-a) 10%,transparent) 0 1px,transparent 1px 7px)!important}
html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric .dashboard-number,html body #app#app #main #content :is(.official-admin,.official-selftestadmin) .stats>.stat strong{background:linear-gradient(180deg,#ffffff 0%,#f3f6ff 38%,#a7b6ec 100%)!important;-webkit-background-clip:text!important;background-clip:text!important;-webkit-text-fill-color:transparent!important;-webkit-text-stroke:0!important;font-weight:700!important;font-synthesis:weight!important}
html.automed-clean-workspace[data-theme="light"] body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric .dashboard-number,html.automed-clean-workspace[data-theme="light"] body #app#app #main #content :is(.official-admin,.official-selftestadmin) .stats>.stat strong{background:linear-gradient(180deg,#0b1224 0%,#16213a 45%,#3d4f7a 100%)!important;-webkit-background-clip:text!important;background-clip:text!important;-webkit-text-fill-color:transparent!important;-webkit-text-stroke:0!important}
html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric .summary-metric-comparison,html body #app#app #main #content :is(.official-admin,.official-selftestadmin) .stats>.stat p{font-size:12px!important;color:#98a3b9!important}
html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric .summary-metric-comparison b,html body #app#app #main #content :is(.official-admin,.official-selftestadmin) .stats>.stat p b,html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric .summary-metric-comparison .metric-trend,html body #app#app #main #content :is(.official-admin,.official-selftestadmin) .stats>.stat p .metric-trend{font-weight:700!important}
/* KPI cards: reference background measured from the image — navy top-left fading to near-black bottom-right; border in the card colour; glow under the card. */
html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric,html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric:first-child,html body #app#app #main #content :is(.official-admin,.official-selftestadmin) .stats>.stat,html body #app#app #main #content :is(.official-admin,.official-selftestadmin) .stats>.stat:first-child{--k-line:color-mix(in srgb,var(--ic-a) 48%,#050914);background:radial-gradient(125% 105% at 0% 0%,color-mix(in srgb,var(--ic-a) 25%,#050914) 0%,color-mix(in srgb,var(--ic-a) 15%,#050914) 32%,color-mix(in srgb,var(--ic-a) 5%,#050914) 58%,#050914 80%)!important;box-shadow:inset 0 1px 0 #ffffff0d,0 16px 26px -14px color-mix(in srgb,var(--ic-a) 55%,transparent)!important}
html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric:hover,html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric:first-child:hover,html body #app#app #main #content :is(.official-admin,.official-selftestadmin) .stats>.stat:hover,html body #app#app #main #content :is(.official-admin,.official-selftestadmin) .stats>.stat:first-child:hover{--k-line:color-mix(in srgb,var(--ic-a) 65%,#050914);background:radial-gradient(125% 105% at 0% 0%,color-mix(in srgb,var(--ic-a) 30%,#050914) 0%,color-mix(in srgb,var(--ic-a) 18%,#050914) 34%,color-mix(in srgb,var(--ic-a) 6%,#050914) 60%,#050914 82%)!important;box-shadow:inset 0 1px 0 #ffffff10,0 0 0 1px color-mix(in srgb,var(--ic-a) 12%,transparent),0 18px 30px -14px color-mix(in srgb,var(--ic-a) 70%,transparent)!important}
html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric::before,html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric:first-child::before,html body #app#app #main #content :is(.official-admin,.official-selftestadmin) .stats>.stat::before,html body #app#app #main #content :is(.official-admin,.official-selftestadmin) .stats>.stat:first-child::before{background:repeating-linear-gradient(135deg,color-mix(in srgb,var(--ic-a) 10%,transparent) 0 1px,transparent 1px 7px)!important;-webkit-mask-image:radial-gradient(90% 100% at 100% 0%,#000 0%,transparent 70%)!important;mask-image:radial-gradient(90% 100% at 100% 0%,#000 0%,transparent 70%)!important}
html.automed-clean-workspace[data-theme="light"] body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric,html.automed-clean-workspace[data-theme="light"] body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric:first-child,html.automed-clean-workspace[data-theme="light"] body #app#app #main #content :is(.official-admin,.official-selftestadmin) .stats>.stat,html.automed-clean-workspace[data-theme="light"] body #app#app #main #content :is(.official-admin,.official-selftestadmin) .stats>.stat:first-child,html.automed-clean-workspace[data-theme="light"] body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric:hover,html.automed-clean-workspace[data-theme="light"] body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric:first-child:hover,html.automed-clean-workspace[data-theme="light"] body #app#app #main #content :is(.official-admin,.official-selftestadmin) .stats>.stat:hover,html.automed-clean-workspace[data-theme="light"] body #app#app #main #content :is(.official-admin,.official-selftestadmin) .stats>.stat:first-child:hover{--k-line:color-mix(in srgb,var(--ic-a) 45%,#dde3ec);background:radial-gradient(125% 105% at 0% 0%,color-mix(in srgb,var(--ic-a) 14%,#fff) 0%,color-mix(in srgb,var(--ic-a) 6%,#fff) 40%,#fff 80%)!important;box-shadow:0 1px 2px #0f172a0f,0 14px 24px -16px color-mix(in srgb,var(--ic-a) 40%,transparent)!important}
html.automed-clean-workspace[data-theme="light"] body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric::before,html.automed-clean-workspace[data-theme="light"] body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric:first-child::before,html.automed-clean-workspace[data-theme="light"] body #app#app #main #content :is(.official-admin,.official-selftestadmin) .stats>.stat::before,html.automed-clean-workspace[data-theme="light"] body #app#app #main #content :is(.official-admin,.official-selftestadmin) .stats>.stat:first-child::before{background:repeating-linear-gradient(135deg,color-mix(in srgb,var(--ic-a) 9%,transparent) 0 1px,transparent 1px 7px)!important}
/* KPI cards: no glow outside the card. Hint line like the reference: "Hoje: <b>valor</b> ▲ 54% 7d". */
html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric,html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric:first-child,html body #app#app #main #content :is(.official-admin,.official-selftestadmin) .stats>.stat,html body #app#app #main #content :is(.official-admin,.official-selftestadmin) .stats>.stat:first-child,html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric:hover,html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric:first-child:hover,html body #app#app #main #content :is(.official-admin,.official-selftestadmin) .stats>.stat:hover,html body #app#app #main #content :is(.official-admin,.official-selftestadmin) .stats>.stat:first-child:hover{box-shadow:inset 0 1px 0 #ffffff0d!important}
html.automed-clean-workspace[data-theme="light"] body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric,html.automed-clean-workspace[data-theme="light"] body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric:first-child,html.automed-clean-workspace[data-theme="light"] body #app#app #main #content :is(.official-admin,.official-selftestadmin) .stats>.stat,html.automed-clean-workspace[data-theme="light"] body #app#app #main #content :is(.official-admin,.official-selftestadmin) .stats>.stat:first-child,html.automed-clean-workspace[data-theme="light"] body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric:hover,html.automed-clean-workspace[data-theme="light"] body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric:first-child:hover,html.automed-clean-workspace[data-theme="light"] body #app#app #main #content :is(.official-admin,.official-selftestadmin) .stats>.stat:hover,html.automed-clean-workspace[data-theme="light"] body #app#app #main #content :is(.official-admin,.official-selftestadmin) .stats>.stat:first-child:hover{box-shadow:none!important}
html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric .summary-metric-comparison .metric-period{color:#98a3b9!important;font-weight:500!important}
html.automed-clean-workspace[data-theme="light"] body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric .summary-metric-comparison .metric-period{color:#64748b!important}
/* KPI cards: background stops measured from the reference card (blue top-left, smooth falloff to #050914). */
html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric,html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric:first-child,html body #app#app #main #content :is(.official-admin,.official-selftestadmin) .stats>.stat,html body #app#app #main #content :is(.official-admin,.official-selftestadmin) .stats>.stat:first-child{background:radial-gradient(100% 100% at 0% 0%,color-mix(in srgb,var(--ic-a) 26%,#050914) 0%,color-mix(in srgb,var(--ic-a) 22%,#050914) 34%,color-mix(in srgb,var(--ic-a) 18%,#050914) 47%,color-mix(in srgb,var(--ic-a) 15%,#050914) 60%,color-mix(in srgb,var(--ic-a) 4%,#050914) 77%,#050914 88%)!important}
html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric:hover,html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric:first-child:hover,html body #app#app #main #content :is(.official-admin,.official-selftestadmin) .stats>.stat:hover,html body #app#app #main #content :is(.official-admin,.official-selftestadmin) .stats>.stat:first-child:hover{background:radial-gradient(100% 100% at 0% 0%,color-mix(in srgb,var(--ic-a) 30%,#050914) 0%,color-mix(in srgb,var(--ic-a) 26%,#050914) 34%,color-mix(in srgb,var(--ic-a) 22%,#050914) 47%,color-mix(in srgb,var(--ic-a) 19%,#050914) 60%,color-mix(in srgb,var(--ic-a) 8%,#050914) 77%,#050914 88%)!important}
/* KPI hint: only the up/down percentage stays visible. */
html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric .summary-metric-comparison{font-size:0!important}
html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric .summary-metric-comparison:not(:has(.metric-trend)){display:none!important}
html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric .summary-metric-comparison .metric-trend{font-size:12px!important}
html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric .summary-metric-comparison .metric-period{display:none!important}
/* KPI: percentage sits to the right of the value; card height follows its content. */
html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric,html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric:first-child{min-height:0!important;padding-bottom:18px!important}
html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric .summary-metric-value{display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;align-items:center!important;column-gap:10px!important;row-gap:2px!important}
html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric .summary-metric-value .dashboard-number{display:inline-block!important}
html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric .summary-metric-comparison{margin:0!important;flex:0 0 auto}
/* KPI: percentage centred on the middle of the digits (Bebas Neue digits sit low in their line box). */
html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric .summary-metric-comparison{position:relative!important;top:calc(min(36px,15cqi) * .11)!important}
/* Dashboard: "Atividade geral" and "Ações rápidas" cards matched to the KPI cards above. */
html body #app#app #main #content .official-overview .official-activity,html body #app#app #main #content .official-overview .official-quick-actions{--ic-a:#3b82f6;--ic-b:#1d4ed8;position:relative!important;isolation:isolate;overflow:hidden!important;border:1px solid color-mix(in srgb,var(--ic-a) 48%,#050914)!important;border-radius:14px!important;box-shadow:inset 0 1px 0 #ffffff0d!important}
html body #app#app #main #content .official-overview .official-activity{background:radial-gradient(70% 120% at 0% 0%,color-mix(in srgb,var(--ic-a) 24%,#050914) 0%,color-mix(in srgb,var(--ic-a) 17%,#050914) 30%,color-mix(in srgb,var(--ic-a) 9%,#050914) 55%,#050914 80%)!important}
html body #app#app #main #content .official-overview .official-quick-actions{background:radial-gradient(100% 100% at 0% 0%,color-mix(in srgb,var(--ic-a) 26%,#050914) 0%,color-mix(in srgb,var(--ic-a) 22%,#050914) 34%,color-mix(in srgb,var(--ic-a) 18%,#050914) 47%,color-mix(in srgb,var(--ic-a) 15%,#050914) 60%,color-mix(in srgb,var(--ic-a) 4%,#050914) 77%,#050914 88%)!important}
html body #app#app #main #content .official-overview .official-activity::before,html body #app#app #main #content .official-overview .official-quick-actions::before{content:""!important;display:block!important;position:absolute!important;inset:0!important;z-index:0!important;pointer-events:none;background:repeating-linear-gradient(135deg,color-mix(in srgb,var(--ic-a) 10%,transparent) 0 1px,transparent 1px 7px)!important;-webkit-mask-image:radial-gradient(60% 90% at 100% 0%,#000 0%,transparent 70%);mask-image:radial-gradient(60% 90% at 100% 0%,#000 0%,transparent 70%)}
html body #app#app #main #content .official-overview .official-activity>*,html body #app#app #main #content .official-overview .official-quick-actions>*{position:relative;z-index:1}
html body #app#app #main #content .official-overview .official-activity h3,html body #app#app #main #content .official-overview .official-quick-actions h3{display:flex!important;align-items:center!important;gap:10px!important;font:600 15px/1.3 Geist,sans-serif!important;color:#e3eaf8!important;letter-spacing:0!important}
html body #app#app #main #content .official-overview .official-activity h3 .ff-card-icon{display:grid!important;place-items:center!important;width:32px!important;height:32px!important;border-radius:9px!important;border:1px solid #60a5fa80!important;background:linear-gradient(180deg,#3b82f6,#1d4ed8)!important;color:#fff!important;box-shadow:inset 0 1px 0 #ffffff59,0 6px 16px -6px #3b82f6cc!important}
html body #app#app #main #content .official-overview .official-activity h3 .ff-card-icon svg{width:16px!important;height:16px!important;color:#fff!important;fill:#fff!important}
html body #app#app #main #content .official-overview .official-activity .chart-readout{display:flex!important;align-items:center!important;gap:10px!important}
html body #app#app #main #content .official-overview .official-activity .chart-readout strong{font-family:'Bebas Neue',sans-serif!important;font-weight:700!important;font-size:30px!important;letter-spacing:.01em!important;background:linear-gradient(180deg,#fff 0%,#f3f6ff 38%,#a7b6ec 100%)!important;-webkit-background-clip:text!important;background-clip:text!important;-webkit-text-fill-color:transparent!important}
html body #app#app #main #content .official-overview .official-activity .chart-readout span{color:#8a94a8!important;font:500 12px Geist,sans-serif!important;background:none!important;border:0!important;padding:0!important}
html body #app#app #main #content .official-overview .official-activity .chart-axis-y span,html body #app#app #main #content .official-overview .official-activity .chart-axis-x span{color:#5f6b84!important}
html body #app#app #main #content .official-overview .official-quick-actions .dashboard-quick-link{--ic-a:#3b82f6;--ic-b:#1d4ed8;display:flex!important;align-items:center!important;gap:12px!important;width:100%!important;padding:12px!important;margin:0 0 8px!important;border-radius:12px!important;border:0!important;outline:0;background:#060b17b3!important;box-shadow:none!important;text-align:left!important;transition:background .16s}
html body #app#app #main #content .official-overview .official-quick-actions .dashboard-quick-link:nth-of-type(2){--ic-a:#22c55e;--ic-b:#15803d}
html body #app#app #main #content .official-overview .official-quick-actions .dashboard-quick-link:nth-of-type(3){--ic-a:#a855f7;--ic-b:#7e22ce}
html body #app#app #main #content .official-overview .official-quick-actions .dashboard-quick-link:hover{background:color-mix(in srgb,var(--ic-a) 10%,#060b17)!important}
html body #app#app #main #content .official-overview .official-quick-actions .dashboard-quick-link:focus-visible{outline:2px solid #3cc4ff;outline-offset:2px}
html body #app#app #main #content .official-overview .official-quick-actions .dashboard-quick-link .ff-card-icon{display:grid!important;place-items:center!important;flex:0 0 32px!important;width:32px!important;height:32px!important;border-radius:9px!important;border:1px solid color-mix(in srgb,var(--ic-a) 55%,transparent)!important;background:linear-gradient(180deg,var(--ic-a),var(--ic-b))!important;color:#fff!important;box-shadow:inset 0 1px 0 #ffffff59,0 6px 14px -6px color-mix(in srgb,var(--ic-a) 80%,transparent)!important}
html body #app#app #main #content .official-overview .official-quick-actions .dashboard-quick-link .ff-card-icon svg{width:16px!important;height:16px!important;fill:#fff!important;color:#fff!important}
html body #app#app #main #content .official-overview .official-quick-actions .dashboard-quick-link strong{display:block!important;font:600 14px/1.25 Geist,sans-serif!important;color:#e3eaf8!important}
html body #app#app #main #content .official-overview .official-quick-actions .dashboard-quick-link small{display:block!important;margin-top:2px!important;font:500 12px/1.3 Geist,sans-serif!important;color:#8a94a8!important}
html body #app#app #main #content .official-overview .official-quick-actions .dashboard-quick-arrow{margin-left:auto!important;color:#5f6b84!important;font-size:18px!important}
html[data-theme="light"] html body #app#app #main #content .official-overview .official-activity,html[data-theme="light"] html body #app#app #main #content .official-overview .official-quick-actions{border-color:color-mix(in srgb,var(--ic-a) 40%,#dde3ec)!important;box-shadow:0 1px 2px #0f172a0f!important}
html[data-theme="light"] html body #app#app #main #content .official-overview .official-activity{background:radial-gradient(70% 120% at 0% 0%,color-mix(in srgb,var(--ic-a) 12%,#fff) 0%,color-mix(in srgb,var(--ic-a) 5%,#fff) 45%,#fff 80%)!important}
html[data-theme="light"] html body #app#app #main #content .official-overview .official-quick-actions{background:radial-gradient(100% 100% at 0% 0%,color-mix(in srgb,var(--ic-a) 14%,#fff) 0%,color-mix(in srgb,var(--ic-a) 6%,#fff) 40%,#fff 80%)!important}
html[data-theme="light"] html body #app#app #main #content .official-overview .official-activity h3,html[data-theme="light"] html body #app#app #main #content .official-overview .official-quick-actions h3,html[data-theme="light"] html body #app#app #main #content .official-overview .official-quick-actions .dashboard-quick-link strong{color:#0f172a!important}
html[data-theme="light"] html body #app#app #main #content .official-overview .official-activity .chart-readout strong{background:linear-gradient(180deg,#0b1224,#16213a 45%,#3d4f7a)!important;-webkit-background-clip:text!important;background-clip:text!important}
html[data-theme="light"] html body #app#app #main #content .official-overview .official-quick-actions .dashboard-quick-link{background:#f3f6fbcc!important}
html[data-theme="light"] html body #app#app #main #content .official-overview .official-quick-actions .dashboard-quick-link:hover{background:color-mix(in srgb,var(--ic-a) 8%,#fff)!important}
html[data-theme="light"] html body #app#app #main #content .official-overview .official-quick-actions .dashboard-quick-link small{color:#64748b!important}
/* Ações rápidas: no visible box around each option (transparent until hover). */
html body #app#app #main #content .official-overview .official-quick-actions .dashboard-quick-link{background:transparent!important;padding:10px 8px!important;margin:0 0 4px!important}
html body #app#app #main #content .official-overview .official-quick-actions .dashboard-quick-link:hover{background:color-mix(in srgb,var(--ic-a) 10%,transparent)!important}
html[data-theme="light"] html body #app#app #main #content .official-overview .official-quick-actions .dashboard-quick-link{background:transparent!important}
html[data-theme="light"] html body #app#app #main #content .official-overview .official-quick-actions .dashboard-quick-link:hover{background:color-mix(in srgb,var(--ic-a) 8%,transparent)!important}
/* KPI icon chips keep their square shape on phones (old rule set flex-basis:27px in the column layout). */
html body #app#app #main #content :is(.official-overview,.bank-overview) .dashboard-metric.summary-metric > .ff-card-icon,html body #app#app #main #content :is(.official-admin,.official-selftestadmin) .stats>.stat .ff-card-icon{flex:0 0 auto!important}
/* Atividade geral + Ações rápidas: plain black background (no gradient/stripes); quick-action icons without the coloured chip. */
html body #app#app #main #content .official-overview .official-activity,html body #app#app #main #content .official-overview .official-quick-actions{background:#050914!important}
html body #app#app #main #content .official-overview .official-activity::before,html body #app#app #main #content .official-overview .official-quick-actions::before{content:none!important;display:none!important}
html[data-theme="light"] html body #app#app #main #content .official-overview .official-activity,html[data-theme="light"] html body #app#app #main #content .official-overview .official-quick-actions{background:#fff!important}
html body #app#app #main #content .official-overview .official-quick-actions .dashboard-quick-link .ff-card-icon{background:none!important;border:0!important;box-shadow:none!important;color:var(--ic-a)!important}
html body #app#app #main #content .official-overview .official-quick-actions .dashboard-quick-link .ff-card-icon svg{width:20px!important;height:20px!important;fill:currentColor!important;color:var(--ic-a)!important}
/* Atividade geral + Ações rápidas: neutral border instead of the blue one. */
html body #app#app #main #content .official-overview .official-activity,html body #app#app #main #content .official-overview .official-quick-actions{border-color:#1a2234!important}
html[data-theme="light"] html body #app#app #main #content .official-overview .official-activity,html[data-theme="light"] html body #app#app #main #content .official-overview .official-quick-actions{border-color:#dde3ec!important}
/* Config Banco: blocks below the KPI cards match the dashboard (black surface, neutral border, blue icon chip). */
html body #app#app #main #content .bank-settings-page .settings-surface{position:relative!important;background:#050914!important;background-image:none!important;border:1px solid #1a2234!important;border-radius:14px!important;box-shadow:inset 0 1px 0 #ffffff0d!important}
html body #app#app #main #content .bank-settings-page .settings-surface::before,html body #app#app #main #content .bank-settings-page .settings-surface::after{content:none!important;display:none!important}
html body #app#app #main #content .bank-settings-page .settings-surface .settings-section-head{display:flex!important;align-items:center!important;gap:12px!important}
html body #app#app #main #content .bank-settings-page .settings-surface .settings-section-head>.ff-card-icon{position:relative!important;display:grid!important;place-items:center!important;flex:0 0 32px!important;width:32px!important;height:32px!important;border-radius:9px!important;border:1px solid #60a5fa80!important;background:linear-gradient(180deg,#3b82f6,#1d4ed8)!important;color:#fff!important;box-shadow:inset 0 1px 0 #ffffff59,0 6px 16px -6px #3b82f6cc!important}
html body #app#app #main #content .bank-settings-page .settings-surface .settings-section-head>.ff-card-icon svg{width:16px!important;height:16px!important;fill:#fff!important;color:#fff!important}
/* "Avisos recentes" and "App FF Automed" use a notification bell. */
html body #app#app #main #content .bank-settings-page .settings-surface .settings-section-head>.ff-card-icon:is(.ff-tone-list,.ff-tone-account) svg{display:none!important}
html body #app#app #main #content .bank-settings-page .settings-surface .settings-section-head>.ff-card-icon:is(.ff-tone-list,.ff-tone-account)::after{content:""!important;width:17px;height:17px;background:#fff;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5a6.5 6.5 0 0 0-6.5 6.5v3.6c0 .9-.3 1.8-.9 2.5l-1.2 1.4c-.6.7-.1 1.8.8 1.8h15.6c.9 0 1.4-1.1.8-1.8l-1.2-1.4a3.9 3.9 0 0 1-.9-2.5V9A6.5 6.5 0 0 0 12 2.5Z'/%3E%3Cpath d='M9.2 20a3 3 0 0 0 5.6 0Z'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5a6.5 6.5 0 0 0-6.5 6.5v3.6c0 .9-.3 1.8-.9 2.5l-1.2 1.4c-.6.7-.1 1.8.8 1.8h15.6c.9 0 1.4-1.1.8-1.8l-1.2-1.4a3.9 3.9 0 0 1-.9-2.5V9A6.5 6.5 0 0 0 12 2.5Z'/%3E%3Cpath d='M9.2 20a3 3 0 0 0 5.6 0Z'/%3E%3C/svg%3E") center/contain no-repeat}
html body #app#app #main #content .bank-settings-page .settings-surface .settings-section-head :is(h2,h3),html body #app#app #main #content .bank-settings-page .settings-surface .bank-connection-heading :is(h2,h3,strong){font:600 15px/1.3 Geist,sans-serif!important;color:#e3eaf8!important;letter-spacing:0!important}
html body #app#app #main #content .bank-settings-page .settings-surface .settings-section-head p,html body #app#app #main #content .bank-settings-page .settings-surface .muted{color:#8a94a8!important}
html body #app#app #main #content .bank-settings-page .bank-source-option{display:flex!important;align-items:center!important;gap:12px!important;padding:12px!important;border-radius:12px!important;border:1px solid #1a2234!important;background:transparent!important;box-shadow:none!important;text-align:left!important}
html body #app#app #main #content .bank-settings-page .bank-source-option[aria-pressed="true"]{border-color:color-mix(in srgb,#3b82f6 55%,#1a2234)!important;background:color-mix(in srgb,#3b82f6 9%,transparent)!important}
html body #app#app #main #content .bank-settings-page .bank-source-option .ff-card-icon{background:none!important;border:0!important;box-shadow:none!important;color:#3b82f6!important;width:22px!important;height:22px!important}
html body #app#app #main #content .bank-settings-page .bank-source-option:nth-child(2) .ff-card-icon{color:#a855f7!important}
html body #app#app #main #content .bank-settings-page .bank-source-option .ff-card-icon svg{width:20px!important;height:20px!important;fill:currentColor!important}
html body #app#app #main #content .bank-settings-page .bank-source-option strong{font:600 14px/1.25 Geist,sans-serif!important;color:#e3eaf8!important}
html body #app#app #main #content .bank-settings-page .bank-source-option small{font:500 12px/1.3 Geist,sans-serif!important;color:#8a94a8!important}
html body #app#app #main #content .bank-settings-page .bank-filter{border-radius:999px!important;border:0!important;background:#0e1626!important;color:#a4b4cf!important;font:600 12.5px Geist,sans-serif!important;box-shadow:none!important}
html body #app#app #main #content .bank-settings-page .bank-filter[aria-pressed="true"]{background:#315ce5!important;color:#fff!important}
html[data-theme="light"] html body #app#app #main #content .bank-settings-page .settings-surface{background:#fff!important;border-color:#dde3ec!important;box-shadow:0 1px 2px #0f172a0f!important}
html[data-theme="light"] html body #app#app #main #content .bank-settings-page .settings-surface .settings-section-head :is(h2,h3),html[data-theme="light"] html body #app#app #main #content .bank-settings-page .bank-source-option strong{color:#0f172a!important}
html[data-theme="light"] html body #app#app #main #content .bank-settings-page .bank-source-option{border-color:#dde3ec!important}
html[data-theme="light"] html body #app#app #main #content .bank-settings-page .bank-filter{background:#eef2f8!important;color:#475569!important}
html[data-theme="light"] html body #app#app #main #content .bank-settings-page .bank-filter[aria-pressed="true"]{background:#2754d6!important;color:#fff!important}

/* Dashboard: 4th card "Tempo mediando" (2026-11-21) */
html body #app #main #content .official-overview .dashboard-metrics.has-four-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:1180px){html body #app #main #content .official-overview .dashboard-metrics.has-four-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){html body #app #main #content .official-overview .dashboard-metrics.has-four-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}}
html body #app #main #content .official-overview .mediation-metric .dashboard-number{white-space:nowrap}
/* Dashboard mobile 2x2: same card style as the Automed admin cards (2026-11-21) */
@media(max-width:700px){
html body #app#app #main #content .official-overview .dashboard-metrics.has-four-metrics{gap:14px}
html body #app#app #main #content .official-overview .dashboard-metrics.has-four-metrics > .dashboard-metric.summary-metric{min-height:150px;padding:20px!important}
html body #app#app #main #content .official-overview .dashboard-metrics.has-four-metrics > .dashboard-metric.summary-metric .ff-card-icon{width:36px!important;height:36px!important;border-radius:10px!important}
html body #app#app #main #content .official-overview .dashboard-metrics.has-four-metrics > .dashboard-metric.summary-metric .ff-card-icon svg{width:18px!important;height:18px!important}
html body #app#app #main #content .official-overview .dashboard-metrics.has-four-metrics > .dashboard-metric.summary-metric .dashboard-metric-label{margin:0 0 6px!important}
html body #app#app #main #content .official-overview .dashboard-metrics.has-four-metrics > .dashboard-metric.summary-metric .summary-metric-value{flex-wrap:wrap;row-gap:4px}
html body #app#app #main #content .official-overview .dashboard-metrics.has-four-metrics > .dashboard-metric.summary-metric .dashboard-number{font-size:32px!important;line-height:1.05!important;letter-spacing:.01em!important;white-space:nowrap}
html body #app#app #main #content .official-overview .dashboard-metrics.has-four-metrics.has-long-values > .dashboard-metric.summary-metric .dashboard-number{font-size:28px!important}
}
/* Config Banco: 4th card "Pagamentos confirmados" (2026-11-21) */
html body #app#app #main #content .bank-overview .bank-overview-metrics.has-four-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:1180px){html body #app#app #main #content .bank-overview .bank-overview-metrics.has-four-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){
html body #app#app #main #content .bank-overview .bank-overview-metrics.has-four-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
html body #app#app #main #content .bank-overview .bank-overview-metrics.has-four-metrics > .dashboard-metric.summary-metric{min-height:150px;padding:20px!important}
html body #app#app #main #content .bank-overview .bank-overview-metrics.has-four-metrics > .dashboard-metric.summary-metric .ff-card-icon{width:36px!important;height:36px!important;border-radius:10px!important}
html body #app#app #main #content .bank-overview .bank-overview-metrics.has-four-metrics > .dashboard-metric.summary-metric .ff-card-icon svg{width:18px!important;height:18px!important}
html body #app#app #main #content .bank-overview .bank-overview-metrics.has-four-metrics > .dashboard-metric.summary-metric .dashboard-metric-label{margin:0 0 6px!important}
html body #app#app #main #content .bank-overview .bank-overview-metrics.has-four-metrics > .dashboard-metric.summary-metric .summary-metric-value{flex-wrap:wrap;row-gap:4px}
html body #app#app #main #content .bank-overview .bank-overview-metrics.has-four-metrics > .dashboard-metric.summary-metric .dashboard-number{font-size:32px!important;line-height:1.05!important;letter-spacing:.01em!important;white-space:nowrap}
html body #app#app #main #content .bank-overview .bank-overview-metrics.has-four-metrics.has-long-values > .dashboard-metric.summary-metric .dashboard-number{font-size:28px!important}
html body #app#app #main #content .bank-overview .bank-overview-metrics.has-four-metrics > .dashboard-metric.summary-metric:nth-child(3) .dashboard-number{font-size:22px!important;white-space:normal!important;line-height:1.15!important}
}
