.th-page{max-width:1100px;margin:0 auto;padding:24px 16px;color:var(--ggk-text,#1f3526)}.th-entete{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:24px}.th-entete h1{margin:12px 0 8px;font-size:clamp(1.4rem,3vw,2rem)}.th-duree,.th-entete p,.th-type{color:var(--ggk-text-muted,#5c6b61)}.th-filtres{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px;margin-bottom:20px}.th-filtres label{display:flex;flex-direction:column;gap:6px;font-size:.85rem;font-weight:600}.th-filtres label:first-child{flex:1 1;min-width:220px}.th-filtres input,.th-filtres select{min-height:44px;border:1px solid var(--ggk-border,#ccd8cb);background:var(--ggk-bg-card,#fff);color:inherit;padding:9px 12px;border-radius:10px;max-width:100%}.th-realisations{list-style:none;padding:0;display:grid;grid-gap:10px;gap:10px}.th-reouverte{color:#946319}.th-erreur{color:#a92e2e}.th-vide{padding:24px;text-align:center}.th-onglets{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:18px}.th-onglets a,.th-onglets button{min-height:44px}.th-onglets button[aria-pressed=true]{background:var(--ggk-primary,#255535);color:white}.th-demandes{list-style:none;padding:0;display:grid;grid-gap:10px;gap:10px}.th-demande{display:flex;gap:12px;padding:14px;background:var(--ggk-bg-card,#fff);border:1px solid var(--ggk-border,#dbe4d9);border-radius:12px;align-items:flex-start}.th-demande button{flex-shrink:0}.th-demande small{display:block;margin-top:6px;color:var(--ggk-text-muted,#5c6b61)}.th-demande-urgente{border-color:#bb3333}@media(max-width:640px){.th-entete{flex-direction:column}.th-filtres label{flex:1 1;min-width:140px}}.th-page.th-historique{--ggk-text:#39312e;--ggk-text-dim:#726358;--ggk-border:#eaded1;--ggk-primary:#b91f65;--th-fond:#fff8f2;--th-doux:#fff4e8;max-width:1240px;padding:30px 28px 40px;background:var(--th-fond);color:var(--ggk-text);font:14px/1.5 system-ui,-apple-system,Segoe UI,sans-serif;color-scheme:light}.th-historique-entete{align-items:center;gap:30px;margin-bottom:28px}.th-retour{display:inline-block;padding:6px 0;color:var(--ggk-text-dim);font-size:12px;text-decoration:none}.th-retour:hover{color:var(--ggk-primary);text-decoration:underline}.th-historique .th-eyebrow{margin:22px 0 10px;font-size:10px;font-weight:750;letter-spacing:.14em;color:var(--ggk-primary)}.th-page.th-historique h1{margin:0 0 18px;font:700 clamp(32px,3.8vw,52px)/1.08 DashboardOutfit,system-ui,sans-serif;letter-spacing:-.04em}.th-historique h1 span{position:relative;display:inline-block}.th-historique h1 span:after{content:"";position:absolute;right:0;bottom:-8px;width:68%;height:5px;border-radius:70% 25%;transform:rotate(-2deg);background:linear-gradient(90deg,#ff198b,#ff9f12 50%,#ffe528)}.th-historique .th-sous-titre{margin:0;color:var(--ggk-text-dim);font-size:13px}.th-action{display:inline-flex;align-items:center;justify-content:center;gap:16px;min-height:44px;padding:10px 16px;border:1px solid #dcb8c9;border-radius:8px;color:var(--ggk-primary);text-decoration:none;background:#fff;white-space:nowrap;font-weight:600;font-size:12px}.th-action:hover{background:#fff0f6}.th-outils{border:1px solid var(--ggk-border);border-radius:12px 12px 0 0;background:white;position:relative;overflow:hidden}.th-outils:before{content:"";position:absolute;inset:0 0 auto;height:3px;background:linear-gradient(90deg,#ff198b,#ff9f12 50%,#ffe528)}.th-historique .th-filtres{display:grid;grid-template-columns:minmax(180px,2fr) 130px 150px auto minmax(150px,1.3fr) auto;grid-gap:16px;gap:16px;margin:0;padding:22px 20px 18px}.th-aujourdhui{cursor:pointer;min-height:44px;border:1px solid #e9c5d5;background:#fff0f6;color:#8b2656;border-radius:8px;padding:9px 12px}.th-cell-tache .th-demande-date{font-size:12px;color:#5c4b40}.th-historique .th-filtres label{min-width:0;gap:8px;font-size:11px;font-weight:650;color:var(--ggk-text-dim)}.th-historique .th-filtres input,.th-historique .th-filtres select{width:100%;min-width:0;box-sizing:border-box;border-radius:8px;padding:10px 12px;font:13px system-ui,sans-serif;background:var(--th-fond);border-color:var(--ggk-border);color:var(--ggk-text)}.th-historique input::placeholder{color:#726358}.th-actualiser,.th-effacer,.th-sens-tri{cursor:pointer;min-height:44px;background:white;border:1px solid var(--ggk-border);border-radius:8px;color:var(--ggk-text-dim);padding:9px 12px;font:12px system-ui,sans-serif}.th-effacer{padding:8px 0;border:0;text-decoration:underline;text-underline-offset:3px}.th-actualiser:hover,.th-effacer:hover,.th-sens-tri:hover{color:var(--ggk-primary)}.th-actualiser:disabled{opacity:.55;cursor:wait}.th-barre-tri{flex-wrap:wrap;gap:12px 20px;padding:12px 20px;border-top:1px solid var(--ggk-border);background:#fffaf6}.th-barre-tri,.th-barre-tri p{display:flex;align-items:center}.th-barre-tri p{margin:0 auto 0 0;font-size:12px;color:var(--ggk-text-dim);gap:5px}.th-barre-tri strong{color:var(--ggk-text)}.th-point{width:6px;height:6px;border-radius:50%;background:#b91f65;margin-right:6px}.th-choix-tri{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:11px;color:var(--ggk-text-dim)}.th-choix-tri select{border:1px solid var(--ggk-border);border-radius:8px;min-height:44px;background:white;color:var(--ggk-text);padding:9px 12px;font:12px system-ui,sans-serif}.th-sens-tri{color:var(--ggk-primary);border-color:#e9c5d5;gap:9px}.th-actualiser,.th-sens-tri{display:inline-flex;align-items:center}.th-actualiser{gap:8px}.th-table-cadre{max-width:100%;max-height:65vh;overflow:auto;border:1px solid var(--ggk-border);border-top:0;border-radius:0 0 12px 12px;background:white}.th-table{width:100%;min-width:850px;border-collapse:separate;border-spacing:0;table-layout:fixed;font-size:13px;text-align:left}.th-col-tache{width:37%}.th-col-type{width:15%}.th-col-personne{width:17%}.th-col-date{width:18%}.th-col-duree{width:13%}.th-table th{position:-webkit-sticky;position:sticky;top:0;z-index:3;height:54px;padding:0 16px;border-bottom:1px solid var(--ggk-border);font-size:10px;font-weight:650;text-transform:uppercase;letter-spacing:.07em;background:#fff0f6;color:#8b2656}.th-table th:nth-child(2){background:#fff4e8;color:#946319}.th-table th:nth-child(3){background:#e8f5ec;color:#206840}.th-table th:nth-child(4){background:#fff0f6}.th-table th:nth-child(5){background:#fff8de;color:#79551a}.th-table th[aria-sort=ascending],.th-table th[aria-sort=descending]{box-shadow:inset 0 -3px #b91f65}.th-table th button{display:flex;width:100%;justify-content:space-between;align-items:center;gap:8px;min-height:44px;padding:0;border:0;background:transparent;color:inherit;font:inherit;text-transform:inherit;letter-spacing:inherit;cursor:pointer;text-align:left}.th-table th button span{font-size:17px;line-height:1;letter-spacing:0}.th-table td{padding:18px 16px;vertical-align:middle;border-bottom:1px solid #f0e7df;background:white;overflow-wrap:anywhere}.th-table tr:nth-child(2n) td{background:#fffbf7}.th-table tr:last-child td{border-bottom:0}.th-table tr:hover td{background:#fff4e8}.th-cell-tache strong{display:block;font-weight:650;line-height:1.45}.th-cell-tache small{display:block;font-size:10px;line-height:1.6;color:var(--ggk-text-dim);margin-top:6px}.th-photos{margin-top:10px}.th-photos .tk-msg-photo-indisponible,.th-photos-etat{margin:8px 0 0;font-size:11px;color:var(--ggk-text-dim)}.th-photos .tk-msg-photo-indisponible button,.th-photos-etat button{display:block;min-height:44px;margin-top:4px;padding:6px 10px;background:white;color:var(--ggk-primary);border:1px solid var(--ggk-border);border-radius:8px;cursor:pointer}.th-badge-type{display:inline-flex;padding:5px 9px;border-radius:6px;font-size:10px;font-weight:650;line-height:1.4;border:1px solid #eaded1}.th-origine-routine{color:#206840;background:#e8f5ec;border-color:#c6e2cf}.th-origine-hors_routine{color:#946319;background:#fff4e8;border-color:#edd4b5}.th-origine-inconnue{color:#726358;background:#f6f2ed}.th-personne{display:inline-flex;align-items:center;gap:8px;font-size:12px;font-weight:600;color:#726358}.th-initiale{display:grid;place-items:center;width:28px;height:28px;flex:none;border-radius:50%;font:700 12px DashboardOutfit,system-ui;background:#f0e7df}.th-personne-rose{color:#8b2656}.th-personne-rose .th-initiale{background:#fce7f0}.th-personne-orange{color:#946319}.th-personne-orange .th-initiale{background:#fff0d4}.th-personne-vert{color:#206840}.th-personne-vert .th-initiale{background:#e8f5ec}.th-date{display:flex;align-items:baseline;gap:10px;font-size:12px;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;white-space:nowrap}.th-date strong{font-size:13px}.th-cell-duree{font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.th-non-mesuree{font-size:11px;color:var(--ggk-text-dim)}.th-legende{display:flex;justify-content:space-between;gap:16px;color:var(--ggk-text-dim);font-size:10px;padding:10px 2px}.th-legende p{margin:0}.th-defilement{display:none}.th-historique .th-vide{color:var(--ggk-text-dim)}.th-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.th-historique :is(button,a,input,select,[tabindex]):focus-visible{outline:3px solid #b91f65;outline-offset:3px}@media(max-width:1050px){.th-historique .th-filtres{grid-template-columns:minmax(220px,2fr) 1fr 1fr}.th-historique .th-filtres label:nth-child(4){grid-column:1/3}.th-effacer{justify-self:end}.th-date{flex-direction:column;gap:2px}}@media(max-width:700px){.th-page.th-historique{padding:20px 14px 30px}.th-historique-entete{align-items:flex-start;gap:20px}.th-historique .th-eyebrow{margin-top:18px}.th-page.th-historique h1{font-size:36px}.th-historique .th-filtres{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;padding:20px 14px 16px}.th-historique .th-filtres label:first-child{grid-column:1/-1}.th-historique .th-filtres label:nth-child(4){grid-column:auto}.th-effacer{align-self:end;justify-self:start;font-size:11px}.th-barre-tri{padding:12px 14px;gap:10px}.th-barre-tri p{width:100%;margin-bottom:4px}.th-choix-tri{flex:1 1}.th-choix-tri label{width:100%}.th-table{min-width:850px}.th-col-tache{width:23%}.th-col-type{width:17%}.th-col-personne{width:21%}.th-col-date{width:23%}.th-col-duree{width:16%}.th-table td:first-child,.th-table th:first-child{position:-webkit-sticky;position:sticky;left:0;box-shadow:5px 0 10px #39312e0c}.th-table th:first-child{z-index:4}.th-table td:first-child{z-index:2}.th-table td{padding:16px 14px}.th-defilement{display:block}.th-legende{flex-direction:column;gap:6px}}