/* GEANNE Score Retraite — style senior-friendly (grandes polices, contrastes) */
.gsr { max-width: 760px; margin: 0 auto; font-size: 18px; line-height: 1.6; color: #1f2937; }
.gsr h2 { font-size: 30px; color: #134e4a; margin-bottom: 8px; }
.gsr-intro { font-size: 19px; color: #4b5563; }
.gsr-hidden { display: none !important; }

.gsr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 20px 0; }
.gsr-grid label { display: flex; flex-direction: column; font-weight: 600; gap: 6px; }
.gsr input:not([type=checkbox]):not([type=range]), .gsr select { font-size: 20px; padding: 12px; border: 2px solid #cbd5e1; border-radius: 10px; }
.gsr input:focus, .gsr select:focus { border-color: #134e4a; outline: none; }
.gsr input[type=checkbox] { appearance: auto; -webkit-appearance: checkbox; width: 24px; height: 24px;
  padding: 0; border-radius: 4px; accent-color: #1a7f37; cursor: pointer; flex: 0 0 auto; }

.gsr-btn { display: inline-block; background: #1a7f37; color: #fff !important; font-size: 20px; font-weight: 700;
  padding: 16px 28px; border: none; border-radius: 12px; cursor: pointer; margin-top: 14px; }
.gsr-btn:hover { background: #146c2e; }
.gsr-btn:disabled { background: #9ca3af; cursor: wait; }
.gsr-secondaire { background: #fff; color: #134e4a !important; border: 2px solid #134e4a; }
.gsr-secondaire:hover { background: #f0fdf4; }
.gsr-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.gsr-jauges { display: flex; align-items: center; justify-content: center; gap: 22px; margin: 26px 0; }
.gsr-jauge { text-align: center; border-radius: 16px; padding: 22px 30px; min-width: 170px; }
.gsr-jauge-avant { background: #fef2f2; border: 3px solid #b91c1c; }
.gsr-jauge-apres { background: #f0fdf4; border: 3px solid #1a7f37; }
.gsr-jauge-val { font-size: 52px; font-weight: 800; }
.gsr-jauge-avant .gsr-jauge-val { color: #b91c1c; }
.gsr-jauge-apres .gsr-jauge-val { color: #1a7f37; }
.gsr-jauge-label { font-size: 15px; color: #4b5563; }
.gsr-fleche { font-size: 40px; color: #134e4a; }
.gsr-reveal { font-size: 21px; background: #f0fdf4; border-left: 5px solid #1a7f37; padding: 14px 18px; border-radius: 8px; }

.gsr-table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 17px; }
.gsr-table th { background: #134e4a; color: #fff; padding: 10px 12px; text-align: left; }
.gsr-table td { padding: 12px; border-bottom: 1px solid #e5e7eb; vertical-align: top; }
.gsr-reco { background: #eaf7ee; }
.gsr-gain-pos { color: #1a7f37; font-weight: 800; white-space: nowrap; }
.gsr-gain-neg { color: #b91c1c; font-weight: 700; white-space: nowrap; }

.gsr-prios label { display: block; font-weight: 600; margin: 18px 0; }
.gsr-prios input[type="range"] { width: 75%; vertical-align: middle; accent-color: #1a7f37; height: 34px; }
.gsr-prios output { display: inline-block; width: 40px; text-align: center; font-size: 22px; font-weight: 800; color: #134e4a; }

a.gsr-btn { text-decoration: none; text-align: center; }
.gsr-lock { display: inline-block; padding: 8px 14px; border: 2px solid #b45309; color: #b45309 !important;
  border-radius: 40px; font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap; }
.gsr-lock:hover { background: #b45309; color: #fff !important; }
.gsr-viager { background: #134e4a; color: #fff !important; }
.gsr-viager:hover { background: #0e3a37; }
.gsr-rdv { background: #b45309; color: #fff !important; }
.gsr-rdv:hover { background: #92400e; }
.gsr-calculateur { margin-top: 22px; padding-top: 16px; border-top: 1px solid #e5e7eb; font-size: 18px; font-weight: 600; color: #1f2937; }

.gsr-check { display: flex; align-items: flex-start; gap: 10px; margin: 14px 0; font-size: 17px; cursor: pointer; }
.gsr-check input { margin-top: 3px; }
.gsr-erreur { color: #b91c1c; font-weight: 700; }
.gsr-note { background: #fffbeb; border-left: 5px solid #d97706; padding: 12px 16px; border-radius: 8px; font-size: 17px; }
.gsr-footer { margin-top: 26px; font-size: 14px; color: #6b7280; text-align: center; }

@media (max-width: 640px) {
  .gsr-grid { grid-template-columns: 1fr; }
  .gsr-jauges { flex-direction: column; }
  .gsr-fleche { transform: rotate(90deg); }
}
