/* Normigo - SaaS conformite industrielle */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --bg:          #f0f0ee;
    --bg-card:     #ffffff;
    --blue:        #0056a6;
    --blue-light:  #e8f0fa;
    --ok:          #1b7d3a;
    --warning:     #a65a00;
    --danger:      #cc2936;
    --red:         #cc2936;
    --green:       #1b7d3a;
    --green-light: #e6f4ea;
    --red-light:   #fde8e8;
    --orange:      #a65a00;
    --orange-light: #fef3e2;
    --text:        #1a1a1a;
    --text-muted:  #5c5c5c;
    --gray-50:     #f0f0ee;
    --gray-100:    #e8e8e6;
    --gray-200:    #c4c4c4;
    --gray-400:    #5c5c5c;
    --gray-600:    #5c5c5c;
    --gray-800:    #1a1a1a;
    --border:      #c4c4c4;
    --accent:      #ffd000;
    --radius: 8px;
    --shadow: 0 1px 3px rgba(0,0,0,.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
}

/* NAV */
nav {
    background: var(--blue);
    color: #fff;
    display: flex;
    align-items: center;
    padding: .75rem 1.25rem;
    position: sticky;
    top: 0;
    z-index: 100;
    gap: 1.5rem;
}
.nav-brand {
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: .5rem;
    white-space: nowrap;
}
.logo {
    background: #fff;
    color: var(--blue);
    border-radius: 6px;
    padding: .15rem .4rem;
    font-size: .85rem;
    font-weight: 800;
}
.nav-links {
    display: flex;
    gap: .25rem;
}
.nav-link {
    color: rgba(255,255,255,.8);
    text-decoration: none;
    padding: .4rem .75rem;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    border-radius: var(--radius);
    font-size: .9rem;
    transition: background .15s;
}
.nav-link:hover, .nav-link.active {
    background: rgba(255,255,255,.15);
    color: #fff;
}
.user-info {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: .75rem;
    font-size: .85rem;
}
.user-info-name { color: rgba(255,255,255,.8); }
.user-info-btn {
    background: rgba(255,255,255,.15);
    color: #fff;
    border: none;
    min-height: 44px;
    text-decoration: none;
}
.nav-burger {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    margin-left: auto;
    min-width: 44px;
    min-height: 44px;
}

@media (max-width: 640px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--blue);
        flex-direction: column;
        padding: .5rem;
    }
    nav.open .nav-links { display: flex; }
    .nav-burger { display: block; }
}

/* MAIN */
main {
    max-width: 960px;
    margin: 0 auto;
    padding: 1.5rem 1rem;
}

/* CARDS */
.card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.25rem;
    margin-bottom: 1rem;
}
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}
.card-title {
    font-size: 1rem;
    font-weight: 600;
}

/* BADGES */
.badge {
    display: inline-block;
    padding: .15rem .55rem;
    border-radius: 99px;
    font-size: .75rem;
    font-weight: 600;
}
.badge-red    { background: var(--red-light);    color: var(--red); }
.badge-orange { background: var(--orange-light); color: var(--orange); }
.badge-green  { background: var(--green-light);  color: var(--green); }
.badge-blue   { background: var(--blue-light);   color: var(--blue); }
.badge-gray   { background: var(--gray-100);     color: var(--gray-600); }

/* STAT CARDS */
.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: .75rem;
    margin-bottom: 1.25rem;
}
.stat-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1rem;
    text-align: center;
}
.stat-value {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
}
.stat-label {
    font-size: .8rem;
    color: var(--gray-600);
    margin-top: .25rem;
}

