/* Automed workspace. Keep the public landing page outside the theme. */
body:has(#app:not([hidden])) {
  background:radial-gradient(ellipse 54% 49% at 100% 0%,#203ea5,transparent 85%),#080c1a!important;
}
:root[data-theme="light"] body:has(#app:not([hidden])) {
  background:radial-gradient(ellipse 48% 55% at 100% 0%,#87b5fa,#d4e6ff 41%,transparent),#fff!important;
}
body:has(#app:not([hidden])) {
  --workspace-ink:#edf2ff;
  --workspace-muted:#a4b4cf;
  --workspace-line:#263b60;
  --workspace-card:#0b1324;
  --workspace-panel:linear-gradient(160deg,#101e39,#090d19 85%);
  --workspace-cta:#315ce5;
  --workspace-depth:0 8px 24px #0003;
}
:root[data-theme="light"] body:has(#app:not([hidden])) {
  --workspace-ink:#163b51;
  --workspace-muted:#4f6981;
  --workspace-line:#c6dce9;
  --workspace-card:#fff;
  --workspace-panel:linear-gradient(145deg,#fff,#edf7fc);
  --workspace-cta:#183e53;
  --workspace-depth:0 3px 0 #a9cada65,0 8px 20px #24547d1a;
}
#app #sidebar {
  background:linear-gradient(155deg,#0d1932,#080d1a 78%)!important;
  color:var(--workspace-ink);
  border:0!important;border-radius:24px;
  box-shadow:0 10px 27px #0003!important;
}
:root[data-theme="light"] #app #sidebar {
  background:#fff!important;
  border:1px solid #9dbfe0!important;
  box-shadow:inset 0 -3px 0 #dcecff,2px 4px 0 #c5ddf4,5px 10px 20px #387bb329!important;
}
#app #sidebar .sidebar-head{border-bottom:1px solid var(--workspace-line);padding-bottom:14px}
#app #sidebar .brand-mark{background:none!important;box-shadow:none!important}
#app #sidebar .brand-mark img{object-fit:contain;width:100%;height:100%}
body.sidebar-expanded #app #sidebar .brand-mark{width:60px;height:68px;flex-basis:60px}
#app #sidebar :is(.brand-name,.brand-name b,nav button,.sidebar-account-copy strong){color:var(--workspace-ink)!important}
#app #sidebar nav button[aria-current]{background:var(--workspace-cta)!important;color:#fff!important}
#app #sidebar :is(.nav-label,.nav-group-caption){color:var(--workspace-muted)!important;align-items:center;gap:9px}
body.sidebar-expanded #app #sidebar :is(.nav-label,.nav-group-caption){display:flex}
#app #sidebar :is(.nav-label,.nav-group-caption)::after{content:'';flex:1;height:1px;background:var(--workspace-line)}
#app #main{color:var(--workspace-ink)}
#app #page-title{color:var(--workspace-ink)}
#app #main .official-theme-toggle{
  position:fixed;right:18px;top:14px;z-index:10;width:36px;height:36px;
  display:grid;place-items:center;font-size:20px;background:var(--workspace-card);color:var(--workspace-ink);
  border:1px solid var(--workspace-line);border-radius:12px;cursor:pointer;
}
#app #main .page-heading{padding-right:50px}
#app #main #content .official-page{color:var(--workspace-ink);min-width:0}
#app #main #content .official-page :is(.muted,.area-subtitle){color:var(--workspace-muted)}
#app #main #content .official-overview-intro{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;margin:0 0 16px}
#app #main #content .official-overview-intro p{margin:0}
#app #main #content .official-overview .dashboard-metrics,
#app #main #content .bank-summary .bank-metrics{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin:0}
#app #main #content :is(.official-overview,.bank-summary) .official-metric{
  display:flex!important;position:relative;flex-direction:column;align-items:flex-start;justify-content:center;
  background:linear-gradient(145deg,#14264b,#0b142b)!important;
  border:1px solid transparent!important;border-radius:19px;min-height:122px;
  min-width:0;padding:17px 19px!important;gap:7px;
  color:var(--workspace-ink)!important;box-shadow:var(--workspace-depth)!important;
}
#app #main #content .official-metric :is(strong,.caption,.official-metric-label,.official-metric-value,small,p){color:inherit!important}
#app #main #content .official-metric .ff-card-icon{position:absolute;right:14px;top:14px;width:25px;height:25px;background:transparent!important;border:0!important;color:inherit!important}
#app #main #content .official-metric :is(.official-metric-label,.caption){font-size:11px;font-weight:750;text-transform:uppercase;padding-right:21px}
#app #main #content .official-metric :is(.official-metric-value,strong){font-size:clamp(21px,2.4vw,32px);font-weight:800;line-height:1.1;overflow-wrap:anywhere}
#app #main #content .official-metric small{font-size:11px;opacity:.83}
:root[data-theme="light"] #app #main #content :is(.official-overview,.bank-summary) .official-metric{
  background:linear-gradient(142deg,#fff,#eff9fb 50%,#c7ebf6)!important;
  border:1px solid #9ed6ed!important;
}
:root[data-theme="light"] #app #main #content :is(.official-overview,.bank-summary) .official-metric:nth-child(2){
  background:linear-gradient(145deg,#3d82aa,#123e68 54%,#082344)!important;color:#fff!important;border-color:#77afd1!important;
}
#app #main #content .official-overview-grid{display:grid;grid-template-columns:minmax(0,2.15fr) minmax(215px,1fr);align-items:start;gap:14px;margin-top:19px}
#app #main #content :is(.official-activity,.official-quick-actions){
  background:var(--workspace-panel)!important;border:1px solid var(--workspace-line)!important;
  border-radius:20px;padding:18px;min-width:0;box-shadow:var(--workspace-depth)!important;color:var(--workspace-ink);
}
#app #main #content .official-activity .chart-plot-shell{height:clamp(170px,21vw,306px);background:transparent!important;border:0!important;box-shadow:none!important}
#app #main #content .official-activity :is(.dashboard-gridline,.chart-mode){display:none}
#app #main #content .official-activity .chart-line{stroke:#387fff}
#app #main #content .official-activity .dashboard-card-head{display:flex;flex-wrap:wrap;gap:12px;justify-content:space-between}
#app #main #content .official-quick-actions h3{margin:0 0 10px;color:inherit}
#app #main #content .official-quick-link{width:100%;display:grid;align-items:center;grid-template-columns:29px 1fr auto;text-align:left;gap:10px;padding:10px 7px;color:inherit;background:transparent!important;border:0!important;border-radius:10px;cursor:pointer}
#app #main #content .official-quick-link:hover{background:#7c9ddb24!important}
#app #main #content .official-quick-link :is(strong,small){display:block}
#app #main #content .official-quick-link small{margin-top:3px;font-size:11px;color:var(--workspace-muted)}
#app #main #content .official-quick-link .ff-card-icon{width:26px;height:26px}
#app #main #content .official-selftest-notifications .bank-summary{display:block!important;grid-column:1/-1;grid-row:1}
#app #main #content .official-selftest-notifications .bank-overview-bubble{background:transparent!important;border:0!important;padding:0!important;box-shadow:none!important}
#app #main #content .official-selftest-notifications .ff-bank-mascot-intro{display:none}
#app #main #content .official-selftest-notifications .bank-registration-card .bank-registration-display{min-height:0}
#app #main #content .official-selftest-notifications .bank-registration-card .bank-change-source{min-height:28px}
#app #main #content .official-page:is(.official-selftest-token,.official-selftest-servers,.official-selftest-rooms,.official-selftest-systems,.official-selftest-notifications,.official-selftest-wallet) :is(.panel,.automed-org-row,.automed-server-card,.bank-source-picker,.bank-receipt-history,.bank-connection-card,.ff-subscriptions-intro,.ff-plans-footer){
  background:var(--workspace-card)!important;color:var(--workspace-ink)!important;
  border:1px solid var(--workspace-line)!important;box-shadow:var(--workspace-depth)!important;
}
#app #main #content .official-page :is(.panel-title h2,.automed-accordion-summary h2,.bank-source-head h3,.bank-event strong,.bank-connection-heading h2){color:var(--workspace-ink)!important}
#app #main #content .official-page :is(.period-option,.bank-filter,.autopay-history-filter,.bank-source-option,.button){
  border-radius:999px;color:var(--workspace-ink);
}
#app #main #content .official-page :is(.period-option,.bank-filter,.autopay-history-filter,.bank-source-option,.button):not(.danger):not(.autopay-send-action){
  background:var(--workspace-card)!important;border:1px solid var(--workspace-line)!important;color:var(--workspace-ink)!important;
}
#app #main #content .official-page :is(.period-option,.bank-filter,.autopay-history-filter,.bank-source-option)[aria-pressed="true"],
#app #main #content .official-page .button.primary:not(.danger){
  background:var(--workspace-cta)!important;color:#fff!important;border-color:transparent!important;
}
#app #main #content .official-page :is(.period-option,.bank-filter,.autopay-history-filter,.bank-source-option,.button):focus-visible{outline:2px solid #4399db;outline-offset:3px}
#app #main #content .official-autopay .autopay-balances{margin:15px 0}
#app #main #content .official-autopay .autopay-send-action{
  background:linear-gradient(145deg,#16846b,#09634f)!important;color:#fff!important;border-color:#09634f!important;
}
#app #main #content .official-autopay .autopay-send-action :is(strong,small,.ff-card-icon){color:#fff!important}
:root[data-theme="light"] #app #main #content .official-autopay :is(.autopay-overview,.autopay-transactions){background:#fff!important;border-color:#dbe3e9!important;box-shadow:var(--workspace-depth)!important}
:root[data-theme="light"] #app #main #content .official-autopay .autopay-available-metric{--workspace-pix:12,149,118}
:root[data-theme="light"] #app #main #content .official-autopay .autopay-pending-metric{--workspace-pix:173,135,16}
:root[data-theme="light"] #app #main #content .official-autopay .autopay-moved-metric{--workspace-pix:45,85,210}
:root[data-theme="light"] #app #main #content .official-autopay .autopay-metric-card{
  background:radial-gradient(ellipse at 0 0,rgba(var(--workspace-pix),.14),transparent 58%),linear-gradient(160deg,#fff 50%,rgba(var(--workspace-pix),.15))!important;
  border:1px solid rgba(var(--workspace-pix),.78)!important;
  box-shadow:inset 0 -2px 0 rgba(var(--workspace-pix),.26),0 4px 0 rgba(var(--workspace-pix),.35),0 9px 20px rgba(var(--workspace-pix),.25)!important;
}
:root[data-theme="light"] #app #main #content .official-autopay .autopay-transactions-table :is(td,tr){background:#fff!important}
#app #main #content .official-page .ff-plan{border-radius:24px;color:#fff!important;background:linear-gradient(150deg,#3b89be,#1a4c85)!important}
#app #main #content .official-page .ff-plan:nth-child(2){background:linear-gradient(150deg,#204363,#08192f)!important}
#app #main #content .official-page .ff-plan:nth-child(3){background:linear-gradient(150deg,#4563fa,#203bac)!important}
#app #main #content .official-page .ff-plan :is(h3,p,span,strong,li){color:inherit!important}
#app #main #content .official-page .ff-plan .ff-plan-buy{margin-top:auto;background:#fff!important;color:#142c51!important;border-radius:999px}
@media(max-width:700px){
  #app #main #content .official-overview-grid,
  #app #main #content .official-overview .dashboard-metrics,
  #app #main #content .bank-summary .bank-metrics{grid-template-columns:minmax(0,1fr)}
  #app #main #content :is(.official-overview,.bank-summary) .official-metric{min-height:95px}
  #app #main #content .official-overview-intro{align-items:flex-start}
  #app #main #content .official-activity .period-picker{max-width:100%;flex-wrap:wrap}
}

