/* TAC Hygiène · expérience V1.4, blue-led identity, mobile-first */
:root{--tac14-ink:#172b56;--tac14-blue:#215cdd;--tac14-mid:#2f7cff;--tac14-pale:#eff5ff;--tac14-border:#dce7fa}
/* Override legacy mint/green brand where visible without changing sanitary alert meanings */
.ux-brand-mark,.ux-mobile-logo,.ux-login-intro{background:linear-gradient(132deg,#193f9c,#2876f0)!important}
.ux-login-intro:before{background:transparent}
.ux-topbar,.ux-sidebar{border-color:#e3e9f8}
.ux-nav-link.active,.ux-bottom-nav a.active,.ux-eyebrow,.ux-datestamp{color:#2059c8!important}
.ux-nav-link.active{background:#edf4ff!important}
.ux-site-select{border-color:#dbe7fa}
#view .btn.primary,.btn.primary,.ux-hero-card,.ux-scan-cta{background:linear-gradient(120deg,#2156bd,#2f7cfa)!important;border-color:#2156bd!important;color:white!important}
.ux-login-submit{background:linear-gradient(120deg,#2156bd,#2f7cfa)!important}
.ux-bottom-nav{border-color:#e4eafa!important}
.ux-content{background:linear-gradient(180deg,#f6f9ff,#fff 85%)}
.ux-login-kicker{color:#c5ddff!important}
.ux-login-intro p{color:#e0edff!important}
.tac-v12-home{color:var(--tac14-ink)}
.v14-home{max-width:870px;margin:0 auto;display:grid;gap:16px}
.v14-welcome span,.v14-eyebrow{color:#6884af;font-size:11px;text-transform:uppercase;letter-spacing:.1em;font-weight:800}
.v14-welcome h1{font-size:clamp(27px,5vw,36px);color:var(--tac14-ink);letter-spacing:-.9px;margin:5px 0}
.v14-welcome p,.v14-page>p{font-size:13px;color:#7183a0;margin:0}
.v14-weather{display:grid;grid-template-columns:86px minmax(0,1fr);grid-template-areas:"symbol title" "footer footer";align-items:center;gap:15px 17px;min-height:190px;border-radius:24px;padding:23px;background:linear-gradient(120deg,#214caf,#377ce9);color:white;box-shadow:0 15px 28px rgba(30,83,169,.14)}
.v14-weather.sun{background:linear-gradient(120deg,#2258c9,#438df5)}
.v14-weather.cloud{background:linear-gradient(120deg,#244d9e,#5279d5)}
.v14-weather.storm{background:linear-gradient(120deg,#293e81,#6d78ba)}
.v14-weather.unknown{background:linear-gradient(120deg,#546f9b,#829cc3)}
.v14-weather-symbol{grid-area:symbol;width:78px;height:78px;border-radius:23px;background:#ffffff22;display:grid;place-items:center}
.v14-weather-symbol svg{width:54px;height:54px;color:#e5edff}
.v14-weather-text{grid-area:title;min-width:0}
.v14-weather-text small{letter-spacing:.1em;font-size:9px;font-weight:800;color:#d7e6ff}
.v14-weather-text h2{font-size:25px;letter-spacing:-.5px;margin:5px 0;color:#fff}
.v14-weather-text p{color:#e4edff;font-size:13px;margin:0;line-height:1.5}
.v14-weather-foot{grid-area:footer;display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid #ffffff33;padding-top:15px;font-size:12px}
.v14-weather-foot strong{font-size:18px}
.v14-weather-foot button{background:#fff;color:#2457b4;border:0;border-radius:12px;min-height:43px;padding:8px 12px;font-weight:750;display:flex;align-items:center;gap:7px;font-size:12px}
.v14-fineprint{color:#8a99b2;font-size:10px;margin:0}
.v14-heading,.v14-extra h2{font-size:18px;color:#21375e;margin:11px 0 0}
.v14-quicktiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.v14-action{display:grid;grid-template-columns:1fr auto;grid-template-rows:auto auto;text-align:left;align-content:space-between;gap:10px;min-height:114px;padding:17px;background:white;border:1px solid #e2eaf8;border-radius:19px;color:#233963;box-shadow:0 4px 15px #d8e4fa39}
.v14-action>span{grid-column:1/-1;width:42px;height:42px;border-radius:12px;background:#edf4ff;display:grid;place-items:center;color:#2864d5}
.v14-action b{font-size:13px}.v14-action>svg{align-self:center;color:#95a9ca}
.v14-home-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px;border-radius:18px;background:#f0f5ff;border:1px solid #dce7fb;color:#1e3b79}
.v14-home-footer strong{font-size:13px}.v14-home-footer p{font-size:11px;margin:4px 0 0;color:#788bb0}
.v14-soft{border:1px solid #bdd2fb;border-radius:12px;white-space:nowrap;background:white;color:#285ec5;padding:10px;display:flex;align-items:center;gap:3px;font-weight:750;font-size:11px}
.v14-page{max-width:860px;margin:auto;display:grid;gap:16px}
.v14-page h1{color:#172c57;letter-spacing:-1px;font-size:clamp(25px,4.5vw,35px);margin:0}
.v14-action-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin-top:7px}
.v14-actionitem{display:flex;align-items:center;flex-wrap:wrap;gap:12px;text-align:left;background:#fff;border:1px solid #e0e9fa;border-radius:17px;padding:17px;min-height:92px;color:#2154b7}
.v14-actionitem strong{flex:1;min-width:100px;color:#233963;font-size:13px}
.v14-followup{display:grid;gap:9px;margin-top:12px}
.v14-followup>button{width:100%;display:flex;align-items:center;text-align:left;gap:12px;min-height:76px;padding:13px 16px;border:1px solid #e0e9f7;border-radius:16px;background:#fff;color:#2354b0}
.v14-followup>button>span:nth-child(2){display:grid;gap:4px;flex:1;min-width:0}.v14-followup b{font-size:13px;color:#243755}
.v14-followup small{font-size:11px;color:#7f8fa6;line-height:1.4}
.v14-icon{width:42px;height:42px;background:#edf4ff;border-radius:13px;display:grid;place-items:center;flex:none}
.v14-extra{margin:27px 0 0;display:grid;gap:11px}.v14-extra .v14-action{min-height:83px}
.v14-recipe{background:white;border:1px solid #e1e9f5;border-radius:15px;padding:15px;display:grid;gap:12px}
.v14-recipe.inactive{opacity:.6}.v14-recipe>div:first-child{display:grid;gap:7px}.v14-recipe b{font-size:14px;color:#24385e}.v14-recipe small{font-size:11px;color:#6c7c9b;line-height:1.5}
.v14-recipe-buttons{display:flex;flex-wrap:wrap;gap:7px}.v14-recipe-buttons button{border:1px solid #d9e4f6;background:#f7faff;color:#2357ae;border-radius:10px;padding:9px 11px;font-size:11px;font-weight:760}
.v14-caveat{font-size:11px;color:#7586a2;border-left:3px solid #7c99c5;padding-left:12px}
.v14-import{display:grid;gap:13px}.v14-import>p{font-size:13px;color:#657591}.v14-import small{font-size:11px;color:#8395b0}
.v14-empty{padding:23px;border:1px dashed #d9e4f5;color:#8190a6;border-radius:14px;font-size:13px}
/* iOS Safari avoids focus zoom when fields are >= 16px */
@media(max-width:760px){input,select,textarea,#view input,#view select,#view textarea,dialog input,dialog select,dialog textarea{font-size:16px!important}.v14-weather{padding:18px;grid-template-columns:70px minmax(0,1fr);gap:12px}.v14-weather-symbol{width:66px;height:66px}.v14-weather-symbol svg{width:46px;height:46px}.v14-weather-text h2{font-size:21px}.v14-weather-foot{font-size:10px}.v14-weather-foot strong{font-size:15px}.v14-quicktiles{gap:9px}.v14-action{min-height:112px;padding:14px}.v14-home-footer{padding:13px}.v14-action-grid{gap:9px}.v14-actionitem{padding:12px;min-height:88px}.ux-topbar .ux-logout-btn{display:grid!important;place-items:center;min-width:35px;min-height:35px}.ux-topbar .ux-refresh-btn{display:grid!important;place-items:center;min-width:35px;min-height:35px}}
@media(max-width:385px){.v14-weather-foot{flex-wrap:wrap}.v14-weather-foot button{width:100%;justify-content:center}.v14-actionitem{gap:7px}.v14-actionitem strong{min-width:0}.ux-site-select{max-width:95px;width:95px}}
