/* Planet Truck / Challenge + Quiz, no gradients, no shadows, scoped. */
.ptfr-loyalty{--ptfr-navy:#244970;--ptfr-deep:#123653;--ptfr-muted:#58738f;--ptfr-border:#cedceb;--ptfr-paper:#fff;--ptfr-soft:#e8f1fa;--ptfr-forest:#315f52;--ptfr-orange:#a95c26;color:#183957;max-width:1320px;margin:0 auto 2rem;padding:clamp(8px,2vw,20px);font-family:inherit}
.ptfr-loyalty *{box-sizing:border-box}
.ptfr-loyalty a{text-decoration:none!important}
.ptfr-loyalty h1,.ptfr-loyalty h2,.ptfr-loyalty p{margin:0}
.ptfr-loyalty-hero{padding:clamp(20px,4vw,36px);background:#e5eff9;border:1px solid var(--ptfr-border);border-radius:16px;margin-bottom:18px}
.ptfr-loyalty-hero h1{font-size:clamp(25px,3.5vw,35px);color:var(--ptfr-deep);font-weight:750;line-height:1.2;margin:9px 0 10px}
.ptfr-loyalty-hero p{font-size:16px;line-height:1.5;color:#3c5b78}
.ptfr-eyebrow,.ptfr-kicker{font-weight:750;letter-spacing:.07em;font-size:12px;color:#2c577f}
.ptfr-hero-links{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}
.ptfr-btn,.ptfr-loyalty button.ptfr-btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid transparent;border-radius:9px;padding:11px 16px;font-size:14px!important;font-weight:700!important;line-height:1.3!important;min-height:43px;cursor:pointer;white-space:normal;transition:background-color .12s ease;color:inherit}
.ptfr-btn-blue{background:#244970!important;color:#fff!important}.ptfr-btn-blue:hover{background:#37618c!important;color:#fff!important}
.ptfr-btn-forest{background:#315f52!important;color:#fff!important}.ptfr-btn-forest:hover{background:#487a6c!important;color:#fff!important}
.ptfr-btn-quiet{background:#fff!important;color:#244970!important;border-color:#bdd3e9!important}.ptfr-btn-quiet:hover{background:#dceaf7!important;color:#183957!important}
.ptfr-stat-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0 0 18px}
.ptfr-stat{border-radius:12px;border:1px solid var(--ptfr-border);background:#fff;padding:17px;display:grid;gap:8px}
.ptfr-stat span{font-size:13px;color:var(--ptfr-muted);font-weight:650}.ptfr-stat strong{font-size:25px;color:var(--ptfr-navy)}
.ptfr-panel{border:1px solid var(--ptfr-border);border-radius:14px;padding:clamp(14px,2.6vw,22px);background:#fff;margin-bottom:17px}
.ptfr-panel h2{font-size:21px;line-height:1.3;color:var(--ptfr-deep);font-weight:750}
.ptfr-panel-header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:13px;margin-bottom:16px}
.ptfr-tabs{display:flex;flex-wrap:wrap;gap:6px}
.ptfr-tabs a{font-size:13px;font-weight:700;color:#244970;padding:9px 12px;border:1px solid #c7dbed;background:#f5f9fd;border-radius:8px}
.ptfr-tabs a:hover{background:#deecf8}.ptfr-tabs a.is-active{background:#244970;color:#fff;border-color:#244970}
.ptfr-loyalty-tablewrap{overflow-x:auto;max-width:100%;border:1px solid #dbe5f0;border-radius:10px}
.ptfr-loyalty table{width:100%;border-collapse:collapse;background:#fff;margin:0!important}
.ptfr-loyalty table th{text-align:left;padding:12px;font-size:13px!important;font-weight:750!important;color:#244970;background:#e7f0f9;white-space:nowrap;border:0}
.ptfr-loyalty table td{padding:12px;font-size:14px!important;color:#1b3955;border-top:1px solid #e2eaf2;vertical-align:middle;background:transparent}
.ptfr-loyalty table tr{background:#fff}.ptfr-loyalty table a{font-weight:700;color:#215486}
.ptfr-score{font-weight:800;color:#225e51!important;white-space:nowrap;text-align:right}
.ptfr-rank{display:inline-grid;place-items:center;background:#e7eef6;color:#23486f;border-radius:7px;min-width:32px;min-height:30px;font-weight:800}
.ptfr-archives{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px}
.ptfr-archives a{display:flex;flex-direction:column;gap:6px;border:1px solid #c8d9e9;border-radius:9px;background:#f4f8fc;color:#23486f;padding:14px;font-weight:700}
.ptfr-archives a:hover{background:#e2edf8}.ptfr-archives small{font-size:12px;color:#617991;font-weight:500}
.ptfr-hint,.ptfr-loyalty-empty{font-size:13px;color:#54718b;line-height:1.55;margin-bottom:15px!important}
.ptfr-loyalty-empty{padding:24px 10px;text-align:center}
.ptfr-move{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:13px 3px;border-bottom:1px solid #e2ebf2}
.ptfr-loyalty .ptfr-moves .ptfr-move--loss,
.ptfr-loyalty .ptfr-moves .ptfr-move--loss:hover {
  background: #ffe8ea; border: 1px solid #eabac0; color: #8b2839;
  border-radius: 9px; margin: 4px 0; padding: 13px 12px;
}
.ptfr-loyalty .ptfr-moves .ptfr-move--loss strong {color:#85283a;}
.ptfr-loyalty .ptfr-moves .ptfr-move--loss small {color:#9c5663;}
.ptfr-move div{display:grid;gap:4px}.ptfr-move strong{font-size:14px;font-weight:680}.ptfr-move small{font-size:12px;color:#64819c}.ptfr-move b{white-space:nowrap;font-size:14px}.ptfr-move .is-loss{color:#a83349}.ptfr-move .is-gain{color:#297358}
.ptfr-question-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}
.ptfr-category{border-radius:8px;padding:8px 12px;background:#e1edf8;color:#1a4b78;font-size:13px;font-weight:750}
.ptfr-answer-form{display:grid;gap:10px;margin-top:18px}.ptfr-answer{display:flex;align-items:center;gap:13px;padding:14px;border:1px solid #cad9e9;border-radius:10px;cursor:pointer;background:#f7fafc;font-size:15px;color:#173b59}
.ptfr-answer:hover,.ptfr-answer:focus-within{background:#e8f2fc;border-color:#93b7d9}.ptfr-answer input{flex:none;accent-color:#244970;width:18px;height:18px}
.ptfr-answer-form button{justify-self:start;margin-top:8px}
.ptfr-flash{padding:15px;margin-bottom:16px;border-radius:10px;border:1px solid #a9d8c4;background:#e8f6ed;color:#205e49;line-height:1.55}
.ptfr-flash p{margin:6px 0!important}.ptfr-flash a{color:#175b85;text-decoration:underline!important}.ptfr-warn{border-color:#f0c8a0;background:#fff1df;color:#8d4b1c}
.ptfr-admin-cols{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.ptfr-stack{display:grid;gap:12px}.ptfr-stack label{display:grid;gap:5px;font-weight:650;font-size:13px;color:#25476a}
.ptfr-stack input,.ptfr-stack textarea,.ptfr-stack select{width:100%;max-width:100%;border:1px solid #bdcedf;background:#fff;border-radius:8px;padding:11px 12px;font:inherit;color:#193b5a}
.ptfr-stack .ptfr-checkbox{display:flex;align-items:center}.ptfr-stack .ptfr-checkbox input{width:18px;height:18px}
.ptfr-admin hr{border:0;border-top:1px solid #d4e0e9;margin:18px 0}
/* Notification de points : grille stable, fermeture intégrée au flux.
   Sélecteurs forts pour résister aux styles généraux des boutons PHPBoost. */
body.ptfr-2027 #ptfr-challenge-gain-notice.ptfr-notice-pop {
    box-sizing: border-box !important;
    position: fixed !important;
    z-index: 11000 !important;
    top: auto !important;
    bottom: max(18px, env(safe-area-inset-bottom, 0px)) !important;
    right: 18px !important;
    left: auto !important;
    width: 350px !important;
    max-width: calc(100vw - 36px) !important;
    min-width: 0 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 16px !important;
    border: 1px solid #90c9a5 !important;
    border-radius: 12px !important;
    background: #edf9f1 !important;
    box-shadow: none !important;
    color: #183b59 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 38px !important;
    align-items: start !important;
    column-gap: 12px !important;
    text-align: left !important;
    font-family: inherit !important;
    font-size: 14px !important;
    line-height: 1.45 !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
    animation: none !important;
    transform: none !important;
}
body.ptfr-2027 #ptfr-challenge-gain-notice .ptfr-notice-content {
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 5px !important;
    background: transparent !important;
}
body.ptfr-2027 #ptfr-challenge-gain-notice .ptfr-notice-title {
    display: block !important;
    margin: 0 !important;
    color: #216344 !important;
    font-size: 15px !important;
    font-weight: 750 !important;
    line-height: 1.35 !important;
}
body.ptfr-2027 #ptfr-challenge-gain-notice .ptfr-notice-description {
    display: block !important;
    margin: 0 !important;
    color: #315d49 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1.45 !important;
}
body.ptfr-2027 #ptfr-challenge-gain-notice button.ptfr-notice-close {
    box-sizing: border-box !important;
    position: static !important;
    display: inline-grid !important;
    place-items: center !important;
    flex: none !important;
    float: none !important;
    width: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid #c5d7e8 !important;
    border-radius: 8px !important;
    background: #e8f1fa !important;
    color: #244970 !important;
    font: 700 23px/1 Arial, sans-serif !important;
    text-decoration: none !important;
    text-shadow: none !important;
    box-shadow: none !important;
    opacity: 1 !important;
    cursor: pointer !important;
    transform: none !important;
    transition: none !important;
}
body.ptfr-2027 #ptfr-challenge-gain-notice button.ptfr-notice-close:hover,
body.ptfr-2027 #ptfr-challenge-gain-notice button.ptfr-notice-close:focus-visible {
    background: #d3e5f4 !important;
    color: #153b5d !important;
    border-color: #8fb6d5 !important;
    transform: none !important;
}
@media (max-width: 500px) {
    body.ptfr-2027 #ptfr-challenge-gain-notice.ptfr-notice-pop {
        left: 12px !important;
        right: 12px !important;
        bottom: max(12px, env(safe-area-inset-bottom, 0px)) !important;
        width: auto !important;
        max-width: none !important;
        padding: 14px !important;
        column-gap: 10px !important;
    }
}
@media(max-width:650px){.ptfr-loyalty{padding:8px}.ptfr-stat-grid,.ptfr-admin-cols{grid-template-columns:1fr}.ptfr-stat strong{font-size:22px}.ptfr-panel-header{align-items:flex-start}.ptfr-tabs{width:100%}.ptfr-tabs a{flex:1;text-align:center}.ptfr-loyalty table th,.ptfr-loyalty table td{padding:9px 8px!important}.ptfr-panel h2{font-size:19px}.ptfr-answer-form button{width:100%}.ptfr-loyalty-hero{padding:20px}.ptfr-hero-links .ptfr-btn{flex:1}}

/* --- V73: no same-tone nested panels; compact, clear PC + mobile quiz. --- */
.ptfr-quiz,.ptfr-admin {background:#f1f5f8;border:1px solid #d9e3eb;border-radius:16px}
.ptfr-quiz .ptfr-loyalty-hero {background:#d4e5f4;border-color:#b5cce0}
.ptfr-quiz .ptfr-panel {background:#fff;border-color:#c8d8e7}
.ptfr-quiz-progress {display:flex;align-items:center;flex-wrap:wrap;gap:8px 18px;
  background:#244970;color:#fff;border-radius:10px;padding:12px 17px;margin-bottom:14px;font-size:14px}
.ptfr-quiz-progress>div{display:inline-flex;align-items:center;gap:7px}
.ptfr-quiz-progress strong{font-size:16px;color:#fff}
.ptfr-quiz-progress i{font-size:16px;color:#c6e2ff}
.ptfr-quiz .ptfr-question-title {font-size:20px!important;font-weight:750!important;line-height:1.5!important;
  color:#163955!important;background:#e4edf5!important;border:1px solid #b8cde0!important;
  padding:12px 15px!important;border-radius:9px!important;margin:2px 0 14px!important}
.ptfr-quiz .ptfr-answer {background:#fff;border-color:#b9ccdf;min-height:52px;color:#163955!important}
.ptfr-quiz .ptfr-answer:hover,.ptfr-quiz .ptfr-answer:focus-within {background:#e8f2fc;border-color:#729fc5}
.ptfr-quiz .ptfr-question-head {margin-bottom:8px}
.ptfr-quiz .ptfr-category{background:#dfebf7;border:1px solid #bdd3e5;color:#174974}
.ptfr-admin {padding:clamp(9px,2.3vw,19px);border-color:#d8e2ed}
.ptfr-admin .ptfr-loyalty-hero {background:#d9e7f4;border-color:#b6cede;padding:24px 27px}
.ptfr-admin .ptfr-panel {background:#fff!important;border:1px solid #c6d6e5!important;box-shadow:none!important}
.ptfr-admin .ptfr-panel h2 {font-size:19px!important;margin:0 0 12px!important}
.ptfr-admin .ptfr-panel h3{font-size:16px!important;margin:0 0 10px!important;color:#173f60}
.ptfr-admin .ptfr-panel h2 i {color:#26577d;margin-right:8px}
.ptfr-admin-tabs {margin-bottom:17px;gap:8px}
.ptfr-admin-tabs a {background:#fff;border-color:#b7cbdf;display:inline-flex;align-items:center;gap:8px;padding:10px 15px;font-size:14px}
.ptfr-admin-tabs a.is-active {background:#244970;color:#fff}
.ptfr-admin-primary>.ptfr-panel:nth-child(2){background:#fcfdfd!important}
.ptfr-historic {margin:17px 0;background:#e9f3ed;border:1px solid #b4d3c3;border-radius:11px;padding:15px;color:#1d493a}
.ptfr-historic h3{color:#214b3c!important}.ptfr-historic p{font-size:13px;line-height:1.55;margin:0 0 13px!important}
.ptfr-backfill-progress {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:13px}
.ptfr-backfill-progress>div {display:flex;flex-direction:column;gap:6px;background:#fff;border:1px solid #c7dace;border-radius:8px;padding:10px}
.ptfr-backfill-progress span {font-size:12px;color:#415d4c}
.ptfr-backfill-progress strong{font-size:15px;color:#1b4436}
.ptfr-cron-panel{border-left:4px solid #b67a36!important;background:#fff!important}
.ptfr-cron-panel code{display:block;overflow-wrap:anywhere;background:#f7eee2;border:1px solid #dfc49d;padding:13px;border-radius:8px;font-size:12px;color:#65451e}
.ptfr-member-search {display:flex;align-items:flex-end;flex-wrap:wrap;gap:10px;margin:14px 0}
.ptfr-member-search label {display:grid;gap:5px;flex:1 1 180px;font-size:13px;font-weight:650;color:#294b68}
.ptfr-member-search input{min-height:42px;background:#fff;border:1px solid #bdd0df;border-radius:8px;padding:9px 11px;max-width:100%;color:#173b58}
.ptfr-member-search .ptfr-btn{min-height:42px}
.ptfr-stack small{color:#657d90;font-size:12px;font-weight:450}
.ptfr-search-results {border:1px solid #c1d6e7;border-radius:9px;background:#eff5fa;max-height:210px;overflow:auto;padding:7px}
.ptfr-search-results a{display:flex;justify-content:space-between;align-items:center;gap:10px;color:#25486b;padding:8px 10px;font-weight:650}
.ptfr-search-results a:hover{background:#d9e7f4}
.ptfr-admin-quiz-head {background:#244970;color:#fff;border-radius:10px;padding:13px 17px;margin-bottom:16px;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.ptfr-admin-quiz-head>div{font-size:14px;font-weight:650}
.ptfr-admin-quiz-head strong {color:#fff;font-size:20px}
.ptfr-admin-quiz-head .ptfr-btn-forest {background:#315f52!important;border-color:#d0e4db!important}
.ptfr-admin .ptfr-loyalty-tablewrap th {background:#244970!important;color:#fff!important}
.ptfr-admin .ptfr-loyalty-tablewrap td {color:#173d59!important;background:#fff}
.ptfr-admin .ptfr-loyalty-tablewrap tr:nth-child(even) td {background:#f1f5fa}
.ptfr-points-loss{font-weight:800;color:#a22d46!important}
.ptfr-points-gain{font-weight:800;color:#25674b!important}
/* Rankings with medals/trophies. */
.ptfr-rank--first{background:#ffe5a6;color:#6c4905;border:1px solid #e4bd60;min-width:48px;gap:5px}
.ptfr-rank--second{background:#dfe9f1;color:#3b576a;border:1px solid #afc4d4;min-width:48px;gap:5px}
.ptfr-rank--third{background:#f6dfcc;color:#784923;border:1px solid #d4ad89;min-width:48px;gap:5px}
.ptfr-rank i{margin-right:3px}
/* PHPBoost users admin, loaded only on member list by the controller. */
.ptfr-member-tools{display:flex;align-items:center;gap:9px;flex-wrap:wrap;padding:12px;margin:0 0 15px;background:#e6eff7;border:1px solid #bfd2e3;border-radius:10px}
.ptfr-member-tools a{display:inline-flex;align-items:center;gap:7px;background:#244970;color:#fff!important;padding:9px 12px;border-radius:8px;text-decoration:none!important;font-size:13px;font-weight:700}
.ptfr-member-tools a:hover{background:#38618d}
.ptfr-member-tools a:nth-child(2){background:#315f52}.ptfr-member-tools a:nth-child(2):hover{background:#487568}
.ptfr-member-tools a:nth-child(3){background:#fff;color:#244970!important;border:1px solid #b8cfdf}.ptfr-member-tools a:nth-child(3):hover{background:#e2edf7}
.ptfr-member-points-action{display:inline-flex;align-items:center;gap:5px;padding:6px 9px;border:1px solid #bfd3e1;border-radius:7px;background:#e5eff7;color:#23486f!important;font-size:12px!important;font-weight:750;text-decoration:none!important;margin-right:8px;white-space:nowrap}
.ptfr-member-points-action:hover{background:#c8def0;color:#173e60!important}
@media(max-width:650px) {
 .ptfr-quiz,.ptfr-admin{padding:8px;border-radius:12px}
 .ptfr-quiz-progress{padding:11px 12px;gap:8px 15px}
 .ptfr-quiz .ptfr-question-title{font-size:17px!important;line-height:1.45!important;padding:11px!important}
 .ptfr-admin .ptfr-loyalty-hero{padding:18px}
 .ptfr-backfill-progress{grid-template-columns:1fr}
 .ptfr-admin-quiz-head{align-items:stretch}
 .ptfr-admin-quiz-head form,.ptfr-admin-quiz-head form .ptfr-btn{width:100%}
 .ptfr-member-tools a{flex:1 1 130px;justify-content:center}
}

/* Classements : rangs, états actifs et recherche. */
.ptfr-loyalty .ptfr-stat-grid .ptfr-stat:first-child{background:#e1edf8!important;border-color:#a6c4dd!important}
.ptfr-loyalty .ptfr-stat-grid .ptfr-stat:nth-child(2){background:#f2f5f8!important;border-color:#ccd7e1!important}
.ptfr-loyalty .ptfr-panel--general h2 i{color:#a76b12;margin-right:8px}
.ptfr-loyalty .ptfr-panel--quiz h2 i{color:#315f52;margin-right:8px}
.ptfr-loyalty .ptfr-panel--archive .ptfr-kicker{color:#657c8d}
.ptfr-loyalty .ptfr-panel--archive h2{font-size:18px!important;color:#3e5970!important}
.ptfr-loyalty .ptfr-panel--archive h2 i{font-size:16px;margin-right:7px;color:#5e788e}
.ptfr-loyalty .ptfr-rank,.ptfr-loyalty .ptfr-rank--first,.ptfr-loyalty .ptfr-rank--second,.ptfr-loyalty .ptfr-rank--third{
  display:inline-flex!important;flex-direction:row!important;align-items:center!important;justify-content:center!important;
  width:auto!important;min-width:66px!important;max-width:100%!important;min-height:32px!important;height:auto!important;
  padding:5px 11px!important;gap:7px!important;line-height:1.2!important;font-size:14px!important;
  vertical-align:middle!important;white-space:nowrap!important;box-shadow:none!important
}
.ptfr-loyalty .ptfr-rank i{font-size:15px!important;margin:0!important}
.ptfr-loyalty .ptfr-loyalty-tablewrap th:first-child,.ptfr-loyalty .ptfr-loyalty-tablewrap td:first-child{width:100px!important}
.ptfr-loyalty .ptfr-quiz-end{background:#fff!important;border-color:#b7cede!important;display:grid;justify-items:start;row-gap:16px!important;padding:25px!important}
.ptfr-loyalty .ptfr-quiz-end h2{display:block!important;background:#e7f1fa!important;border:1px solid #c3d7e7!important;border-radius:8px!important;padding:12px 15px!important;margin:0!important}
.ptfr-loyalty .ptfr-quiz-end p{margin:0!important;line-height:1.65!important;font-size:15px!important;color:#315875!important}
.ptfr-loyalty .ptfr-quiz-end .ptfr-btn{margin-top:3px!important}
.ptfr-loyalty.ptfr-quiz>.ptfr-hint{margin-top:18px!important;padding:0 4px!important}
.ptfr-admin .ptfr-admin-primary>.ptfr-panel{background:#fff!important}
.ptfr-admin .ptfr-admin-primary>.ptfr-panel:nth-child(2){background:#f7fafc!important}
.ptfr-admin .ptfr-admin-primary>.ptfr-panel:nth-child(2) .ptfr-historic{background:#e6f2eb!important}
.ptfr-admin .ptfr-admin-primary>.ptfr-panel:nth-child(2) .ptfr-historic .ptfr-backfill-progress>div{background:#fff!important}
.ptfr-admin .ptfr-admin-primary>.ptfr-panel:nth-child(2) .ptfr-historic form{margin-top:13px!important}
/* Autocomplete: no full member roster on focus. */
.ptfr-admin .ptfr-lookup-field{position:relative!important;isolation:isolate}
.ptfr-admin .ptfr-lookup-results{position:absolute!important;top:calc(100% + 3px);left:0;right:0;max-height:270px;overflow:auto;z-index:200;display:grid;gap:0;padding:5px;background:#fff;border:1px solid #9cbdd7;border-radius:9px;box-shadow:none}
.ptfr-admin .ptfr-lookup-results[hidden]{display:none!important}
.ptfr-admin .ptfr-lookup-results .ptfr-lookup-item{display:flex!important;justify-content:space-between!important;align-items:center!important;width:100%!important;text-align:left!important;gap:10px!important;min-height:41px!important;padding:10px 12px!important;margin:0!important;border:none!important;background:#fff!important;color:#173f60!important;border-radius:7px!important;font-size:13px!important;cursor:pointer}
.ptfr-admin .ptfr-lookup-results .ptfr-lookup-item:hover,.ptfr-admin .ptfr-lookup-results .ptfr-lookup-item:focus-visible{background:#e0edf8!important;color:#123959!important}
.ptfr-admin .ptfr-lookup-results .ptfr-lookup-item strong{font-weight:700!important}
.ptfr-admin .ptfr-lookup-results .ptfr-lookup-item small{color:#5c7288!important;white-space:nowrap;font-weight:500!important}
@media(max-width:650px){.ptfr-loyalty .ptfr-quiz-end{padding:18px!important}.ptfr-loyalty .ptfr-panel--general>.ptfr-panel-header{padding:11px}.ptfr-loyalty .ptfr-loyalty-tablewrap th:first-child,.ptfr-loyalty .ptfr-loyalty-tablewrap td:first-child{width:75px!important}.ptfr-loyalty .ptfr-rank{min-width:55px!important}}

/* Couleurs définitives : fidélité, quiz et archives. */
.ptfr-loyalty .ptfr-panel--general{background:#e9f2fa!important;border:1px solid #85accd!important}
.ptfr-loyalty .ptfr-panel--general>.ptfr-panel-header{background:#d1e2f0!important;border:1px solid #aac5da!important;border-radius:9px;padding:15px!important}
.ptfr-loyalty .ptfr-panel--quiz{background:#eaf3ed!important;border:1px solid #91bda6!important}
.ptfr-loyalty .ptfr-panel--quiz>.ptfr-panel-header{background:#d9e9df;border:1px solid #a7c9b3;border-radius:9px;padding:15px}
.ptfr-loyalty .ptfr-panel--archive{background:#e8edf2!important;border:1px solid #9dadbd!important}
.ptfr-loyalty .ptfr-panel--archive>.ptfr-panel-header{background:#dce4eb;border:1px solid #b7c6d3;border-radius:9px;padding:13px}
.ptfr-loyalty .ptfr-panel--general .ptfr-loyalty-tablewrap{background:#fff;border:1px solid #b4cadb}
.ptfr-loyalty .ptfr-panel--quiz .ptfr-loyalty-tablewrap{background:#fff;border:1px solid #b8d3c2}
.ptfr-loyalty .ptfr-panel--archive .ptfr-loyalty-tablewrap{background:#fff;border:1px solid #b9c9d7}
.ptfr-loyalty .ptfr-panel--quiz .ptfr-loyalty-tablewrap th{background:#d7e9dd!important}
.ptfr-loyalty .ptfr-panel--archive .ptfr-loyalty-tablewrap th{background:#d9e3ec!important}
.ptfr-loyalty .ptfr-archives a{background:#d4e1ed!important;border:1px solid #a4bacc!important;padding:13px!important;gap:7px!important}
.ptfr-loyalty .ptfr-archives a:hover{background:#e0eaf3!important}
.ptfr-loyalty .ptfr-archives a i{color:#2c5473}
.ptfr-loyalty .ptfr-archives a small{color:#415f77!important}
.ptfr-loyalty .ptfr-history-pending{background:#fff2df;border:1px solid #d7ac74;color:#704b23;border-radius:8px;padding:12px 14px;margin-bottom:15px;font-size:13px;line-height:1.5}
.ptfr-loyalty .ptfr-zero-score{display:block;color:#697d8e;font-size:11px;font-weight:500;margin-top:2px}
.ptfr-loyalty .ptfr-rank--fourth,.ptfr-loyalty .ptfr-rank--fifth{background:#fff!important;border:1px solid #b8c9d7!important;color:#365a76!important}
.ptfr-loyalty .ptfr-rank--fourth i,.ptfr-loyalty .ptfr-rank--fifth i{color:#557087}
.ptfr-loyalty [data-ptfr-period-panel][hidden]{display:none!important}
.ptfr-loyalty .ptfr-tabs [aria-current=true]{background:#244970;color:#fff}
.ptfr-admin [data-ptfr-backfill-status]{margin:12px 0 0!important;color:#214e3d!important}
.ptfr-admin [data-ptfr-backfill-stop][hidden]{display:none!important}
.ptfr-admin [data-ptfr-backfill-form]{display:flex;flex-wrap:wrap;align-items:center;gap:9px}
@media(max-width:650px){
 .ptfr-loyalty .ptfr-panel--general>.ptfr-panel-header,.ptfr-loyalty .ptfr-panel--quiz>.ptfr-panel-header,.ptfr-loyalty .ptfr-panel--archive>.ptfr-panel-header{padding:11px!important}
 .ptfr-loyalty .ptfr-tabs{gap:6px!important;max-width:100%;width:100%;justify-content:flex-start}
 .ptfr-loyalty .ptfr-tabs a{font-size:12px!important;padding:10px!important;flex:1 1 auto;text-align:center}
}

/* Lignes uniformément blanches sur les trois tableaux. */
body.ptfr-2027 .ptfr-loyalty:not(.ptfr-my-points) .ptfr-loyalty-tablewrap tbody tr,
body.ptfr-2027 .ptfr-loyalty:not(.ptfr-my-points) .ptfr-loyalty-tablewrap tbody tr:nth-child(odd),
body.ptfr-2027 .ptfr-loyalty:not(.ptfr-my-points) .ptfr-loyalty-tablewrap tbody tr:nth-child(even),
body.ptfr-2027 .ptfr-loyalty:not(.ptfr-my-points) .ptfr-loyalty-tablewrap table tbody tr td {background:#fff!important;}
body.ptfr-2027 .ptfr-loyalty:not(.ptfr-my-points) .ptfr-loyalty-tablewrap tbody tr:hover td {background:#f2f7fb!important;}
body.ptfr-2027 .ptfr-loyalty:not(.ptfr-my-points) .ptfr-loyalty-tablewrap tbody tr+tr td {border-top:1px solid #d7e3ec!important;}
body.ptfr-2027 .ptfr-loyalty .ptfr-tabs {align-items:center;}
body.ptfr-2027 .ptfr-loyalty .ptfr-tabs a {white-space:nowrap;}
body.ptfr-2027 .ptfr-loyalty #mes-variations-points {scroll-margin-top:95px;}
/* Popup de points: exactement la même épaisseur sur les quatre côtés. */
body.ptfr-2027 #ptfr-challenge-gain-notice.ptfr-notice-pop {border:1px solid #90c9a5!important;}
/* MP : fond lisible et un badge compact, sans vieux clignotement/compteur parenthésé. */
body.ptfr-2027 #module-connect li.connect-pm {background:transparent!important;animation:none!important;}
body.ptfr-2027 #module-connect li.connect-pm>a {display:inline-flex!important;align-items:center!important;gap:9px!important;position:relative!important;white-space:nowrap!important;}
body.ptfr-2027 #module-connect li.connect-pm>a i {flex:none!important;animation:none!important;}
body.ptfr-2027 #module-connect .ptfr-pm-unread {
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 flex:none!important;position:static!important;float:none!important;min-width:22px!important;height:22px!important;
 padding:0 5px!important;margin:0!important;border-radius:8px!important;border:1px solid #9e2d47!important;
 background:#aa304b!important;color:#fff!important;font-size:12px!important;line-height:1!important;font-weight:800!important;
 text-align:center!important;box-shadow:none!important;animation:none!important;transform:none!important;
}
@media(max-width:600px){body.ptfr-2027 .ptfr-loyalty .ptfr-tabs{gap:5px!important}body.ptfr-2027 .ptfr-loyalty .ptfr-tabs a{font-size:12px!important;padding:9px 10px!important}}

/* Accès direct à l’historique depuis une notification de perte. */
body.ptfr-2027 #ptfr-challenge-gain-notice .ptfr-notice-link{display:inline-block!important;align-self:flex-start!important;padding:6px 0!important;color:#1b4e75!important;font-size:13px!important;font-weight:750!important;text-decoration:underline!important;line-height:1.35!important}
body.ptfr-2027 #ptfr-challenge-gain-notice.ptfr-notice-loss{border:1px solid #dfa3ad!important;background:#fff0f1!important;color:#90263c!important}
body.ptfr-2027 #ptfr-challenge-gain-notice.ptfr-notice-loss .ptfr-notice-title{color:#942b42!important}
body.ptfr-2027 #ptfr-challenge-gain-notice.ptfr-notice-loss .ptfr-notice-description{color:#854255!important}
body.ptfr-2027 #module-connect li.connect-pm>a.small {
  background:#fff!important;color:#244970!important;border:1px solid #c6d9e8!important;
  border-radius:9px!important;padding:10px 12px!important;box-shadow:none!important;
}
body.ptfr-2027 #module-connect li.connect-pm.ptfr-pm-has-unread>a.small {
  background:#fff5f7!important;color:#862d45!important;border-color:#e5b8c2!important;
}
body.ptfr-2027 #module-connect li.connect-pm>a.small:hover{background:#e9f2f9!important;color:#173f65!important}

.ptfr-admin .ptfr-compact-maintenance{background:#f3f7fa;border-color:#bdcfdf}
.ptfr-admin .ptfr-compact-maintenance h2{margin-bottom:10px;color:#21496c}
.ptfr-admin .ptfr-compact-actions{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin:12px 0}
.ptfr-admin [data-ptfr-history-status]{margin-top:10px!important}

/* V120 : règles de fidélité administrables, sans modifier les autres formulaires. */
.ptfr-attendance-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:1rem;align-items:end}
.ptfr-attendance-fields label{display:flex;flex-direction:column;gap:.4rem;min-width:0}
.ptfr-attendance-fields label input{width:100%;min-width:0;box-sizing:border-box}
.ptfr-attendance-rules .ptfr-hint{max-width:110ch}

/* V122 — Mes points : hiérarchie de couleurs, deux historiques indépendants.
   Les tableaux sont lisibles et conservent le rouge des pertes, même au survol. */
.ptfr-my-points .ptfr-points-hero {
    background:#254865!important;
    border:1px solid #24435e!important;
    color:#f9fcff!important;
}
.ptfr-my-points .ptfr-points-hero h1,
.ptfr-my-points .ptfr-points-hero p,
.ptfr-my-points .ptfr-points-hero .ptfr-eyebrow {color:#fff!important}
.ptfr-my-points .ptfr-points-hero .ptfr-eyebrow {color:#d4e5ef!important}
.ptfr-my-points .ptfr-points-summary {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:15px;margin:0 0 22px;
}
.ptfr-my-points .ptfr-points-summary-card {
    min-width:0;display:flex;flex-direction:column;gap:9px;
    border-radius:13px;padding:20px 22px;
}
.ptfr-my-points .ptfr-points-summary-primary {
    background:#fff0d9;border:1px solid #dcb782;
}
.ptfr-my-points .ptfr-points-summary-quiz {
    background:#e6f2e7;border:1px solid #a4c6ac;
}
.ptfr-my-points .ptfr-points-summary-card>span {font-size:14px;font-weight:750;color:#43566b}
.ptfr-my-points .ptfr-points-summary-card>strong {color:#183957;font-size:clamp(23px,3vw,32px);line-height:1.2}
.ptfr-my-points .ptfr-points-summary-card>small {font-size:13px;color:#4d687a}
.ptfr-my-points .ptfr-points-history {
    margin-bottom:20px;
    border-radius:14px;
    padding:18px;
}
.ptfr-my-points .ptfr-points-history-general {
    background:#edf3f7;border:1px solid #b9ccdc;
}
.ptfr-my-points .ptfr-points-history-quiz {
    background:#eaf4ec;border:1px solid #b5d0bb;
}
.ptfr-my-points .ptfr-points-history .ptfr-panel-header {
    display:flex;align-items:center;justify-content:space-between;
    flex-wrap:wrap;gap:13px;border-radius:9px;padding:14px 16px;
    margin:0 0 16px;
}
.ptfr-my-points .ptfr-points-history-general .ptfr-panel-header {background:#d6e5f1}
.ptfr-my-points .ptfr-points-history-quiz .ptfr-panel-header {background:#cde3d3}
.ptfr-my-points .ptfr-points-history .ptfr-panel-header h2 {margin:0;color:#1c3e59}
.ptfr-my-points .ptfr-points-history .ptfr-panel-header .ptfr-hint {margin:5px 0 0!important;color:#496679}
.ptfr-my-points .ptfr-points-count {font-size:13px;font-weight:750;color:#23476a;background:#fff;padding:9px 12px;border:1px solid #ccdce6;border-radius:8px}
.ptfr-my-points .ptfr-points-history-quiz .ptfr-points-count {color:#2f5a43;border-color:#bbd8c2}
.ptfr-my-points .ptfr-points-history .ptfr-loyalty-tablewrap {background:#fff;border:1px solid #cad9e4}
.ptfr-my-points .ptfr-points-history .ptfr-points-table {width:100%;border-collapse:collapse;background:#fff}
.ptfr-my-points .ptfr-points-history-general .ptfr-points-table th {background:#d2e3f0!important;color:#24476a!important}
.ptfr-my-points .ptfr-points-history-quiz .ptfr-points-table th {background:#cce5d3!important;color:#255b40!important}
/* No color-changing hover: a row remains the same shade throughout interaction. */
body.ptfr-2027 .ptfr-loyalty.ptfr-my-points .ptfr-points-table tbody tr td,
body.ptfr-2027 .ptfr-loyalty.ptfr-my-points .ptfr-points-table tbody tr:hover td {
    background:#fff!important;color:#1b3955!important;
}
/* No alternate stripes: gains stay white in both panels. */
body.ptfr-2027 .ptfr-loyalty.ptfr-my-points .ptfr-points-table tbody tr:nth-child(even) td,
body.ptfr-2027 .ptfr-loyalty.ptfr-my-points .ptfr-points-table tbody tr:nth-child(even):hover td {
    background:#fff!important;
}
/* Full-row loss overrides the striped rows on every cell and on hover. */
body.ptfr-2027 .ptfr-loyalty.ptfr-my-points .ptfr-points-table tbody tr.ptfr-points-row-loss td,
body.ptfr-2027 .ptfr-loyalty.ptfr-my-points .ptfr-points-table tbody tr.ptfr-points-row-loss:hover td,
body.ptfr-2027 .ptfr-loyalty.ptfr-my-points .ptfr-points-table tbody tr.ptfr-points-row-loss:nth-child(even) td,
body.ptfr-2027 .ptfr-loyalty.ptfr-my-points .ptfr-points-table tbody tr.ptfr-points-row-loss:nth-child(even):hover td {
    background:#ffe2e5!important;color:#822438!important;
}
.ptfr-my-points .ptfr-points-table th:first-child,
.ptfr-my-points .ptfr-points-table td:first-child {width:175px!important;white-space:nowrap}
.ptfr-my-points .ptfr-points-table th:last-child,
.ptfr-my-points .ptfr-points-table td:last-child {width:145px!important;white-space:nowrap;text-align:right}
.ptfr-my-points .ptfr-points-reason {display:block;font-weight:680;line-height:1.45}
.ptfr-my-points .ptfr-points-source-link {display:inline-block;margin-top:5px;color:#245a84!important;text-decoration:underline!important;font-size:12px}
.ptfr-my-points .ptfr-points-amount {font-weight:800;font-variant-numeric:tabular-nums}
body.ptfr-2027 .ptfr-loyalty.ptfr-my-points .ptfr-points-table td.ptfr-points-amount.is-loss {color:#982b40!important}
body.ptfr-2027 .ptfr-loyalty.ptfr-my-points .ptfr-points-table td.ptfr-points-amount.is-gain {color:#236b4d!important}
.ptfr-my-points .ptfr-points-pages {display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:7px;margin:20px 0 0}
.ptfr-my-points .ptfr-points-pages>a,.ptfr-my-points .ptfr-points-pages>span {
    display:inline-flex;align-items:center;justify-content:center;
    padding:8px 12px;min-width:39px;min-height:38px;
    border-radius:8px;border:1px solid #bdd1e2;background:#fff;
    color:#244970;font-weight:700;font-size:14px;
}
.ptfr-my-points .ptfr-points-pages>a:hover {background:#e2ecf3}
.ptfr-my-points .ptfr-points-pages>.is-current {color:#fff;background:#244970;border-color:#244970}
.ptfr-my-points .ptfr-points-history-quiz .ptfr-points-pages>.is-current {background:#31644b;border-color:#31644b}
.ptfr-my-points .ptfr-points-archive-note {margin:0 0 16px!important}
@media(max-width:650px) {
    .ptfr-my-points .ptfr-points-summary {grid-template-columns:1fr}
    .ptfr-my-points .ptfr-points-summary-card {padding:16px}
    .ptfr-my-points .ptfr-points-history {padding:12px}
    .ptfr-my-points .ptfr-points-history .ptfr-panel-header {padding:12px}
    .ptfr-my-points .ptfr-points-table {min-width:570px}
    .ptfr-my-points .ptfr-points-table th:first-child,
    .ptfr-my-points .ptfr-points-table td:first-child {width:145px!important}
}

/* V124 — Les deux historiques sont rendus puis commutés instantanément en JS. */
.ptfr-my-points .ptfr-points-tabs {
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;
  margin:0 0 14px;padding:8px;background:#e5ebf2;border:1px solid #bfd0df;
  border-radius:13px;
}
.ptfr-my-points .ptfr-points-tab {
  display:flex;align-items:center;justify-content:center;min-height:51px;min-width:0;
  padding:10px 15px;text-align:center;text-decoration:none!important;font-weight:750;
  border:1px solid transparent;border-radius:9px;line-height:1.3;
}
.ptfr-my-points .ptfr-points-tab-general {color:#274e71!important;background:#f3f8fc;border-color:#b4cde0}
.ptfr-my-points .ptfr-points-tab-quiz {color:#276044!important;background:#f2faf4;border-color:#afd0b7}
.ptfr-my-points .ptfr-points-tab-general.is-active {color:#fff!important;background:#234a70;border-color:#234a70}
.ptfr-my-points .ptfr-points-tab-quiz.is-active {color:#fff!important;background:#286344;border-color:#286344}
.ptfr-my-points .ptfr-points-tab:focus-visible {outline:3px solid #d8a246;outline-offset:2px}
.ptfr-my-points .ptfr-points-tab:not(.is-active):hover {filter:brightness(.975)}
/* On mobile, each movement is a self-contained three-line card (no 570px horizontal scroll). */
@media(max-width:680px) {
  .ptfr-my-points .ptfr-points-tabs {gap:6px;padding:6px;margin-bottom:12px}
  .ptfr-my-points .ptfr-points-tab {min-height:49px;padding:9px 5px;font-size:13px}
  .ptfr-my-points .ptfr-points-history {padding:10px}
  .ptfr-my-points .ptfr-points-history .ptfr-panel-header {gap:10px;align-items:flex-start}
  .ptfr-my-points .ptfr-points-history .ptfr-panel-header .ptfr-points-count {font-size:12px;padding:6px 8px}
  .ptfr-my-points .ptfr-points-history .ptfr-loyalty-tablewrap {overflow:visible!important}
  .ptfr-my-points .ptfr-points-table {display:block;min-width:0!important;width:100%}
  .ptfr-my-points .ptfr-points-table thead {display:none}
  .ptfr-my-points .ptfr-points-table tbody {display:grid;gap:8px}
  .ptfr-my-points .ptfr-points-table tbody tr {display:block;border-radius:9px;overflow:hidden;border:1px solid #d3e1ec}
  .ptfr-my-points .ptfr-points-table tbody tr.ptfr-points-row-loss {border-color:#e4a9b2}
  .ptfr-my-points .ptfr-points-table tbody tr td {
    display:grid!important;grid-template-columns:minmax(76px,28%) minmax(0,1fr);
    gap:8px;align-items:start;width:auto!important;min-width:0;white-space:normal!important;
    padding:9px 10px!important;text-align:left!important;border-top:0!important;line-height:1.4;
  }
  .ptfr-my-points .ptfr-points-table tbody tr td::before {
    content:attr(data-label);font-size:12px;font-weight:750;color:#46647c;
  }
  .ptfr-my-points .ptfr-points-table tbody tr td.ptfr-points-amount {font-size:15px}
  .ptfr-my-points .ptfr-points-table tbody tr.ptfr-points-row-loss td::before {color:#982b40}
  .ptfr-my-points .ptfr-points-pages {margin-top:14px;gap:5px}
  .ptfr-my-points .ptfr-points-pages>a,.ptfr-my-points .ptfr-points-pages>span {min-width:36px;min-height:36px;padding:7px}
}

/* V124 — Onglets accessibles et fluides sur Mes points ET Classements. */
.ptfr-loyalty [data-ptfr-pane][hidden],
.ptfr-loyalty [data-ptfr-period-panel][hidden] {display:none!important}
.ptfr-loyalty .ptfr-view-tabs {
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;padding:8px;margin:0 0 15px;
  background:#e4ecf3;border:1px solid #bdcede;border-radius:13px;
}
.ptfr-loyalty .ptfr-view-tab {
  min-width:0;min-height:52px;display:flex;align-items:center;justify-content:center;
  border:1px solid #b6cbdc;border-radius:9px;background:#fff;
  color:#255075!important;font-weight:750;line-height:1.3;
  padding:12px 10px;text-align:center;text-decoration:none!important;
}
.ptfr-loyalty .ptfr-view-tab.is-active {background:#234970;color:#fff!important;border-color:#234970}
.ptfr-loyalty .ptfr-view-tab[data-ptfr-tab="quiz"]:not(.is-active) {border-color:#a5c9b0;color:#286046!important}
.ptfr-loyalty .ptfr-view-tab[data-ptfr-tab="quiz"].is-active {background:#2e6448;border-color:#2e6448}
.ptfr-loyalty .ptfr-view-tab:focus-visible,
.ptfr-loyalty .ptfr-points-tab:focus-visible {outline:3px solid #dfa845;outline-offset:2px}
/* Rankings also use uniform white rows, including on mouse hover. */
body.ptfr-2027 .ptfr-loyalty:not(.ptfr-my-points) .ptfr-loyalty-tablewrap tbody tr:nth-child(even):hover td,
body.ptfr-2027 .ptfr-loyalty:not(.ptfr-my-points) .ptfr-loyalty-tablewrap tbody tr:hover td {background:#fff!important}
@media(max-width:680px){
 .ptfr-loyalty .ptfr-view-tabs {gap:6px;padding:6px}
 .ptfr-loyalty .ptfr-view-tab {font-size:13px;min-height:48px;padding:9px 5px}
}

/* Quiz day/month are separate panes rather than stacked tables. */
.ptfr-loyalty .ptfr-quiz-subtabs {max-width:540px;margin:0 0 14px;background:#e1eee5;border-color:#bad3c2}
.ptfr-loyalty .ptfr-quiz-subtabs .ptfr-view-tab.is-active {background:#2e6448;border-color:#2e6448}

/* PTFR-2027 V128 — FAQ : grille pleine largeur, pas de conteneur blanc superposé. */
.ptfr-loyalty.ptfr-help {
  width:100%;max-width:none;margin:0 0 30px;padding:0;
}
.ptfr-help .ptfr-help-hero {
  padding:clamp(18px,2.2vw,28px);
  margin:0 0 14px;
  background:#dce9f3;border:1px solid #b8ccde;border-radius:12px;
}
.ptfr-help .ptfr-help-hero h1 {font-size:clamp(24px,2.5vw,34px)}
.ptfr-help-toc {
  display:flex;flex-wrap:wrap;gap:9px;
  margin:0 0 18px;padding:12px;
  background:#234970;border:1px solid #234970;border-radius:11px;
}
.ptfr-help .ptfr-help-toc a {
  display:inline-flex;align-items:center;justify-content:center;
  padding:10px 13px;border:1px solid #d3e0eb;border-radius:8px;
  background:#f5f9fc;color:#1c4569;text-decoration:none;font-weight:700;
}
.ptfr-help .ptfr-help-toc a:hover,
.ptfr-help .ptfr-help-toc a:focus-visible {background:#e2edf7;color:#193d5d}
/* The section is a semantic grouping, not another white card around cards. */
.ptfr-help .ptfr-help-section,
.ptfr-help .ptfr-help-section:nth-of-type(even) {
  width:100%;margin:0 0 19px;padding:0;
  border:0;border-radius:0;background:transparent;box-shadow:none;
}
.ptfr-help .ptfr-help-section > h2 {
  display:block;width:100%;box-sizing:border-box;
  padding:14px 18px;margin:0 0 13px;
  background:#d9e7f3;border:1px solid #bacfe1;border-radius:10px;
  color:#183e61;font-size:clamp(18px,1.6vw,21px);line-height:1.35;
}
.ptfr-help .ptfr-help-section > p {
  margin:12px 2px;color:#365570;line-height:1.65;
}
.ptfr-help-cards {
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
  gap:13px;margin:0 0 13px;
}
.ptfr-help-cards--two {grid-template-columns:repeat(2,minmax(0,1fr))}
.ptfr-help .ptfr-help-card {
  min-width:0;box-sizing:border-box;
  padding:19px 20px;border:1px solid #c6d7e5;border-radius:11px;
  background:#f0f5f9;box-shadow:none;
}
.ptfr-help .ptfr-help-card--general {background:#e6f0fa;border-color:#abc8df}
.ptfr-help .ptfr-help-card--quiz {background:#e9f5ee;border-color:#a9d2bb}
.ptfr-help .ptfr-help-card--trux {background:#fdf0e4;border-color:#dfc0a1}
.ptfr-help .ptfr-help-card > h3 {
  display:block;width:auto;max-width:none;
  margin:0 0 10px;padding:0;
  border:0;border-radius:0;background:transparent;box-shadow:none;
  font-size:1.08rem;line-height:1.4;font-weight:750;color:#1a3d5c;
}
.ptfr-help .ptfr-help-card p {margin:0;line-height:1.65;color:#35536d}
.ptfr-help-tablewrap {
  max-width:100%;overflow-x:auto;
  background:#fff;border:1px solid #c7d7e5;border-radius:10px;
}
.ptfr-help .ptfr-help-table {width:100%;border-collapse:collapse;table-layout:auto;margin:0}
.ptfr-help .ptfr-help-table thead th {
  background:#244970!important;color:#fff!important;
  padding:13px 15px!important;text-align:left;border:0!important;
}
.ptfr-help .ptfr-help-table thead th:last-child {text-align:right}
.ptfr-help .ptfr-help-table tbody td,
.ptfr-help .ptfr-help-table tbody tr:hover td {
  background:#fff!important;color:#263f57!important;
  padding:13px 15px!important;
  border-bottom:1px solid #dae4ec!important;vertical-align:top;
}
.ptfr-help .ptfr-help-table tbody td:last-child {text-align:right;font-weight:750;white-space:normal}
.ptfr-help .ptfr-help-table tbody td.ptfr-help-positive {color:#19633c!important}
.ptfr-help .ptfr-help-table tbody td.ptfr-help-negative,
.ptfr-help .ptfr-help-table tbody tr:hover td.ptfr-help-negative {
  color:#a23042!important;background:#fff0f1!important;
}
.ptfr-help .ptfr-help-note {
  padding:14px 16px;margin:14px 0;
  border:1px solid #e8cba3;border-radius:9px;
  background:#fff3e4;color:#684b2a!important;line-height:1.6;
}
.ptfr-help-question {
  border:1px solid #bed0df;background:#edf4f9;
  margin:12px 0;border-radius:10px;overflow:hidden;
}
.ptfr-help-question summary {
  cursor:pointer;display:list-item;padding:14px 16px;
  color:#1d4768;font-weight:700;
}
.ptfr-help-question[open] summary {background:#deebf4}
.ptfr-help-question > div {
  padding:14px 16px;line-height:1.65;
  color:#34536c;background:#fff;
}
.ptfr-help-footer {display:flex;flex-wrap:wrap;gap:10px;margin:24px 0 0}
.ptfr-help section[id] {scroll-margin-top:90px}
@media(max-width:800px) {
  .ptfr-help-cards,.ptfr-help-cards--two {grid-template-columns:minmax(0,1fr)}
  .ptfr-help-toc {padding:10px;gap:7px}
  .ptfr-help .ptfr-help-card {padding:17px}
}
@media(max-width:500px) {
  .ptfr-help .ptfr-help-hero {padding:17px}
  .ptfr-help .ptfr-help-section > h2 {padding:12px 13px;font-size:18px}
  .ptfr-help .ptfr-help-table thead th,
  .ptfr-help .ptfr-help-table tbody td {padding:10px 9px!important;font-size:.87rem}
  .ptfr-help .ptfr-help-table tbody td:last-child {min-width:114px}
  .ptfr-help-toc a {flex:1 1 45%;text-align:center}
  .ptfr-help-footer .ptfr-btn {flex:1 1 100%}
}


/* V144 · Audit de modération, intégré à l'administration Challenge. */
.ptfr-admin .ptfr-moderation-audit {min-width:0}
.ptfr-admin .ptfr-audit-warning {
  background:#fff2df;color:#75420d;border:1px solid #d9b27e;
  border-radius:9px;padding:13px 15px;margin:12px 0 16px;line-height:1.55;
}
.ptfr-admin .ptfr-audit-filter {
  display:flex;align-items:end;gap:11px;flex-wrap:wrap;margin:15px 0 0;
}
.ptfr-admin .ptfr-audit-filter label {display:grid;gap:5px;font-size:13px;font-weight:700;color:#234767}
.ptfr-admin .ptfr-audit-filter input {
  min-width:150px;max-width:230px;width:100%;padding:10px 12px;
  color:#173b59;border:1px solid #a8c1d5;border-radius:8px;background:#fff;
}
.ptfr-admin .ptfr-moderation-audit .ptfr-loyalty-tablewrap {width:100%;max-width:100%;overflow:auto}
.ptfr-admin .ptfr-moderation-audit .ptfr-audit-table {min-width:900px;table-layout:auto}
.ptfr-admin .ptfr-moderation-audit .ptfr-audit-table th,
.ptfr-admin .ptfr-moderation-audit .ptfr-audit-table td {padding:12px 11px!important;vertical-align:top!important;text-align:left;white-space:normal}
.ptfr-admin .ptfr-audit-table code {font-size:12px;white-space:normal;overflow-wrap:anywhere;background:#e9eff6;color:#1c405f;border-radius:5px;padding:3px 5px}
.ptfr-admin .ptfr-audit-table small {display:block;color:#5c748a;margin-top:5px;white-space:normal}
.ptfr-admin .ptfr-audit-table .ptfr-points-loss {color:#9b273a!important;font-weight:750}
.ptfr-admin .ptfr-moderation-audit .ptfr-hint {margin:10px 0 13px!important}
@media (max-width:650px) {
 .ptfr-admin .ptfr-audit-filter label,.ptfr-admin .ptfr-audit-filter input {width:100%;max-width:none}
 .ptfr-admin .ptfr-audit-filter button,.ptfr-admin .ptfr-audit-filter .ptfr-btn {flex:1 1 auto}
}