#app #main .official-top{display:flex;justify-content:flex-end;align-items:center;gap:13px;min-height:52px;margin-bottom:10px}
#app #main .official-top .official-theme-toggle{position:static}
#app #main .official-duration{display:grid;gap:3px;font-size:11px;color:var(--workspace-muted)}
#app #main .official-duration[hidden]{display:none}
#app #main .official-duration strong{color:#35c79a;font-variant-numeric:tabular-nums}
:root[data-theme="light"] #app #main .official-duration strong{color:#087450}
#app #main .official-profile{position:relative;z-index:10}
#app #main .official-profile-summary{display:flex;align-items:center;gap:8px;color:var(--workspace-ink);cursor:pointer}
#app #main .official-profile-summary::after{content:'⌄'}
#app #main .official-profile-summary img{width:31px;height:31px;border-radius:50%}
#app #main .official-profile-menu{position:absolute;right:0;top:calc(100% + 6px);display:grid;gap:6px;width:170px;padding:8px;background:var(--workspace-card);border:1px solid var(--workspace-line);border-radius:14px;box-shadow:var(--workspace-depth)}
#app #main .official-profile:not([open]) .official-profile-menu{display:none}
#app #main .official-profile-menu button{background:transparent!important;color:var(--workspace-ink)!important;text-align:left}
#app #main .official-profile-menu button:hover{background:#7c9ddb28!important}
@media(min-width:1001px){
 #app #sidebar{top:12px;bottom:12px;left:12px;height:calc(100dvh - 24px)}
 body.sidebar-expanded #app #main{margin-left:252px}
}
@media(max-width:440px){
 #app #main .official-top{gap:7px}
 #app #main .official-profile-summary strong{max-width:100px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
}

