/* Improvement section 1 */
/* Nexo UX/UI v103 — isolated preview; never change finance data. */
#app .ux-values-explainer {
  margin:12px 0 22px;
  border:1px solid #dae4ec;
  border-radius:14px;
  background:#f7f9fc;
  box-shadow:0 1px 3px rgba(32,57,75,.04);
  color:var(--text-primary);
  overflow:hidden;
}
#app .ux-values-explainer > summary {
  padding:13px 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  cursor:pointer;
  font-weight:650;
  font-size:13px;
  list-style:none;
  min-height:44px;
}
#app .ux-values-explainer > summary::-webkit-details-marker{display:none;}
#app .ux-explainer-chevron {font-size:21px;line-height:1;transition:transform .18s;}
#app .ux-values-explainer[open] .ux-explainer-chevron{transform:rotate(180deg);}
#app .ux-values-explainer p{margin:0;padding:0 16px 12px;font-size:12px;line-height:1.6;color:var(--text-secondary);}
#app .ux-definition-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:8px;padding:0 14px 12px;}
#app .ux-definition-list > div {border:1px solid #e3eaf1;border-radius:11px;padding:12px;background:white;display:flex;flex-direction:column;gap:5px;}
#app .ux-definition-list span{font-size:11px;color:var(--text-secondary);}
#app .ux-definition-list strong{font-size:17px;color:var(--text-primary);letter-spacing:-.03em;font-variant-numeric:tabular-nums;}
#app .ux-definition-list small{font-size:11px;line-height:1.5;color:var(--text-secondary);}
#app .ux-values-explainer .ux-explainer-foot{padding-bottom:14px;}
#app .recent-transactions-panel .amount.ux-income-pending {color:#a3660e!important;}
#app .recent-transactions-panel .amount.ux-income-pending::after{content:"A receber";display:block;text-align:right;font-size:10px;letter-spacing:.01em;font-weight:600;color:#8b5c16;}
#app .ux-goals-panel .progress > i{background:#7554bf!important;}
#app .summary-planned .summary-track > i{background:#7554bf!important;}
#app .ux-category-row{position:relative!important;padding-bottom:16px!important;}
#app .ux-category-row::after{
  content:"";position:absolute;bottom:4px;left:12px;max-width:calc(100% - 24px);
  width:var(--ux-pct,0%);height:4px;border-radius:5px;
  background:linear-gradient(90deg,#597d9a,#628faa);pointer-events:none;
}
#app .ux-category-percent{flex:0 0 auto;white-space:nowrap;color:var(--text-primary)!important;font-weight:650;font-size:10px;margin-left:5px;}
#app .ux-category-caption{font-size:11px;color:var(--text-secondary);line-height:1.55;margin:8px 0 0;}
#app .ux-chart-caption{font-size:11px;line-height:1.5;margin:8px 0 0;color:var(--text-secondary);}
#app .cashflow-legend{display:none!important;}
#app .cashflow-chart .cashflow-axis span{font-size:10px!important;color:var(--text-secondary)!important;font-variant-numeric:tabular-nums;}
#app .ux-chart-customize{position:relative;border:1px solid #dbe4ec;border-radius:10px;background:#f7f9fc;min-width:0;align-self:center;}
#app .ux-chart-customize > summary{list-style:none;cursor:pointer;min-height:36px;display:flex;align-items:center;padding:0 12px;font-size:11px;font-weight:600;color:var(--text-secondary);gap:7px;}
#app .ux-chart-customize > summary::-webkit-details-marker{display:none;}
#app .ux-chart-customize > summary::after{content:"⌄";font-size:16px;}
#app .ux-chart-customize[open] > summary::after{content:"⌃";}
#app .ux-chart-customize .segmented{padding:5px;border-top:1px solid #dbe4ec;margin:0;}
#app .ux-chart-customize .segmented button{font-size:10px!important;min-height:33px;white-space:nowrap;}
#app :is(.subtitle,.help,.list-row small,.recent-transactions-footer,.cashflow-range-note){color:var(--text-secondary);}
@media(max-width:800px){
  .mobile-dock{background:rgba(248,251,253,.93)!important;backdrop-filter:blur(20px) saturate(1.3)!important;-webkit-backdrop-filter:blur(20px) saturate(1.3)!important;}
  #app .ux-values-explainer{margin-top:12px;margin-bottom:16px;}
  #app .ux-definition-list{grid-template-columns:1fr;}
  #app .ux-chart-customize > summary{min-height:40px;}
  #app .cashflow-controls{gap:6px;}
}
@media (prefers-reduced-motion:reduce) and (max-width:800px){#app .ux-explainer-chevron{transition:none;}}

#app .ux-period-note{margin:3px 0 12px;font-size:11px;line-height:1.5;color:var(--text-secondary);}
#app .ux-income-pending {color:#a3660e!important;}
#app .recent-transactions-panel .ux-income-pending::after{content:"A receber";display:block;text-align:right;font-size:10px;letter-spacing:.01em;font-weight:600;color:#8b5c16;}
#app .cashflow-chart .ux-balance-line{pointer-events:none;}

/* Improvement section 2 */
/* Nexo UX test v104: consistent financial forms and option pickers.
   Presentation only. The original select, validation and submit handlers remain intact. */
#modal[open]{
  border:1px solid #dfe8ef!important;
  border-radius:23px!important;
  background:#ffffff!important;
  box-shadow:0 24px 64px rgba(30,45,64,.20),0 4px 14px rgba(30,45,64,.07)!important;
  padding:24px!important;
}
#modal .modal-head{padding-bottom:14px!important;margin-bottom:4px!important;border-bottom:1px solid #ecf0f4!important;}
#modal #modalTitle{letter-spacing:-.035em!important;font-weight:730!important;color:var(--text-primary)!important;}
#modal .ux-form-subtitle{color:var(--text-secondary);font-size:12px;line-height:1.55;margin:9px 0 18px;}
#modal #form[data-finance-type] {row-gap:12px;}
#modal #form[data-finance-type] :is(label,.field-label-with-info > label) {color:var(--text-secondary);font-size:12px;font-weight:620;letter-spacing:.005em;}
#modal #form[data-finance-type] :is(input:not([type="checkbox"],[type="radio"],[type="hidden"],[type="file"]),textarea){
  background:#f4f5f8!important;
  background-color:#f4f5f8!important;
  border:1px solid #d8dfe9!important;
  border-radius:15px!important;
  box-shadow:none!important;
  color:var(--text-primary)!important;
  min-height:48px!important;
  transition:border-color .16s ease,background .16s ease,box-shadow .16s ease!important;
}
#modal #form[data-finance-type] input::placeholder{color:var(--text-muted)!important;}
#modal #form[data-finance-type] :is(input:not([type="checkbox"],[type="radio"],[type="hidden"],[type="file"]),textarea):focus{
  background:#fff!important;border-color:#4584f8!important;
  box-shadow:0 0 0 1px #4584f822!important;
  outline:0!important;
}
#modal #form[data-finance-type] .universal-picker > .control-trigger{
  background:#f4f5f8!important;
  background-color:#f4f5f8!important;
  border:1px solid #d8dfe9!important;
  border-radius:15px!important;
  min-height:48px!important;
  color:var(--text-primary)!important;
  padding:0 14px!important;
  box-shadow:none!important;
  transition:background .16s,border-color .16s,box-shadow .16s!important;
  cursor:pointer!important;
}
#modal #form[data-finance-type] .universal-picker > .control-trigger .control-label{
  color:var(--text-primary)!important;min-width:0;font-weight:550;font-size:13px!important;
}
#modal #form[data-finance-type] .universal-picker > .control-trigger .control-label > .nexo-icon{color:var(--text-secondary)!important;}
#modal #form[data-finance-type] .universal-picker:is([open],:focus-within) > .control-trigger{
  background:#fff!important;border-color:#4584f8!important;
  box-shadow:0 0 0 1px #4584f822!important;
}
#modal #form[data-finance-type] .universal-picker > .control-trigger .control-chevron{
  border-color:#607e9b!important;
  transition:transform .18s ease;
}
#modal #form[data-finance-type] .universal-picker[open] > .control-trigger .control-chevron{transform:rotate(180deg);}
#modal #form[data-finance-type] .universal-picker .control-menu{
  background:#fff!important;
  border:1px solid #dde6f0!important;
  border-radius:15px!important;
  box-shadow:0 12px 36px rgba(40,65,88,.17)!important;
  padding:5px!important;
}
#modal #form[data-finance-type] .universal-picker .control-options > button{
  min-height:43px!important;
  border-radius:10px!important;
  color:var(--text-secondary)!important;
  transition:background .13s ease!important;
}
#modal #form[data-finance-type] .universal-picker .control-options > button:is(:hover,:focus-visible){
  background:#edf3f8!important;
}
#modal #form[data-finance-type] .universal-picker .control-options > button[aria-checked="true"]{
  background:#eaf1f7!important;color:#213e58!important;font-weight:650!important;
}
#modal #form[data-finance-type] .finance-form-grid{
  gap:12px!important;
  align-items:start;
}
#modal #form[data-finance-type] > .primary,
#modal #form[data-finance-type] .transaction-form-actions .primary{
  min-height:47px!important;
  border-radius:15px!important;
  font-weight:650!important;
  box-shadow:0 5px 13px rgba(204,0,0,.12)!important;
}
#modal #form[data-finance-type] .required-marker{color:#ae4e51!important;}
#modal #form[data-finance-type] .monthly-choice{
  font-size:12px!important;
}
#modal #form[data-finance-type] .finance-select-with-help{min-width:0;}
#modal #form[data-finance-type] :is(input,.control-trigger):disabled{opacity:.6!important;cursor:not-allowed;}
#modal #form[data-finance-type] :is(input,.control-trigger):focus-visible{
  outline:2px solid #597c9a!important;outline-offset:2px!important;
}
#modal #form[data-finance-type] .ux-form-help-inline{
  display:block;color:var(--text-secondary);font-size:11px;line-height:1.45;margin-top:5px;font-weight:400;
}
@media(max-width:800px){
  dialog#modal[open]{padding:17px!important;border-radius:20px!important;max-height:calc(100dvh - 18px)!important;}
  #modal .ux-form-subtitle{margin-bottom:12px;}
  #modal #form[data-finance-type] :is(input:not([type=checkbox],[type=radio],[type=hidden]),.universal-picker > .control-trigger){min-height:48px!important;}
  #modal #form[data-finance-type] .finance-form-grid{gap:11px!important;}
}
@media (prefers-reduced-motion:reduce) and (max-width:800px){
  #modal #form[data-finance-type] :is(input,.control-trigger,.control-options button){transition:none!important;}
}

/* Improvement section 3 */
/* UX focus v105 — profile edit blue, on expanding selectors, demo only.
   Scope excludes profile, header account switcher, workspace and graph-month selectors. */
:root{--ux-profile-focus:#4584f8;--ux-profile-focus-glow:#4584f822;}
/* Stronger selector for previous navigation-glass rules and global focus fields. */
#modal #form .filter-picker.filter-picker.filter-picker:is([open],:focus-within) > .control-trigger.control-trigger,
#modal #form .universal-picker.universal-picker.universal-picker:is([open],:focus-within) > .control-trigger.control-trigger,
#app .filter-picker.filter-picker.filter-picker:not(.workspace-picker,.cashflow-month-picker,.header-account-picker):not(:is(.profile-settings *,.nexo-profile-bottom-sheet *)):is([open],:focus-within) > .control-trigger.control-trigger,
#app .universal-picker.universal-picker.universal-picker:not(.workspace-picker,.cashflow-month-picker,.header-account-picker):not(:is(.profile-settings *,.nexo-profile-bottom-sheet *)):is([open],:focus-within) > .control-trigger.control-trigger,
#mobile-filters-form .filter-picker.filter-picker.filter-picker:is([open],:focus-within) > .control-trigger.control-trigger{
 background:#f4f5f8!important;
 background-color:#f4f5f8!important;
 background-image:none!important;
 border:1px solid var(--ux-profile-focus)!important;
 border-top-color:var(--ux-profile-focus)!important;
 box-shadow:0 0 0 1px var(--ux-profile-focus-glow)!important;
 outline:0!important;
 filter:none!important;
}
#modal #form .filter-picker.filter-picker.filter-picker[open] > .control-trigger.control-trigger .control-chevron,
#app .filter-picker.filter-picker.filter-picker:not(:is(.profile-settings *,.nexo-profile-bottom-sheet *))[open] > .control-trigger.control-trigger .control-chevron,
#mobile-filters-form .filter-picker.filter-picker.filter-picker[open] > .control-trigger.control-trigger .control-chevron{
 color:var(--ux-profile-focus)!important;
}
#modal #form .universal-picker .control-options > button[aria-checked="true"],
#app .universal-picker:not(:is(.profile-settings *,.nexo-profile-bottom-sheet *)) .control-options > button[aria-checked="true"],
#mobile-filters-form .control-options > button[aria-checked="true"]{
 background:#edf4ff!important;
 color:#255c9d!important;
}
#modal #form .universal-picker .control-options > button:focus-visible,
#app .universal-picker:not(:is(.profile-settings *,.nexo-profile-bottom-sheet *)) .control-options > button:focus-visible,
#mobile-filters-form .control-options > button:focus-visible{
 outline:2px solid var(--ux-profile-focus)!important;
 outline-offset:-2px!important;
}
/* Focused editable fields preserve the profile blue as well. */
#modal #form :is(input:not([type=checkbox],[type=radio],[type=hidden],[type=file]),textarea):focus,
#mobile-filters-form :is(input:not([type=checkbox],[type=radio],[type=hidden],[type=file]),textarea):focus{
 border-color:var(--ux-profile-focus)!important;
 box-shadow:0 0 0 1px var(--ux-profile-focus-glow)!important;
}
@media (prefers-reduced-motion:reduce) and (max-width:800px){
 #modal #form .filter-picker > .control-trigger,
 #app .filter-picker > .control-trigger{transition:none!important;}
}

/* Improvement section 4 */
/* Preview-only v106 | Transaction mobile period and search
   New single period module; no input replacement, no event interception. */
@media (max-width:800px){
 #app .mobile-transactions{gap:12px!important}
 #app .mobile-tx-calendar{
   position:relative!important;
   display:flex!important;
   align-items:center!important;
   gap:8px!important;
   padding:26px 0 0!important;
   min-width:0!important;
   background:transparent!important;
   border:0!important;
   overflow:visible!important;
 }
 #app .mobile-tx-calendar::before{
   content:"PERÍODO DE CONSULTA";
   position:absolute;left:2px;top:1px;
   font-size:10px;font-weight:730;letter-spacing:.1em;
   color:var(--text-secondary);line-height:14px;
 }
 #app .mobile-tx-calendar>.universal-picker{
   flex:0 0 91px!important;min-width:91px!important;
   position:relative!important;
   z-index:2;
 }
 #app .mobile-tx-calendar>.universal-picker>.control-trigger{
   box-sizing:border-box!important;
   height:44px!important;min-height:44px!important;
   padding:0 10px!important;
   background:#eaf0f6!important;
   background-image:none!important;
   border:1px solid #d8e2ed!important;
   border-top-color:#d8e2ed!important;
   border-radius:13px!important;
   color:var(--text-secondary)!important;
   box-shadow:none!important;
   -webkit-backdrop-filter:none!important;backdrop-filter:none!important;
   font-size:14px!important;font-weight:680!important;
 }
 #app .mobile-tx-calendar>.universal-picker>.control-trigger .control-label{font-size:14px!important;font-weight:680!important;color:var(--text-secondary)!important}
 #app .mobile-tx-calendar>.universal-picker>.control-trigger .control-chevron{color:var(--text-secondary)!important}
 #app .mobile-tx-calendar>.universal-picker:is([open],:focus-within)>.control-trigger{
   border-color:#4584f8!important;border-top-color:#4584f8!important;
   box-shadow:0 0 0 1px #4584f822!important;
 }
 #app .mobile-tx-months{
   min-width:0!important;flex:1 1 auto!important;
   gap:5px!important;
   padding:4px!important;
   min-height:52px!important;
   border-radius:16px!important;
   background:linear-gradient(135deg,#edf2f7,#f6f8fb)!important;
   border:1px solid #e2e9f1!important;
   box-shadow:inset 0 1px 2px rgba(45,68,91,.035)!important;
   scroll-snap-type:x proximity;
   scrollbar-width:none;
   overflow-x:auto!important;overflow-y:hidden!important;
 }
 #app .mobile-tx-months>button{
   box-sizing:border-box!important;
   flex:0 0 auto!important;
   min-width:51px!important;
   min-height:42px!important;height:42px!important;
   padding:0 12px!important;
   color:var(--text-secondary)!important;
   background:transparent!important;background-image:none!important;
   border:1px solid transparent!important;
   border-radius:12px!important;
   font-size:13px!important;
   font-weight:540!important;
   letter-spacing:.01em!important;
   box-shadow:none!important;
   backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
   scroll-snap-align:center;
   transition:background .16s ease,color .16s ease,transform .16s ease!important;
 }
 #app .mobile-tx-months>button[aria-pressed="true"]{
   background:#ec0000!important;
   border:1px solid #ec0000!important;
   color:#fff!important;
   font-weight:720!important;
   box-shadow:0 3px 8px rgba(209,0,0,.17)!important;
 }
 #app .mobile-tx-months>button:not([aria-pressed="true"]):active{
   background:#e1eaf3!important;
 }
 #app .mobile-tx-months>button:focus-visible{
   outline:2px solid #4584f8!important;outline-offset:2px!important;
 }
 #app .mobile-tx-search{
   box-sizing:border-box!important;
   position:relative!important;
   min-height:48px!important;
   border:1px solid #dce5ee!important;
   border-radius:14px!important;
   background:#f4f6f9!important;background-image:none!important;
   box-shadow:none!important;
   padding:0 13px!important;
   display:flex!important;align-items:center!important;
   gap:10px!important;
   color:var(--text-muted)!important;
   transition:border-color .18s ease,box-shadow .18s ease,background .18s ease!important;
 }
 #app .mobile-tx-search>svg,#app .mobile-tx-search>.nexo-icon{
   width:18px!important;height:18px!important;flex:0 0 18px!important;
   color:var(--text-muted)!important;stroke-width:1.75!important;
 }
 #app .mobile-tx-search>#mobile-tx-search{
   min-height:46px!important;height:46px!important;
   flex:1!important;min-width:0!important;
   border:0!important;outline:0!important;
   padding:0!important;
   background:transparent!important;background-image:none!important;
   box-shadow:none!important;
   color:var(--text-primary)!important;font-size:15px!important;
 }
 #app .mobile-tx-search>#mobile-tx-search::placeholder{color:var(--text-muted)!important;opacity:1!important}
 #app .mobile-tx-search:focus-within{
   background:#fff!important;
   border-color:#4584f8!important;
   outline:0!important;
   box-shadow:0 0 0 1px #4584f822!important;
 }
 #app .mobile-tx-search:focus-within>svg,
 #app .mobile-tx-search:focus-within>.nexo-icon{color:#4584f8!important}
}
@media (prefers-reduced-motion:reduce) and (max-width:800px){
 #app .mobile-tx-months>button,#app .mobile-tx-search{transition:none!important}
}