/* TABLE */
.table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
table {
    width: 100%;
    border-collapse: collapse;
    font-size: .9rem;
}
th {
    text-align: left;
    padding: .6rem .75rem;
    font-weight: 600;
    font-size: .8rem;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: .03em;
    border-bottom: 2px solid var(--gray-200);
}
td {
    padding: .65rem .75rem;
    border-bottom: 1px solid var(--gray-100);
}
tr:hover td { background: var(--gray-50); }

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .5rem 1rem;
    min-height: 44px;
    border: none;
    border-radius: var(--radius);
    font-size: .875rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: opacity .15s;
}
.btn:hover { opacity: .85; }
.btn-primary   { background: var(--blue); color: #fff; }
.btn-success   { background: var(--green); color: #fff; }
.btn-danger    { background: var(--red); color: #fff; }
.btn-outline   { background: #fff; color: var(--gray-800); border: 1px solid var(--gray-200); }
.btn-sm        { padding: .3rem .65rem; font-size: .8rem; min-height: 36px; }

/* FORMS */
.form-group {
    margin-bottom: 1rem;
}
.form-group label {
    display: block;
    font-size: .85rem;
    font-weight: 500;
    margin-bottom: .3rem;
    color: var(--gray-600);
}
.form-control {
    width: 100%;
    padding: .5rem .75rem;
    min-height: 44px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: .9rem;
    font-family: inherit;
    transition: border-color .15s;
}
.form-control:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(26,86,219,.15);
}
select.form-control { appearance: auto; }

/* CHECKLIST */
.checklist-item {
    display: flex;
    gap: .75rem;
    padding: .75rem 0;
    border-bottom: 1px solid var(--gray-100);
    align-items: flex-start;
}
.checklist-item:last-child { border-bottom: none; }
.checklist-item.saved-flash { background: var(--green-light); transition: background .3s; }
.checklist-item:not(.saved-flash) { transition: background .3s; }
.checklist-num {
    flex-shrink: 0;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    background: var(--gray-100);
    color: var(--gray-600);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .75rem;
    font-weight: 600;
}
.checklist-body { flex: 1; }
.checklist-label {
    font-size: .9rem;
    margin-bottom: .35rem;
}
.checklist-aide {
    font-size: .8rem;
    color: var(--gray-400);
    margin-bottom: .35rem;
}
.radio-group {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
}
.radio-btn {
    display: flex;
    align-items: center;
    gap: .3rem;
    padding: .3rem .6rem;
    min-height: 44px;
    min-width: 44px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    cursor: pointer;
    font-size: .8rem;
    transition: all .15s;
}
.radio-btn:has(input:checked) {
    border-color: var(--blue);
    background: var(--blue-light);
}
.radio-btn.conforme:has(input:checked) {
    border-color: var(--green);
    background: var(--green-light);
}
.radio-btn.non-conforme:has(input:checked) {
    border-color: var(--red);
    background: var(--red-light);
}
.radio-btn input { display: none; }

/* SECTION HEADER */
.section-header {
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--blue);
    padding: .75rem 0 .25rem;
    margin-top: .5rem;
}

/* PROGRESS BAR */
.progress-bar {
    height: .5rem;
    background: var(--gray-100);
    border-radius: 99px;
    overflow: hidden;
    margin-top: .5rem;
}
.progress-fill {
    height: 100%;
    border-radius: 99px;
    transition: width .3s;
}

/* EMPTY STATE */
.empty {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--gray-400);
}
.empty-icon {
    font-size: 3rem;
    margin-bottom: .5rem;
}

/* PAGE HEADER */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
    gap: .75rem;
}
.page-title {
    font-size: 1.35rem;
    font-weight: 700;
}

/* MODAL */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 200;
    padding: 1rem;
}
.modal {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: 0 20px 60px rgba(0,0,0,.2);
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 1.5rem;
}
.modal-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.modal-body { margin-bottom: 1rem; }
.modal-footer {
    display: flex;
    gap: .5rem;
    justify-content: flex-end;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}
.modal-actions {
    display: flex;
    gap: .5rem;
    justify-content: flex-end;
    margin-top: 1.25rem;
}

