/* BudgetClair V6 - finition partagee / jamais de changement de grille. */
:root{--bc-ui-chevron:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='m5 7.5 5 5 5-5' stroke='%2379dced' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'/%3E%3C/svg%3E");}
html[data-bc-theme='light']{--bc-ui-chevron:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='m5 7.5 5 5 5-5' stroke='%23136b93' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'/%3E%3C/svg%3E");}
/* Neutral, consistent arrow for native SELECT only. The existing clair-select, date pickers
   and calendars are intentionally excluded. */
:where(.bc-app-page) select:not([multiple]):not([size]):not(.clair-select-original):not(.bc-calendar-select):not(.bc-date-select):not([data-bc-date-select]):not(.bc-expense-calendar select):not(.bc-calendar select):not(.bc-datepicker select){
  appearance:none;-webkit-appearance:none;background-image:var(--bc-ui-chevron);background-repeat:no-repeat;background-position:right 12px center;background-size:19px 19px;padding-right:39px;min-height:42px;border-radius:11px;font-size:max(14px,1em);font-family:inherit;line-height:1.4;
}
:where(.bc-app-page) select:where(:focus-visible):not(.clair-select-original){outline:2px solid #45c6de;outline-offset:2px;}
:where(.bc-app-page) :where(input:not([type='checkbox']):not([type='radio']),textarea){font-family:inherit;font-size:max(14px,1em);}
:where(.bc-app-page) :where(label){font-weight:500;}
:where(.bc-app-page) :where(.bc-page-heading h1,.budget-heading h1,.profiles-heading h1){font-weight:650;letter-spacing:-.022em;line-height:1.15;}
:where(.bc-app-page) :where(.bc-page-heading h2,.budget-v11-panel-head h2,.bc-ech-panel-head h2){font-weight:600;letter-spacing:-.012em;}
:where(.bc-app-page) :where(.primary-action,.budget-secondary-action,.bc-ech-shortcut,.bc-ech-save,.bc-ech-outline){font-size:max(14px,1em);font-weight:600;}
:where(.bc-app-page) :where(button,a,select,input,textarea):focus-visible{outline:2px solid #59cde7;outline-offset:3px;}
@media(max-width:600px){:where(.bc-app-page) :where(.bc-page-heading h1,.budget-heading h1,.profiles-heading h1){line-height:1.2;}}
/* Harmonisation des titres entre Accueil, Budget et Mes profils. */
.bc-app-page :is(.bc-page-heading h1,.budget-heading h1,.profiles-page>header h1){
 font-size:clamp(28px,2.25vw,32px);font-weight:600;line-height:1.16;
 letter-spacing:-.025em;margin:4px 0 7px;
}
.bc-app-page :is(.bc-eyebrow,.budget-heading .eyebrow,.profiles-page>header .eyebrow){
 font-size:14px;font-weight:600;letter-spacing:.085em;line-height:1.4;
}
.bc-app-page :is(.bc-subtitle,.budget-heading-text,.profiles-page>header>p:not(.eyebrow)){
 font-size:14px;line-height:1.45;
}
.bc-app-page :is(.budget-kpi-value){font-weight:650;letter-spacing:0;}
.bc-app-page :is(.primary-action,.budget-secondary-action,.bc-ech-save,.bc-ech-outline){border-radius:11px;}
@media (min-width:768px){
 .bc-app-page .budget-page{padding-top:22px;}
 .bc-app-page .profiles-page{padding-top:22px;}
}
@media(max-width:600px){
 .bc-app-page :is(.bc-page-heading h1,.budget-heading h1,.profiles-page>header h1){font-size:28px;margin:3px 0 6px;}
}