#app #main #content .official-overview-intro h1{margin:0 0 5px;font-size:clamp(26px,3vw,36px);letter-spacing:-.045em;color:var(--workspace-ink)}
#app #main #content .official-overview-grid>.official-activity{grid-area:1/1;margin:0!important}
#app #main #content .official-overview-grid>.official-quick-actions{grid-area:1/2;margin:0!important}
#app #main #content .official-activity .dashboard-chart{border:0}
#app #main #content .official-quick-link{box-shadow:none!important}
#app #main #content .official-activity .period-option[aria-pressed="true"]{background:var(--workspace-cta)!important;color:#fff!important}
#app #main .official-mobile-brand{display:none}
#app #main .official-top #menu-toggle{position:static;inset:auto;transform:none}
@media(min-width:1001px){
 #app #main .official-top #menu-toggle{display:none}
}
@media(max-width:1000px){
 #app #main .official-top{justify-content:space-between;flex-wrap:wrap;background:var(--workspace-card);border:1px solid var(--workspace-line);border-radius:17px;padding:9px}
 #app #main .official-top #menu-toggle{display:grid;place-items:center}
 #app #main .official-mobile-brand{display:block;font-size:13px;font-weight:800;margin-right:auto}
}
@media(max-width:700px){
 #app #main #content .official-overview-grid>.official-quick-actions{grid-area:2/1}
 #app #main .official-top .official-duration{order:5;flex-basis:100%;display:flex;justify-content:space-between;padding-inline:4px}
 #app #main .official-top .official-duration[hidden]{display:none}
}