/* Override legacy glass border-top transparency in the search control. */
@media(max-width:800px){
 #app .mobile-transactions label.mobile-tx-search{
   border:1px solid #dce5ee!important;
   border-top-color:#dce5ee!important;
 }
 #app .mobile-transactions label.mobile-tx-search:focus-within{
   border:1px solid #4584f8!important;
   border-top-color:#4584f8!important;
   box-shadow:0 0 0 1px #4584f822!important;
 }
}

/* Improvement section 5 */
/* Nexo design lab v107: calendar alternative B.
   Search from v106 is intentionally unchanged. Functional controls untouched. */
@media(max-width:800px){
 #app .mobile-tx-calendar{
   gap:11px!important;
   padding:0!important;
   min-height:49px!important;
   border:0!important;
   background:transparent!important;
 }
 #app .mobile-tx-calendar::before{content:none!important;display:none!important}
 #app .mobile-tx-calendar>.universal-picker{
   flex:0 0 82px!important;
   min-width:82px!important;
 }
 #app .mobile-tx-calendar>.universal-picker>.control-trigger{
   box-sizing:border-box!important;
   min-height:43px!important;
   height:43px!important;
   border-radius:13px!important;
   border:1px solid #e2e8f0!important;
   background:#f4f6fa!important;
   color:var(--text-secondary)!important;
   padding:0 9px!important;
   box-shadow:none!important;
   font-weight:650!important;
   font-size:13px!important;
 }
 #app .mobile-tx-calendar>.universal-picker>.control-trigger .control-label{
   font-size:13px!important;color:var(--text-secondary)!important;font-weight:650!important;
 }
 #app .mobile-tx-calendar>.universal-picker:is([open],:focus-within)>.control-trigger{
   border-color:#4584f8!important;
   border-top-color:#4584f8!important;
   box-shadow:0 0 0 1px #4584f822!important;
 }
 #app .mobile-tx-months{
   flex:1 1 auto!important;min-width:0!important;
   align-self:stretch!important;
   display:flex!important;align-items:center!important;
   min-height:49px!important;
   padding:0 1px!important;
   gap:9px!important;
   border:0!important;
   border-radius:0!important;
   background:transparent!important;
   background-image:none!important;
   box-shadow:none!important;
   scroll-snap-type:x proximity!important;
   overflow-x:auto!important;overflow-y:hidden!important;
 }
 #app .mobile-tx-months>button{
   position:relative!important;
   flex:0 0 auto!important;
   min-width:47px!important;
   height:43px!important;
   min-height:43px!important;
   padding:0 12px!important;
   border:1px solid transparent!important;
   border-radius:12px!important;
   color:var(--text-secondary)!important;
   background:transparent!important;
   box-shadow:none!important;
   font-size:14px!important;
   font-weight:550!important;
   scroll-snap-align:center!important;
 }
 #app .mobile-tx-months>button[aria-pressed="true"]{
   color:#e0241d!important;
   border:1px solid #f6d8d5!important;
   border-radius:12px!important;
   background:#fff0ee!important;
   box-shadow:none!important;
   font-weight:730!important;
   -webkit-backdrop-filter:none!important;backdrop-filter:none!important;
 }
 #app .mobile-tx-months>button[aria-pressed="true"]::after{
   content:"";position:absolute;
   height:3px;width:17px;left:50%;bottom:3px;transform:translateX(-50%);
   background:#e52b24;border-radius:6px;
 }
 #app .mobile-tx-months>button:not([aria-pressed="true"]):active{
   background:#f1f4f7!important;
 }
 #app .mobile-tx-months>button:focus-visible{
   outline:2px solid #4584f8!important;
   outline-offset:2px!important;
 }
}

/* Improvement section 6 */
/* Month selector */
@media(max-width:800px){
 #app .mobile-tx-calendar{
  gap:10px!important;padding:0!important;min-height:50px!important;
  border:0!important;background:transparent!important;box-shadow:none!important;
 }
 #app .mobile-tx-calendar::before{content:none!important;display:none!important}
 #app .mobile-tx-calendar>.universal-picker{
  flex:0 0 77px!important;min-width:77px!important;
  border-right:1px solid #e7eaf0!important;padding-right:8px!important;
 }
 #app .mobile-tx-calendar>.universal-picker>.control-trigger{
  height:46px!important;min-height:46px!important;padding:0 4px!important;
  background:transparent!important;background-color:transparent!important;
  background-image:none!important;border:1px solid transparent!important;
  border-top-color:transparent!important;box-shadow:none!important;
  border-radius:9px!important;font-size:14px!important;
  font-weight:650!important;color:var(--text-secondary)!important;backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
 }
 #app .mobile-tx-calendar>.universal-picker>.control-trigger .control-label{
  font-size:14px!important;font-weight:650!important;color:var(--text-secondary)!important;
 }
 #app .mobile-tx-calendar>.universal-picker>.control-trigger .control-chevron{color:var(--text-muted)!important}
 #app .mobile-tx-calendar>.universal-picker:is([open],:focus-within)>.control-trigger{
  border:1px solid #4584f8!important;border-top-color:#4584f8!important;
  background:#f8fafc!important;box-shadow:0 0 0 1px #4584f822!important;
 }
 #app .mobile-tx-months{
  flex:1 1 auto!important;min-width:0!important;
  display:flex!important;align-items:center!important;
  padding:0!important;gap:4px!important;min-height:50px!important;
  background:transparent!important;background-image:none!important;
  border:0!important;box-shadow:none!important;border-radius:0!important;
  overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:none!important;
  scroll-snap-type:x proximity!important;
 }
 #app .mobile-tx-months>button{
  position:relative!important;flex:0 0 auto!important;min-width:48px!important;
  height:46px!important;min-height:46px!important;
  padding:0 12px 4px!important;margin:0!important;
  border:0!important;border-radius:0!important;
  background:transparent!important;background-image:none!important;
  box-shadow:none!important;
  font-size:14px!important;font-weight:520!important;
  color:var(--text-muted)!important;letter-spacing:.01em!important;
  backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
  transform:none!important;scroll-snap-align:center!important;
 }
 #app .mobile-tx-months>button[aria-pressed="true"]{
  background:transparent!important;background-image:none!important;
  color:var(--text-primary)!important;font-weight:760!important;
  border:0!important;border-radius:0!important;box-shadow:none!important;
 }
 #app .mobile-tx-months>button[aria-pressed="true"]::after{
  content:"";position:absolute!important;
  left:50%!important;bottom:2px!important;
  width:21px!important;height:2px!important;transform:translateX(-50%)!important;
  background:#ec0000!important;border-radius:3px!important;
 }
 #app .mobile-tx-months>button:not([aria-pressed="true"]):active{
  color:var(--text-secondary)!important;background:transparent!important;
 }
 #app .mobile-tx-months>button:focus-visible{
  outline:2px solid #4584f8!important;outline-offset:-2px!important;
  border-radius:8px!important;
 }
}

/* Improvement section 7 */
/* Nexo UX preview v109 — faithfully match approved clean reference image 1.
   Scope: mobile transaction year/month toolbar ONLY; search v106 remains unchanged. */
@media(max-width:800px){
 #app .mobile-transactions .mobile-tx-calendar{
  display:flex!important;align-items:center!important;gap:9px!important;
  min-width:0!important;min-height:48px!important;height:48px!important;
  padding:0!important;margin:0!important;
  background:transparent!important;background-image:none!important;
  border:0!important;border-radius:0!important;box-shadow:none!important;
  overflow:visible!important;
 }
 #app .mobile-transactions .mobile-tx-calendar::before{content:none!important;display:none!important}
 #app .mobile-transactions .mobile-tx-calendar>.universal-picker{
  flex:0 0 88px!important;width:88px!important;min-width:88px!important;
  min-height:44px!important;margin:0!important;padding:0 11px 0 0!important;
  border:0!important;border-right:1px solid #e3e7ed!important;
  border-radius:0!important;background:transparent!important;box-shadow:none!important;
 }
 #app .mobile-transactions .mobile-tx-calendar>.universal-picker>.control-trigger{
  box-sizing:border-box!important;display:flex!important;align-items:center!important;
  height:44px!important;min-height:44px!important;width:100%!important;
  padding:0 4px!important;margin:0!important;
  background:transparent!important;background-color:transparent!important;
  background-image:none!important;border:1px solid transparent!important;
  border-top-color:transparent!important;border-radius:8px!important;
  box-shadow:none!important;filter:none!important;
  -webkit-backdrop-filter:none!important;backdrop-filter:none!important;
  color:var(--text-secondary)!important;font-size:14px!important;font-weight:650!important;
 }
 #app .mobile-transactions .mobile-tx-calendar>.universal-picker>.control-trigger .control-label,
 #app .mobile-transactions .mobile-tx-calendar>.universal-picker>.control-trigger .control-label span{
  font-size:14px!important;font-weight:650!important;color:var(--text-secondary)!important;
 }
 #app .mobile-transactions .mobile-tx-calendar>.universal-picker>.control-trigger .control-chevron{
  color:var(--text-muted)!important;flex-shrink:0!important;
 }
 #app .mobile-transactions .mobile-tx-calendar>.universal-picker:is([open],:focus-within)>.control-trigger{
  background:#f8fafc!important;border:1px solid #4584f8!important;
  border-top-color:#4584f8!important;border-radius:8px!important;
  box-shadow:0 0 0 1px #4584f822!important;
 }
 #app .mobile-transactions .mobile-tx-months{
  display:flex!important;flex:1 1 auto!important;align-items:center!important;
  width:auto!important;min-width:0!important;min-height:48px!important;height:48px!important;
  margin:0!important;padding:0!important;gap:11px!important;
  background:transparent!important;background-color:transparent!important;
  background-image:none!important;border:0!important;border-radius:0!important;
  box-shadow:none!important;filter:none!important;
  scroll-snap-type:x proximity!important;scrollbar-width:none!important;
  overflow-x:auto!important;overflow-y:hidden!important;
 }
 #app .mobile-transactions .mobile-tx-months>button{
  box-sizing:border-box!important;flex:0 0 auto!important;position:relative!important;
  min-width:48px!important;height:46px!important;min-height:46px!important;
  padding:0 9px 5px!important;margin:0!important;
  background:transparent!important;background-color:transparent!important;
  background-image:none!important;
  border:0!important;border-radius:0!important;
  box-shadow:none!important;filter:none!important;
  -webkit-backdrop-filter:none!important;backdrop-filter:none!important;
  color:var(--text-muted)!important;font-size:15px!important;font-weight:480!important;
  text-transform:capitalize!important;letter-spacing:0!important;
  scroll-snap-align:center!important;
 }
 #app .mobile-transactions .mobile-tx-months>button[aria-pressed="true"]{
  background:transparent!important;background-image:none!important;
  border:0!important;border-radius:0!important;box-shadow:none!important;
  color:var(--text-primary)!important;font-weight:760!important;
 }
 #app .mobile-transactions .mobile-tx-months>button[aria-pressed="true"]::after{
  content:""!important;display:block!important;
  position:absolute!important;bottom:3px!important;left:50%!important;
  width:23px!important;height:3px!important;
  transform:translateX(-50%)!important;border-radius:999px!important;background:#e33424!important;
 }
 #app .mobile-transactions .mobile-tx-months>button:not([aria-pressed="true"]):active{
  background:transparent!important;color:var(--text-secondary)!important;
 }
 #app .mobile-transactions .mobile-tx-months>button:focus-visible{
  outline:2px solid #4584f8!important;outline-offset:-2px!important;border-radius:8px!important;
 }
}

/* Override the older high-specificity navigation glass rule that kept the year glossy. */
@media(max-width:800px){
 #app .mobile-transactions .mobile-tx-calendar > .filter-picker.filter-picker.filter-picker.universal-picker:not(.workspace-picker,.cashflow-month-picker,.header-account-picker) > .control-trigger.control-trigger{
  background:transparent!important;background-color:transparent!important;background-image:none!important;
  border:1px solid transparent!important;border-top-color:transparent!important;
  border-radius:8px!important;box-shadow:none!important;
  -webkit-backdrop-filter:none!important;backdrop-filter:none!important;
  filter:none!important;
 }
 #app .mobile-transactions .mobile-tx-calendar > .filter-picker.filter-picker.filter-picker.universal-picker:is([open],:focus-within) > .control-trigger.control-trigger{
  background:#f8fafc!important;background-image:none!important;
  border:1px solid #4584f8!important;border-top-color:#4584f8!important;
  box-shadow:0 0 0 1px #4584f822!important;
 }
}

/* Improvement section 8 */
/* Nexo UX v110 — single quiet frame around date selector and approved search. */
@media(max-width:800px){
 #app .mobile-transactions > .ux-period-search-card{
   box-sizing:border-box!important;
   display:grid!important;
   grid-template-columns:minmax(0,1fr)!important;
   gap:13px!important;
   width:100%!important;min-width:0!important;
   padding:13px 12px 14px!important;
   margin:0!important;
   border:1px solid #e2e5ea!important;
   border-radius:19px!important;
   background:#fbfcfd!important;
   box-shadow:none!important;
   font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","SF Pro Display","Segoe UI",Arial,sans-serif!important;
 }
 #app .ux-period-search-card .mobile-tx-calendar{
   width:100%!important;min-width:0!important;
   margin:0!important;
   padding:0!important;
 }
 #app .ux-period-search-card .mobile-tx-calendar>.universal-picker{
   flex:0 0 86px!important;width:86px!important;min-width:86px!important;
   border-right:1px solid #e1e6ec!important;
 }
 #app .ux-period-search-card .mobile-tx-calendar>.universal-picker>.control-trigger,
 #app .ux-period-search-card .mobile-tx-calendar>.universal-picker>.control-trigger .control-label,
 #app .ux-period-search-card .mobile-tx-calendar>.universal-picker>.control-trigger .control-label span,
 #app .ux-period-search-card .mobile-tx-months>button,
 #app .ux-period-search-card .mobile-tx-search>#mobile-tx-search{
   font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","SF Pro Display","Segoe UI",Arial,sans-serif!important;
   letter-spacing:0!important;
 }
 #app .ux-period-search-card .mobile-tx-calendar>.universal-picker>.control-trigger,
 #app .ux-period-search-card .mobile-tx-calendar>.universal-picker>.control-trigger .control-label,
 #app .ux-period-search-card .mobile-tx-calendar>.universal-picker>.control-trigger .control-label span{
   font-weight:620!important;
   color:var(--text-secondary)!important;
 }
 #app .ux-period-search-card .mobile-tx-months>button{
   color:var(--text-muted)!important;font-weight:480!important;
 }
 #app .ux-period-search-card .mobile-tx-months>button[aria-pressed="true"]{
   color:var(--text-primary)!important;font-weight:740!important;
 }
 #app .ux-period-search-card .mobile-tx-search{
   margin:0!important;
   width:100%!important;
   min-width:0!important;
 }
 #app .ux-period-search-card .mobile-tx-search>#mobile-tx-search{
   font-size:15px!important;
   font-weight:400!important;
 }
}

/* Improvement section 9 */
/* Nexo v111 preview: round and center year selection. Other controls unchanged. */
@media(max-width:800px){
 #app .mobile-transactions .ux-period-search-card .mobile-tx-calendar>.universal-picker{
   flex:0 0 105px!important;
   min-width:105px!important;
   width:105px!important;
   padding-right:10px!important;
 }
 #app .mobile-transactions .ux-period-search-card .mobile-tx-calendar>.filter-picker.filter-picker.filter-picker.universal-picker>.control-trigger.control-trigger{
   box-sizing:border-box!important;
   display:flex!important;
   justify-content:center!important;
   align-items:center!important;
   gap:12px!important;
   min-height:44px!important;
   height:44px!important;
   width:100%!important;
   padding:0 8px!important;
   border-radius:9999px!important;
   text-align:center!important;
 }
 #app .mobile-transactions .ux-period-search-card .mobile-tx-calendar>.filter-picker.filter-picker.filter-picker.universal-picker>.control-trigger.control-trigger .control-label{
   display:flex!important;
   justify-content:center!important;
   align-items:center!important;
   flex:0 0 auto!important;
   min-width:0!important;
   font-size:17px!important;
   font-weight:660!important;
   line-height:1!important;
   text-align:center!important;
   color:var(--text-secondary)!important;
 }
 #app .mobile-transactions .ux-period-search-card .mobile-tx-calendar>.filter-picker.filter-picker.filter-picker.universal-picker>.control-trigger.control-trigger .control-label span{
   font-size:17px!important;
   font-weight:660!important;
   line-height:1!important;
 }
 #app .mobile-transactions .ux-period-search-card .mobile-tx-calendar>.filter-picker.filter-picker.filter-picker.universal-picker>.control-trigger.control-trigger .control-chevron{
   flex:0 0 auto!important;
   margin:0!important;
 }
 #app .mobile-transactions .ux-period-search-card .mobile-tx-calendar>.filter-picker.filter-picker.filter-picker.universal-picker:is([open],:focus-within)>.control-trigger.control-trigger{
   border-radius:9999px!important;
   border:1px solid #4584f8!important;
   border-top-color:#4584f8!important;
   background:#f8fafc!important;
   box-shadow:0 0 0 1px #4584f822!important;
 }
}

