.jsucm-dashboard,.jsucm-grid{display:grid;gap:20px}.jsucm-dashboard{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}.jsucm-full-width{grid-column:1/-1}.jsucm-card{background:#fff;border:1px solid #dcdcde;border-radius:16px;padding:20px;box-shadow:0 4px 16px rgba(15,23,42,.05)}.jsucm-form input[type=text],.jsucm-form input[type=email],.jsucm-form input[type=password],.jsucm-form input[type=date],.jsucm-form input[type=datetime-local],.jsucm-form select,.jsucm-form textarea{width:100%;max-width:100%;padding:10px 12px;border:1px solid #c3c4c7;border-radius:12px}.jsucm-form textarea{min-height:110px}.jsucm-notice{padding:12px 14px;border-radius:12px;margin:0 0 16px}.jsucm-notice-success{background:#ecfdf5;color:#065f46}.jsucm-notice-error{background:#fef2f2;color:#991b1b}.jsucm-avatar{width:72px;height:72px;border-radius:999px;object-fit:cover;border:2px solid #e5e7eb}.jsucm-avatar-placeholder{display:flex;align-items:center;justify-content:center;background:#111827;color:#fff;font-size:28px}.jsucm-profile-head{display:flex;gap:14px;align-items:center;margin-bottom:12px}.jsucm-muted{color:#6b7280;margin-top:2px}.jsucm-profile-photo-large,.jsucm-record-photo{max-width:220px;height:auto;border-radius:16px;border:1px solid #e5e7eb}.jsucm-message{padding:12px 14px;background:#f9fafb;border:1px solid #e5e7eb;border-radius:12px;margin-bottom:10px}.jsucm-form-switcher .button{margin:0 8px 8px 0}.jsucm-record-photo{max-width:260px;height:auto;border-radius:12px}.jsucm-message{padding:12px;border:1px solid #ddd;border-radius:8px;background:#fff;margin:0 0 12px}.jsucm-password-wrap{position:relative;display:block}.jsucm-password-wrap input{padding-right:52px!important}.jsucm-toggle-password{position:absolute;top:50%;right:10px;transform:translateY(-50%);border:0;background:transparent;cursor:pointer;font-size:18px;line-height:1;padding:4px}.jsucm-toggle-password:focus{outline:2px solid #2271b1;outline-offset:2px;border-radius:6px}.jsucm-auth-alt-link{text-align:center;margin-top:10px}.jsucm-auth-alt-link a{font-weight:600;text-decoration:none}.jsucm-auth-alt-link a:hover{text-decoration:underline}.jsucm-admin-hero{display:flex;justify-content:space-between;gap:16px;align-items:center}.jsucm-admin-hero-actions{display:flex;gap:10px;flex-wrap:wrap}.jsucm-admin-nav{display:flex;flex-wrap:wrap;gap:10px}.jsucm-admin-tab{display:inline-flex;align-items:center;justify-content:center;padding:10px 14px;border:1px solid #d0d7de;border-radius:999px;background:#fff;color:#111827;text-decoration:none;font-weight:600}.jsucm-admin-tab.is-active{background:#111827;color:#fff;border-color:#111827}.jsucm-admin-panel-grid{grid-template-columns:repeat(auto-fit,minmax(320px,1fr))}.jsucm-stat-list{list-style:none;padding:0;margin:0;display:grid;gap:10px}.jsucm-stat-list li{padding:10px 12px;border:1px solid #e5e7eb;border-radius:12px;background:#fff}.jsucm-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.jsucm-inline-filter{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.jsucm-inline-filter select{min-width:220px}.jsucm-multi-select{width:100%;min-height:130px}.jsucm-subcard{box-shadow:none}.jsucm-table-tools{display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;padding:14px;border-bottom:1px solid #e5e7eb;background:#fff}.jsucm-table-tools-group{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.jsucm-table-tools label{font-weight:600;color:#111827}.jsucm-table-search{min-width:240px;padding:10px 12px;border:1px solid #c3c4c7;border-radius:12px;background:#fff;color:#111827}.jsucm-table-page-size{min-width:92px;padding:10px 12px;border:1px solid #c3c4c7;border-radius:12px;background:#fff;color:#111827}.jsucm-table-export{display:inline-flex;align-items:center;justify-content:center;padding:10px 14px;border:1px solid #d0d7de;border-radius:12px;background:#fff;color:#111827;font-weight:600;cursor:pointer}.jsucm-table-export:hover{background:#f8fafc}.jsucm-table-pagination{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;padding:14px;border-top:1px solid #e5e7eb;background:#fff}.jsucm-table-pagination-buttons{display:flex;gap:8px;flex-wrap:wrap}.jsucm-table-pagination .button[disabled],.jsucm-table-export[disabled]{opacity:.55;cursor:not-allowed}.jsucm-table-meta{font-size:14px;color:#4b5563}.jsucm-table-meta-group{display:grid;gap:4px}.jsucm-table-export-scope{min-width:190px;padding:10px 12px;border:1px solid #c3c4c7;border-radius:12px;background:#fff;color:#111827}.jsucm-select-col input[type=checkbox],.jsucm-table-row-select,.jsucm-table-select-all{appearance:auto!important;-webkit-appearance:checkbox!important;display:inline-block!important;width:28px!important;height:28px!important;min-width:28px!important;min-height:28px!important;margin:0!important;padding:0!important;opacity:1!important;visibility:visible!important;cursor:pointer!important;accent-color:#84cc16!important;vertical-align:middle!important}.jsucm-select-col{text-align:center!important}.jsucm-select-col label{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:10px!important}.jsucm-table-empty-row td{text-align:center;font-style:italic;color:#6b7280!important;background:#fff!important}

/* =========================================================
   JSUCM - TABLEAUX FULL HORIZONTAL SCROLL
   ========================================================= */
.jsucm-card,.jsucm-subcard,.jsucm-full-width,.jsucm-dashboard,.jsucm-grid,.jsucm-admin-panel-grid{overflow:visible!important}.jsucm-table-shell,.jsucm-table-wrap{display:block!important;width:100%!important;max-width:100%!important;overflow-x:auto!important;overflow-y:hidden!important;-webkit-overflow-scrolling:touch!important;background:#fff!important;border:1px solid #e5e7eb!important;border-radius:14px!important;position:relative!important}.jsucm-table-shell{padding:0!important}.jsucm-table-shell table,.jsucm-table-wrap table,table.jsucm-admin-table,table.jsucm-detail-table,.jsucm-admin-table,.jsucm-detail-table{border-collapse:collapse!important;table-layout:auto!important;width:max-content!important;min-width:2200px!important;max-width:none!important;background:#fff!important;margin:0!important}.jsucm-detail-table{min-width:1200px!important}.jsucm-admin-table th,.jsucm-admin-table td,.jsucm-detail-table th,.jsucm-detail-table td{padding:12px 16px!important;border:1px solid #e5e7eb!important;background:#fff!important;color:#111827!important;text-align:left!important;vertical-align:middle!important;line-height:1.4!important;writing-mode:horizontal-tb!important;text-orientation:mixed!important;transform:none!important;rotate:none!important;white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important;hyphens:none!important;min-width:180px!important;max-width:none!important}.jsucm-admin-table th *,.jsucm-admin-table td *,.jsucm-detail-table th *,.jsucm-detail-table td *{writing-mode:horizontal-tb!important;text-orientation:mixed!important;transform:none!important;rotate:none!important;white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important;hyphens:none!important;display:inline!important}.jsucm-admin-table thead th,.jsucm-detail-table thead th{position:sticky!important;top:0!important;z-index:5!important;background:#f8fafc!important;font-weight:700!important;min-width:200px!important;box-shadow:0 1px 0 #e5e7eb!important}.jsucm-admin-table tbody tr:nth-child(even),.jsucm-detail-table tbody tr:nth-child(even){background:#fcfcfd}.jsucm-admin-table tbody tr:hover,.jsucm-detail-table tbody tr:hover{background:#f8fbff}.jsucm-select-col,.jsucm-admin-table th.jsucm-select-col,.jsucm-admin-table td.jsucm-select-col,.jsucm-admin-table.jsucm-has-selection th:first-child,.jsucm-admin-table.jsucm-has-selection td:first-child{min-width:150px!important;width:150px!important;max-width:150px!important;text-align:center!important;white-space:nowrap!important}.jsucm-select-all,.jsucm-select-all *{display:inline-flex!important;align-items:center!important;gap:8px!important;flex-wrap:nowrap!important;white-space:nowrap!important;writing-mode:horizontal-tb!important;text-orientation:mixed!important}.jsucm-admin-table th:nth-child(2),.jsucm-admin-table td:nth-child(2){min-width:110px!important}.jsucm-admin-table th:nth-child(3),.jsucm-admin-table td:nth-child(3){min-width:220px!important}.jsucm-admin-table th:nth-child(4),.jsucm-admin-table td:nth-child(4){min-width:180px!important}.jsucm-admin-table th:nth-child(5),.jsucm-admin-table td:nth-child(5){min-width:180px!important}.jsucm-admin-table th:nth-child(6),.jsucm-admin-table td:nth-child(6){min-width:180px!important}.jsucm-admin-table th:nth-child(7),.jsucm-admin-table td:nth-child(7){min-width:220px!important}.jsucm-admin-table th:nth-child(8),.jsucm-admin-table td:nth-child(8){min-width:220px!important}.jsucm-admin-table th:last-child,.jsucm-admin-table td:last-child{min-width:180px!important}.jsucm-detail-table th{min-width:260px!important;width:260px!important;background:#f8fafc!important}.jsucm-detail-table td{min-width:420px!important}.jsucm-admin-table a,.jsucm-detail-table a,.jsucm-admin-table span,.jsucm-detail-table span,.jsucm-admin-table strong,.jsucm-detail-table strong,.jsucm-admin-table label,.jsucm-detail-table label,.jsucm-admin-table small,.jsucm-detail-table small{writing-mode:horizontal-tb!important;text-orientation:mixed!important;transform:none!important;rotate:none!important;white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important;hyphens:none!important;display:inline!important}.jsucm-table-shell::-webkit-scrollbar,.jsucm-table-wrap::-webkit-scrollbar{height:12px}.jsucm-table-shell::-webkit-scrollbar-thumb,.jsucm-table-wrap::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:999px}.jsucm-table-shell::-webkit-scrollbar-track,.jsucm-table-wrap::-webkit-scrollbar-track{background:#f1f5f9}

@media (max-width:782px){.jsucm-admin-hero{flex-direction:column;align-items:flex-start}.jsucm-admin-tab{width:100%}.jsucm-table-tools,.jsucm-table-pagination{padding:12px}.jsucm-table-tools-group{width:100%}.jsucm-table-search{min-width:100%;width:100%}.jsucm-table-pagination{align-items:flex-start}.jsucm-table-export-scope{min-width:100%;width:100%}.jsucm-table-meta-group{width:100%}}


/* =========================================================
   JSUCM v3.6.4 - force full horizontal scroll inside theme primary area
   ========================================================= */
#primary .jsucm-admin-portal,
#primary .jsucm-card,
#primary .jsucm-subcard,
#primary .jsucm-table-shell,
#primary .jsucm-table-wrap {
    overflow: visible !important;
    max-width: none !important;
}

#primary .jsucm-table-shell,
#primary .jsucm-table-wrap,
.jsucm-admin-portal .jsucm-table-shell,
.jsucm-admin-portal .jsucm-table-wrap {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
}

#primary .jsucm-admin-table,
#primary .jsucm-detail-table,
#primary .jsucm-table-wrap table,
.jsucm-admin-portal .jsucm-admin-table,
.jsucm-admin-portal .jsucm-detail-table,
.jsucm-admin-portal .jsucm-table-wrap table {
    width: max-content !important;
    min-width: 2400px !important;
    max-width: none !important;
    table-layout: auto !important;
    border-collapse: collapse !important;
    white-space: nowrap !important;
}

#primary .jsucm-admin-table th,
#primary .jsucm-admin-table td,
#primary .jsucm-detail-table th,
#primary .jsucm-detail-table td,
.jsucm-admin-portal .jsucm-admin-table th,
.jsucm-admin-portal .jsucm-admin-table td,
.jsucm-admin-portal .jsucm-detail-table th,
.jsucm-admin-portal .jsucm-detail-table td {
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
    transform: none !important;
    rotate: none !important;
    white-space: nowrap !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
    min-width: 180px !important;
}

#primary .jsucm-admin-table th *,
#primary .jsucm-admin-table td *,
#primary .jsucm-detail-table th *,
#primary .jsucm-detail-table td *,
.jsucm-admin-portal .jsucm-admin-table th *,
.jsucm-admin-portal .jsucm-admin-table td *,
.jsucm-admin-portal .jsucm-detail-table th *,
.jsucm-admin-portal .jsucm-detail-table td * {
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
    transform: none !important;
    rotate: none !important;
    white-space: nowrap !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
}