#app #main .official-top .official-theme-toggle{appearance:none;background:transparent!important;box-shadow:none!important;border:0!important;padding:0;color:var(--workspace-ink)!important}
#app #main .official-top .official-theme-toggle::before,#app #main .official-top .official-theme-toggle::after{content:none!important}
html body #app #main #content .official-activity .period-option[aria-pressed="true"]{background:var(--workspace-cta)!important;color:#fff!important}
html body #app #main #content .official-activity .dashboard-card-head h3{display:flex;align-items:center;gap:8px;color:var(--workspace-ink)!important}
#app #sidebar nav button[aria-current] :is(.nav-icon,.nav-glass-content){color:#fff!important}
#app #sidebar .brand-name{text-transform:none!important}
@media(min-width:1001px){
 html body #app #main .official-top #menu-toggle{display:none!important}
}
@media(max-width:700px){
 html body #app .mobile-dock{display:none!important}
 html body #app #main{padding-bottom:24px}
 #app #main #content .official-activity .period-option{white-space:nowrap;min-width:max-content}
}

/* Filled preview icons and compact controls in the authenticated workspace. */
#app{--nav-icon-cutout:#111e38}
:root[data-theme="light"] #app{--nav-icon-cutout:#fff}
#app #sidebar button[aria-current]{--nav-icon-cutout:var(--workspace-cta)}
#app .site-solid-icon,#dialog .site-solid-icon{fill:currentColor!important;stroke:none!important}
#app #sidebar .site-solid-icon{width:16px;height:16px;flex:none}
#app #sidebar nav button{min-height:36px;padding-block:6px}
#app #main #content .official-page .ff-card-icon{background:transparent!important;border:0!important;box-shadow:none!important;color:#507eff}
:root[data-theme="light"] #app #main #content .official-page .ff-card-icon{color:#24538c}
#app #main #content .workspace-token-heading{font-size:16px;margin:0 0 16px}
#app #main #content .workspace-token-card{padding:24px!important;border-radius:19px!important}
#app #main #content .workspace-token-header{display:flex;align-items:center;gap:12px}
#app #main #content .workspace-token-header h2{margin:0 0 4px;font-size:19px;color:var(--workspace-ink)}
#app #main #content .workspace-token-status{margin-left:auto;border-radius:100px;background:#1c293e;color:#b8c8e7;padding:7px 11px;font-size:10px;font-weight:800}
#app #main #content .workspace-token-status.is-active{background:#c6f0dd;color:#076148}
#app #main #content .workspace-token-account{display:flex;align-items:center;gap:12px;margin-top:17px;padding:12px 14px;background:#182745;border-radius:14px}
:root[data-theme="light"] #app #main #content .workspace-token-account{background:#f8fbfe;border:1px solid #e1ebf5}
#app #main #content .workspace-token-account img{width:35px;height:35px;border-radius:50%}
#app #main #content .workspace-token-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}
html body #app #main #content .workspace-token-actions .button{min-height:38px;padding:8px 12px;display:inline-flex;align-items:center;gap:7px;border-radius:10px}
#app #main #content .workspace-token-actions svg{width:15px;height:15px}
html body #app #main #content .workspace-token-actions .button.danger{background:#451f32!important;color:#ffc9d5!important;border-color:transparent!important}
html[data-theme="light"] body #app #main #content .workspace-token-actions .button.danger{background:#fff0f2!important;color:#952b44!important}
html body #app #main #content .official-page .button.danger:hover{filter:brightness(.93)}
html body #app #main #content .official-page :is(.button,.period-option,.bank-filter,.autopay-history-filter):hover:not(:disabled){filter:brightness(.93)}
#app #main #content .bank-event{background:transparent!important;border:0!important;box-shadow:none!important}
#app #main #content .bank-event+.bank-event{border-top:1px solid var(--workspace-line)!important;border-radius:0}
#app #main #content .official-selftest-systems .ff-systems-banner{display:none}
#app #main #content .official-selftest-systems .automed-feature-card{border-radius:17px!important}
#app #main #content .official-autopay .autopay-quick-action{border-radius:14px}
#app #main #content .official-overview .dashboard-card-head .ff-card-icon{display:inline-grid}
:root:not([data-theme="light"]) #app #main #content .official-page :is(.fields input,.fields select,.fields textarea,.bank-app-choice,.automed-selection-row){
  background:#0a111e!important;color:#eaf2ff!important;border-color:#273958!important;
}
:root[data-theme="light"] #app #main #content .official-page :is(.fields input,.fields select,.fields textarea,.bank-app-choice,.automed-selection-row){
  background:#f8fbfe!important;color:#163b51!important;border-color:#dce8f1!important;
}