/* Improvement section 10 */
/* Preview v112: refined year/month typography. No layout or search changes. */
@media(max-width:800px){
 #app .mobile-transactions .ux-period-search-card .mobile-tx-calendar>.filter-picker.filter-picker.filter-picker.universal-picker>.control-trigger.control-trigger .control-label,
 #app .mobile-transactions .ux-period-search-card .mobile-tx-calendar>.filter-picker.filter-picker.filter-picker.universal-picker>.control-trigger.control-trigger .control-label span{
   font-size:14px!important;
   font-weight:560!important;
   letter-spacing:-.015em!important;
 }
 #app .mobile-transactions .ux-period-search-card .mobile-tx-calendar>.filter-picker.filter-picker.filter-picker.universal-picker>.control-trigger.control-trigger{
   font-size:14px!important;
   font-weight:560!important;
   gap:12px!important;
 }
 #app .mobile-transactions .ux-period-search-card .mobile-tx-months>button{
   font-size:13px!important;
   font-weight:440!important;
   letter-spacing:0!important;
 }
 #app .mobile-transactions .ux-period-search-card .mobile-tx-months>button[aria-pressed="true"]{
   font-weight:650!important;
 }
}

/* Improvement section 11 */
/* v113 — move only the year chevron down, keeping year text fixed. */
@media(max-width:800px){
 #app .mobile-transactions .ux-period-search-card .mobile-tx-calendar>.filter-picker.filter-picker.filter-picker.universal-picker>.control-trigger.control-trigger .control-chevron{
   position:relative!important;
   top:1px!important;
 }
}

/* Improvement section 12 */
/* Nexo preview v115. Rose border for year; active-month underline closer to label.
   Search, navigation, form controls and all data logic remain unchanged. */
@media(max-width:800px){
 #app .mobile-transactions .ux-period-search-card .mobile-tx-calendar>.filter-picker.filter-picker.filter-picker.universal-picker:not(.workspace-picker,.cashflow-month-picker,.header-account-picker)>.control-trigger.control-trigger{
   background:#fff8f7!important;
   background-color:#fff8f7!important;
   background-image:none!important;
   border:1.5px solid #eab8b3!important;
   border-top-color:#eab8b3!important;
   border-radius:9999px!important;
   box-shadow:none!important;
   -webkit-backdrop-filter:none!important;
   backdrop-filter:none!important;
 }
 #app .mobile-transactions .ux-period-search-card .mobile-tx-calendar>.filter-picker.filter-picker.filter-picker.universal-picker:is([open],:focus-within)>.control-trigger.control-trigger{
   background:#fff7f5!important;
   background-image:none!important;
   border:1.5px solid #de8077!important;
   border-top-color:#de8077!important;
   border-radius:9999px!important;
   box-shadow:0 0 0 1px rgba(222,128,119,.15)!important;
 }
 #app .mobile-transactions .ux-period-search-card .mobile-tx-months>button[aria-pressed="true"]::after{
   bottom:8px!important;
   width:23px!important;
   height:3px!important;
   border-radius:9999px!important;
   background:#e33424!important;
 }
}

/* Improvement section 13 */
/* Nexo v116 preview: neutral stable border, blue chevron only while expanded. */
@media(max-width:800px){
 #app .mobile-transactions .ux-period-search-card .mobile-tx-calendar>.filter-picker.filter-picker.filter-picker.universal-picker:not(.workspace-picker,.cashflow-month-picker,.header-account-picker)>.control-trigger.control-trigger,
 #app .mobile-transactions .ux-period-search-card .mobile-tx-calendar>.filter-picker.filter-picker.filter-picker.universal-picker:is([open],:focus-within)>.control-trigger.control-trigger{
   background:#f8fafc!important;
   background-color:#f8fafc!important;
   background-image:none!important;
   border:1.5px solid #d4dde6!important;
   border-top-color:#d4dde6!important;
   border-radius:9999px!important;
   box-shadow:none!important;
   -webkit-backdrop-filter:none!important;
   backdrop-filter:none!important;
 }
 #app .mobile-transactions .ux-period-search-card .mobile-tx-calendar>.filter-picker.filter-picker.filter-picker.universal-picker>.control-trigger.control-trigger .control-chevron{
   color:var(--text-muted)!important;
   border-color:#8896a6!important;
 }
 #app .mobile-transactions .ux-period-search-card .mobile-tx-calendar>.filter-picker.filter-picker.filter-picker.universal-picker:is([open],:focus-within)>.control-trigger.control-trigger .control-chevron{
   color:#4584f8!important;
   border-color:#4584f8!important;
 }
}

/* Improvement section 14 */
/* UX v117: visual highlight follows expanded state, not sticky :focus-within. */
@media(max-width:800px){
 #app .mobile-transactions .ux-period-search-card .mobile-tx-calendar>.filter-picker.filter-picker.filter-picker.universal-picker:not([open])>.control-trigger.control-trigger,
 #app .mobile-transactions .ux-period-search-card .mobile-tx-calendar>.filter-picker.filter-picker.filter-picker.universal-picker:not([open]):focus-within>.control-trigger.control-trigger{
  background:#f8fafc!important;background-image:none!important;
  border:1.5px solid #d4dde6!important;border-top-color:#d4dde6!important;
  border-radius:9999px!important;box-shadow:none!important;
 }
 #app .mobile-transactions .ux-period-search-card .mobile-tx-calendar>.filter-picker.filter-picker.filter-picker.universal-picker:not([open])>.control-trigger.control-trigger .control-chevron,
 #app .mobile-transactions .ux-period-search-card .mobile-tx-calendar>.filter-picker.filter-picker.filter-picker.universal-picker:not([open]):focus-within>.control-trigger.control-trigger .control-chevron{
  color:var(--text-muted)!important;border-color:#8896a6!important;
 }
 #app .mobile-transactions .ux-period-search-card .mobile-tx-calendar>.filter-picker.filter-picker.filter-picker.universal-picker[open]>.control-trigger.control-trigger,
 #app .mobile-transactions .ux-period-search-card .mobile-tx-calendar>.filter-picker.filter-picker.filter-picker.universal-picker[open]:focus-within>.control-trigger.control-trigger{
  background:#f8fafc!important;background-image:none!important;
  border:1.5px solid #4584f8!important;border-top-color:#4584f8!important;
  border-radius:9999px!important;
  box-shadow:0 0 0 1px rgba(69,132,248,.14)!important;
 }
 #app .mobile-transactions .ux-period-search-card .mobile-tx-calendar>.filter-picker.filter-picker.filter-picker.universal-picker[open]>.control-trigger.control-trigger .control-chevron,
 #app .mobile-transactions .ux-period-search-card .mobile-tx-calendar>.filter-picker.filter-picker.filter-picker.universal-picker[open]:focus-within>.control-trigger.control-trigger .control-chevron{
  color:#4584f8!important;border-color:#4584f8!important;
 }
}

/* Improvement section 15 */
/* UX v118: year outline neutral in every state; arrow blue only while open. */
@media(max-width:800px){
 #app .mobile-transactions .ux-period-search-card .mobile-tx-calendar>.filter-picker.filter-picker.filter-picker.universal-picker[open]>.control-trigger.control-trigger,
 #app .mobile-transactions .ux-period-search-card .mobile-tx-calendar>.filter-picker.filter-picker.filter-picker.universal-picker[open]:focus-within>.control-trigger.control-trigger{
  background:#f8fafc!important;background-image:none!important;
  border:1.5px solid #d4dde6!important;border-top-color:#d4dde6!important;
  border-radius:9999px!important;box-shadow:none!important;
 }
 #app .mobile-transactions .ux-period-search-card .mobile-tx-calendar>.filter-picker.filter-picker.filter-picker.universal-picker[open]>.control-trigger.control-trigger .control-chevron{
  color:#4584f8!important;border-color:#4584f8!important;
 }
}

/* Improvement section 16 */
/* UX v119: neutral year pill, charcoal chevron on open; no blue. */
@media(max-width:800px){
 #app .mobile-transactions .ux-period-search-card .mobile-tx-calendar>.filter-picker.filter-picker.filter-picker.universal-picker>.control-trigger.control-trigger,
 #app .mobile-transactions .ux-period-search-card .mobile-tx-calendar>.filter-picker.filter-picker.filter-picker.universal-picker[open]>.control-trigger.control-trigger,
 #app .mobile-transactions .ux-period-search-card .mobile-tx-calendar>.filter-picker.filter-picker.filter-picker.universal-picker:is(:focus-within,[open])>.control-trigger.control-trigger{
   background:#f5f6f8!important;
   background-image:none!important;
   border:1.5px solid #d7dce3!important;
   border-top-color:#d7dce3!important;
   border-radius:9999px!important;
   box-shadow:none!important;
 }
 #app .mobile-transactions .ux-period-search-card .mobile-tx-calendar>.filter-picker.filter-picker.filter-picker.universal-picker>.control-trigger.control-trigger .control-label,
 #app .mobile-transactions .ux-period-search-card .mobile-tx-calendar>.filter-picker.filter-picker.filter-picker.universal-picker>.control-trigger.control-trigger .control-label span{
   color:var(--text-secondary)!important;
 }
 #app .mobile-transactions .ux-period-search-card .mobile-tx-calendar>.filter-picker.filter-picker.filter-picker.universal-picker:not([open])>.control-trigger.control-trigger .control-chevron{
   color:var(--text-muted)!important;
   border-color:#87919d!important;
 }
 #app .mobile-transactions .ux-period-search-card .mobile-tx-calendar>.filter-picker.filter-picker.filter-picker.universal-picker[open]>.control-trigger.control-trigger .control-chevron{
   color:var(--text-secondary)!important;
   border-color:#424c58!important;
 }
}

/* Explicitly match the closed details state with priority over v117/v118. */
@media(max-width:800px){
 #app .mobile-transactions .ux-period-search-card .mobile-tx-calendar>.filter-picker.filter-picker.filter-picker.universal-picker:not([open])>.control-trigger.control-trigger,
 #app .mobile-transactions .ux-period-search-card .mobile-tx-calendar>.filter-picker.filter-picker.filter-picker.universal-picker:not([open]):focus-within>.control-trigger.control-trigger{
  background:#f5f6f8!important;background-image:none!important;
  border:1.5px solid #d7dce3!important;border-top-color:#d7dce3!important;
  border-radius:9999px!important;box-shadow:none!important;
 }
}

/* Improvement section 17 */
/* Nexo UX v120 — neutralize actual year dropdown including selected 2026 row. */
@media(max-width:800px){
 #app .mobile-transactions .ux-period-search-card .mobile-tx-calendar>.filter-picker.filter-picker.filter-picker.universal-picker>.control-menu{
   background:#f9fafc!important;
   background-image:none!important;
   border:1px solid #e0e5ec!important;
   box-shadow:0 12px 28px rgba(47,62,79,.12)!important;
 }
 #app .mobile-transactions .ux-period-search-card .mobile-tx-calendar>.filter-picker.filter-picker.filter-picker.universal-picker>.control-menu .control-options>button{
   color:var(--text-secondary)!important;
   background:transparent!important;
   background-image:none!important;
   border-radius:13px!important;
 }
 #app .mobile-transactions .ux-period-search-card .mobile-tx-calendar>.filter-picker.filter-picker.filter-picker.universal-picker>.control-menu .control-options>button[aria-checked="true"],
 #app .mobile-transactions .ux-period-search-card .mobile-tx-calendar>.filter-picker.filter-picker.filter-picker.universal-picker>.control-menu .control-options>button[aria-checked="true"]:focus{
   background:#edf0f4!important;
   background-image:none!important;
   color:var(--text-secondary)!important;
   box-shadow:none!important;
 }
 #app .mobile-transactions .ux-period-search-card .mobile-tx-calendar>.filter-picker.filter-picker.filter-picker.universal-picker>.control-menu .control-options>button:is(:hover,:focus-visible):not([aria-checked="true"]){
   background:#f0f2f5!important;
   color:var(--text-secondary)!important;
 }
 #app .mobile-transactions .ux-period-search-card .mobile-tx-calendar>.filter-picker.filter-picker.filter-picker.universal-picker>.control-menu .control-options>button .control-check,
 #app .mobile-transactions .ux-period-search-card .mobile-tx-calendar>.filter-picker.filter-picker.filter-picker.universal-picker>.control-menu .control-options>button .control-check .nexo-icon{
   color:var(--text-secondary)!important;
   stroke:#6c7a89!important;
 }
 #app .mobile-transactions .ux-period-search-card .mobile-tx-calendar>.filter-picker.filter-picker.filter-picker.universal-picker[open]>.control-trigger.control-trigger .control-chevron{
   color:var(--text-secondary)!important;border-color:#424c58!important;
 }
}

/* Improvement section 18 */
/* UX preview v122: same approved account-picker glass, ONLY on normal 2026 trigger.
   No changes to menu options, interactions, month tabs, or search. */
@media(max-width:800px){
 #app .mobile-transactions .ux-period-search-card .mobile-tx-calendar>.filter-picker.filter-picker.filter-picker.universal-picker:not([open])>.control-trigger.control-trigger,
 #app .mobile-transactions .ux-period-search-card .mobile-tx-calendar>.filter-picker.filter-picker.filter-picker.universal-picker[open]>.control-trigger.control-trigger,
 #app .mobile-transactions .ux-period-search-card .mobile-tx-calendar>.filter-picker.filter-picker.filter-picker.universal-picker:is([open],:focus-within)>.control-trigger.control-trigger{
  background:var(--navigation-glass)!important;
  background-image:var(--navigation-glass)!important;
  background-color:transparent!important;
  border:1px solid var(--navigation-glass-edge)!important;
  border-top-color:transparent!important;
  border-radius:9999px!important;
  box-shadow:var(--navigation-glass-shadow)!important;
  -webkit-backdrop-filter:blur(24px) saturate(1.65)!important;
  backdrop-filter:blur(24px) saturate(1.65)!important;
  filter:none!important;
 }
 #app .mobile-transactions .ux-period-search-card .mobile-tx-calendar>.filter-picker.filter-picker.filter-picker.universal-picker>.control-trigger.control-trigger .control-chevron,
 #app .mobile-transactions .ux-period-search-card .mobile-tx-calendar>.filter-picker.filter-picker.filter-picker.universal-picker[open]>.control-trigger.control-trigger .control-chevron{
  color:var(--text-secondary)!important;border-color:#637587!important;
 }
}

/* Improvement section 19 */
/* UX lab v123: year resting neutral, active only when the details element is open.
   Explicit selectors override legacy :focus-within, including after the picker is closed. */
@media(max-width:800px){
 #app .mobile-transactions .ux-period-search-card .mobile-tx-calendar>.filter-picker.filter-picker.filter-picker.universal-picker:not([open])>.control-trigger.control-trigger,
 #app .mobile-transactions .ux-period-search-card .mobile-tx-calendar>.filter-picker.filter-picker.filter-picker.universal-picker:not([open]):focus-within>.control-trigger.control-trigger{
  background:#f5f6f8!important;
  background-color:#f5f6f8!important;
  background-image:none!important;
  border:1.5px solid #d7dce3!important;
  border-top-color:#d7dce3!important;
  border-radius:9999px!important;
  box-shadow:none!important;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
  filter:none!important;
 }
 #app .mobile-transactions .ux-period-search-card .mobile-tx-calendar>.filter-picker.filter-picker.filter-picker.universal-picker[open]>.control-trigger.control-trigger,
 #app .mobile-transactions .ux-period-search-card .mobile-tx-calendar>.filter-picker.filter-picker.filter-picker.universal-picker[open]:focus-within>.control-trigger.control-trigger{
  background:var(--navigation-glass)!important;
  background-color:transparent!important;
  background-image:var(--navigation-glass)!important;
  border:1px solid var(--navigation-glass-edge)!important;
  border-top-color:transparent!important;
  border-radius:9999px!important;
  box-shadow:var(--navigation-glass-shadow)!important;
  -webkit-backdrop-filter:blur(24px) saturate(1.65)!important;
  backdrop-filter:blur(24px) saturate(1.65)!important;
  filter:none!important;
 }
 #app .mobile-transactions .ux-period-search-card .mobile-tx-calendar>.filter-picker.filter-picker.filter-picker.universal-picker:not([open])>.control-trigger.control-trigger .control-chevron,
 #app .mobile-transactions .ux-period-search-card .mobile-tx-calendar>.filter-picker.filter-picker.filter-picker.universal-picker[open]>.control-trigger.control-trigger .control-chevron{
  color:var(--text-secondary)!important;
  border-color:#637587!important;
 }
}

/* Improvement section 20 */
/* UX lab v124: reverse v123: resting GLASS, expanded NEUTRAL.
   Style is based on details[open], never focus-within. */
@media(max-width:800px){
 #app .mobile-transactions .ux-period-search-card .mobile-tx-calendar>.filter-picker.filter-picker.filter-picker.universal-picker:not([open])>.control-trigger.control-trigger,
 #app .mobile-transactions .ux-period-search-card .mobile-tx-calendar>.filter-picker.filter-picker.filter-picker.universal-picker:not([open]):focus-within>.control-trigger.control-trigger{
  background:var(--navigation-glass)!important;
  background-color:transparent!important;
  background-image:var(--navigation-glass)!important;
  border:1px solid var(--navigation-glass-edge)!important;
  border-top-color:transparent!important;
  border-radius:9999px!important;
  box-shadow:var(--navigation-glass-shadow)!important;
  -webkit-backdrop-filter:blur(24px) saturate(1.65)!important;
  backdrop-filter:blur(24px) saturate(1.65)!important;
  filter:none!important;
 }
 #app .mobile-transactions .ux-period-search-card .mobile-tx-calendar>.filter-picker.filter-picker.filter-picker.universal-picker[open]>.control-trigger.control-trigger,
 #app .mobile-transactions .ux-period-search-card .mobile-tx-calendar>.filter-picker.filter-picker.filter-picker.universal-picker[open]:focus-within>.control-trigger.control-trigger{
  background:#f5f6f8!important;
  background-color:#f5f6f8!important;
  background-image:none!important;
  border:1.5px solid #d7dce3!important;
  border-top-color:#d7dce3!important;
  border-radius:9999px!important;
  box-shadow:none!important;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
  filter:none!important;
 }
 #app .mobile-transactions .ux-period-search-card .mobile-tx-calendar>.filter-picker.filter-picker.filter-picker.universal-picker>.control-trigger.control-trigger .control-chevron,
 #app .mobile-transactions .ux-period-search-card .mobile-tx-calendar>.filter-picker.filter-picker.filter-picker.universal-picker[open]>.control-trigger.control-trigger .control-chevron{
  color:var(--text-secondary)!important;
  border-color:#637587!important;
 }
}

