/* TAC Conseil 1.9 · interfaces légères, adaptatives, accessibles. */
:root{--t19-ink:#172b45;--t19-muted:#697d96;--t19-line:#e1eaf5;--t19-surface:#fff;--t19-bg:#f5f8fe;--t19-blue:#2965dc;--t19-violet:#7354d5;--t19-accent:#2865da;--t19-accent-soft:#eaf1ff;--t19-shadow:0 12px 40px rgba(34,65,110,.06)}
html[data-tac-universe="hygiene"]{--t19-accent:#1683b8;--t19-accent-soft:#e5f5ff}
html[data-tac-universe="gestion"]{--t19-accent:#7454d5;--t19-accent-soft:#f0eaff}
.tac17-frame .tac17-topbar .tac19-head-help,.tac17-frame .tac17-topbar .tac19-head-bell{display:inline-flex;align-items:center;justify-content:center;flex:none}
.tac17-frame .tac17-topbar .tac19-head-help:hover,.tac17-frame .tac17-topbar .tac19-head-bell:hover{background:var(--t19-accent-soft);color:var(--t19-accent)}
.t19-page{color:var(--t19-ink);max-width:1180px;margin:0 auto;padding-bottom:35px;animation:t19-enter .24s ease-out both}
.t19-page *{box-sizing:border-box}
.t19-page-intro{position:relative;overflow:hidden;border-radius:25px;background:linear-gradient(125deg,#102b65,#2864d8 72%,#4e96ed);color:white;padding:27px 28px;margin:0 0 22px;box-shadow:0 15px 32px rgba(39,93,186,.13)}
.t19-page-intro:after{content:"";position:absolute;width:170px;height:170px;right:-55px;top:-75px;border-radius:50%;border:32px solid rgba(255,255,255,.09);pointer-events:none}
.t19-page-intro h1{font-size:clamp(26px,3.4vw,34px);font-weight:800;letter-spacing:-.8px;line-height:1.1;margin:8px 0 8px;color:white}
.t19-page-intro p{color:#dceaff;font-size:14px;max-width:620px;line-height:1.55;margin:0}
.t19-kicker{color:#bcd4ff;font-weight:800;font-size:10px;letter-spacing:.18em;text-transform:uppercase}
html[data-tac-universe="hygiene"] .t19-page-intro{background:linear-gradient(115deg,#113d78,#1687b5 85%,#47bbd4)}
html[data-tac-universe="gestion"] .t19-page-intro{background:linear-gradient(115deg,#322b7c,#7354d5 85%,#a17bea)}
.t19-search{display:flex;align-items:center;gap:12px;border:1px solid #dbe5f3;border-radius:17px;padding:0 15px;background:#fff;box-shadow:var(--t19-shadow);margin:0 0 16px;color:#6a88a9;min-height:55px;transition:box-shadow .2s,border-color .2s}
.t19-search:focus-within{border-color:var(--t19-accent);box-shadow:0 0 0 4px var(--t19-accent-soft)}
.t19-search input{flex:1;min-width:0;border:0;outline:0;background:transparent;color:#1b304c;font:inherit;font-size:16px;min-height:52px}
.t19-search input::placeholder{color:#96a5b7}
.t19-filters,.t19-tabs{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;margin:0 0 18px;padding:2px 1px 5px}
.t19-filters::-webkit-scrollbar,.t19-tabs::-webkit-scrollbar{display:none}
.t19-filters button,.t19-tabs button{white-space:nowrap;border:1px solid #dce6f3;background:white;color:#667b94;padding:10px 15px;border-radius:100px;font:inherit;font-size:12px;font-weight:750;cursor:pointer;transition:background .2s,color .2s,transform .2s}
.t19-filters button.selected,.t19-tabs button.selected{background:var(--t19-accent);color:#fff;border-color:var(--t19-accent);box-shadow:0 5px 14px rgba(40,101,218,.15)}
.t19-filters button:active,.t19-tabs button:active,.t19-btn:active,.t19-admin-tile:active,.t19-ticket-card:active{transform:scale(.98)}
.t19-admin-section{margin:24px 0 20px}
.t19-admin-section h2{color:#3b5476;font-size:12px;text-transform:uppercase;letter-spacing:.13em;margin:0 0 11px 4px;font-weight:800}
.t19-admin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.t19-admin-tile{display:flex;align-items:center;gap:12px;text-align:left;min-width:0;padding:16px 13px;background:white;border:1px solid var(--t19-line);border-radius:18px;box-shadow:var(--t19-shadow);color:#213a5a;cursor:pointer;transition:transform .17s,box-shadow .2s,border-color .2s}
.t19-admin-tile:hover{transform:translateY(-2px);box-shadow:0 12px 26px rgba(36,73,125,.1);border-color:#c6d8f2}
.t19-admin-tile>span:nth-child(2){min-width:0;flex:1}
.t19-admin-tile strong{font-size:13px;line-height:1.32;display:block;font-weight:790;overflow-wrap:anywhere}
.t19-admin-tile small{display:block;color:#8796aa;font-size:11px;line-height:1.4;margin-top:4px}
.t19-admin-tile>svg{color:#9baac0;flex:none}
.t19-admin-icon{width:42px;height:42px;border-radius:14px;background:var(--t19-accent-soft);color:var(--t19-accent);display:flex;align-items:center;justify-content:center;flex:none}
.t19-empty-search,.t19-empty{padding:32px 18px;text-align:center;color:#7d8da3;background:#fff;border-radius:17px;border:1px dashed #d7e3f2}
.t19-box{background:white;border:1px solid var(--t19-line);border-radius:23px;padding:22px;margin:0 0 17px;box-shadow:var(--t19-shadow)}
.t19-box h2,.t19-hours h2{font-size:18px;letter-spacing:-.35px;margin:0 0 6px;color:#1c3556}
.t19-box p,.t19-hours p{font-size:13px;line-height:1.6;color:#72849b;margin:0 0 12px}
.t19-box-head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:14px}
.t19-box-head h2{margin-bottom:3px}
.t19-btn{border:1px solid #dbe6f3;background:white;color:#335273;min-height:40px;padding:10px 14px;border-radius:12px;font:inherit;font-size:12px;font-weight:750;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:7px;transition:transform .18s,box-shadow .18s,background .18s}
.t19-btn:hover{box-shadow:0 5px 14px rgba(27,75,142,.1)}
.t19-btn.primary{background:var(--t19-accent);color:#fff;border-color:var(--t19-accent);box-shadow:0 7px 18px rgba(37,95,197,.14)}
.t19-btn:disabled{opacity:.45;cursor:not-allowed}
.t19-row-list{display:grid;gap:9px}
.t19-row{display:flex;gap:12px;align-items:center;justify-content:space-between;border:1px solid #e4ebf4;border-radius:15px;padding:13px;background:#fbfdff;flex-wrap:wrap}
.t19-row>div:first-child{flex:1;min-width:130px}
.t19-row b{font-size:13px;color:#213d5e}
.t19-row small{font-size:11px;display:block;color:#7c8da3;margin-top:3px}
.t19-row>strong{font-size:12px;white-space:nowrap}
.t19-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 17px}
.t19-kpis>div{background:white;border:1px solid var(--t19-line);border-radius:18px;padding:17px;min-width:0;box-shadow:var(--t19-shadow)}
.t19-kpis small{display:block;color:#8494a9;font-size:11px;line-height:1.4}
.t19-kpis strong{display:block;font-size:20px;color:#25476f;margin-top:6px;overflow-wrap:anywhere}
.t19-pill{display:inline-flex;align-items:center;border-radius:50px;background:#eef4fc;color:#597393;padding:5px 9px;font-size:11px;font-weight:800;white-space:nowrap}
.t19-pill.late{background:#ffedf0;color:#bc3651}.t19-pill.paid{background:#e4f8ee;color:#138454}
.t19-alert{display:flex;align-items:flex-start;gap:10px;border-radius:16px;padding:15px 17px;margin-bottom:18px;border:1px solid #d6e4f6;background:#eff6ff;color:#355f93;font-size:13px}
.t19-alert b,.t19-alert span{display:block;line-height:1.45}.t19-alert span{font-size:12px;opacity:.9;margin-top:4px}
.t19-alert.danger{border-color:#f5cbd1;background:#fff0f2;color:#b3354c}
.t19-form,.t19-rights-form{display:grid;gap:15px}
.t19-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.t19-field{display:flex;flex-direction:column;gap:7px;min-width:0;font-size:12px;font-weight:760;color:#405a78}
.t19-field input,.t19-field select,.t19-field textarea{font:inherit;font-size:16px;color:#203a5a;background:#fff;border:1px solid #d9e4f2;border-radius:12px;min-height:45px;width:100%;padding:11px 12px;outline:0}
.t19-field textarea{min-height:85px;resize:vertical}
.t19-field input:focus,.t19-field select:focus,.t19-field textarea:focus{border-color:var(--t19-accent);box-shadow:0 0 0 3px var(--t19-accent-soft)}
.t19-checkbox{display:flex;align-items:center;gap:9px;color:#395473;font-size:13px;font-weight:650;line-height:1.4}
.t19-checkbox input{width:18px;height:18px;accent-color:var(--t19-accent)}
.t19-info{background:#edf4fd;border:1px solid #dbe8fa;color:#466785;padding:13px 15px;border-radius:13px;font-size:12px;line-height:1.5}
.t19-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin:12px 0 15px}
.t19-muted{font-size:12px;color:#7b8ba2;line-height:1.55}
.t19-rights-scroll{border:1px solid #e1eaf4;border-radius:18px;overflow:hidden;background:white}
.t19-rights-head{background:#eff5fd;padding:13px 15px;display:flex;justify-content:space-between;color:#607b9c;font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
.t19-rights-section h2{font-size:12px;color:#6684a8;margin:0;padding:13px 15px;background:#f8faff;letter-spacing:.05em}
.t19-right-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 15px;border-top:1px solid #edf2f9;min-height:54px}
.t19-right-row>span{display:flex;align-items:center;gap:9px;min-width:0;font-size:12px;color:#36516f;font-weight:650}
.t19-right-row svg{flex:none;color:#6486b2}
.t19-right-row select{min-width:108px;max-width:140px;border:1px solid #dce7f4;border-radius:10px;padding:8px 6px;background:white;color:#335374;font:inherit;font-size:12px}
.t19-hours{background:white;border:1px solid var(--t19-line);padding:20px;border-radius:20px;display:grid;gap:14px}
.t19-weekdays{display:flex;gap:7px;flex-wrap:wrap}
.t19-weekdays label{position:relative}.t19-weekdays input{position:absolute;opacity:0}.t19-weekdays span{display:flex;align-items:center;justify-content:center;min-width:42px;padding:10px;border-radius:10px;background:#f0f4fa;color:#617a97;border:1px solid #e0e9f4;font-size:12px;font-weight:750}
.t19-weekdays input:checked+span{background:var(--t19-accent);border-color:var(--t19-accent);color:white}.t19-weekdays input:focus-visible+span{outline:3px solid #9bbcf7}
.t19-user-cta{background:#edf5ff;border:1px solid #d6e7fb;padding:17px 20px;border-radius:18px;display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:15px}
.t19-user-cta b{font-size:15px;color:#254d81}.t19-user-cta p{margin:5px 0 0;font-size:12px;color:#6784a5}
.t19-invoice-view{display:grid;gap:16px}.t19-invoice-view .t19-two>div{display:grid;gap:5px;padding:11px;background:#f7faff;border-radius:12px}.t19-invoice-view small{font-size:11px;color:#8295ac}.t19-invoice-view strong{color:#234668;font-size:14px}
.t19-line-table{width:100%;border-collapse:collapse;font-size:12px}.t19-line-table th{text-align:left;background:#f1f6fd;padding:10px}.t19-line-table td{padding:10px;border-bottom:1px solid #e8eef7}.t19-total{display:flex;justify-content:space-between;align-items:center;padding:15px;border-radius:13px;background:#edf5ff;font-size:14px;font-weight:750}
.t19-ticket-card,.t19-notice{display:flex;gap:12px;align-items:center;width:100%;text-align:left;border:1px solid #e0e9f5;background:white;padding:14px 15px;border-radius:16px;color:#25405e;cursor:pointer;box-shadow:var(--t19-shadow);transition:transform .2s,border-color .2s}
.t19-ticket-card:hover,.t19-notice:hover{border-color:#c3d7f0;transform:translateY(-1px)}
.t19-ticket-card>span:nth-child(2),.t19-notice>span:nth-child(2){flex:1;min-width:0}.t19-ticket-card b,.t19-notice b{display:block;font-size:13px;overflow-wrap:anywhere}.t19-ticket-card small,.t19-notice small{display:block;font-size:11px;color:#7c91a9;margin-top:4px}.t19-ticket-card em{font-style:normal}
.t19-support-icon,.t19-notice>span:first-child{width:39px;height:39px;border-radius:12px;background:var(--t19-accent-soft);color:var(--t19-accent);display:flex;align-items:center;justify-content:center;flex:none}
.t19-notice.danger>span:first-child{background:#fff0f0;color:#c93f4b}
.t19-messages{display:grid;gap:9px;max-height:300px;overflow:auto}.t19-message{background:#f3f7fd;border:1px solid #e4eefa;padding:12px 15px;border-radius:14px}.t19-message b{font-size:12px;color:#31557e}.t19-message time{display:block;color:#94a3b7;font-size:10px;margin:3px 0 8px}.t19-message p{font-size:13px;color:#3e5878;white-space:pre-wrap;margin:0}
.t19-help-list{display:grid;gap:10px}.t19-help-list details{background:white;border:1px solid #e1eaf5;border-radius:17px;box-shadow:var(--t19-shadow);overflow:hidden}.t19-help-list summary{cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:17px 20px;list-style:none}.t19-help-list summary::-webkit-details-marker{display:none}.t19-help-list summary b{font-size:14px;display:block;color:#2d496d}.t19-help-list summary small{display:block;color:var(--t19-accent);font-size:10px;text-transform:uppercase;letter-spacing:.07em;margin-bottom:4px;font-weight:800}.t19-help-list details[open] summary svg{transform:rotate(90deg)}.t19-help-list details p{font-size:13px;line-height:1.7;color:#667e9b;margin:0;padding:0 20px 18px}
.t19-help-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;background:#eaf2ff;border-radius:19px;padding:18px 21px;margin-top:19px}.t19-help-footer b{font-size:14px;color:#2b5483}.t19-help-footer p{font-size:12px;color:#6b84a5;margin:5px 0 0}
.t19-hub-alert{display:flex;align-items:center;gap:12px;border:1px solid #f3c9d3;background:#fff3f5;border-radius:17px;padding:15px;width:100%;margin:0 0 17px;text-align:left;color:#b64259;cursor:pointer}.t19-hub-alert span{flex:1}.t19-hub-alert b{display:block;font-size:13px}.t19-hub-alert small{display:block;font-size:11px;margin-top:4px}
.t19-weather-art{width:104px;height:104px;display:grid;place-items:center}.t19-weather-svg{width:100%;height:100%;filter:drop-shadow(0 8px 9px rgba(20,70,120,.11));animation:t19-float 4s ease-in-out infinite}.t19-rain{animation:t19-rain 1.5s ease-in-out infinite}
.t19-celebration{position:fixed;inset:0;z-index:10000;pointer-events:none;overflow:hidden;display:flex;align-items:center;justify-content:center;background:rgba(16,34,72,.14);animation:t19-fade .5s ease-out both}
.t19-celebration-card{background:white;border-radius:24px;padding:22px 25px;box-shadow:0 25px 70px rgba(25,57,104,.22);display:grid;justify-items:center;gap:8px;animation:t19-pop .6s cubic-bezier(.2,1.3,.3,1) both;text-align:center}
.t19-celebration-card span{font-size:36px}.t19-celebration-card b{font-size:20px;color:#1e4574}.t19-celebration-card small{font-size:12px;color:#7990aa}
.t19-celebration>i{position:absolute;left:var(--x);top:-10%;width:8px;height:15px;border-radius:3px;background:hsl(var(--hue) 85% 65%);animation:t19-confetti 2.3s var(--delay) ease-in both}
.t19-options{display:grid;gap:8px}.t19-option-row{display:grid;grid-template-columns:minmax(0,1fr) 105px auto 30px;gap:8px;align-items:end;padding:9px;background:#f7faff;border:1px solid #e1eaf5;border-radius:12px}.t19-option-row .t19-field{font-size:11px}.t19-option-row input{min-height:40px}
.t19-rights-search{margin:8px 0 0}.t19-permission-hint{font-size:11px;color:#8a9bb0;margin:0 0 8px}
@keyframes t19-enter{from{opacity:.4;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@keyframes t19-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-4px)}}@keyframes t19-rain{0%,100%{opacity:1}50%{opacity:.5}}@keyframes t19-fade{from{opacity:0}to{opacity:1}}@keyframes t19-pop{from{transform:scale(.8);opacity:0}to{transform:scale(1);opacity:1}}@keyframes t19-confetti{from{transform:translateY(0) rotate(0);opacity:1}to{transform:translateY(115vh) rotate(var(--turn));opacity:0}}
[hidden]{display:none!important}
@media(max-width:820px){.t19-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.t19-page-intro{padding:23px 20px}.t19-box{padding:18px}.t19-admin-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.t19-admin-grid{grid-template-columns:1fr}.t19-page-intro{border-radius:20px;padding:22px 18px}.t19-page-intro h1{font-size:27px}.t19-admin-tile{min-height:72px;padding:13px}.t19-two{grid-template-columns:1fr}.t19-kpis strong{font-size:17px}.t19-kpis>div{padding:14px}.t19-user-cta,.t19-help-footer{align-items:flex-start;flex-direction:column}.t19-box-head{align-items:flex-start}.t19-row{gap:9px}.t19-right-row{padding:10px 12px}.t19-right-row>span{font-size:11px}.t19-right-row select{min-width:98px}.t19-option-row{grid-template-columns:minmax(0,1fr) 86px auto}.tac17-frame .tac17-head-actions{gap:4px}.tac17-frame .tac17-topbar .tac19-head-help{display:none}}
@media(prefers-reduced-motion:reduce){.t19-page,.t19-weather-svg,.t19-rain,.t19-celebration,.t19-celebration-card,.t19-celebration>i{animation:none!important}.t19-admin-tile,.t19-ticket-card,.t19-notice,.t19-btn{transition:none!important}}

.t19-portal-links{display:flex;gap:9px;flex-wrap:wrap;margin:13px 0 18px}.t19-portal-links>.t19-btn{background:#fff;min-height:44px}

.t19-option-remove{width:29px;height:40px;border:0;border-radius:8px;background:#fff0f2;color:#b73c53;display:grid;place-items:center;cursor:pointer}.t19-app-access{display:grid;align-content:center;gap:13px}.t19-hub-shortcuts{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}.t19-hub-shortcuts button{display:flex;align-items:center;gap:8px;border:1px solid #d8e5f7;border-radius:13px;padding:12px 15px;color:var(--t19-accent);font-size:12px;font-weight:800;background:white;box-shadow:var(--t19-shadow);cursor:pointer;transition:transform .18s}.t19-hub-shortcuts button:hover{transform:translateY(-2px)}

.tac19-head-bell{position:relative}.t19-bell-count{position:absolute;right:-4px;top:-5px;background:#eb4f6c;color:white;font:800 10px/1 Arial,sans-serif;border:2px solid white;border-radius:30px;min-width:19px;height:19px;display:grid;place-items:center;padding:0 3px}
/* Four meaningful weather states; the icon must be legible on small iPhones. */
.v16-weather .v16-weather-icon.t19-weather-art{width:99px;height:99px;flex:none;overflow:visible;border:1px solid #ffffff80;background:#ffffff6e}
.v16-weather .v16-weather-icon.t19-weather-art .t19-weather-svg{width:95px!important;height:95px!important;max-width:none}
.v16-weather.danger{background:linear-gradient(115deg,#fff0f3,#fff7fa);border-color:#f1c9d0;color:#a52949}
.v16-weather.warning{background:linear-gradient(115deg,#fff7e6,#fffdf5);border-color:#f1dca7;color:#94631b}
.v16-weather.neutral{background:linear-gradient(115deg,#f0f5ff,#f9fbff);border-color:#d7e3f5;color:#526b9b}
.v16-weather.good{background:linear-gradient(115deg,#e9f5ff,#f9fdff);border-color:#b9d9f4;color:#1e66a5}
@media(max-width:420px){.v16-weather .v16-weather-icon.t19-weather-art{width:79px;height:79px}.v16-weather .v16-weather-icon.t19-weather-art .t19-weather-svg{width:79px!important;height:79px!important}}