#app #main #content .workspace-room-settings{display:grid;gap:12px;margin-bottom:22px}
#app #main #content .workspace-room-disclosure{border-radius:18px!important}
#app #main #content .workspace-room-disclosure summary{display:flex;align-items:center;justify-content:space-between;gap:14px}
#app #main #content .workspace-room-disclosure summary h2{margin:0 0 4px;font-size:15px}
#app #main #content .workspace-room-timer{display:flex;flex-wrap:wrap;gap:8px}
#app #main #content .workspace-room-timer .button[aria-pressed="true"]{background:var(--workspace-cta)!important;color:#fff!important}

/* Workspace shell follows the preview markup, with the existing dialog and login. */
html body #app #sidebar {
  inset:12px auto 12px 12px!important;
  width:228px!important;height:calc(100dvh - 24px)!important;
  padding:0!important;overflow:auto;display:block;
}
html body #app #sidebar .brand {
  display:flex!important;align-items:center;justify-content:center;gap:5px;
  min-height:130px;margin:0 0 10px;padding:12px;border-bottom:1px solid var(--workspace-line);
}
html body #app #sidebar .brand-mascot{width:68px;height:72px;object-fit:contain}
html body #app #sidebar .brand-name{display:inline!important;letter-spacing:-.04em;font-size:19px;text-transform:none!important}
html body #app #sidebar .brand-prefix{color:#46b5eb}
html[data-theme="light"] body #app #sidebar .brand-prefix{color:#166cca}
html body #app #sidebar nav{display:block;padding:0 10px}
html body #app #sidebar .sidebar-nav-section{margin:0 0 14px}
html body #app #sidebar .sidebar-nav-heading{display:flex;align-items:center;gap:9px;padding:4px 12px;font-size:9px;letter-spacing:.12em;text-transform:uppercase;font-weight:800;color:var(--workspace-muted)}
html body #app #sidebar .sidebar-nav-heading::after{content:'';flex:1;height:1px;background:var(--workspace-line)}
html body #app #sidebar nav button{
  display:flex;align-items:center;justify-content:flex-start;gap:10px;text-align:left;width:100%;
  min-height:35px;border:1px solid transparent!important;border-radius:11px!important;padding:6px 11px;
  background:transparent!important;box-shadow:none!important;font-size:13px;font-weight:700;
}
html body #app #sidebar nav button::before,html body #app #sidebar nav button::after{content:none}
html body #app #sidebar nav button:hover{background:#829adc28!important}
html body #app #sidebar nav button[aria-current]{background:#33376f!important;color:#fff!important;border-color:#6d71b3!important}
html[data-theme="light"] body #app #sidebar nav button[aria-current]{background:#183e53!important;border-color:#183e53!important}
html body #app #sidebar .workspace-close-drawer{display:none}
html body #app #main{margin:0 0 0 252px!important;padding:12px clamp(14px,2vw,30px) 32px!important}
html body #app #main>.preview-topbar{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:54px;margin-bottom:15px}
html body #app #main>.preview-topbar .mobile-brand,html body #app #main>.preview-topbar #menu-toggle{display:none}
html body #app #main>.preview-topbar .topbar-account{display:flex;align-items:center;gap:14px}
html body #app #main .mediation-progress{width:min(285px,32vw);padding:9px 13px;background:#658ade14;border-radius:13px}
html body #app #main .mediation-label{display:flex;justify-content:space-between;gap:10px;font-size:11px}
html body #app #main .mediation-label span{color:var(--workspace-muted)}
html body #app #main .mediation-progress progress{display:block;width:100%;height:5px;margin-top:6px;accent-color:#3d6cf4}
html body #app #main #theme-toggle{background:none!important;box-shadow:none!important;border:0;color:var(--workspace-ink);font-size:20px}
html body #app #main .topbar-duration{display:grid;gap:2px;font-size:11px;color:var(--workspace-muted)}
html body #app #main .topbar-duration strong{color:#37be98;font-variant-numeric:tabular-nums}
html[data-theme="light"] body #app #main .topbar-duration strong{color:#087450}
html body #app #main .topbar-profile-menu{position:relative;z-index:10}
html body #app #main .topbar-profile{display:flex;align-items:center;gap:7px;cursor:pointer;font-weight:750;color:var(--workspace-ink)}
html body #app #main .topbar-profile img{width:34px;height:34px;border-radius:50%}
html body #app #main .topbar-profile-options{display:grid;position:absolute;right:0;top:calc(100% + 8px);min-width:172px;background:var(--workspace-card);border:1px solid var(--workspace-line);border-radius:14px;box-shadow:var(--workspace-depth);padding:7px}
html body #app #main .topbar-profile-menu:not([open]) .topbar-profile-options{display:none}
html body #app #main .topbar-profile-options button{text-align:left;background:transparent!important;color:var(--workspace-ink);border:0;box-shadow:none!important;padding:8px;cursor:pointer}
html body #app #main .topbar-profile-options button:hover{background:#658ade22!important}
html body #app #main .topbar-profile-options .account-menu-exit{color:#df5575}
html body #app .menu-shade{position:fixed;inset:0;background:#020713a0;border:0;z-index:50}
@media(max-width:700px){
 html body #app #sidebar{inset:10px auto 10px 10px!important;width:232px!important;height:calc(100dvh - 20px)!important;transform:translateX(calc(-100% - 20px));z-index:60;transition:transform .2s ease,visibility .2s;visibility:hidden}
 html body.menu-open #app #sidebar{transform:none;visibility:visible}
 html body #app #sidebar .workspace-close-drawer{display:block;position:absolute;top:6px;right:8px;background:transparent;border:0;color:var(--workspace-ink);font-size:21px}
 html body #app #main{margin:0!important;padding:12px 13px 24px!important}
 html body #app #main>.preview-topbar{display:grid;grid-template-columns:34px minmax(0,1fr) 30px auto;background:var(--workspace-card);border:1px solid var(--workspace-line);border-radius:16px;padding:8px;gap:7px}
 html body #app #main>.preview-topbar .topbar-account{display:contents}
 html body #app #main>.preview-topbar .mobile-brand{display:flex;align-items:center;gap:4px;min-width:0;font-size:12px;color:var(--workspace-ink);font-weight:800}
 html body #app #main>.preview-topbar .mobile-brand img{width:27px;height:30px;object-fit:contain}
 html body #app #main>.preview-topbar #menu-toggle{display:grid!important;position:static;place-items:center;width:32px;height:32px;min-height:0;background:#658ade22!important;border-radius:9px;transform:none;color:var(--workspace-ink);border:0}
 html body #app #main #theme-toggle{grid-column:3;grid-row:1}
 html body #app #main .topbar-profile-menu{grid-column:4;grid-row:1}
 html body #app #main .topbar-profile img{width:23px;height:23px}
 html body #app #main .topbar-profile{font-size:10px;gap:4px}
 html body #app #main #username{max-width:75px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 html body #app #main .mediation-progress{grid-row:2;grid-column:1/3;width:100%;padding:3px}
 html body #app #main .mediation-label{font-size:8px}
 html body #app #main .topbar-duration{grid-column:3/5;grid-row:2;justify-self:end;font-size:9px}
 html body #app #main .topbar-duration>span{display:none}
}
@media(prefers-reduced-motion:reduce){
 html body #app #sidebar{transition:none}
}