/* Improvement section 21 */
/* Nexo preview v125 — same neutral border both states; blue chevron when OPEN.
   This is intentionally loaded after v124, overriding its legacy glass toggle. */
@media(max-width:800px){
 #app .mobile-transactions .ux-period-search-card .mobile-tx-calendar>.filter-picker.filter-picker.filter-picker.universal-picker:not([open])>.control-trigger.control-trigger,
 #app .mobile-transactions .ux-period-search-card .mobile-tx-calendar>.filter-picker.filter-picker.filter-picker.universal-picker:not([open]):focus-within>.control-trigger.control-trigger,
 #app .mobile-transactions .ux-period-search-card .mobile-tx-calendar>.filter-picker.filter-picker.filter-picker.universal-picker[open]>.control-trigger.control-trigger,
 #app .mobile-transactions .ux-period-search-card .mobile-tx-calendar>.filter-picker.filter-picker.filter-picker.universal-picker[open]:focus-within>.control-trigger.control-trigger{
   background:#f5f6f8!important;
   background-color:#f5f6f8!important;
   background-image:none!important;
   border:1.5px solid #d7dce3!important;
   border-top-color:#d7dce3!important;
   border-radius:9999px!important;
   box-shadow:none!important;
   -webkit-backdrop-filter:none!important;
   backdrop-filter:none!important;
   filter:none!important;
 }
 #app .mobile-transactions .ux-period-search-card .mobile-tx-calendar>.filter-picker.filter-picker.filter-picker.universal-picker:not([open])>.control-trigger.control-trigger .control-chevron,
 #app .mobile-transactions .ux-period-search-card .mobile-tx-calendar>.filter-picker.filter-picker.filter-picker.universal-picker:not([open]):focus-within>.control-trigger.control-trigger .control-chevron{
  color:var(--text-muted)!important;border-color:#87919d!important;
 }
 #app .mobile-transactions .ux-period-search-card .mobile-tx-calendar>.filter-picker.filter-picker.filter-picker.universal-picker[open]>.control-trigger.control-trigger .control-chevron,
 #app .mobile-transactions .ux-period-search-card .mobile-tx-calendar>.filter-picker.filter-picker.filter-picker.universal-picker[open]:focus-within>.control-trigger.control-trigger .control-chevron{
  color:#4584f8!important;border-color:#4584f8!important;
 }
}

/* Improvement section 22 */
/* UX v126: Restore the original navigation-glass in BOTH year selector states.
   The chevron stays gray, without a blue active state. */
@media(max-width:800px){
 #app .mobile-transactions .ux-period-search-card .mobile-tx-calendar>.filter-picker.filter-picker.filter-picker.universal-picker:not([open])>.control-trigger.control-trigger,
 #app .mobile-transactions .ux-period-search-card .mobile-tx-calendar>.filter-picker.filter-picker.filter-picker.universal-picker:not([open]):focus-within>.control-trigger.control-trigger,
 #app .mobile-transactions .ux-period-search-card .mobile-tx-calendar>.filter-picker.filter-picker.filter-picker.universal-picker[open]>.control-trigger.control-trigger,
 #app .mobile-transactions .ux-period-search-card .mobile-tx-calendar>.filter-picker.filter-picker.filter-picker.universal-picker[open]:focus-within>.control-trigger.control-trigger{
   background:var(--navigation-glass)!important;
   background-color:transparent!important;
   background-image:var(--navigation-glass)!important;
   border:1px solid var(--navigation-glass-edge)!important;
   border-top-color:transparent!important;
   border-radius:9999px!important;
   box-shadow:var(--navigation-glass-shadow)!important;
   -webkit-backdrop-filter:blur(24px) saturate(1.65)!important;
   backdrop-filter:blur(24px) saturate(1.65)!important;
   filter:none!important;
 }
 #app .mobile-transactions .ux-period-search-card .mobile-tx-calendar>.filter-picker.filter-picker.filter-picker.universal-picker:not([open])>.control-trigger.control-trigger .control-chevron,
 #app .mobile-transactions .ux-period-search-card .mobile-tx-calendar>.filter-picker.filter-picker.filter-picker.universal-picker:not([open]):focus-within>.control-trigger.control-trigger .control-chevron,
 #app .mobile-transactions .ux-period-search-card .mobile-tx-calendar>.filter-picker.filter-picker.filter-picker.universal-picker[open]>.control-trigger.control-trigger .control-chevron,
 #app .mobile-transactions .ux-period-search-card .mobile-tx-calendar>.filter-picker.filter-picker.filter-picker.universal-picker[open]:focus-within>.control-trigger.control-trigger .control-chevron{
   color:var(--text-secondary)!important;
   border-color:#637587!important;
 }
}

/* Improvement section 23 */
/* Preview v127 — hide only year-trigger shadow while expanded;
   restore glass shadow automatically on close. Round large dropdown, not 2026 pill. */
@media(max-width:800px){
 #app .mobile-transactions .ux-period-search-card .mobile-tx-calendar>.filter-picker.filter-picker.filter-picker.universal-picker[open]>.control-trigger.control-trigger,
 #app .mobile-transactions .ux-period-search-card .mobile-tx-calendar>.filter-picker.filter-picker.filter-picker.universal-picker[open]:focus-within>.control-trigger.control-trigger{
   box-shadow:none!important;
 }
 #app .mobile-transactions .ux-period-search-card .mobile-tx-calendar>.filter-picker.filter-picker.filter-picker.universal-picker:not([open])>.control-trigger.control-trigger,
 #app .mobile-transactions .ux-period-search-card .mobile-tx-calendar>.filter-picker.filter-picker.filter-picker.universal-picker:not([open]):focus-within>.control-trigger.control-trigger{
   box-shadow:var(--navigation-glass-shadow)!important;
 }
 #app .mobile-transactions .ux-period-search-card .mobile-tx-calendar>.filter-picker.filter-picker.filter-picker.universal-picker>.control-menu{
   border-radius:24px!important;
 }
}

/* Improvement section 24 */
/* Nexo UX preview v128: year Glass when closed; selected-row gray when opened.
   Only the YEAR trigger changes. The dropdown, months and search retain their visuals. */
@media(max-width:800px){
 #app .mobile-transactions .ux-period-search-card .mobile-tx-calendar>.filter-picker.filter-picker.filter-picker.universal-picker:not([open])>.control-trigger.control-trigger,
 #app .mobile-transactions .ux-period-search-card .mobile-tx-calendar>.filter-picker.filter-picker.filter-picker.universal-picker:not([open]):focus-within>.control-trigger.control-trigger{
  background:var(--navigation-glass)!important;
  background-color:transparent!important;
  background-image:var(--navigation-glass)!important;
  border:1px solid var(--navigation-glass-edge)!important;
  border-top-color:transparent!important;
  border-radius:9999px!important;
  box-shadow:var(--navigation-glass-shadow)!important;
  -webkit-backdrop-filter:blur(24px) saturate(1.65)!important;
  backdrop-filter:blur(24px) saturate(1.65)!important;
 }
 #app .mobile-transactions .ux-period-search-card .mobile-tx-calendar>.filter-picker.filter-picker.filter-picker.universal-picker[open]>.control-trigger.control-trigger,
 #app .mobile-transactions .ux-period-search-card .mobile-tx-calendar>.filter-picker.filter-picker.filter-picker.universal-picker[open]:focus-within>.control-trigger.control-trigger{
  background:#edf0f4!important;
  background-color:#edf0f4!important;
  background-image:none!important;
  border:1px solid transparent!important;
  border-top-color:transparent!important;
  border-radius:9999px!important;
  box-shadow:none!important;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
 }
 #app .mobile-transactions .ux-period-search-card .mobile-tx-calendar>.filter-picker.filter-picker.filter-picker.universal-picker:not([open])>.control-trigger.control-trigger .control-chevron,
 #app .mobile-transactions .ux-period-search-card .mobile-tx-calendar>.filter-picker.filter-picker.filter-picker.universal-picker:not([open]):focus-within>.control-trigger.control-trigger .control-chevron,
 #app .mobile-transactions .ux-period-search-card .mobile-tx-calendar>.filter-picker.filter-picker.filter-picker.universal-picker[open]>.control-trigger.control-trigger .control-chevron,
 #app .mobile-transactions .ux-period-search-card .mobile-tx-calendar>.filter-picker.filter-picker.filter-picker.universal-picker[open]:focus-within>.control-trigger.control-trigger .control-chevron{
  color:var(--text-secondary)!important;
  border-color:#637587!important;
 }
}

/* Improvement section 25 */
/* v129 mobile transaction period capsules. Existing year and month controls remain active.
   The search input is unchanged; only visibility is toggled by the Glass menu. */
@media(max-width:800px){
 #app .mobile-transactions > .ux-period-search-card{
  padding:14px 12px!important;gap:12px!important;
  background:#fcfdfe!important;
  border:1px solid #e3e8ef!important;border-radius:22px!important;
  box-shadow:none!important;
 }
 #app .ux-period-search-card .mobile-tx-calendar{
  display:flex!important;flex-direction:column!important;align-items:stretch!important;
  width:100%!important;height:auto!important;min-height:0!important;
  gap:11px!important;padding:0!important;margin:0!important;
  overflow:visible!important;background:transparent!important;
 }
 #app .ux-period-search-card .mobile-tx-calendar::before{display:none!important;content:none!important}
 #app .ux-period-search-card .ux-period-header{
  display:flex;align-items:center;justify-content:space-between;
  height:39px;gap:8px;padding:0 2px;
 }
 #app .ux-period-search-card .ux-period-heading-label{
  font-size:12px;line-height:1.4;font-weight:610;letter-spacing:.01em;color:var(--text-secondary);
 }
 #app .ux-period-search-card .ux-period-header>.universal-picker{
  flex:0 0 auto!important;width:92px!important;min-width:92px!important;
  padding:0!important;margin:0!important;border:0!important;
 }
 #app .ux-period-search-card .ux-period-header>.universal-picker>.control-trigger{
  width:100%!important;height:37px!important;min-height:37px!important;
  padding:0 9px!important;border-radius:9999px!important;
  border:1px solid #e0e6ed!important;border-top-color:#e0e6ed!important;
  background:#f5f7fa!important;background-image:none!important;
  box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;
  font-size:12px!important;color:var(--text-secondary)!important;
 }
 #app .ux-period-search-card .ux-period-header>.universal-picker>.control-trigger .control-label,
 #app .ux-period-search-card .ux-period-header>.universal-picker>.control-trigger .control-label span{
  font-size:12px!important;font-weight:560!important;color:var(--text-secondary)!important;
 }
 #app .ux-period-search-card .ux-period-header>.universal-picker>.control-trigger .control-chevron{top:0!important;color:var(--text-secondary)!important;border-color:#73869b!important;}
 #app .ux-period-search-card .ux-period-header>.universal-picker[open]>.control-trigger{
  border-color:#d9e2eb!important;background:#edf0f4!important;box-shadow:none!important;
 }
 #app .ux-period-search-card .mobile-tx-months{
  display:flex!important;flex:1 1 auto!important;gap:9px!important;
  height:auto!important;min-height:117px!important;width:100%!important;
  padding:2px 1px 7px!important;margin:0!important;
  background:transparent!important;background-image:none!important;
  border:0!important;border-radius:0!important;box-shadow:none!important;
  overflow-x:auto!important;overflow-y:hidden!important;
  scroll-snap-type:x proximity!important;scrollbar-width:none!important;
 }
 #app .ux-period-search-card .mobile-tx-months>button.ux-month-capsule{
  display:flex!important;flex:0 0 72px!important;
  flex-direction:column!important;align-items:center!important;justify-content:space-between!important;
  box-sizing:border-box!important;
  width:72px!important;min-width:72px!important;max-width:72px!important;
  height:108px!important;min-height:108px!important;max-height:108px!important;
  padding:13px 7px 8px!important;margin:0!important;
  background:#f1f3f7!important;background-image:none!important;
  border:1px solid #edf0f4!important;border-radius:25px!important;
  box-shadow:none!important;
  -webkit-backdrop-filter:none!important;backdrop-filter:none!important;
  color:var(--text-secondary)!important;filter:none!important;
  transform:none!important;
  scroll-snap-align:center!important;
  transition:background-color .14s ease,color .14s ease!important;
 }
 #app .ux-period-search-card .mobile-tx-months>button.ux-month-capsule::after{content:none!important;display:none!important}
 #app .ux-period-search-card .mobile-tx-months>button.ux-month-capsule .ux-month-year{
  font:500 12px/1.2 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
  letter-spacing:0!important;color:var(--text-secondary)!important;
 }
 #app .ux-period-search-card .mobile-tx-months>button.ux-month-capsule .ux-month-circle{
  display:grid;place-items:center;
  box-sizing:border-box;
  width:56px;min-width:56px;height:56px;min-height:56px;
  border-radius:50%;
  background:#fff;
  color:var(--text-primary);
  font:650 15px/1 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
  box-shadow:0 1px 4px rgba(36,57,79,.035);
 }
 #app .ux-period-search-card .mobile-tx-months>button.ux-month-capsule[aria-pressed="true"]{
  background:#e52a21!important;
  border-color:#e52a21!important;
  box-shadow:none!important;
 }
 #app .ux-period-search-card .mobile-tx-months>button.ux-month-capsule[aria-pressed="true"] .ux-month-year{
  color:#fff!important;font-weight:650!important;
 }
 #app .ux-period-search-card .mobile-tx-months>button.ux-month-capsule[aria-pressed="true"] .ux-month-circle{
  color:var(--text-primary)!important;background:#fff!important;
 }
 #app .ux-period-search-card .mobile-tx-months>button.ux-month-capsule:focus-visible{
  outline:2px solid #4584f8!important;outline-offset:2px!important;
 }
 #app .mobile-transactions .ux-period-search-card:not(.ux-search-visible)>.mobile-tx-search{
  display:none!important;
 }
 #app .mobile-transactions .ux-period-search-card.ux-search-visible>.mobile-tx-search{
  display:flex!important;margin-top:0!important;
 }
 /* Transações only: a fourth search action beside the eye. */
 body.menu-variant-glass #app .nexo-more-actions[data-actions-for] .nexo-more-tray>.ux-search-action{
  display:none;
 }
 body.menu-variant-glass #app .transaction-page-heading .nexo-more-actions .nexo-more-tray>.ux-search-action{
  position:relative!important;display:inline-grid!important;place-items:center!important;
  box-sizing:border-box!important;
  flex:0 0 30px!important;width:30px!important;min-width:30px!important;max-width:30px!important;
  height:44px!important;min-height:44px!important;
  padding:0!important;margin:0!important;
  border:0!important;border-radius:0!important;
  background:transparent!important;box-shadow:none!important;
  color:var(--text-secondary)!important;cursor:pointer!important;
 }
 body.menu-variant-glass #app .transaction-page-heading .nexo-more-actions .nexo-more-tray>.ux-search-action>svg{
  width:19px!important;height:19px!important;stroke-width:1.7px!important;
 }
 body.menu-variant-glass #app .transaction-page-heading .nexo-more-actions.is-open .nexo-more-tray{
  max-width:120px!important;
 }
 body.menu-variant-glass #app .transaction-page-heading .nexo-more-actions .nexo-more-tray>.ux-search-action.is-active{color:var(--text-secondary)!important}
 #app .transaction-page-heading .nexo-more-actions .nexo-more-tray>.ux-search-action:focus-visible{
  outline:2px solid #4584f8!important;border-radius:10px!important;
 }
}
@media (prefers-reduced-motion:reduce) and (max-width:800px){
 #app .ux-period-search-card .mobile-tx-months>button.ux-month-capsule{transition:none!important;}
}

/* Improvement section 26 */
/* Nexo UX v130: only the slim calendar, without surrounding card decoration.
   Search logic and 3-dot menu remain unchanged. */
@media(max-width:800px){
 #app .mobile-transactions > .ux-period-search-card{
   background:transparent!important;
   background-image:none!important;
   border:0!important;
   border-radius:0!important;
   box-shadow:none!important;
   padding:0!important;
   gap:11px!important;
 }
 #app .mobile-transactions .ux-period-search-card .mobile-tx-calendar{
   background:transparent!important;
   background-image:none!important;
   border:0!important;
   border-radius:0!important;
   box-shadow:none!important;
   gap:7px!important;
 }
 #app .mobile-transactions .ux-period-search-card .ux-period-header{
   height:32px!important;min-height:32px!important;
   padding:0 1px!important;
 }
 #app .mobile-transactions .ux-period-search-card .mobile-tx-months{
   gap:7px!important;
   min-height:104px!important;
   padding:2px 1px 6px!important;
   background:transparent!important;
   border:0!important;
   box-shadow:none!important;
 }
 #app .mobile-transactions .ux-period-search-card .mobile-tx-months>button.ux-month-capsule{
   flex:0 0 58px!important;
   width:58px!important;
   min-width:58px!important;
   max-width:58px!important;
   height:94px!important;
   min-height:94px!important;
   max-height:94px!important;
   padding:11px 5px 7px!important;
   border-radius:22px!important;
   background:#f3f5f8!important;
   background-image:none!important;
   border:1px solid #f0f2f6!important;
   box-shadow:none!important;
 }
 #app .mobile-transactions .ux-period-search-card .mobile-tx-months>button.ux-month-capsule .ux-month-year{
   font-size:11px!important;
   font-weight:500!important;
 }
 #app .mobile-transactions .ux-period-search-card .mobile-tx-months>button.ux-month-capsule .ux-month-circle{
   width:45px!important;
   min-width:45px!important;
   height:45px!important;
   min-height:45px!important;
   font-size:13px!important;
   box-shadow:none!important;
 }
 #app .mobile-transactions .ux-period-search-card .mobile-tx-months>button.ux-month-capsule[aria-pressed="true"]{
   background:#e52a21!important;
   border-color:#e52a21!important;
 }
 #app .mobile-transactions .ux-period-search-card .mobile-tx-months>button.ux-month-capsule[aria-pressed="true"] .ux-month-year{
   color:#fff!important;
 }
}