/* TOAST */
.toast {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    background: var(--gray-800);
    color: #fff;
    padding: .75rem 1.25rem;
    border-radius: var(--radius);
    font-size: .9rem;
    z-index: 300;
    animation: slideIn .3s ease;
}

@keyframes slideIn {
    from { transform: translateY(1rem); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* --- Accessibilite --- */
.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: var(--blue);
    color: #fff;
    padding: .5rem 1rem;
    border-radius: var(--radius);
    z-index: 1000;
    font-weight: 600;
}
.skip-link:focus {
    top: .5rem;
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
*:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 2px;
}

/* --- Helpers texte --- */
.text-sm { font-size: .85rem; }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }

/* --- Form error --- */
.form-error {
    color: var(--danger);
    font-size: .85rem;
    min-height: 1.25rem;
    margin-top: .25rem;
}

/* --- Form actions --- */
.form-actions {
    display: flex;
    gap: .5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

/* --- Filters row --- */
.filters-row {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
    align-items: end;
}
.filters-row .form-group { margin: 0; }

/* --- Page meta --- */
.page-meta {
    display: flex;
    gap: .5rem;
    align-items: center;
}

/* --- Progress header --- */
.progress-header {
    display: flex;
    justify-content: space-between;
    font-size: .85rem;
}

/* --- Card variants --- */
.card-clickable { cursor: pointer; }
.card-clickable:hover { border-color: var(--blue); }
.card-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.card-meta { text-align: right; }
.card-title { font-weight: 600; }

/* --- Section title --- */
.section-title {
    font-size: 1rem;
    margin: 1.25rem 0 .5rem;
    color: var(--text-muted);
}

/* --- Modele detail --- */
.modele-detail {
    margin-top: 1rem;
    border-top: 1px solid var(--gray-200);
    padding-top: .75rem;
}
.modele-item {
    font-size: .85rem;
    padding: .3rem 0 .3rem 1rem;
}

/* --- Photos --- */
.photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: .5rem;
}
.photo-thumb {
    display: block;
    border: 1px solid var(--gray-200);
    border-radius: 6px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
}
.photo-thumb:hover { border-color: var(--blue); }
.photo-img {
    width: 100%;
    height: 90px;
    object-fit: cover;
    display: block;
}
.photo-placeholder {
    width: 100%;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-50);
    font-size: 2rem;
    color: var(--text-muted);
}
.photo-caption {
    padding: 4px 6px;
    font-size: .7rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.upload-preview { margin-top: .5rem; text-align: center; }
.upload-preview-img { max-width: 100%; max-height: 200px; border-radius: 4px; }

/* --- Signature --- */
.signature-display {
    display: flex;
    gap: 1rem;
    align-items: center;
}
.signature-img {
    border: 1px solid var(--gray-200);
    border-radius: 4px;
    max-width: 300px;
    height: auto;
}
.signature-name { font-weight: 600; }
.signature-canvas-wrap {
    border: 1px solid var(--gray-200);
    border-radius: 6px;
    margin-top: .5rem;
    position: relative;
}
.signature-canvas {
    width: 100%;
    height: 150px;
    cursor: crosshair;
    display: block;
    touch-action: none;
}
.signature-clear {
    position: absolute;
    top: 4px;
    right: 4px;
}

/* --- Anomaly row --- */
.anomaly-row {
    display: flex;
    gap: .5rem;
    align-items: center;
    padding: .4rem 0;
    border-bottom: 1px solid var(--gray-100);
}
.anomaly-desc { flex: 1; font-size: .85rem; }
.anomaly-date { font-size: .75rem; color: var(--text-muted); }

/* --- Breadcrumb --- */
.breadcrumb {
    margin-bottom: .75rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: .5rem .75rem;
}
.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    gap: .35rem;
    font-size: .9rem;
}
.breadcrumb-item + .breadcrumb-item::before {
    content: '\203A';
    color: var(--text-muted);
    margin-right: .35rem;
}
.breadcrumb-link {
    color: var(--blue);
    text-decoration: none;
}
.breadcrumb-link:hover { text-decoration: underline; }
.breadcrumb-link:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 2px;
}
.breadcrumb-item [aria-current] {
    color: var(--text);
    font-weight: 600;
}