@media(min-width:701px){
 html body #app #main>.preview-topbar #menu-toggle{display:none!important}
}
html body #app #main #content .official-overview-intro>div>h1>.ff-title-icon{display:none}
html body #app #main #content .official-overview .official-metric{padding:17px!important}
html body #app #main #content .official-overview .official-metric .ff-card-icon{position:absolute;left:15px;top:14px;right:auto;width:19px;height:19px}
html body #app #main #content .official-overview .official-metric-label{padding:0 0 0 28px}
html body #app #main #content .official-overview .official-metric .official-metric-value{font-size:clamp(24px,2.3vw,30px)}
html body #app #main #content .official-overview .official-activity .dashboard-card-head{align-items:center}
html body #app #main #content .official-overview .official-activity .chart-plot-shell svg{height:100%}
html body #app #main #content .official-overview .official-activity .period-option{min-height:30px;padding:5px 9px;font-size:10px}
html body #app #main #content .official-overview .official-activity .period-option svg{display:none}
html body #app #main #content .official-overview .official-activity .period-option[aria-pressed="true"]{background:var(--workspace-cta)!important;color:#fff!important}
html body #app #main #content .official-overview .official-quick-actions h3 .ff-title-icon{display:none}
html body #app #main #content .official-overview .official-quick-link{padding:8px 5px}
html body #app #main #content .official-overview .official-quick-link strong{font-size:13px}
html body #app #main #content .official-overview .official-quick-link small{font-size:11px;font-weight:500}
html body #app #main #content .official-overview .dashboard-toolbar{margin:0;padding:0;min-height:0}