/* Improvement section 27 */
/* UX v131: edge-to-edge month rail, no year selector or title.
   The search input remains toggled with the toolbar magnifier. */
@media(max-width:800px){
 #app .mobile-transactions>.ux-period-search-card{
   padding:0!important;margin:0!important;gap:0!important;
   border:0!important;background:transparent!important;box-shadow:none!important;
   overflow:visible!important;min-width:0!important;
 }
 #app .mobile-transactions .ux-period-search-card .mobile-tx-calendar{
   display:block!important;
   width:100%!important;min-width:0!important;
   height:auto!important;min-height:0!important;
   padding:0!important;margin:0!important;
   overflow:visible!important;
 }
 #app .mobile-transactions .ux-period-search-card .mobile-tx-calendar>.ux-period-header{
   display:none!important;
 }
 #app .mobile-transactions .ux-period-search-card .mobile-tx-calendar>.mobile-tx-months{
   box-sizing:border-box!important;
   display:flex!important;align-items:center!important;
   flex-wrap:nowrap!important;
   width:100vw!important;max-width:none!important;min-width:0!important;
   margin-left:calc(50% - 50vw)!important;
   margin-right:calc(50% - 50vw)!important;
   padding:2px 12px 8px!important;
   height:auto!important;min-height:105px!important;
   overflow-x:auto!important;overflow-y:hidden!important;
   border:0!important;background:transparent!important;box-shadow:none!important;
   scroll-snap-type:x proximity!important;
   scroll-padding-inline:12px!important;
   scrollbar-width:none!important;
   overscroll-behavior-inline:contain;
   -webkit-overflow-scrolling:touch;
 }
 #app .mobile-transactions .ux-period-search-card .mobile-tx-calendar>.mobile-tx-months::-webkit-scrollbar{
   display:none!important;
 }
 #app .mobile-transactions .ux-period-search-card .mobile-tx-calendar>.mobile-tx-months>button.ux-month-capsule{
   flex-shrink:0!important;
   scroll-snap-align:center!important;
 }
 #app .mobile-transactions .ux-period-search-card.ux-search-visible>.mobile-tx-search{
   margin-top:11px!important;
 }
}

/* Improvement section 28 */
/* Nexo UX preview v132 — consistent mobile ellipsis menu icons and even header outlines.
   Styling only. Preserve all click handlers and menu animation. */
@media(max-width:800px){
 /* Every overflow actions tray: one visual icon system, 19px, stroke 1.2px, same neutral ink. */
 body.menu-variant-glass #app .nexo-more-actions .nexo-more-tray>button:not(.is-active){
   color:var(--text-secondary)!important;
 }
 body.menu-variant-glass #app .nexo-more-actions .nexo-more-tray>button>svg.nexo-icon{
   display:block!important;
   width:19px!important;height:19px!important;
   min-width:19px!important;min-height:19px!important;
   max-width:19px!important;max-height:19px!important;
   margin:auto!important;
   color:inherit!important;
   stroke-width:1.2px!important;
 }
 body.menu-variant-glass #app .transaction-page-heading .nexo-more-actions .nexo-more-tray>.ux-search-action>svg.nexo-icon{stroke-width:1.2px!important;color:var(--text-secondary)!important;}
 body.menu-variant-glass #app .nexo-more-actions .nexo-more-tray>button>svg.nexo-icon :is(path,circle,rect,line,polyline,ellipse){
   stroke-width:1.2px!important;
 }
 /* The glass frame above the page uses equal edge weight on every side,
    with a centered soft shadow instead of a thick lower/right projection. */
 .shell>header{
   border:1px solid #e0e7ee!important;
   border-radius:999px!important;
   box-shadow:0 0 7px rgba(40,52,70,.055)!important;
 }
 .shell>header .header-account-picker>.header-account-trigger{
   border:1px solid rgba(231,239,247,.86)!important;
   border-top-color:rgba(231,239,247,.86)!important;
   border-radius:999px!important;
   box-shadow:0 0 9px rgba(49,70,92,.085)!important;
 }
}

/* Improvement section 29 */
/* v133: Subtle zoom hierarchy; month active remains full-size, surrounding months
   are slightly smaller without changing touch target or scroll positions. */
@media(max-width:800px){
 #app .mobile-transactions .ux-period-search-card .mobile-tx-months>button.ux-month-capsule:not([aria-pressed="true"]){
  transform:scale(.91)!important;
  transform-origin:center center!important;
  opacity:.87!important;
  transition:transform .2s cubic-bezier(.2,.8,.2,1),opacity .2s ease!important;
 }
 #app .mobile-transactions .ux-period-search-card .mobile-tx-months>button.ux-month-capsule[aria-pressed="true"]{
  position:relative!important;
  z-index:1!important;
  transform:scale(1)!important;
  opacity:1!important;
  transition:transform .2s cubic-bezier(.2,.8,.2,1),opacity .2s ease!important;
 }
}
@media (prefers-reduced-motion:reduce) and (max-width:800px){
 #app .mobile-transactions .ux-period-search-card .mobile-tx-months>button.ux-month-capsule{transition:none!important;}
}

/* Improvement section 30 */
/* Nexo v134: restrained editorial micro-interactions inspired by Notion. */
@media(max-width:800px){
 #app .mobile-transactions .ux-period-search-card .mobile-tx-months>button.ux-month-capsule{
  -webkit-tap-highlight-color:transparent;
  transition:transform 210ms cubic-bezier(.22,1,.36,1),opacity 200ms ease,background-color 180ms ease!important;
 }
 #app .mobile-transactions .ux-period-search-card .mobile-tx-months>button.ux-month-capsule:active{
  filter:brightness(.975);
 }
 #app .mobile-transactions .ux-period-search-card .mobile-tx-months>button.ux-month-capsule[aria-pressed="true"]{
  box-shadow:0 4px 11px rgba(167,31,25,.13)!important;
 }
 #app .mobile-transactions .ux-period-search-card .mobile-tx-months>button.ux-month-capsule[aria-pressed="true"] .ux-month-circle{
  box-shadow:0 1px 3px rgba(48,54,66,.065)!important;
 }
 #app .mobile-transactions .ux-period-search-card .mobile-tx-months>button.ux-month-capsule.ux-notion-selected{
  animation:ux-notion-select 270ms cubic-bezier(.22,1,.36,1) both!important;
 }
 #app .mobile-transactions > .mobile-tx-results.ux-notion-arrive,
 #app .mobile-transactions > .mobile-tx-day.ux-notion-arrive,
 #app .mobile-transactions > .empty.ux-notion-arrive{
  animation:ux-notion-content 250ms cubic-bezier(.22,1,.36,1) both;
 }
 @keyframes ux-notion-select{
  from{transform:scale(.94);opacity:.83}
  75%{transform:scale(1.025);opacity:1}
  to{transform:scale(1);opacity:1}
 }
 @keyframes ux-notion-content{
  from{opacity:.4;transform:translateY(5px)}
  to{opacity:1;transform:translateY(0)}
 }
}
@media (prefers-reduced-motion:reduce) and (max-width:800px){
 #app .mobile-transactions .ux-period-search-card .mobile-tx-months>button.ux-month-capsule{
  transition:none!important;
 }
 #app .mobile-transactions .ux-period-search-card .mobile-tx-months>button.ux-month-capsule.ux-notion-selected,
 #app .mobile-transactions > .ux-notion-arrive{
  animation:none!important;
 }
}

/* Improvement section 31 */
/* Nexo UX v135 — smoother Notion-like micro-motion with no overshoot.
   Pure presentation; month filtering and search behaviour stay unchanged. */
@media(max-width:800px){
 #app .mobile-transactions .ux-period-search-card .mobile-tx-months>button.ux-month-capsule{
  transition:transform 360ms cubic-bezier(.25,.46,.45,.94),opacity 320ms ease,background-color 300ms ease!important;
 }
 #app .mobile-transactions .ux-period-search-card .mobile-tx-months>button.ux-month-capsule.ux-notion-selected{
  animation:ux-notion-select 390ms cubic-bezier(.25,.46,.45,.94) both!important;
 }
 #app .mobile-transactions>.mobile-tx-results.ux-notion-arrive,
 #app .mobile-transactions>.mobile-tx-day.ux-notion-arrive,
 #app .mobile-transactions>.empty.ux-notion-arrive{
  animation:ux-notion-content 360ms cubic-bezier(.25,.46,.45,.94) both!important;
 }
 #app .mobile-transactions .ux-period-search-card .mobile-tx-months>button.ux-month-capsule[aria-pressed="true"]{
  box-shadow:0 3px 9px rgba(167,31,25,.09)!important;
 }
 @keyframes ux-notion-select{
  from{transform:scale(.955);opacity:.9}
  to{transform:scale(1);opacity:1}
 }
 @keyframes ux-notion-content{
  from{opacity:.7;transform:translateY(3px)}
  to{opacity:1;transform:translateY(0)}
 }
}
@media (prefers-reduced-motion:reduce) and (max-width:800px){
 #app .mobile-transactions .ux-period-search-card .mobile-tx-months>button.ux-month-capsule{transition:none!important;}
 #app .mobile-transactions .ux-period-search-card .mobile-tx-months>button.ux-month-capsule.ux-notion-selected,
 #app .mobile-transactions>.ux-notion-arrive{animation:none!important;}
}

/* Improvement section 32 */
/* v136: only compact transaction totals summary text and disclosure chevron. */
@media(max-width:800px){
 #app .mobile-transactions>details.mobile-tx-results>summary{
  display:flex!important;
  align-items:center!important;
  gap:7px!important;
  list-style:none!important;
  font-size:13px!important;
  line-height:1.5!important;
  font-weight:400!important;
  color:inherit!important;
 }
 #app .mobile-transactions>details.mobile-tx-results>summary::-webkit-details-marker{display:none!important;}
 #app .mobile-transactions>details.mobile-tx-results>summary::marker{content:""!important;}
 #app .mobile-transactions>details.mobile-tx-results>summary::before{
  content:""!important;
  display:inline-block!important;
  box-sizing:border-box!important;
  flex:0 0 7px!important;
  width:7px!important;height:7px!important;
  border-right:1.6px solid currentColor!important;
  border-bottom:1.6px solid currentColor!important;
  transform:rotate(-45deg)!important;
  transition:transform .18s ease!important;
  margin-right:1px!important;
 }
 #app .mobile-transactions>details.mobile-tx-results[open]>summary::before{
  transform:rotate(45deg)!important;
 }
}
@media (prefers-reduced-motion:reduce) and (max-width:800px){
 #app .mobile-transactions>details.mobile-tx-results>summary::before{transition:none!important;}
}

/* Improvement section 33 */
/* v137 — keep text and typography, move chevron after label. */
@media(max-width:800px){
 #app .mobile-transactions>details.mobile-tx-results>summary::before{
  display:none!important;
  content:none!important;
 }
 #app .mobile-transactions>details.mobile-tx-results>summary::after{
  content:""!important;
  display:inline-block!important;
  flex:0 0 7px!important;
  box-sizing:border-box!important;
  width:7px!important;
  height:7px!important;
  margin-left:2px!important;
  border-right:1.6px solid currentColor!important;
  border-bottom:1.6px solid currentColor!important;
  transform:rotate(-45deg)!important;
  transition:transform .18s ease!important;
 }
 #app .mobile-transactions>details.mobile-tx-results[open]>summary::after{
  transform:rotate(45deg)!important;
 }
}
@media (prefers-reduced-motion:reduce) and (max-width:800px){
 #app .mobile-transactions>details.mobile-tx-results>summary::after{
  transition:none!important;
 }
}

/* Improvement section 34 */
/* Nexo preview v138 — restrained filters panel only. No JS or filter logic changes. */
@media(max-width:800px){
 html body #mobile-filters-dialog{
  background:#fbfcfe!important;
  background-image:none!important;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
  border:1px solid #e4e9f0!important;
  border-radius:22px!important;
  box-shadow:0 12px 32px rgba(39,55,74,.10)!important;
 }
 html body #mobile-filters-dialog .mobile-filters-head{
  margin-bottom:12px!important;
  padding-bottom:11px!important;
  border-bottom:1px solid #edf0f4!important;
 }
 html body #mobile-filters-dialog .mobile-filters-head h2{
  font-size:17px!important;
  font-weight:600!important;
  letter-spacing:-.25px!important;
  color:var(--text-secondary)!important;
 }
 html body #mobile-filters-form .filter-picker.filter-picker.filter-picker.universal-picker>.control-trigger.control-trigger,
 html body #mobile-filters-form .filter-picker.filter-picker.filter-picker.universal-picker:is(:focus-within,[open])>.control-trigger.control-trigger{
  min-height:44px!important;
  background:#f3f5f8!important;
  background-image:none!important;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
  border:1px solid #e3e8ee!important;
  border-top-color:#e3e8ee!important;
  border-radius:13px!important;
  box-shadow:none!important;
  color:var(--text-secondary)!important;
 }
 html body #mobile-filters-form .filter-picker.filter-picker.filter-picker.universal-picker[open]>.control-trigger.control-trigger{
  background:#edf0f4!important;
  border-color:#dfe5ec!important;
  box-shadow:none!important;
 }
 html body #mobile-filters-form .filter-picker.universal-picker>.control-trigger .control-chevron{
  color:var(--text-secondary)!important;
  border-color:#728296!important;
 }
 html body #mobile-filters-dialog #mobile-filters-form .filter-picker.universal-picker>.control-menu:not(.date-menu){
  background:#ffffff!important;
  background-image:none!important;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
  border:1px solid #e2e8ef!important;
  border-radius:16px!important;
  box-shadow:0 8px 22px rgba(45,62,80,.085)!important;
  padding:5px!important;
 }
 html body #mobile-filters-dialog #mobile-filters-form .filter-picker.universal-picker>.control-menu .control-options>button{
  min-height:42px!important;
  padding:8px 11px!important;
  border:1px solid transparent!important;
  border-radius:11px!important;
  background:transparent!important;
  box-shadow:none!important;
  color:var(--text-secondary)!important;
  font-weight:450!important;
 }
 html body #mobile-filters-dialog #mobile-filters-form .filter-picker.universal-picker>.control-menu .control-options>button[aria-checked="true"]{
  background:#edf0f4!important;
  background-image:none!important;
  border:1px solid transparent!important;
  border-radius:11px!important;
  box-shadow:none!important;
  color:var(--text-primary)!important;
  font-weight:600!important;
 }
 html body #mobile-filters-dialog #mobile-filters-form .filter-picker.universal-picker>.control-menu .control-options>button:not([aria-checked="true"]):is(:hover,:focus-visible){
  background:#f3f5f8!important;
  box-shadow:none!important;
 }
 html body #mobile-filters-dialog #mobile-filters-form .filter-picker.universal-picker>.control-menu .control-options :is(.control-check,.control-check svg){
  color:var(--text-secondary)!important;
  stroke:#708298!important;
 }
 html body #mobile-filters-form .mobile-filters-actions>button{
  box-shadow:none!important;
 }
 html body #mobile-filters-form .mobile-filters-actions>button[data-reset-mobile-filters]{
  background:#f3f5f8!important;
  border:1px solid #e3e8ee!important;
  color:var(--text-secondary)!important;
 }
 html body #mobile-filters-form .mobile-filters-actions>button[type="submit"]{
  background:#ec0000!important;
  border:1px solid #ec0000!important;
  color:#fff!important;
 }
}

/* Improvement section 35 */
/* Preview v139 — match Apply filters corner radius to Limpar, only. */
@media(max-width:800px){
 html body #mobile-filters-dialog #mobile-filters-form .mobile-filters-actions>button[type="submit"]{
  border-radius:16px!important;
 }
}

/* Improvement section 36 */
/* v139 — suppress month-card animations only while switching quick tabs. */
@media(max-width:800px){
 #app.ux-tab-no-month-motion .mobile-transactions .ux-period-search-card .mobile-tx-months>button.ux-month-capsule,
 #app.ux-tab-no-month-motion .mobile-transactions .ux-period-search-card .mobile-tx-months>button.ux-month-capsule:not([aria-pressed="true"]),
 #app.ux-tab-no-month-motion .mobile-transactions .ux-period-search-card .mobile-tx-months>button.ux-month-capsule[aria-pressed="true"]{
  transition:none!important;
  animation:none!important;
 }
}

/* Improvement section 37 */
/* v146 — Scope desktop customization exclusively to the Nova Transação form.
   Visão Geral filters use the unmodified original theme. */
@media (min-width:801px){
 html body #modal#modal#modal #form#form[data-finance-type] .universal-picker.universal-picker > summary.control-trigger,
 html body #modal#modal#modal #form#form[data-finance-type] .universal-picker.universal-picker:is([open],:focus-within) > summary.control-trigger{
   background:#fff!important;
   background-image:none!important;
   border-color:#d4dde6!important;
   box-shadow:none!important;
   outline:none!important;
 }
 html body #modal#modal#modal #form#form[data-finance-type] .universal-picker.universal-picker .control-options > button[aria-checked="true"]{
   background:#fff!important;
   background-image:none!important;
   box-shadow:none!important;
   border-color:transparent!important;
 }
}

/* Improvement section 38 */
/* v147 — Desktop overview controls keep identical visual states.
   Neutralizes ux-focus-v105.css only inside #financial-filters.
   Dropdown panel entrance animation and selected filter behavior remain intact. */
@media (min-width:801px) {
  html body #app #financial-filters.filters .filter-picker.filter-picker.filter-picker:is([open],:focus-within) > summary.control-trigger.control-trigger,
  html body #app #financial-filters.filters .filter-picker.filter-picker.filter-picker > summary.control-trigger.control-trigger:is(:focus,:focus-visible) {
    background:linear-gradient(155deg,rgba(255,255,255,.682),rgba(234,241,249,.62))!important;
    background-color:transparent!important;
    background-image:linear-gradient(155deg,rgba(255,255,255,.682),rgba(234,241,249,.62))!important;
    border:1px solid transparent!important;
    border-top-color:transparent!important;
    box-shadow:0 8px 24px rgba(49,70,92,.173)!important;
    outline:none!important;
    filter:none!important;
  }
  html body #app #financial-filters.filters .filter-picker.filter-picker.filter-picker[open] > summary.control-trigger.control-trigger .control-chevron,
  html body #app #financial-filters.filters .filter-picker.filter-picker.filter-picker[open] > summary.control-trigger.control-trigger .period-indicator {
    color:var(--text-secondary)!important;
  }
}