/* --- Banniere inspection validee --- */
.validated-banner {
    display: flex;
    align-items: center;
    gap: .75rem;
    background: var(--green-light);
    border: 2px solid var(--ok);
    border-radius: var(--radius);
    padding: .75rem 1rem;
    margin-bottom: 1rem;
}
.validated-banner-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--ok);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}
.validated-banner-body {
    font-size: .95rem;
    color: var(--text);
    line-height: 1.4;
}

/* Checklist en lecture seule (inspection validee) */
.checklist-readonly {
    opacity: .85;
}

/* --- Aide contextuelle --- */
.help-banner {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    background: var(--blue-light);
    border: 1px solid var(--blue);
    border-radius: var(--radius);
    padding: .75rem 1rem;
    margin-bottom: 1rem;
    font-size: .9rem;
    line-height: 1.4;
    color: var(--text);
}
.help-banner-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    font-weight: 700;
    font-size: .95rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.help-banner-body { flex: 1; }
.help-banner-close {
    flex-shrink: 0;
    background: none;
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    color: var(--text-muted);
    padding: 0 .25rem;
    line-height: 1;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.help-banner-close:hover { color: var(--text); }

/* Bouton aide flottant */
.help-fab {
    position: fixed;
    bottom: 1.25rem;
    right: 1.25rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--blue);
    background: var(--blue);
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,.2);
    z-index: 900;
    transition: background .15s, transform .15s;
}
.help-fab:hover, .help-fab:focus-visible {
    background: #003d75;
    transform: scale(1.1);
}
.help-fab:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}
.help-modal-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text);
}

