/* Charte DESALTERA : logo officiel, couleurs du kit Elementor, polices du site. */
@font-face{font-family:'Noto Sans';font-style:normal;font-weight:100 900;font-display:swap;src:url('noto-sans-latin.woff2') format('woff2')}
@font-face{font-family:'Roboto Condensed';font-style:normal;font-weight:100 900;font-display:swap;src:url('roboto-condensed-latin.woff2') format('woff2')}
:root{--nav:#255fa7;--nav-dark:#1d4c87;--teal:#255fa7;--teal-soft:#edf5ff;--ink:#172e4a;--muted:#60748b;--line:#dde7f1;--paper:#f6fbff;--shadow:0 12px 45px #255fa70d;--lime:#9bd025}
body{font-family:'Noto Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
h1,h2,h3,.nav-item,.stat strong{font-family:'Roboto Condensed','Noto Sans',sans-serif}
h1{font-size:34px;letter-spacing:-.4px;color:var(--nav);font-weight:650}h2{font-size:22px;font-weight:650}h3{font-size:18px}
button{border-color:#ccdbea;border-radius:8px}button:hover{background:#edf5ff}
button.primary{background:var(--nav);border-color:var(--nav)}button.primary:hover{background:var(--nav-dark)}
.page-header .new-task,.auth-card button.primary{background:var(--lime);border-color:var(--lime);color:#163350;border-radius:24px}
.page-header .new-task:hover,.auth-card button.primary:hover{background:#afd94f;border-color:#afd94f}
input,select,textarea{border-color:#cbd9e8;color:var(--ink)}label{color:#45617f}
input[readonly]{background:#f3f7fc;color:var(--muted)}input:focus,select:focus,textarea:focus,button:focus-visible,summary:focus-visible{outline-color:#aacafa}
.brand{display:block;letter-spacing:0;line-height:1.2}.brand img{display:block;width:167px;height:39px;object-fit:contain}.brand span{font-family:'Noto Sans',sans-serif;font-size:11px;letter-spacing:.25px;color:var(--muted);margin-top:12px;font-weight:450}
.sidebar{background:#fff;color:var(--ink);border-right:1px solid var(--line);border-top:5px solid var(--nav)}
.sidebar .brand{margin:0 9px 36px;color:var(--nav)}.sidebar .brand span{color:#60748b}
.nav-label{color:#7a90aa;letter-spacing:1.2px}.nav-item{color:#45698e;font-size:15px;font-weight:600}.nav-item:hover{background:#f1f7ff}.nav-item.selected{background:#edf4ff;color:var(--nav);box-shadow:inset 3px 0 var(--nav)}
.nav-count{color:var(--nav);background:#dcecff}.sidebar-bottom{border-color:var(--line)}.sidebar-bottom .muted{color:var(--muted)}.sidebar-bottom .text-button{color:var(--nav)}
.stat{border-top:3px solid #d7e7fa}.stat:first-child{border-top-color:var(--nav)}.stat:nth-child(3){border-top-color:#458eea}.stat:last-child{border-top-color:var(--lime)}.stat span{color:#5d738d}.stat strong{font-size:43px;color:var(--nav);font-weight:600}.danger-stat strong{color:var(--red)}
.avatar{color:var(--nav);background:#eaf3ff}.summary-action,.main-cell p{color:#566d85}.team-number{color:var(--nav)}
.badge.neutral{background:#edf2f8;color:#526c88}.badge.progress{background:#e3efff;color:var(--nav)}.badge.done{background:#eff6df;color:#4c681b}
th{background:#f4f8fc;color:#69839e}.empty{color:var(--muted)}.import-choices>div,.import-choices>form{background:#f6fbff}.page-footer{color:#8095ae}
.auth-page{background:radial-gradient(ellipse at 15% 10%,#e2f0ff,transparent 55%),linear-gradient(135deg,#f6fbff,#eef4fd)}
.auth-card{border-top:5px solid var(--nav);border-radius:18px}.auth-card .brand{margin-bottom:38px}.auth-card .brand img{width:190px;height:auto}.auth-card h1{font-size:36px}
dialog::backdrop{background:#132f58b8}
@media(max-width:1150px){h1{font-size:30px}.sidebar .brand img{width:155px;height:auto}}
@media(max-width:760px){.sidebar{border-right:0;border-bottom:1px solid var(--line);padding-top:17px}.sidebar .brand{margin:0 0 17px;display:flex;align-items:center;gap:14px}.sidebar .brand img{width:145px;height:auto}.sidebar .brand span{margin:0;max-width:130px;font-size:10px}.nav-item{font-size:14px}.page-header h1{font-size:29px}.panel h2{font-size:21px}.stat strong{font-size:36px}.page-header .new-task{border-radius:22px}.sidebar-bottom .user-name{color:#335d8f}}
@media(max-width:420px){.sidebar .brand span{display:block;margin:0}.page-header h1{font-size:28px}}

/* Lisibilité : densité réduite et texte courant plus confortable. */
body{font-size:15px;line-height:1.6}
h1,h2,h3{font-family:'Noto Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;letter-spacing:-.25px}
h1{font-size:32px;font-weight:700;line-height:1.25}
h2{font-size:21px;font-weight:700;line-height:1.3}
h3{font-size:17px;font-weight:700}
label{font-size:13px;font-weight:650}
label input,label select,label textarea{font-size:15px}
.workspace{padding-top:42px}
.panel{padding:28px}
.filters-panel{padding:24px 26px}
.stat{padding:22px 25px}
.stat span{font-size:13px}
.stat strong{font-size:41px}
table{font-size:13px}
th{padding:15px 18px;font-size:11px;letter-spacing:.35px}
td{padding:19px 18px}
.main-cell strong{font-size:14px}
.main-cell p{font-size:13px;line-height:1.5}
td small{font-size:11px}
.badge{font-size:11px;padding:4px 9px}
.task-summary{padding:19px 10px}
.task-summary strong{font-size:14px}
.summary-action{font-size:13px}
.nav-item{font-size:15px}
.muted{color:#526a84}
@media(max-width:760px){
  body{font-size:15px}
  .workspace{padding:26px 16px}
  .panel{padding:22px 19px}
  .filters-panel{padding:20px 18px}
  .stats{gap:12px}
  .stat{padding:17px 15px}
  .stat span{font-size:12px}
  .stat strong{font-size:34px}
  th{padding:13px 14px;font-size:10px}
  td{padding:16px 14px}
}

/* Une interface plus calme : le bleu sert aux repères et aux actions. */
:root{--ink:#17293d;--muted:#617080;--paper:#f5f6f8;--line:#e1e6eb;--nav:#245fa7;--nav-dark:#183f70}
body{background:var(--paper)}
h1,h2,h3{color:var(--ink)}
.page-header .eyebrow{color:#245fa7}
.sidebar{background:#fff;border-top-color:#9bd025;box-shadow:8px 0 28px #17293d08}
.sidebar .brand{color:var(--ink)}
.nav-item{color:#4c6074;border-radius:10px;margin-bottom:7px}
.nav-item:hover{background:#f1f4f7;color:var(--ink)}
.nav-item.selected{background:#e7f0fb;color:#174f94;box-shadow:inset 3px 0 #9bd025}
.nav-count{background:#fff;color:#174f94;border:1px solid #cfe0f2}
.panel,.stat{border-color:#e2e6eb;box-shadow:0 5px 18px #17293d08}
.panel{background:#fff}
.stat{position:relative;overflow:hidden;border-top:0;padding-left:59px}
.stat:before{position:absolute;left:21px;top:23px;width:27px;height:27px;border-radius:9px;display:grid;place-items:center;font-size:15px;font-weight:800}
.stat:nth-child(1):before{content:'✓';background:#e9f3e1;color:#52791a}
.stat:nth-child(2):before{content:'!';background:#fff0ed;color:#a24430}
.stat:nth-child(3):before{content:'◷';background:#e9f1fb;color:#245fa7}
.stat:nth-child(4):before{content:'✓';background:#e8f5ef;color:#247251}
.stat strong{color:var(--ink);font-family:'Noto Sans',sans-serif;font-size:35px;font-weight:750;letter-spacing:-1px}
.danger-stat strong{color:#b14332}
.stat span{color:#40566c;font-weight:700}
.page-header .new-task{box-shadow:0 6px 14px #9bd02555}
th{background:#f7f8fa;color:#56697d;border-bottom:1px solid var(--line)}
tr:nth-child(even) td{background:#fcfdfe}
.tasks-table tr:hover td{background:#f2f7fc}
.badge{font-weight:700}
.auth-page{background:#f5f6f8}
.auth-card{border-top-color:#9bd025;box-shadow:0 18px 50px #17293d14}
.auth-card h1{color:var(--ink)}
.auth-card .brand{color:var(--ink)}
@media(max-width:760px){.stat{padding-left:50px}.stat:before{left:14px;top:17px}.sidebar{box-shadow:none}}