/* Improvement section 39 */
/* v148: desktop overview filter triggers lose shadow only while opened. */
@media(min-width:801px){
 html body #app #financial-filters.filters .filter-picker.filter-picker.filter-picker[open] > summary.control-trigger.control-trigger,
 html body #app #financial-filters.filters .filter-picker.filter-picker.filter-picker[open]:focus-within > summary.control-trigger.control-trigger{
  box-shadow:none!important;
 }
}

/* Improvement section 40 */
/* v149 — Projection desktop months match Transactions mobile capsules. */
@media(min-width:801px){
 #app .projection-view .projection-month-chips{
   display:flex!important;align-items:center!important;gap:9px!important;
   min-height:125px!important;padding:2px 2px 9px!important;
   overflow-x:auto!important;overflow-y:hidden!important;
   scroll-snap-type:x proximity!important;scroll-padding-inline:4px!important;
 }
 #app .projection-view .projection-month-chips>button[data-proj-month]{
   display:flex!important;flex:0 0 72px!important;flex-direction:column!important;
   align-items:center!important;justify-content:space-between!important;
   box-sizing:border-box!important;width:72px!important;min-width:72px!important;
   max-width:72px!important;height:108px!important;min-height:108px!important;
   max-height:108px!important;padding:13px 7px 8px!important;margin:0!important;
   background:#f1f3f7!important;background-image:none!important;
   border:1px solid #edf0f4!important;border-radius:25px!important;
   color:var(--text-secondary)!important;box-shadow:none!important;
   scroll-snap-align:center!important;
   transition:background-color .3s ease,color .3s ease!important;
 }
 #app .projection-view .projection-month-chips>button[data-proj-month] .proj-month-year{
   font:500 12px/1.2 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
   letter-spacing:0!important;color:var(--text-secondary)!important;
 }
 #app .projection-view .projection-month-chips>button[data-proj-month] .proj-month-circle{
   display:grid!important;place-items:center!important;
   box-sizing:border-box!important;width:56px!important;height:56px!important;
   min-width:56px!important;min-height:56px!important;border-radius:50%!important;
   background:#fff!important;color:var(--text-primary)!important;
   font:650 15px/1 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
   box-shadow:0 1px 4px rgba(36,57,79,.035)!important;
 }
 #app .projection-view .projection-month-chips>button[data-proj-month].is-current,
 #app .projection-view .projection-month-chips>button[data-proj-month][aria-pressed="true"]{
   background:#e52a21!important;border-color:#e52a21!important;
   box-shadow:0 3px 9px rgba(167,31,25,.09)!important;
 }
 #app .projection-view .projection-month-chips>button[data-proj-month].is-current .proj-month-year,
 #app .projection-view .projection-month-chips>button[data-proj-month][aria-pressed="true"] .proj-month-year{
   color:#fff!important;font-weight:650!important;
 }
 #app .projection-view .projection-month-chips>button[data-proj-month]:is(.is-current,[aria-pressed="true"]) .proj-month-circle{
   background:#fff!important;color:var(--text-primary)!important;
 }
 #app .projection-view .projection-month-chips>button[data-proj-month]:focus-visible{
   outline:2px solid #9bafc3!important;outline-offset:2px!important;
 }
}
@media(max-width:800px){
 #app .projection-view .projection-month-chips>button .proj-month-year{display:none!important}
 #app .projection-view .projection-month-chips>button .proj-month-circle{display:contents!important}
}
@media (prefers-reduced-motion:reduce) and (max-width:800px){
 #app .projection-view .projection-month-chips>button[data-proj-month]{transition:none!important}
}

/* Improvement section 41 */
/* v150: smaller Projection calendar capsules on desktop only. */
@media(min-width:801px){
 #app .projection-view .projection-month-chips{
   gap:7px!important;
   min-height:103px!important;
   padding:2px 2px 7px!important;
 }
 #app .projection-view .projection-month-chips>button[data-proj-month]{
   flex:0 0 62px!important;
   width:62px!important;min-width:62px!important;max-width:62px!important;
   height:94px!important;min-height:94px!important;max-height:94px!important;
   padding:11px 6px 7px!important;
   border-radius:21px!important;
 }
 #app .projection-view .projection-month-chips>button[data-proj-month] .proj-month-year{
   font-size:11px!important;
 }
 #app .projection-view .projection-month-chips>button[data-proj-month] .proj-month-circle{
   width:47px!important;height:47px!important;min-width:47px!important;min-height:47px!important;
   font-size:13px!important;
 }
}

/* Improvement section 42 */
/* v152 — Unified circular selections for month and day pickers,
   plus Transactions-style month capsules on Projection mobile only. */

/* Catalog items 1, 2, 3 — desktop monthly selector menus. */
@media(min-width:801px){
 #app .filter-picker.period-picker .period-months{
   justify-items:center!important;
 }
 #app .filter-picker.period-picker .period-months > button[data-pick-period]{
   box-sizing:border-box!important;
   width:43px!important;height:43px!important;
   min-width:43px!important;min-height:43px!important;
   max-width:43px!important;max-height:43px!important;
   padding:0!important;
   display:grid!important;place-items:center!important;
   border-radius:50%!important;
   justify-self:center!important;
 }
}

/* Catalog items 7 and 8 — the day grid in date dialogs.
   Equal width and height ensure a geometrically round highlight. */
#modal .date-picker .date-days{
  justify-items:center!important;
}
#modal .date-picker .date-days > button[data-date-value]{
  width:36px!important;height:36px!important;
  min-width:36px!important;min-height:36px!important;
  max-width:36px!important;max-height:36px!important;
  box-sizing:border-box!important;
  padding:0!important;margin:0!important;
  display:grid!important;place-items:center!important;
  border-radius:50%!important;
  justify-self:center!important;
}
@media(max-width:370px){
 #modal .date-picker .date-days > button[data-date-value]{
  width:32px!important;height:32px!important;
  min-width:32px!important;min-height:32px!important;
  max-width:32px!important;max-height:32px!important;
 }
}

/* Catalog item 6 — mobile Projection now matches mobile Transactions rail. */
@media(max-width:800px){
 #app .projection-view .projection-month-chips{
   box-sizing:border-box!important;
   display:flex!important;align-items:center!important;
   gap:9px!important;
   width:100%!important;max-width:100%!important;
   min-height:117px!important;height:auto!important;
   padding:2px 1px 7px!important;
   overflow-x:auto!important;overflow-y:hidden!important;
   background:transparent!important;border:0!important;box-shadow:none!important;
   scroll-snap-type:x proximity!important;scrollbar-width:none!important;
 }
 #app .projection-view .projection-month-chips>button[data-proj-month]{
   display:flex!important;flex:0 0 72px!important;
   flex-direction:column!important;align-items:center!important;justify-content:space-between!important;
   box-sizing:border-box!important;
   width:72px!important;min-width:72px!important;max-width:72px!important;
   height:108px!important;min-height:108px!important;max-height:108px!important;
   padding:13px 7px 8px!important;margin:0!important;
   background:#f1f3f7!important;background-image:none!important;
   border:1px solid #edf0f4!important;border-radius:25px!important;
   box-shadow:none!important;color:var(--text-secondary)!important;
   scroll-snap-align:center!important;
   transition:background-color .3s ease,color .3s ease!important;
 }
 #app .projection-view .projection-month-chips>button[data-proj-month] .proj-month-year{
   display:block!important;
   font:500 12px/1.2 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
   color:var(--text-secondary)!important;letter-spacing:0!important;
 }
 #app .projection-view .projection-month-chips>button[data-proj-month] .proj-month-circle{
   display:grid!important;place-items:center!important;
   box-sizing:border-box!important;
   width:56px!important;min-width:56px!important;
   height:56px!important;min-height:56px!important;
   border-radius:50%!important;background:#fff!important;color:var(--text-primary)!important;
   font:650 15px/1 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
   box-shadow:0 1px 4px rgba(36,57,79,.035)!important;
 }
 #app .projection-view .projection-month-chips>button[data-proj-month]:is(.is-current,[aria-pressed="true"]){
   background:#e52a21!important;border-color:#e52a21!important;
   box-shadow:0 3px 9px rgba(167,31,25,.09)!important;
 }
 #app .projection-view .projection-month-chips>button[data-proj-month]:is(.is-current,[aria-pressed="true"]) .proj-month-year{
   color:#fff!important;font-weight:650!important;
 }
 #app .projection-view .projection-month-chips>button[data-proj-month]:is(.is-current,[aria-pressed="true"]) .proj-month-circle{
   background:#fff!important;color:var(--text-primary)!important;
 }
}
@media (prefers-reduced-motion:reduce) and (max-width:800px){
 #app .projection-view .projection-month-chips>button[data-proj-month]{transition:none!important}
}

/* Improvement section 43 */
/* v153: more rounded outer edges on calendar panels only.
   Keep all month/day geometry, animations and mobile rail styles unchanged. */
#app .filter-picker.period-picker > .control-menu.period-menu,
#app .filter-picker.period-picker > .period-menu,
#modal#modal#modal #form#form[data-finance-type] .date-picker.date-picker > .date-menu,
#modal#modal#modal #form#form[data-finance-type] .date-picker.date-picker > .control-menu,
#app .date-picker > .date-menu,
#app .date-picker > .control-menu {
  border-radius:28px!important;
}
@media(max-width:800px){
 #app .filter-picker.period-picker > .control-menu.period-menu,
 #app .filter-picker.period-picker > .period-menu,
 #modal#modal#modal #form#form[data-finance-type] .date-picker.date-picker > .date-menu,
 #modal#modal#modal #form#form[data-finance-type] .date-picker.date-picker > .control-menu,
 #app .date-picker > .date-menu,
 #app .date-picker > .control-menu {
   border-radius:26px!important;
 }
}

/* Improvement section 44 */
/* v154 — Make New Transaction date calendar visually match Visão Geral's
   period calendar while retaining its seven-column day grid and date controls. */
#modal#modal#modal #form#form[data-finance-type] .date-picker.date-picker > .date-menu.control-menu{
  border-radius:28px!important;
  border:1px solid #e5ebf1!important;
  background:linear-gradient(155deg,rgba(255,255,255,.682),rgba(234,241,249,.62))!important;
  background-color:transparent!important;
  box-shadow:inset 0 1px 1px #fff,0 18px 45px -10px rgba(52,70,91,.15),0 3px 10px rgba(52,70,91,.024)!important;
  padding:12px!important;
  gap:9px!important;
  overflow:hidden!important;
}
#modal#modal#modal #form#form[data-finance-type] .date-picker.date-picker .date-days > button[data-date-value]{
  border-radius:50%!important;
}
@media(max-width:800px){
 #modal#modal#modal #form#form[data-finance-type] .date-picker.date-picker > .date-menu.control-menu{
   border-radius:26px!important;
   padding:10px!important;
 }
}
@media(max-width:360px){
 #modal#modal#modal #form#form[data-finance-type] .date-picker.date-picker > .date-menu.control-menu{
  padding:8px!important;
  gap:6px!important;
 }
}

/* Improvement section 45 */
/* v155: match date helper label to the month heading's actual color. */
#modal .date-picker .date-menu .period-bottom > span{
 color:var(--text-secondary)!important;
}

/* Improvement section 46 */
/* v158 — Nova Transação as a mobile bottom sheet, inspired by transaction detail.
   Only when the finance form is a transaction; desktop and other dialogs untouched. */
@media(max-width:800px){
 html:has(body > #modal[open] #form[data-finance-type="transaction"]),
 body:has(> #modal[open] #form[data-finance-type="transaction"]){
   background:#fff;
 }
 body:has(> #modal[open] #form[data-finance-type="transaction"]) > .shell,
 body:has(> #modal[open] #form[data-finance-type="transaction"]) > .mobile-dock{
   filter:blur(var(--overlay-blur,9px));
 }
 html body dialog#modal#modal[open]:has(#form[data-finance-type="transaction"]){
   position:fixed!important;
   inset:auto 0 0!important;
   top:auto!important;right:0!important;bottom:0!important;left:0!important;
   box-sizing:border-box!important;
   display:block!important;
   width:min(100%,560px)!important;
   min-width:0!important;max-width:100%!important;
   height:70dvh!important;
   min-height:0!important;
   max-height:calc(100dvh - 20px)!important;
   margin:0 auto!important;
   padding:26px 20px calc(22px + env(safe-area-inset-bottom,0px))!important;
   border:0!important;
   border-radius:27px 27px 0 0!important;
   background:#fff!important;
   box-shadow:0 -14px 45px rgba(30,45,64,.10)!important;
   overflow-x:hidden!important;
   overflow-y:auto!important;
   overscroll-behavior:contain!important;
   -webkit-overflow-scrolling:touch!important;
   scrollbar-width:thin;
 }
 html body dialog#modal#modal[open]:has(#form[data-finance-type="transaction"])::before{
   content:""!important;
   display:block!important;
   width:36px!important;height:4px!important;
   border-radius:999px!important;
   background:#c8d5e0!important;
   margin:-14px auto 19px!important;
 }
 html body dialog#modal#modal[open]:has(#form[data-finance-type="transaction"])::backdrop{
   background:linear-gradient(to top,#fff 0 env(safe-area-inset-bottom,0px),rgba(34,60,83,.12) env(safe-area-inset-bottom,0px) 100%)!important;
   -webkit-backdrop-filter:none!important;
   backdrop-filter:none!important;
 }
 html body #modal[open]:has(#form[data-finance-type="transaction"]) .modal-head{
   padding:0 0 13px!important;
   margin:0 0 13px!important;
 }
 html body #modal[open]:has(#form[data-finance-type="transaction"]) #closeModal{
   position:absolute!important;top:17px!important;right:13px!important;
 }
}
@media (max-width:800px) and (prefers-reduced-motion:no-preference),(max-width:800px) and (min-width:801px){
 html body dialog#modal#modal[open]:has(#form[data-finance-type="transaction"]){
   animation:ux-new-tx-sheet-enter 310ms cubic-bezier(.22,.72,.24,1) both!important;
 }
 html body dialog#modal#modal[open]:has(#form[data-finance-type="transaction"])::backdrop{
   animation:ux-new-tx-backdrop-enter 310ms ease both!important;
 }
 @keyframes ux-new-tx-sheet-enter{
   from{transform:translateY(100%);opacity:.96}
   to{transform:translateY(0);opacity:1}
 }
 @keyframes ux-new-tx-backdrop-enter{
   from{opacity:0}
   to{opacity:1}
 }
}
@media(max-width:390px){
 html body dialog#modal#modal[open]:has(#form[data-finance-type="transaction"]){
   padding-left:17px!important;padding-right:17px!important;
 }
}

/* Improvement section 47 */
:root{--nexo-action-radius:15px;--nexo-action-height:40px}

/* v161 — Standardized ONLY the numbered action buttons selected in catalog v160.
   Shared desktop + mobile reference: Perfil mobile Save / Cancel.
   Primary: 40px, #ec0000, #fff, 15px corners, no shadow.
   Secondary (goal form Cancel only): 40px, #f3f4f7, #273344, 16px corners. */
html body #app .page-head button.primary[data-new="transaction"],
html body #app .page-head button.primary[data-new="debt"],
html body #app .page-head button.primary[data-new="goal"],
html body #app .page-head button.primary[data-new="register"],
html body #app .page-head button.primary[data-new="account"],
html body #app .page-head button.primary[data-new="card"],
html body #app .page-head button.primary[data-new="category"],
html body #app button.primary.projection-add-button,
html body #app .goal-card-actions button.primary[data-contribute^="goals:"],
html body #app .family-panel button.family-add[data-new="member"],
html body #headerAccounts button.primary[data-header-manage],
html body #modal#modal #form#form[data-finance-type="transaction"] button.primary[type="submit"],
html body #modal#modal #form#form[data-finance-type="contribution"] button.primary[type="submit"],
html body #modal#modal #form#form[data-finance-type="goal-contribution"] button.primary[type="submit"],
html body #modal#modal #form#form[data-finance-type="goal"] button.primary[type="submit"],
html body #modal#modal #form#form[data-finance-type="member"] button.primary[type="submit"],
html body #modal#modal #form#form[data-finance-type="account"] button.primary[type="submit"],
html body #modal#modal #form#form[data-finance-type="debt"] button.primary[type="submit"]{
  box-sizing:border-box!important;
  height:var(--nexo-action-height)!important;min-height:var(--nexo-action-height)!important;max-height:var(--nexo-action-height)!important;
  padding:7px 12px!important;
  border:1px solid #ec0000!important;
  border-radius:var(--nexo-action-radius)!important;
  background:#ec0000!important;
  background-image:none!important;
  color:#fff!important;
  font-size:13px!important;
  font-weight:550!important;
  box-shadow:none!important;
  text-shadow:none!important;
}

@media(min-width:801px){
 html body #app .page-head button.primary[data-new="register"],
 html body :is(#app .profile-settings button.primary.nexo-install-cta, #install-nexo#install-nexo button[data-close-install]) {
  box-sizing:border-box!important;
  height:40px!important;min-height:40px!important;max-height:40px!important;
  padding:7px 12px!important;
  border:1px solid #ec0000!important;
  border-radius:15px!important;
  background:#ec0000!important;
  background-image:none!important;
  color:#fff!important;
  font-size:13px!important;
  font-weight:550!important;
  box-shadow:none!important;
  text-shadow:none!important;
}

 html body :is(#app .profile-settings button.primary.nexo-install-cta, #install-nexo#install-nexo button[data-close-install]) {
  display:inline-flex!important;
  align-items:center;
  justify-content:flex-start!important;
  min-width:0!important;
  width:fit-content!important;
  gap:16px;
 }
 html body :is(#app .profile-settings button.primary.nexo-install-cta, #install-nexo#install-nexo button[data-close-install]) > span {
  display:inline-grid;
  place-items:center;
  flex:0 0 26px;
  width:26px;
  height:26px;
  border-radius:50%;
  background:#ffffff25;
  line-height:1;
  font-size:16px;
  transform:none;
 }
}