/* --- Dark mode --- */
@media (prefers-color-scheme: dark) {
    :root {
        --bg:          #1a1a1e;
        --bg-card:     #25252a;
        --text:        #e8e8e6;
        --text-muted:  #a0a0a0;
        --border:      #3a3a3e;
        --gray-50:     #22222a;
        --gray-100:    #2a2a30;
        --gray-200:    #3a3a3e;
        --gray-400:    #a0a0a0;
        --gray-600:    #a0a0a0;
        --gray-800:    #e8e8e6;
        --blue-light:  #0a2a4a;
        --green-light: #0a2a1a;
        --red-light:   #3a1a1a;
        --orange-light:#3a2a0a;
        --shadow: 0 1px 3px rgba(0,0,0,.3);
    }
    body { background: var(--bg); color: var(--text); }
    .card, .stat-card, .modal { background: var(--bg-card); }
    nav { background: #0a1a2e; }
    .form-control { background: var(--bg-card); color: var(--text); }
    table { color: var(--text); }
    tr:hover td { background: var(--gray-100); }
    .toast { background: var(--gray-100); }
    .btn-outline { background: var(--bg-card); color: var(--text); border-color: var(--border); }
    .signature-canvas { background: var(--bg-card); }
}

/* --- Print --- */
@media print {
    .skip-link, #nav, .btn, .toast, .modal-overlay, .nav-burger, .help-banner, .help-fab, .validated-banner { display: none !important; }
    .checklist-readonly { opacity: 1; }
    body { background: #fff; font-size: 11pt; }
    #app { padding: 0; max-width: 100%; }
    .card { box-shadow: none; border: 1px solid #ddd; page-break-inside: avoid; }
}
.print-header { margin-bottom: 1rem; }
.print-header h1 { font-size: 1.4rem; }
.print-meta { display: flex; gap: 1.5rem; font-size: .85rem; color: var(--text-muted); margin-top: .5rem; }
.print-table { width: 100%; border-collapse: collapse; margin-bottom: 1rem; }
.print-table th, .print-table td { border: 1px solid var(--gray-200); padding: .4rem .6rem; text-align: left; font-size: .85rem; }
.print-table th { background: var(--gray-50); font-weight: 600; }
.print-nc { background: var(--red-light); }
.print-signature { margin-top: 2rem; }
.print-sig-img { max-width: 250px; margin-top: .5rem; }

/* --- Auth pages (login/register) --- */
.auth-container { max-width: 400px; margin: 3rem auto; padding: 0 1rem; }
.auth-container.auth-wide { max-width: 480px; }
.auth-header { text-align: center; margin-bottom: 2rem; }
.auth-logo {
    width: 56px; height: 56px;
    background: var(--blue); color: #fff;
    border-radius: 12px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.8rem; font-weight: 800;
    margin-bottom: .5rem;
}
.auth-header h1 { font-size: 1.4rem; margin-top: .25rem; }
.auth-header p { color: var(--text-muted); font-size: .9rem; margin-top: .25rem; }
.auth-footer { text-align: center; margin-top: 1.5rem; font-size: .9rem; }
.auth-footer-muted { text-align: center; margin-top: .5rem; font-size: .8rem; color: var(--text-muted); }
.auth-fieldset { border: none; padding: 0; margin: 0 0 .75rem; }
.auth-fieldset legend { font-weight: 600; font-size: .95rem; margin-bottom: .5rem; color: var(--blue); }
.auth-row { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.auth-error { color: var(--danger); font-size: .85rem; min-height: 1.25rem; margin-top: .5rem; }
.auth-cgu { font-size: .8rem; color: var(--text-muted); margin-top: .75rem; }
.auth-btn { width: 100%; justify-content: center; min-height: 44px; margin-top: 1rem; }
.auth-banner { padding: 12px 16px; border-radius: 6px; font-size: .9rem; margin-bottom: 1rem; }
.auth-banner-ok { background: var(--green-light); color: var(--ok); border: 1px solid var(--ok); }
.auth-banner-warning { background: var(--orange-light); color: var(--warning); border: 1px solid var(--warning); }
.auth-banner-error { background: var(--red-light); color: var(--danger); border: 1px solid var(--danger); }
.auth-resend { margin-top: .75rem; }
.auth-confirmation { text-align: center; padding: 2rem 1rem; }
.auth-confirmation-icon { font-size: 3rem; margin-bottom: 1rem; }
.auth-confirmation h2 { margin-bottom: .75rem; color: var(--blue); }
.auth-confirmation p { margin-bottom: .5rem; }
.auth-confirmation-note { font-size: .85rem; color: var(--text-muted); margin-top: 1rem; }
.auth-confirmation .btn { margin-top: 1.5rem; display: inline-block; text-decoration: none; }

/* --- Offline banner --- */
.offline-banner {
    background: var(--warning);
    color: #fff;
    text-align: center;
    padding: 8px 16px;
    font-size: .85rem;
    font-weight: 600;
    position: sticky;
    top: 0;
    z-index: 1100;
}

.sync-badge {
    display: inline-block;
    background: var(--accent);
    color: var(--text);
    font-size: .75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 12px;
    margin-left: auto;
    white-space: nowrap;
}

.sync-badge.sync-active {
    animation: pulse-sync 1.2s ease-in-out infinite;
}

@keyframes pulse-sync {
    0%, 100% { opacity: 1; }
    50% { opacity: .5; }
}

/* --- Row danger (habilitations expirees) --- */
.row-danger {
    background: #fef2f2;
}

/* --- Detail rows (incidents) --- */
.detail-row {
    margin-bottom: 6px;
}

/* --- Super Admin : bandeau usurpation --- */
.impersonation-banner {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px;
    background: var(--danger);
    color: #fff;
    font-weight: 600;
    font-size: 0.875rem;
}
.impersonation-banner .btn {
    background: #fff;
    color: var(--danger);
    border: none;
    font-weight: 600;
}

/* --- Reduced motion --- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
