body {
        background: linear-gradient(180deg, #f9f6f0 0%, #ffffff 100%);
      }
      .contract-card {
        background: #ffffff;
        border-radius: 16px;
        padding: 32px;
        box-shadow: 0 18px 40px rgba(25, 32, 56, 0.08);
      }
      .contract-title {
        font-size: 56px;
        line-height: 1;
        margin-bottom: 24px;
      }
      .contract-notice {
        margin: -6px 0 24px;
        font-size: 18px;
        font-weight: 700;
        color: #182033;
      }
      .section-block {
        margin-top: 8px;
        margin-bottom: 12px;
        padding: 18px;
        border: 1px solid #e6eaf1;
        border-radius: 14px;
        background: #fff;
      }
      .section-heading {
        margin: 0 0 16px;
        font-size: 17px;
        color: #182033;
      }
      .contract-field {
        margin-bottom: 16px;
      }
      .contract-label {
        display: block;
        font-size: 13px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.06em;
        color: #6d7485;
        margin-bottom: 8px;
      }
      .contract-input {
        width: 100%;
        min-height: 52px;
        border: 1px solid #d9dce5;
        border-radius: 12px;
        padding: 12px 14px;
        font-size: 15px;
        color: #182033;
        background: #fff;
        box-sizing: border-box;
      }
      .contract-input:focus {
        border-color: #c2a476;
        box-shadow: 0 0 0 3px rgba(194, 164, 118, 0.14);
        outline: none;
      }
      .contract-actions {
        margin-top: 22px;
      }
      .pay-shell {
        padding: 42px 0 70px;
      }
      .pay-card,
      .login-card,
      .edit-card {
        background: #ffffff;
        border: 1px solid #e7ddcd;
        border-radius: 20px;
        box-shadow: 0 20px 50px rgba(34, 28, 18, 0.08);
      }
      .login-wrap {
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 30px 16px;
      }
      .login-card {
        width: 100%;
        max-width: 760px;
        padding: 0;
      }
      .login-title,
      .pay-title {
        text-align: center;
        margin-bottom: 8px;
      }
      .login-subtitle,
      .pay-subtitle {
        text-align: center;
        color: #756f67;
        margin-bottom: 26px;
      }
      .pay-card {
        padding: 28px 26px;
      }
      .pay-topbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 16px;
        flex-wrap: wrap;
        margin-bottom: 24px;
      }
      .client-badge {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        padding: 10px 16px;
        background: #f4ecde;
        border: 1px solid #e0c9a5;
        border-radius: 999px;
        color: #5a4322;
        font-weight: 800;
      }
      .filters {
        display: flex;
        gap: 12px;
        flex-wrap: wrap;
        align-items: end;
        margin-bottom: 22px;
      }
      .filter-group {
        min-width: 140px;
      }
      .filters label[for="annee"] {
        color: #1a1a1a;
      }
      .filters label[for="mois"],
      .filters #mois {
        color: #1a1a1a;
      }
      .filters #mois option,
      .filters .select2-container .select2-selection--single .select2-selection__rendered {
        color: #1a1a1a !important;
        -webkit-text-fill-color: #1a1a1a;
        opacity: 1;
      }
      .table-wrap {
        overflow-x: auto;
        background: #fffdf9;
        border: 1px solid #e5d8c4;
        border-radius: 18px;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
      }
      .pay-table {
        width: 100%;
        border-collapse: collapse;
        color: #2c241b;
      }
      .pay-table th,
      .pay-table td {
        padding: 16px 12px;
        border-bottom: 1px solid #e7ddcf;
        vertical-align: middle;
        font-size: 15px;
        line-height: 1.5;
        color: #30271d;
      }
      .pay-table th {
        background: #f4eee4;
        color: #6b5736;
        font-size: 12px;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        white-space: nowrap;
      }
      .pay-table td strong,
      .pay-table td b {
        color: #1f1a14;
      }
      .modification-list {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
      }
      .modification-item {
        display: inline-flex;
        align-items: center;
        padding: 8px 12px;
        border-radius: 999px;
        background: #f2e9da;
        border: 1px solid #e2ccaa;
        color: #56411f;
        font-size: 13px;
        line-height: 1.4;
        font-weight: 700;
        white-space: nowrap;
      }
      .modification-empty {
        color: #6e655a;
        font-size: 13px;
        font-weight: 600;
      }
      .edit-card {
        margin-top: 28px;
        padding: 28px 24px;
      }
      .edit-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 18px;
      }
      .status-message {
        margin-bottom: 18px;
      }
      .alert-pending-validation {
        background: #fde9e7;
        border: 1px solid #efb8b2;
        color: #8f1f13;
        font-weight: 700;
      }
      .payroll-status {
        margin: 0 0 22px;
        padding: 14px 18px;
        border-radius: 14px;
        border: 1px solid #e7ddcd;
        font-size: 14px;
        line-height: 1.5;
      }
      .payroll-status-list {
        display: grid;
        gap: 10px;
        margin: 0 0 22px;
      }
      .payroll-status.status-validated {
        background: #f2f8f2;
        border-color: #bdd7bf;
        color: #2f6940;
      }
      .payroll-status.status-pending {
        background: #fde9e7;
        border-color: #efb8b2;
        color: #8f1f13;
        font-weight: 700;
      }
      .payroll-status.status-empty {
        background: #f8f5ef;
        border-color: #e7ddcd;
        color: #756f67;
      }
      .payroll-status.status-neutral {
        background: #f8f5ef;
        border-color: #e7ddcd;
        color: #756f67;
      }
      .button-small {
        padding: 10px 18px;
        font-size: 14px;
      }
      .button-validate {
        background: #c53b2f;
        border-color: #c53b2f;
        color: #fff;
      }
      .button-validate:hover,
      .button-validate:focus-visible {
        background: #ab2f24;
        border-color: #ab2f24;
        color: #fff;
      }
      .pending-summary {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 10px 14px;
        border-radius: 999px;
        background: #fde9e7;
        border: 1px solid #efb8b2;
        color: #8f1f13;
        font-weight: 800;
      }
      .login-form-shell {
        max-width: 520px;
        margin: 0 auto;
      }
      .edit-card .contract-field {
        margin-bottom: 0;
      }
      .edit-card .contract-input {
        min-height: 56px;
      }
.pending-summary-empty { color: #6d5b3a; font-weight: 700; }
