/* TERROIRS VIVANTS V266 — unified typography scale (-15% to -20%).
   Text only: control dimensions, spacing, layout and icon sizes stay unchanged. */
:root{
  --tev-font-body:11.5px;
  --tev-font-label:10px;
  --tev-font-page-title:30px;
  --tev-font-page-title-mobile:26px;
  --tev-font-heading-2:17px;
  --tev-font-heading-3:15px;
  --tev-body-size:var(--tev-font-body);
  --tev-label-size:var(--tev-font-label);
  --tev-table-head-size:var(--tev-font-label);
}

html,body{font-size:var(--tev-font-body)}
body #app{font-size:var(--tev-font-body)}

/* Header / navigation. */
.nav button{font-size:11.5px!important}
body #app .topbar .nav button,
body #app .topbar .ghost,
body #app .topbar .btn{font-size:var(--tev-font-body)!important}

/* Main application: ADMIN, PRO and VIGNERON share one text scale. */
body #app .shell .main{font-size:var(--tev-font-body)!important}
body #app .shell .main input,
body #app .shell .main select,
body #app .shell .main textarea,
body #app .shell .main button{font-size:var(--tev-font-body)!important}
body #app .shell .main p,
body #app .shell .main li,
body #app .shell .main a,
body #app .shell .main td,
body #app .shell .main summary,
body #app .shell .main .notice,
body #app .shell .main .muted{font-size:var(--tev-font-body)!important}
body #app .shell .main label,
body #app .shell .main small,
body #app .shell .main th,
body #app .shell .main .pill,
body #app .shell .main .product-meta{font-size:var(--tev-font-label)!important}

body #app .shell .main h2{font-size:var(--tev-font-heading-2)!important}
body #app .shell .main h3{font-size:var(--tev-font-heading-3)!important}
body #app .shell .main h4{font-size:13px!important}
body #app .shell .main>.section-title,
body #app .shell .main>.tev-page-title,
body #app .shell .main>.title-actions>h1,
body #app .shell .main .section-title,
body #app .shell .main .tev-page-title{font-size:var(--tev-font-page-title)!important}
body #app .shell .main .domain-title h2,
body #app .shell .main .admin-domain-head h2{font-size:17px!important}
body #app .shell .main .kpi strong{font-size:28px!important}

/* Tables keep their physical row/control heights; only glyphs are smaller. */
body #app .shell .main .tablewrap thead th,
body #app .shell .main .catalogue-table thead th{font-size:var(--tev-font-label)!important}
/* The catalogue charter owns its header with a deliberately high-specificity selector;
   match that scope here so the final typography layer remains authoritative. */
html body.tev-admin-catalogue-v241 #app .catalog-admin-domain .catalogue-table thead th{font-size:var(--tev-font-label)!important}
body #app .shell .main .tablewrap tbody td,
body #app .shell .main .catalogue-table tbody td{font-size:var(--tev-font-body)!important}
body #app .shell .main .tablewrap tbody input,
body #app .shell .main .tablewrap tbody select,
body #app .shell .main .catalogue-table tbody input,
body #app .shell .main .catalogue-table tbody select{font-size:var(--tev-font-body)!important}

/* Multi-price: preserve every column and its 44px physical width; text only is reduced. */
body #app .shell .main .tev-v259-price-grid label span{font-size:7.5px!important}
body #app .shell .main .tev-v259-price-grid input{font-size:9px!important}

/* Login / HOME access screen. */
.login-toplinks button{font-size:12px!important}
.tev-login{font-size:var(--tev-font-body)!important}
.tev-login .login-box h2{font-size:15px!important}
.tev-login .field label{font-size:11.5px!important}
.tev-login .field input,
.tev-login .field select,
.tev-login .field textarea{font-size:13px!important}
.tev-login .login-submit{font-size:13px!important}
.tev-login .forgot{font-size:11.5px!important}
.tev-login .back-pro{font-size:10px!important}
.tev-login .login-foot{font-size:10px!important}
.tev-login .notice{font-size:10.5px!important}
.tev-login .login-footer b{font-size:23px!important}
.tev-login .login-footer p{font-size:10.5px!important}
.tev-login .login-kicker{font-size:10px!important}
.tev-login .login-copy h1{font-size:51px!important}
.tev-login .login-copy p{font-size:15px!important}
.tev-login .tabs button{font-size:11.5px!important}
.tev-login .login-toplinks .tev-tariffs-panel a{font-size:10.5px!important}

/* Explicit icon exceptions: typography reduction must not shrink icon glyphs. */
body #app .shell .main .tev-row-action-trigger{font-size:20px!important}
.tev-login .eye{font-size:17px!important}
.tev-login .login-submit b{font-size:24px!important}
.tev-login .tev-tariffs-trigger .chevron{font-size:10px!important}

@media(max-width:700px){
  body #app .shell .main>.section-title,
  body #app .shell .main>.tev-page-title,
  body #app .shell .main>.title-actions>h1,
  body #app .shell .main .section-title,
  body #app .shell .main .tev-page-title{font-size:var(--tev-font-page-title-mobile)!important}
  .login-toplinks button{font-size:10px!important}
  .tev-login .login-box h2{font-size:12.5px!important}
  .tev-login .login-footer p{font-size:9px!important}
}