html body #modal#modal #form#form[data-finance-type="goal"] button.secondary[data-goal-cancel]{
  box-sizing:border-box!important;
  height:40px!important;min-height:40px!important;max-height:40px!important;
  padding:7px 12px!important;
  border:1px solid transparent!important;
  border-radius:16px!important;
  background:#f3f4f7!important;
  background-image:none!important;
  color:var(--text-primary)!important;
  font-size:13px!important;
  font-weight:500!important;
  box-shadow:none!important;
  text-shadow:none!important;
}
/* Keyboard navigation remains visible without restoring the unwanted blue mouse focus ring. */
html body button:focus-visible:is(
  [data-new="transaction"],[data-new="debt"],[data-new="goal"],[data-new="register"],
  [data-new="account"],[data-new="card"],[data-new="category"],
  [data-new="member"],[data-header-manage],[data-goal-cancel]
){
 outline:2px solid #8396a8!important;
 outline-offset:2px!important;
}

/* Improvement section 48 */
/* v162 — Exact visual tokens from Metas edit/delete buttons.
   Scope: debt card actions (desktop + mobile), transaction detail sheet (mobile).
   Existing data-edit/data-delete handlers remain unchanged. */
html body #app .row-actions button.delete[data-edit^="debt:"],
html body #app .row-actions button.delete[data-delete^="debts:"]{
  display:inline-grid!important;
  place-items:center!important;
  flex:0 0 38px!important;
  box-sizing:border-box!important;
  width:38px!important;height:38px!important;
  min-width:38px!important;min-height:38px!important;
  max-width:38px!important;max-height:38px!important;
  padding:0!important;margin:0!important;
  border-radius:50%!important;
  box-shadow:none!important;
  line-height:1!important;
}
html body #app .row-actions button.delete[data-edit^="debt:"]{
  color:#ec3850!important;
  background:#fff0f0!important;
  background-image:none!important;
  border:1px solid #fff0f0!important;
}
html body #app .row-actions button.delete[data-delete^="debts:"]{
  color:var(--text-muted)!important;
  background:#fcfdff!important;
  background-image:none!important;
  border:1px solid #e4e9f0!important;
}
html body #app .row-actions button.delete:is([data-edit^="debt:"],[data-delete^="debts:"]) :is(.nexo-icon,svg){
  display:block!important;
  flex:none!important;
  width:17px!important;height:17px!important;
  margin:0!important;
  stroke:currentColor!important;
  stroke-width:1.2px!important;
}
@media(max-width:800px){
 html body #mobile-tx-sheet[open] .tx-sheet-actions > button.tx-sheet-icon-action[data-edit^="transaction:"],
 html body #mobile-tx-sheet[open] .tx-sheet-actions > button.tx-sheet-icon-action[data-delete^="transactions:"]{
  display:inline-grid!important;
  place-items:center!important;
  flex:0 0 38px!important;
  box-sizing:border-box!important;
  width:38px!important;height:38px!important;
  min-width:38px!important;min-height:38px!important;
  max-width:38px!important;max-height:38px!important;
  aspect-ratio:1!important;
  padding:0!important;margin:0!important;
  border-radius:50%!important;
  box-shadow:none!important;
  line-height:1!important;
 }
 html body #mobile-tx-sheet[open] .tx-sheet-actions > button.tx-sheet-icon-action[data-edit^="transaction:"]{
  color:#ec3850!important;
  background:#fff0f0!important;
  background-image:none!important;
  border:1px solid #fff0f0!important;
 }
 html body #mobile-tx-sheet[open] .tx-sheet-actions > button.tx-sheet-icon-action[data-delete^="transactions:"]{
  color:var(--text-muted)!important;
  background:#fcfdff!important;
  background-image:none!important;
  border:1px solid #e4e9f0!important;
 }
 html body #mobile-tx-sheet[open] .tx-sheet-actions > button.tx-sheet-icon-action:is([data-edit^="transaction:"],[data-delete^="transactions:"]) :is(.nexo-icon,svg){
  display:block!important;
  flex:none!important;
  width:17px!important;height:17px!important;
  margin:0!important;
  stroke:currentColor!important;
  stroke-width:1.2px!important;
 }
}
html body #app .row-actions button.delete:is([data-edit^="debt:"],[data-delete^="debts:"]):focus-visible,
html body #mobile-tx-sheet[open] .tx-sheet-actions > button.tx-sheet-icon-action:is([data-edit^="transaction:"],[data-delete^="transactions:"]):focus-visible{
 outline:2px solid #94a7bc!important;
 outline-offset:2px!important;
}

/* Improvement section 49 */
/* v163 | form fields and action buttons aligned with Perfil save/cancel references.
   Filters on Visão Geral, month rails, calendar days, file uploads and toggles are excluded. */

/* Single-line editable fields inside forms, both screen sizes. */
html body form :is(
 input:not([type="hidden"],[type="checkbox"],[type="radio"],[type="file"],[type="range"],[type="color"],[type="submit"],[type="button"]),
 select,
 .universal-picker > summary.control-trigger,
 .date-picker > summary.control-trigger
),
html body .nexo-profile-bottom-sheet input.nexo-profile-edit-input{
 box-sizing:border-box!important;
 height:40px!important;
 min-height:40px!important;
 max-height:40px!important;
 font-size:14px!important;
}
/* Financial form pickers have higher-priority 48px rules in earlier stylesheets. */
html body #modal#modal #form#form[data-finance-type] :is(
 input:not([type="hidden"],[type="checkbox"],[type="radio"],[type="file"],[type="range"],[type="color"],[type="submit"],[type="button"]),
 select,
 .universal-picker > summary.control-trigger,
 .date-picker > summary.control-trigger
){
 box-sizing:border-box!important;
 height:40px!important;
 min-height:40px!important;
 max-height:40px!important;
 font-size:14px!important;
}
/* Dropdown options: the expanded choices also use the 40px rhythm. */
html body #modal#modal #form#form[data-finance-type] .universal-picker .control-options > button,
html body #modal#modal #form#form[data-finance-type] .universal-picker .control-options > .nested-option,
html body form .universal-picker .control-options > button,
html body form .universal-picker .control-options > .nested-option{
 box-sizing:border-box!important;
 height:40px!important;
 min-height:40px!important;
 max-height:40px!important;
 font-size:14px!important;
}
/* Multi-line message fields must remain tall and scrollable: type size alone changes. */
html body form textarea,
html body #nexo-feedback textarea{
 font-size:14px!important;
}

/* Feedback buttons exactly match mobile Perfil's Save (primary) and Cancel (secondary). */
html body #nexo-feedback#nexo-feedback button.primary[data-feedback-copy]{
 box-sizing:border-box!important;
 height:40px!important;min-height:40px!important;max-height:40px!important;
 padding:7px 12px!important;
 background:#ec0000!important;
 background-image:none!important;
 border:1px solid #ec0000!important;
 border-radius:15px!important;
 color:#fff!important;
 font-size:13px!important;font-weight:550!important;
 box-shadow:none!important;
 text-shadow:none!important;
}
html body #nexo-feedback#nexo-feedback button.secondary[data-feedback-close]{
 box-sizing:border-box!important;
 height:40px!important;min-height:40px!important;max-height:40px!important;
 padding:7px 12px!important;
 background:#f3f4f7!important;
 background-image:none!important;
 border:1px solid transparent!important;
 border-radius:16px!important;
 color:var(--text-primary)!important;
 font-size:13px!important;font-weight:500!important;
 box-shadow:none!important;
 text-shadow:none!important;
}
/* Header buttons 84/85 already have 40px sizing. Keep it without re-styling color. */
html body #headerAccounts .header-account-actions > :is(
 button.header-account-add,button[data-header-manage]
){
 box-sizing:border-box!important;
 height:40px!important;
 min-height:40px!important;
 max-height:40px!important;
}

/* Use the desktop hover lift of Cadastrar conta bancária on selected actions.
   Touch/mobile interactions remain motion-free. */
@media (min-width:801px) and (hover:hover) and (prefers-reduced-motion:no-preference),(min-width:801px) and (hover:hover) and (min-width:801px){
 html body :is(
 #app .page-head button.primary[data-new="transaction"],
 #app .page-head button.primary[data-new="debt"],
 #app .page-head button.primary[data-new="goal"],
 #app .page-head button.primary[data-new="register"],
 #app .page-head button.primary[data-new="account"],
 #app .page-head button.primary[data-new="card"],
 #app .page-head button.primary[data-new="category"],
 #app .projection-add-button,
 #app .goal-card-actions button.primary[data-contribute^="goals:"],
 #app .family-panel button.family-add[data-new="member"],
 #headerAccounts button[data-header-manage],
 #modal #form[data-finance-type] button.primary[type="submit"],
 #modal #form[data-finance-type="goal"] button.secondary[data-goal-cancel],
 #nexo-feedback button[data-feedback-copy],
 #nexo-feedback button[data-feedback-close]
 ){
  transition:transform .18s ease,box-shadow .18s ease,background-color .18s ease!important;
  will-change:transform;
 }
 html body :is(
 #app .page-head button.primary[data-new="transaction"],
 #app .page-head button.primary[data-new="debt"],
 #app .page-head button.primary[data-new="goal"],
 #app .page-head button.primary[data-new="register"],
 #app .page-head button.primary[data-new="account"],
 #app .page-head button.primary[data-new="card"],
 #app .page-head button.primary[data-new="category"],
 #app .projection-add-button,
 #app .goal-card-actions button.primary[data-contribute^="goals:"],
 #app .family-panel button.family-add[data-new="member"],
 #headerAccounts button[data-header-manage],
 #modal #form[data-finance-type] button.primary[type="submit"],
 #modal #form[data-finance-type="goal"] button.secondary[data-goal-cancel],
 #nexo-feedback button[data-feedback-copy],
 #nexo-feedback button[data-feedback-close]
 ):hover{
  transform:translateY(-2px)!important;
  box-shadow:0 5px 12px rgba(42,53,67,.12)!important;
 }
 html body :is(
 #app .page-head button.primary[data-new="transaction"],
 #app .page-head button.primary[data-new="debt"],
 #app .page-head button.primary[data-new="goal"],
 #app .page-head button.primary[data-new="register"],
 #app .page-head button.primary[data-new="account"],
 #app .page-head button.primary[data-new="card"],
 #app .page-head button.primary[data-new="category"],
 #app .projection-add-button,
 #app .goal-card-actions button.primary[data-contribute^="goals:"],
 #app .family-panel button.family-add[data-new="member"],
 #headerAccounts button[data-header-manage],
 #modal #form[data-finance-type] button.primary[type="submit"],
 #modal #form[data-finance-type="goal"] button.secondary[data-goal-cancel],
 #nexo-feedback button[data-feedback-copy],
 #nexo-feedback button[data-feedback-close]
 ):active{
  transform:translateY(0)!important;
 }
}
@media (prefers-reduced-motion:reduce) and (max-width:800px){
 html body :is(
 #app .page-head button.primary[data-new],
 #app .projection-add-button,
 #app .goal-card-actions button.primary[data-contribute^="goals:"],
 #app .family-panel button.family-add,
 #headerAccounts button[data-header-manage],
 #modal #form[data-finance-type] button.primary[type="submit"],
 #modal #form[data-finance-type="goal"] button.secondary[data-goal-cancel],
 #nexo-feedback button[data-feedback-copy],
 #nexo-feedback button[data-feedback-close]
 ){
  transition:none!important;
  transform:none!important;
 }
}

/* Projection form has a separate high-priority font-size rule. */
html body #app form#projection-add.projection-add-form input:not([type=hidden],[type=checkbox],[type=radio],[type=file]){font-size:14px!important;}

/* Override the prior mobile no-zoom 16px font specifically for Projection inputs. */
html body #app#app#app .projection-view #projection-add input:is(#projection-name,#projection-amount,#projection-cash,[data-proj-base]){font-size:14px!important;}
/* Higher specificity ensures the desktop lift casts a shadow above v161's !important no-shadow base. */
@media (min-width:801px) and (hover:hover) and (prefers-reduced-motion:no-preference),(min-width:801px) and (hover:hover) and (min-width:801px){
 html body #app#app :is(.page-head button.primary[data-new],.projection-add-button,.goal-card-actions button.primary[data-contribute^="goals:"],.family-panel button.family-add[data-new="member"]):hover,
 html body #headerAccounts#headerAccounts button[data-header-manage]:hover,
 html body #modal#modal #form#form[data-finance-type] button.primary[type="submit"]:hover,
 html body #modal#modal #form#form[data-finance-type="goal"] button.secondary[data-goal-cancel]:hover,
 html body #nexo-feedback#nexo-feedback button[data-feedback-copy]:hover,
 html body #nexo-feedback#nexo-feedback button[data-feedback-close]:hover{
  transform:translateY(-2px)!important;
  box-shadow:0 5px 12px rgba(42,53,67,.12)!important;
 }
}
@media(max-width:800px){
 html body #headerAccounts .header-account-actions > button.header-account-add:hover{
  transform:none!important;
 }
}

/* Improvement section 50 */
/* v164 — Precisely match Metas 5px edit/delete spacing on debt cards. */
html body #app .row-actions > div:has(> button[data-edit^="debt:"]):has(> button[data-delete^="debts:"]){
 display:inline-flex!important;
 align-items:center!important;
 justify-content:flex-end!important;
 flex:0 0 auto!important;
 gap:5px!important;
 white-space:nowrap!important;
}

/* Improvement section 51 */
/* v165 — The inline category creation rows match the 'Outros' option highlight.
   Scope: only the transaction form's category/subcategory dropdown footers. */
html body #modal#modal #form#form[data-finance-type="transaction"]
 .universal-picker .control-menu-footer > button[data-inline-category]{
  box-sizing:border-box!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:10px!important;
  width:calc(100% - 12px)!important;
  height:40px!important;
  min-height:40px!important;
  max-height:40px!important;
  padding:6px 12px!important;
  margin:0 6px!important;
  border:1px solid transparent!important;
  border-radius:10px!important;
  background:#edf3f8!important;
  background-image:none!important;
  color:var(--text-secondary)!important;
  font-size:14px!important;
  font-weight:400!important;
  text-align:left!important;
  box-shadow:none!important;
  transition:background-color .13s ease!important;
}
html body #modal#modal #form#form[data-finance-type="transaction"]
 .universal-picker .control-menu-footer > button[data-inline-category]:not(:disabled):hover{
  background:#eaf1f7!important;
}
html body #modal#modal #form#form[data-finance-type="transaction"]
 .universal-picker .control-menu-footer > button[data-inline-category]:focus-visible{
  outline:2px solid #94a7bc!important;
  outline-offset:1px!important;
}

/* Improvement section 52 */
/* v166 — shared control geometry by intent.
   Action buttons: 40px height, 16px corners (Limpar / Aplicar filtros reference).
   Editable inputs and expandable picker TRIGGERS: 50px height.
   Popup options, calendar days, icon buttons, checkboxes and textareas retain
   their specialized dimensions and functions. Desktop + mobile. */

/* Inputs and select triggers inside actual forms. Keep textarea multi-line. */
html body form :is(
  input:not([type="hidden"],[type="checkbox"],[type="radio"],[type="file"],[type="range"],[type="color"],[type="submit"],[type="button"],[type="reset"]),
  select,
  .universal-picker > summary.control-trigger,
  .date-picker > summary.control-trigger
),
html body .nexo-profile-bottom-sheet input.nexo-profile-edit-input {
  box-sizing:border-box!important;
  height:45px!important;
  min-height:45px!important;
  max-height:45px!important;
  font-size:14px!important;
}

/* Override finance form's historic 40 / 48px !important declarations. */
html body #modal#modal #form#form[data-finance-type] :is(
  input:not([type="hidden"],[type="checkbox"],[type="radio"],[type="file"],[type="range"],[type="color"],[type="submit"],[type="button"],[type="reset"]),
  select,
  .universal-picker > summary.control-trigger,
  .date-picker > summary.control-trigger
) {
  box-sizing:border-box!important;
  height:45px!important;
  min-height:45px!important;
  max-height:45px!important;
  font-size:14px!important;
}
/* Non-form filter triggers, including Visão Geral and statement filters.
   Workspace-picker is not a normal 50px selector, so leave it untouched. */
html body #app #financial-filters.filters > details.filter-picker > summary.control-trigger,
html body #app .cashflow-month-picker.filter-picker > summary.control-trigger,
html body #app .toolbar > details.filter-picker:not(.workspace-picker) > summary.control-trigger{
  box-sizing:border-box!important;
  height:45px!important;
  min-height:45px!important;
  max-height:45px!important;
}
/* Popup filter form (mobile sheet) has stronger 44px legacy rules. */
html body #mobile-filters-dialog#mobile-filters-dialog #mobile-filters-form#mobile-filters-form
  details.filter-picker.universal-picker > summary.control-trigger{
  box-sizing:border-box!important;
  height:45px!important;
  min-height:45px!important;
  max-height:45px!important;
  font-size:14px!important;
}

/* Action buttons — one geometry for every previously standardized action,
   and the comparable actions for debt payment, account header and feedback.
   This rule intentionally does not change existing primary/secondary colors. */
html body #app :is(
  .page-head button.primary[data-new],
  .projection-add-button,
  .goal-card-actions button.primary[data-contribute^="goals:"],
  .family-panel button.family-add[data-new="member"],
  .row-actions button.secondary[data-contribute^="debts:"]
),
html body #headerAccounts .header-account-actions > :is(button.header-account-add,button[data-header-manage]),
html body #modal#modal #form#form[data-finance-type] :is(
  button.primary[type="submit"],
  .transaction-form-actions > button,
  .goal-form-actions > button,
  button.secondary[data-goal-cancel]
),
html body #nexo-feedback#nexo-feedback .feedback-actions > button,
html body #mobile-filters-dialog#mobile-filters-dialog #mobile-filters-form#mobile-filters-form
  .mobile-filters-actions > button,
html body .nexo-profile-bottom-sheet .nexo-bottom-buttons > button {
  box-sizing:border-box!important;
  height:40px!important;
  min-height:40px!important;
  max-height:40px!important;
  border-radius:16px!important;
}
/* Prefer the same 16px corners on other named save/cancel buttons contained
   in a dialog's explicit action row, without affecting icon or menu controls. */