html body #app #main #content .automed-profile-flow .automed-profile-scene:has(.workspace-token-card){display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:14px;align-items:start}
html body #app #main #content .workspace-token-heading,
html body #app #main #content .workspace-token-card{grid-area:auto!important;width:100%;margin:0!important}
html body #app #main #content .workspace-token-heading .ff-title-icon,
html body #app #main #content .workspace-token-header .ff-title-icon{display:none}
html body #app #main #content .official-autopay .autopay-balances{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;width:100%;gap:15px;padding:0}
html body #app #main #content .official-autopay .autopay-metric-card{min-height:200px!important;height:auto!important;grid-area:auto!important}
html body #app #main #content .official-autopay .autopay-metric-badge{display:none}
html body #app #main #content .official-autopay .autopay-overview{padding:20px!important;margin:0!important}
html body #app #main #content .official-autopay .autopay-overview-actionbar{margin:12px 0 0!important;padding:0!important;border:0}
html body #app #main #content .official-selftest-notifications .bank-inbox{row-gap:15px}
html body #app #main #content .bank-summary .official-metric{min-height:120px!important;justify-content:flex-start;align-items:flex-start;display:grid!important;grid-template-columns:1fr;align-content:center}
html body #app #main #content .bank-summary .official-metric>.caption{order:-1;border:0;margin:0;padding:0}
html body #app #main #content .bank-registration-card .bank-registration-display{background:none!important;border:0!important;box-shadow:none!important;padding:0!important;min-height:0!important}
html body #app #main #content .bank-registration-card .bank-change-source{margin:0}
html body #app #main #content .bank-receipt-history :is(h2,.muted,.small){color:var(--workspace-ink)!important}
html body #app #main #content .bank-receipt-history .empty{background:var(--workspace-card)!important;color:var(--workspace-ink)!important;box-shadow:none!important}
html body #app #main #content .official-page .bank-source-option[aria-pressed="true"]{background:var(--workspace-cta)!important;color:#fff!important}
html body #app #main #content .bank-source-option[aria-pressed="true"] :is(strong,span){color:#fff!important}
html body #app #main #content .bank-source-head,html body #app #main #content .bank-connection-card .panel-title{background:transparent!important}
@media (max-width:700px){
 html body #app #main #content .official-autopay .autopay-balances{grid-template-columns:minmax(0,1fr)!important}
 html body #app #main #content .official-autopay .autopay-metric-card{min-height:165px!important}
}

html body #app #main .official-top,html body #app #main>.topbar:not(.preview-topbar){display:none!important}
html body #app #main .preview-topbar #theme-toggle .ff-action-icon,
html body #app #main .preview-topbar #menu-toggle .ff-action-icon{display:none!important}
html body #app #main #content .official-activity .dashboard-empty>.ff-luminous-sparkline{width:100%;height:54px}
html body #app #main #content .official-page .bank-overview-bubble .dashboard-toolbar h2{color:var(--workspace-ink)}
html body #app #main #content .official-page :is(.bank-filter,.autopay-history-filter,.period-option)[aria-pressed="true"]{background:var(--workspace-cta)!important;color:#fff!important}
html body #app #main #content .official-page .ff-plan-grid{align-items:stretch}
html body #app #main #content .official-page .ff-plan{display:flex;flex-direction:column}
html body #app #main #content .official-page .ff-plan .ff-plan-buy{order:9}
html body #app #main #content .official-page .ff-plan .ff-plan-head{min-height:0}

#app #sidebar,#app #sidebar nav{scrollbar-width:none}
#app #sidebar::-webkit-scrollbar,#app #sidebar nav::-webkit-scrollbar{display:none}