html body #modal#modal .modal-actions > :is(button.primary,button.secondary),
html body #modal#modal .form-actions > :is(button.primary,button.secondary){
  box-sizing:border-box!important;
  height:40px!important;
  min-height:40px!important;
  max-height:40px!important;
  border-radius:16px!important;
}
/* Respect the original highly-specific action selectors while unifying radius. */
html body #nexo-feedback#nexo-feedback button.primary[data-feedback-copy],
html body #nexo-feedback#nexo-feedback button.secondary[data-feedback-close],
html body #modal#modal #form#form[data-finance-type] button.primary[type="submit"],
html body #modal#modal #form#form[data-finance-type="goal"] button.secondary[data-goal-cancel],
html body #app#app .page-head button.primary[data-new],
html body #app#app .projection-add-button,
html body #app#app .goal-card-actions button.primary[data-contribute^="goals:"],
html body #app#app .family-panel button.family-add[data-new="member"],
html body #headerAccounts#headerAccounts button.primary[data-header-manage]{
 height:40px!important;
 min-height:40px!important;
 max-height:40px!important;
 border-radius:16px!important;
}

/* Improvement section 53 */
/* v168 — desktop Transactions search adopts mobile search surface and height.
   Preserve the desktop pill radius (999px), existing magnifier and search behavior.
   Mobile untouched. */
@media(min-width:801px){
 #app .transaction-tools > .toolbar {
  --tx-filter-height:45px;
  --tx-filter-background:#f4f6f9;
  --tx-filter-border:#dce5ee;
 }
 html body #app#app .toolbar > input#search#search{
  box-sizing:border-box!important;
  height:var(--tx-filter-height,45px)!important;
  min-height:var(--tx-filter-height,45px)!important;
  max-height:var(--tx-filter-height,45px)!important;
  border:1px solid var(--tx-filter-border,#dce5ee)!important;
  border-radius:999px!important;
  background-color:var(--tx-filter-background,#f4f6f9)!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%239ba8ba' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='10.8' cy='10.8' r='7.4'/%3E%3Cpath d='m16.3 16.3 4.8 4.8'/%3E%3C/svg%3E")!important;
  background-repeat:no-repeat!important;
  background-size:19px 19px!important;
  background-position:14px center!important;
  padding-left:44px!important;
  color:var(--text-primary)!important;
  font-size:13px!important;
  box-shadow:none!important;
  filter:none!important;
 }
 html body #app#app .toolbar > input#search#search:focus{
  border-color:#c9d7e5!important;
  outline:none!important;
  box-shadow:none!important;
 }
}

/* Improvement section 54 */
/* v169 — four narrow visual adjustments; existing handlers stay intact. */

/* Debts: "Registrar pagamento" matches the red "Nova dívida" action. */
html body #app#app .row-actions > button.secondary[data-contribute^="debts:"]{
  box-sizing:border-box!important;
  height:40px!important;min-height:40px!important;max-height:40px!important;
  border:1px solid #ec0000!important;
  border-radius:16px!important;
  background:#ec0000!important;background-image:none!important;
  color:#fff!important;
  font-size:13px!important;font-weight:550!important;
  box-shadow:none!important;
  text-shadow:none!important;
}
html body #app#app .row-actions > button.secondary[data-contribute^="debts:"] :is(svg,.nexo-icon){
  color:inherit!important;
  stroke:currentColor!important;
}
@media (min-width:801px) and (hover:hover) and (prefers-reduced-motion:no-preference),(min-width:801px) and (hover:hover) and (min-width:801px){
 html body #app#app .row-actions > button.secondary[data-contribute^="debts:"]{
  transition:transform .18s ease,box-shadow .18s ease,background-color .18s ease!important;
 }
 html body #app#app .row-actions > button.secondary[data-contribute^="debts:"]:hover{
  transform:translateY(-2px)!important;
  background:#ec0000!important;
  box-shadow:0 5px 12px rgba(42,53,67,.12)!important;
 }
 html body #app#app .row-actions > button.secondary[data-contribute^="debts:"]:active{
  transform:translateY(0)!important;
 }
}
/* Category registry: neutral background even on hover; only the edit/trash
   glyph turns red when hovered. Applies to nested and card action rows. */
html body #app#app .category-tree-card .category-registry-actions button:is([data-edit],[data-delete]){
  background:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
}
html body #app#app .category-tree-card .category-registry-actions button:is([data-edit],[data-delete]):is(:hover,:active){
  background:transparent!important;
  background-image:none!important;
  border-color:transparent!important;
  box-shadow:none!important;
  color:#ec0000!important;
}
html body #app#app .category-tree-card .category-registry-actions button:is([data-edit],[data-delete]):is(:hover,:active) :is(svg,.nexo-icon){
  color:#ec0000!important;
  stroke:currentColor!important;
}
html body #app#app .category-tree-card .category-registry-actions button:is([data-edit],[data-delete]):focus-visible{
  background:transparent!important;
  outline:2px solid #94a7bc!important;
  outline-offset:1px!important;
}

/* New Category: "Nenhuma" parent selector mirrors the Tipo/Despesa selector.
   45px, radius 15, neutral surface and no glass shadow. */
html body #modal#modal #form#form[data-finance-type="category"]
 .category-form-control > details.form-category-picker > summary.control-trigger{
  box-sizing:border-box!important;
  height:45px!important;min-height:45px!important;max-height:45px!important;
  padding:0 14px!important;
  border:1px solid #d4dde6!important;
  border-radius:15px!important;
  background:#fff!important;
  background-image:none!important;
  box-shadow:none!important;
  filter:none!important;
  color:var(--text-primary)!important;
  font-size:14px!important;
}
html body #modal#modal #form#form[data-finance-type="category"]
 .category-form-control > details.form-category-picker > summary.control-trigger:is(:hover,:focus){
  box-shadow:none!important;
  outline:none!important;
}
@media(max-width:800px){
 html body #modal#modal #form#form[data-finance-type="category"]
 .category-form-control > details.form-category-picker > summary.control-trigger{
  background:#f4f5f8!important;
  border-color:#d8dfe9!important;
 }
}

/* Emoji search: same sober surface as mobile "Buscar transações" search.
   Keep the existing magnifier, text and live emoji filtering. */
html body #modal#modal #form#form[data-finance-type="category"] input#iconSearch{
  box-sizing:border-box!important;
  width:100%!important;
  height:45px!important;min-height:45px!important;max-height:45px!important;
  padding:0 14px 0 44px!important;
  border:1px solid #dce5ee!important;
  border-radius:14px!important;
  background-color:#f4f6f9!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%239ba8ba' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='10.8' cy='10.8' r='7.4'/%3E%3Cpath d='m16.3 16.3 4.8 4.8'/%3E%3C/svg%3E")!important;
  background-repeat:no-repeat!important;
  background-size:19px 19px!important;
  background-position:14px center!important;
  box-shadow:none!important;
  filter:none!important;
  color:var(--text-primary)!important;
  font-size:14px!important;
}
html body #modal#modal #form#form[data-finance-type="category"] input#iconSearch:focus{
  background-color:#f4f6f9!important;
  border-color:#c9d7e5!important;
  box-shadow:none!important;
  outline:none!important;
}

/* Improvement section 55 */
/* v171 — Visão Geral only. Hover red belongs to the arrow itself,
   NEVER to its parent summary or its expanded state.
   No changes to JS, summary hitboxes, or other screens. */

/* Bank account list row pills (hover only): keep the v170 approved behavior. */
body:has(#app .overview-intro) #headerAccounts .header-account-list > button.header-account-row:hover{
  border-radius:999px!important;
}

/* The three card disclosure hitboxes remain transparent. Keep parent hover
   neutral so color is visible only when the cursor reaches the 22px SVG. */
body:has(#app .overview-intro) #app .summary-stats .summary-details > summary:is(:hover,:active),
body:has(#app .overview-intro) #app .summary-stats .summary-details[open] > summary{
  background:transparent!important;
  background-image:none!important;
  border-color:transparent!important;
  box-shadow:none!important;
  color:var(--text-secondary)!important;
}
body:has(#app .overview-intro) #app .summary-stats .summary-details > summary > svg.nexo-icon{
  color:inherit!important;
  background:transparent!important;
  box-shadow:none!important;
}
body:has(#app .overview-intro) #app .summary-stats .summary-details > summary > svg.nexo-icon:is(:hover,:active){
  color:#ec0000!important;
}
body:has(#app .overview-intro) #app .summary-stats .summary-details > summary:focus-visible{
  background:transparent!important;
  box-shadow:none!important;
  outline:2px solid #94a7bc!important;
  outline-offset:2px!important;
}

/* Explanation accordion: replace heavy textual chevron with a 1.4px line.
   The existing details[open] rotation is preserved. */
body:has(#app .overview-intro) #app .ux-values-explainer > summary .ux-explainer-chevron{
  display:inline-grid!important;
  place-items:center!important;
  width:24px!important;
  height:24px!important;
  flex:0 0 24px!important;
  font-size:0!important;
  line-height:0!important;
  font-weight:400!important;
  color:var(--text-primary)!important;
  background:transparent!important;
  box-shadow:none!important;
}
body:has(#app .overview-intro) #app .ux-values-explainer > summary .ux-explainer-chevron::before{
  content:"";
  display:block;
  width:9px;
  height:9px;
  border-style:solid;
  border-color:currentColor;
  border-width:0 1.4px 1.4px 0;
  transform:rotate(45deg) translate(-1px,-1px);
}
body:has(#app .overview-intro) #app .ux-values-explainer > summary .ux-explainer-chevron:is(:hover,:active){
  color:#ec0000!important;
}

/* Overview category-expense and nested category chevrons: SVG only. */
body:has(#app .overview-intro) #app :is(.category-expense-group,.category-overview-group,.category-nested-group)
 > summary > svg.nexo-icon:last-child:is(:hover,:active){
  color:#ec0000!important;
  background:transparent!important;
  box-shadow:none!important;
}

/* Three overview filters — the tiny CSS arrow, not the whole pill. */
body:has(#app .overview-intro) #app #financial-filters.filters
 .filter-picker:not(.period-picker) > summary.control-trigger > span.control-chevron:is(:hover,:active),
body:has(#app .overview-intro) #mobile-filters-dialog
 .filter-picker:not(.period-picker) > summary.control-trigger > span.control-chevron:is(:hover,:active){
  color:#ec0000!important;
  border-color:#ec0000!important;
  background:transparent!important;
  box-shadow:none!important;
}
/* Other conditional dropdown/disclosure arrow nodes within the Overview. */
body:has(#app .overview-intro) #app :is(.cashflow-month-picker,.ux-chart-customize)
 > summary > :is(.control-chevron,svg.nexo-icon:last-child):is(:hover,:active),
body:has(#app .overview-intro) #sidebar .workspace-picker > summary.control-trigger
 > svg.nexo-icon:last-child:is(:hover,:active),
body:has(#app .overview-intro) #headerAccounts.header-account-picker > summary.header-account-trigger
 > svg.nexo-icon:last-child:is(:hover,:active){
  color:#ec0000!important;
  stroke:currentColor!important;
  background:transparent!important;
  box-shadow:none!important;
}

/* Improvement section 56 */
/* v172 — typography of Feedback only; no layout, button or form behavior changes. */

/* Title and the secondary action share the same dark ink. */
html body #nexo-feedback#nexo-feedback h2#nexo-feedback-title,
html body #nexo-feedback#nexo-feedback button.secondary[data-feedback-close]{
  color:var(--text-primary)!important;
}

/* Written content is dark; the empty-state hint stays muted. */
html body #nexo-feedback#nexo-feedback textarea,
html body #nexo-feedback#nexo-feedback textarea:focus{
  color:var(--text-primary)!important;
  font-size:13px!important;
}
html body #nexo-feedback#nexo-feedback textarea::placeholder{
  color:var(--text-secondary)!important;
  font-size:13px!important;
  opacity:1!important;
}

/* Desktop: both supporting copy lines are 13px. */
html body #nexo-feedback#nexo-feedback label,
html body #nexo-feedback#nexo-feedback p{
  font-size:13px!important;
}

/* Mobile: supporting copy lines use 14px, but the hint remains 13px. */
@media(max-width:800px){
  html body #nexo-feedback#nexo-feedback label,
  html body #nexo-feedback#nexo-feedback p{
    font-size:14px!important;
  }
}

/* Improvement section 57 */
/* v176 — All expandable "Todas as categorias" filters, including
   Dashboard and Transações. Parent category pill remains unchanged.
   Remove the vertical guide; keep "Toda a categoria" at its former x-position
   and indent subcategories by 12px. No changes to category registries. */
html body #app#app .filter-picker[data-picker="category"]
 .category-filter-children:not([hidden]),
html body #mobile-filters-dialog#mobile-filters-dialog
 .filter-picker[data-picker="category"] .category-filter-children:not([hidden]){
  border-inline-start:0!important;
  border-left:0!important;
  box-shadow:none!important;
  background:transparent!important;
}
/* Text-only expanded category choices, without pill-shaped item backgrounds. */
html body #app#app .filter-picker[data-picker="category"]
 .control-options .category-filter-children:not([hidden]) > button,
html body #mobile-filters-dialog#mobile-filters-dialog
 .filter-picker[data-picker="category"] .control-options .category-filter-children:not([hidden]) > button{
  box-sizing:border-box!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  width:100%!important;
  height:auto!important;
  min-height:40px!important;
  padding:9px 10px!important;
  margin:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
  text-align:left!important;
  font-size:14px!important;
  font-weight:400!important;
  color:var(--text-secondary)!important;
}
/* Only nested subcategory choices move 12px to the right. */
html body #app#app .filter-picker[data-picker="category"]
 .control-options .category-filter-children:not([hidden]) > button.nested-option,
html body #mobile-filters-dialog#mobile-filters-dialog
 .filter-picker[data-picker="category"] .control-options .category-filter-children:not([hidden]) > button.nested-option{
  padding-left:22px!important;
}
html body #app#app .filter-picker[data-picker="category"]
 .control-options .category-filter-children:not([hidden]) > button:is(:hover,:focus-visible,[aria-checked="true"]),
html body #mobile-filters-dialog#mobile-filters-dialog
 .filter-picker[data-picker="category"] .control-options .category-filter-children:not([hidden]) > button:is(:hover,:focus-visible,[aria-checked="true"]){
  background:transparent!important;
  background-image:none!important;
  border:0!important;
  box-shadow:none!important;
  color:var(--text-primary)!important;
}
html body #app#app .filter-picker[data-picker="category"]
 .control-options .category-filter-children:not([hidden]) > button[aria-checked="true"],
html body #mobile-filters-dialog#mobile-filters-dialog
 .filter-picker[data-picker="category"] .control-options .category-filter-children:not([hidden]) > button[aria-checked="true"]{
  font-weight:600!important;
}
html body #app#app .filter-picker[data-picker="category"]
 .control-options .category-filter-children:not([hidden]) > button:focus-visible,
html body #mobile-filters-dialog#mobile-filters-dialog
 .filter-picker[data-picker="category"] .control-options .category-filter-children:not([hidden]) > button:focus-visible{
  outline:2px solid #93a7b9!important;
  outline-offset:-2px!important;
}
/* Metas > Adicionar à meta: only the "Descontar do saldo da conta" row
   changes from 50 to 40px; switch itself and its checked behavior are intact. */
html body #modal#modal #form#form[data-finance-type="goal-contribution"]
 > label.invoice-debit-choice{
  box-sizing:border-box!important;
  height:40px!important;
  min-height:40px!important;
  max-height:40px!important;
  padding:7px 14px!important;
  display:flex!important;
  align-items:center!important;
}

/* Improvement section 58 */
/* v175 — Editing a goal: "Já tenho" mirrors "Quanto custa" field's
   45px height, solid light-grey fill and 13px corners. Preserve the bold 350 value.
   No changes to creation, contribution controls, or saved-value calculations. */
html body #modal#modal #form#form[data-finance-type="goal"]
  .goal-saved-value > strong{
  box-sizing:border-box!important;
  display:flex!important;
  align-items:center!important;
  width:100%!important;
  height:45px!important;
  min-height:45px!important;
  max-height:45px!important;
  padding:0 14px!important;
  border:1px solid #d8dfe9!important;
  border-radius:13px!important;
  background:#f4f5f8!important;
  background-image:none!important;
  box-shadow:none!important;
  color:var(--text-secondary)!important;
  font-size:15px!important;
  font-weight:700!important;
  line-height:normal!important;
  font-variant-numeric:tabular-nums;
}

/* Improvement section 59 */
/* v177 — Editar meta. Align "Já tenho" with "Quanto custa":
   matching 12px/620 labels, 7px label-field gap and 45px fields.
   Preserve the saved total in bold. */
html body #modal#modal #form#form[data-finance-type="goal"] .goal-saved-value{
  gap:7px!important;
}
html body #modal#modal #form#form[data-finance-type="goal"] .goal-saved-value > span{
  font-size:12px!important;
  font-weight:620!important;
  line-height:normal!important;
  color:var(--text-secondary)!important;
}
html body #modal#modal #form#form[data-finance-type="goal"] .goal-saved-value > strong{
  font-size:14px!important;
  font-weight:700!important;
  padding-inline:12px!important;
}
/* Remove only the separator directly above the photo-picker in goal forms,
   keeping the photo card's own thin border intact. */
html body #modal#modal:has(#form[data-finance-type="goal"]) > .modal-head{
  border-bottom:0!important;
}

/* Improvement section 60 */
/* v179 — Cadastros only. No pink background on delete hover,
   just a red trash icon. Preserve hit target and deletion behavior. */
html body #app#app:has(.page-head[data-heading-page="Cadastros"])
 button.delete[data-delete]{
 background:transparent!important;
 background-image:none!important;
 box-shadow:none!important;
}
html body #app#app:has(.page-head[data-heading-page="Cadastros"])
 button.delete[data-delete]:is(:hover,:active){
 background:transparent!important;
 background-image:none!important;
 box-shadow:none!important;
 color:#ec0000!important;
}
html body #app#app:has(.page-head[data-heading-page="Cadastros"])
 button.delete[data-delete]:is(:hover,:active) :is(svg,.nexo-icon){
 color:#ec0000!important;
 stroke:currentColor!important;
}
html body #app#app:has(.page-head[data-heading-page="Cadastros"])
 button.delete[data-delete]:focus-visible{
 background:transparent!important;
 outline:2px solid #94a7bc!important;
 outline-offset:1px!important;
}

.nexo-notice-detail-message{white-space:pre-line}
