/* ALPHEA_H1B2B_SHOW_START */

/* CSS historique extrait de show.php */

.iv-cockpit,
            .iv-cockpit * {
                box-sizing: border-box;
            }

            .iv-cockpit {
                --iv-navy: #0f172a;
                --iv-blue: #2563eb;
                --iv-blue-dark: #1d4ed8;
                --iv-cyan: #0ea5e9;
                --iv-green: #059669;
                --iv-orange: #d97706;
                --iv-red: #dc2626;
                --iv-purple: #7c3aed;
                --iv-muted: #64748b;
                --iv-soft: #f8fafc;
                --iv-line: rgba(148, 163, 184, .24);
                color: var(--alphea-text);
            }

            .iv-hero {
                position: relative;
                overflow: hidden;
                border-radius: 30px;
                padding: 30px;
                margin-bottom: 20px;
                color: #fff;
                background:
                    radial-gradient(
                        circle at 90% 5%,
                        rgba(56, 189, 248, .30),
                        transparent 34%
                    ),
                    radial-gradient(
                        circle at 5% 95%,
                        rgba(37, 99, 235, .32),
                        transparent 36%
                    ),
                    linear-gradient(135deg, #07111f 0%, #0f172a 48%, #172554 100%);
                box-shadow:
                    0 30px 90px rgba(15, 23, 42, .24),
                    inset 0 1px 0 rgba(255, 255, 255, .08);
            }

            .iv-hero::after {
                content: "";
                position: absolute;
                top: -150px;
                right: -100px;
                width: 360px;
                height: 360px;
                border: 1px solid rgba(255, 255, 255, .09);
                border-radius: 50%;
                box-shadow:
                    0 0 0 48px rgba(255, 255, 255, .025),
                    0 0 0 96px rgba(255, 255, 255, .018);
                pointer-events: none;
            }

            .iv-hero-top {
                position: relative;
                z-index: 1;
                display: flex;
                justify-content: space-between;
                align-items: flex-start;
                gap: 24px;
            }

            .iv-eyebrow {
                display: flex;
                align-items: center;
                gap: 9px;
                margin-bottom: 12px;
                color: rgba(255, 255, 255, .62);
                font-size: 11px;
                font-weight: 900;
                letter-spacing: .14em;
                text-transform: uppercase;
            }

            .iv-eyebrow-dot {
                width: 8px;
                height: 8px;
                border-radius: 50%;
                background: #38bdf8;
                box-shadow: 0 0 0 6px rgba(56, 189, 248, .12);
            }

            .iv-title-line {
                display: flex;
                align-items: center;
                gap: 12px;
                flex-wrap: wrap;
            }

            .iv-title {
                margin: 0;
                color: #fff;
                font-size: clamp(30px, 4vw, 44px);
                line-height: 1;
                letter-spacing: -.055em;
            }

            .iv-copy-reference {
                display: inline-flex;
                align-items: center;
                justify-content: center;
                width: 38px;
                height: 38px;
                border: 1px solid rgba(255, 255, 255, .16);
                border-radius: 12px;
                color: #fff;
                background: rgba(255, 255, 255, .08);
                cursor: pointer;
                transition: .2s ease;
            }

            .iv-copy-reference:hover {
                transform: translateY(-2px);
                background: rgba(255, 255, 255, .15);
            }

            .iv-hero-description {
                max-width: 840px;
                margin: 15px 0 0;
                color: rgba(255, 255, 255, .74);
                font-size: 15px;
                line-height: 1.7;
            }

            .iv-badges {
                display: flex;
                justify-content: flex-end;
                flex-wrap: wrap;
                gap: 8px;
            }

            .iv-badge {
                display: inline-flex;
                align-items: center;
                gap: 8px;
                min-height: 36px;
                padding: 8px 12px;
                border: 1px solid rgba(255, 255, 255, .14);
                border-radius: 999px;
                color: #fff;
                background: rgba(255, 255, 255, .08);
                backdrop-filter: blur(12px);
                font-size: 12px;
                font-weight: 900;
            }

            .iv-badge::before {
                content: "";
                width: 8px;
                height: 8px;
                border-radius: 50%;
                background: #94a3b8;
            }

            .iv-badge--active::before {
                background: #38bdf8;
                box-shadow: 0 0 0 5px rgba(56, 189, 248, .13);
            }

            .iv-badge--success::before {
                background: #34d399;
                box-shadow: 0 0 0 5px rgba(52, 211, 153, .13);
            }

            .iv-badge--warning::before {
                background: #fbbf24;
                box-shadow: 0 0 0 5px rgba(251, 191, 36, .13);
            }

            .iv-badge--danger::before {
                background: #fb7185;
                box-shadow: 0 0 0 5px rgba(251, 113, 133, .13);
            }

            .iv-hero-metrics {
                position: relative;
                z-index: 1;
                display: grid;
                grid-template-columns: repeat(4, minmax(0, 1fr));
                gap: 12px;
                margin-top: 28px;
            }

            .iv-metric {
                min-width: 0;
                padding: 16px;
                border: 1px solid rgba(255, 255, 255, .11);
                border-radius: 18px;
                background: rgba(255, 255, 255, .065);
                backdrop-filter: blur(14px);
            }

            .iv-metric-label {
                display: block;
                margin-bottom: 7px;
                color: rgba(255, 255, 255, .52);
                font-size: 10px;
                font-weight: 900;
                letter-spacing: .11em;
                text-transform: uppercase;
            }

            .iv-metric-value {
                display: block;
                overflow: hidden;
                color: #fff;
                font-size: 17px;
                font-weight: 900;
                letter-spacing: -.025em;
                text-overflow: ellipsis;
                white-space: nowrap;
            }

            .iv-layout {
                display: grid;
                grid-template-columns: minmax(0, 1.48fr) minmax(320px, .72fr);
                gap: 18px;
                align-items: start;
            }

            .iv-card {
                margin-bottom: 18px;
                overflow: hidden;
                border: 1px solid var(--alphea-border);
                border-radius: 24px;
                background: var(--alphea-card);
                box-shadow: 0 16px 46px rgba(15, 23, 42, .055);
            }

            .iv-card-inner {
                padding: 22px;
            }

            .iv-card-header {
                display: flex;
                justify-content: space-between;
                align-items: flex-start;
                gap: 16px;
                margin-bottom: 18px;
            }

            .iv-card-heading {
                min-width: 0;
            }

            .iv-card-kicker {
                display: block;
                margin-bottom: 5px;
                color: var(--iv-blue);
                font-size: 10px;
                font-weight: 900;
                letter-spacing: .13em;
                text-transform: uppercase;
            }

            .iv-card-title {
                margin: 0;
                color: var(--alphea-text);
                font-size: 20px;
                line-height: 1.2;
                letter-spacing: -.035em;
            }

            .iv-card-subtitle {
                margin: 6px 0 0;
                color: var(--alphea-muted);
                font-size: 13px;
                line-height: 1.55;
            }

            .iv-count {
                flex: 0 0 auto;
                min-width: 34px;
                height: 30px;
                padding: 0 10px;
                border: 1px solid rgba(37, 99, 235, .13);
                border-radius: 999px;
                color: var(--iv-blue-dark);
                background: rgba(37, 99, 235, .08);
                font-size: 12px;
                font-weight: 900;
                line-height: 28px;
                text-align: center;
            }

            .iv-next-action {
                position: relative;
                overflow: hidden;
                margin-bottom: 18px;
                border: 1px solid rgba(37, 99, 235, .18);
                border-radius: 24px;
                background:
                    radial-gradient(
                        circle at 92% 20%,
                        rgba(14, 165, 233, .18),
                        transparent 36%
                    ),
                    linear-gradient(
                        135deg,
                        rgba(37, 99, 235, .10),
                        rgba(14, 165, 233, .04)
                    );
                box-shadow: 0 16px 44px rgba(37, 99, 235, .07);
            }

            .iv-next-action-inner {
                display: grid;
                grid-template-columns: 48px minmax(0, 1fr) auto;
                gap: 15px;
                align-items: center;
                padding: 20px;
            }

            .iv-next-icon {
                display: flex;
                align-items: center;
                justify-content: center;
                width: 48px;
                height: 48px;
                border-radius: 16px;
                color: #fff;
                background: linear-gradient(135deg, var(--iv-blue), var(--iv-cyan));
                box-shadow: 0 12px 24px rgba(37, 99, 235, .24);
                font-size: 22px;
                font-weight: 900;
            }

            .iv-next-label {
                display: block;
                margin-bottom: 5px;
                color: var(--iv-blue-dark);
                font-size: 10px;
                font-weight: 900;
                letter-spacing: .12em;
                text-transform: uppercase;
            }

            .iv-next-title {
                display: block;
                color: var(--alphea-text);
                font-size: 19px;
                font-weight: 950;
                letter-spacing: -.035em;
            }

            .iv-next-detail {
                margin: 6px 0 0;
                color: var(--alphea-muted);
                font-size: 13px;
                line-height: 1.5;
            }

            .iv-primary-button,
            .iv-secondary-button {
                display: inline-flex;
                align-items: center;
                justify-content: center;
                gap: 8px;
                min-height: 42px;
                padding: 10px 15px;
                border-radius: 13px;
                text-decoration: none;
                font-size: 13px;
                font-weight: 900;
                transition: .2s ease;
            }

            .iv-primary-button {
                border: 1px solid var(--iv-blue);
                color: #fff;
                background: var(--iv-blue);
                box-shadow: 0 10px 24px rgba(37, 99, 235, .18);
            }

            .iv-primary-button:hover {
                transform: translateY(-2px);
                color: #fff;
                background: var(--iv-blue-dark);
            }

            .iv-secondary-button {
                border: 1px solid var(--alphea-border);
                color: var(--alphea-text);
                background: var(--alphea-card);
            }

            .iv-secondary-button:hover {
                transform: translateY(-1px);
                border-color: rgba(37, 99, 235, .3);
                color: var(--iv-blue-dark);
                background: rgba(37, 99, 235, .05);
            }

            .iv-info-grid {
                display: grid;
                grid-template-columns: repeat(2, minmax(0, 1fr));
                gap: 1px;
                overflow: hidden;
                border: 1px solid var(--alphea-border);
                border-radius: 18px;
                background: var(--alphea-border);
            }

            .iv-info-item {
                min-width: 0;
                padding: 15px;
                background: var(--alphea-card);
            }

            .iv-info-item--wide {
                grid-column: 1 / -1;
            }

            .iv-info-label {
                display: block;
                margin-bottom: 6px;
                color: var(--alphea-muted);
                font-size: 10px;
                font-weight: 900;
                letter-spacing: .09em;
                text-transform: uppercase;
            }

            .iv-info-value {
                display: block;
                overflow: hidden;
                color: var(--alphea-text);
                font-size: 14px;
                font-weight: 850;
                line-height: 1.5;
                text-overflow: ellipsis;
            }

            .iv-info-value a {
                color: inherit;
                text-decoration: none;
            }

            .iv-info-value a:hover {
                color: var(--iv-blue);
            }

            .iv-document-workspace {
                display: grid;
                gap: 15px;
            }

            .iv-document-toolbar {
                display: flex;
                justify-content: space-between;
                align-items: center;
                gap: 14px;
                flex-wrap: wrap;
                padding: 12px;
                border: 1px solid var(--alphea-border);
                border-radius: 17px;
                background: rgba(148, 163, 184, .035);
            }

            .iv-document-search {
                position: relative;
                flex: 1 1 260px;
                min-width: 220px;
            }

            .iv-document-search-icon {
                position: absolute;
                top: 50%;
                left: 13px;
                transform: translateY(-50%);
                color: var(--alphea-muted);
                font-size: 14px;
                pointer-events: none;
            }

            .iv-document-search-input {
                width: 100%;
                height: 42px;
                padding: 0 40px 0 39px;
                border: 1px solid var(--alphea-border);
                border-radius: 13px;
                outline: none;
                color: var(--alphea-text);
                background: var(--alphea-card);
                font: inherit;
                font-size: 12px;
                font-weight: 750;
                transition:
                    border-color .2s ease,
                    box-shadow .2s ease,
                    background .2s ease;
            }

            .iv-document-search-input:focus {
                border-color: rgba(37, 99, 235, .42);
                background: var(--alphea-card);
                box-shadow: 0 0 0 4px rgba(37, 99, 235, .08);
            }

            .iv-document-search-input::placeholder {
                color: var(--alphea-muted);
                opacity: .78;
            }

            .iv-document-search-clear {
                position: absolute;
                top: 50%;
                right: 7px;
                display: none;
                align-items: center;
                justify-content: center;
                width: 29px;
                height: 29px;
                transform: translateY(-50%);
                border: 0;
                border-radius: 9px;
                color: var(--alphea-muted);
                background: transparent;
                cursor: pointer;
            }

            .iv-document-search-clear.is-visible {
                display: flex;
            }

            .iv-document-search-clear:hover {
                color: var(--alphea-text);
                background: rgba(148, 163, 184, .12);
            }

            .iv-document-controls {
                display: flex;
                align-items: center;
                gap: 8px;
                flex-wrap: wrap;
            }

            .iv-document-filters {
                display: flex;
                gap: 6px;
                flex-wrap: wrap;
            }

            .iv-document-filter {
                min-height: 34px;
                padding: 7px 11px;
                border: 1px solid transparent;
                border-radius: 10px;
                color: var(--alphea-muted);
                background: transparent;
                font-size: 10px;
                font-weight: 900;
                cursor: pointer;
                transition: .18s ease;
            }

            .iv-document-filter:hover {
                color: var(--alphea-text);
                background: rgba(148, 163, 184, .09);
            }

            .iv-document-filter.is-active {
                border-color: rgba(37, 99, 235, .14);
                color: var(--iv-blue-dark);
                background: rgba(37, 99, 235, .09);
                box-shadow: inset 0 0 0 1px rgba(37, 99, 235, .025);
            }

            .iv-view-switch {
                display: flex;
                gap: 3px;
                padding: 3px;
                border: 1px solid var(--alphea-border);
                border-radius: 11px;
                background: var(--alphea-card);
            }

            .iv-view-switch-button {
                display: flex;
                align-items: center;
                justify-content: center;
                width: 31px;
                height: 29px;
                border: 0;
                border-radius: 8px;
                color: var(--alphea-muted);
                background: transparent;
                font-size: 13px;
                cursor: pointer;
                transition: .18s ease;
            }

            .iv-view-switch-button:hover {
                color: var(--alphea-text);
                background: rgba(148, 163, 184, .09);
            }

            .iv-view-switch-button.is-active {
                color: var(--iv-blue-dark);
                background: rgba(37, 99, 235, .10);
            }

            .iv-document-results {
                display: flex;
                justify-content: space-between;
                align-items: center;
                min-height: 24px;
                color: var(--alphea-muted);
                font-size: 10px;
                font-weight: 800;
            }

            .iv-document-results strong {
                color: var(--alphea-text);
            }

            .iv-document-shortcut {
                display: inline-flex;
                align-items: center;
                gap: 5px;
            }

            .iv-document-shortcut kbd {
                display: inline-flex;
                align-items: center;
                justify-content: center;
                min-width: 22px;
                height: 21px;
                padding: 0 6px;
                border: 1px solid var(--alphea-border);
                border-bottom-width: 2px;
                border-radius: 6px;
                color: var(--alphea-muted);
                background: var(--alphea-card);
                font: inherit;
                font-size: 9px;
                font-weight: 900;
            }

            .iv-documents {
                display: grid;
                grid-template-columns: repeat(3, minmax(0, 1fr));
                gap: 14px;
            }

            .iv-documents.is-list {
                grid-template-columns: 1fr;
                gap: 9px;
            }

            .iv-documents.is-list .iv-document {
                display: grid;
                grid-template-columns: 92px minmax(0, 1fr);
                min-height: 116px;
            }

            .iv-documents.is-list .iv-document-preview {
                height: 116px;
                border-right: 1px solid var(--alphea-border);
                border-bottom: 0;
            }

            .iv-documents.is-list .iv-document-body {
                display: grid;
                grid-template-columns: minmax(0, 1fr) auto;
                grid-template-rows: auto auto 1fr;
                column-gap: 15px;
                align-content: center;
                padding: 14px 16px;
            }

            .iv-documents.is-list .iv-document-type {
                grid-column: 1;
                justify-self: start;
                margin-bottom: 6px;
            }

            .iv-documents.is-list .iv-document-title {
                grid-column: 1;
                min-height: 0;
                -webkit-line-clamp: 1;
            }

            .iv-documents.is-list .iv-document-name {
                grid-column: 1;
                margin-top: 4px;
            }

            .iv-documents.is-list .iv-document-footer {
                grid-column: 2;
                grid-row: 1 / 4;
                align-self: center;
                flex-direction: column;
                justify-content: center;
                margin: 0;
                padding: 0 0 0 15px;
                border-top: 0;
                border-left: 1px solid var(--alphea-border);
                white-space: nowrap;
            }

            .iv-document[hidden] {
                display: none !important;
            }

            .iv-document-filter-empty {
                display: none;
                align-items: center;
                justify-content: center;
                min-height: 150px;
                padding: 28px;
                border: 1px dashed rgba(148, 163, 184, .42);
                border-radius: 18px;
                color: var(--alphea-muted);
                background: rgba(148, 163, 184, .025);
                text-align: center;
            }

            .iv-document-filter-empty.is-visible {
                display: flex;
            }

            .iv-document {
                position: relative;
                min-width: 0;
                overflow: hidden;
                border: 1px solid var(--alphea-border);
                border-radius: 18px;
                background: var(--alphea-card);
                cursor: pointer;
                transition:
                    transform .22s ease,
                    border-color .22s ease,
                    box-shadow .22s ease;
            }

            .iv-document:hover {
                transform: translateY(-4px);
                border-color: rgba(37, 99, 235, .30);
                box-shadow: 0 18px 38px rgba(15, 23, 42, .11);
            }

            .iv-document-preview {
                position: relative;
                height: 190px;
                overflow: hidden;
                border-bottom: 1px solid var(--alphea-border);
                background:
                    linear-gradient(
                        135deg,
                        rgba(226, 232, 240, .7),
                        rgba(248, 250, 252, .95)
                    );
            }

            .iv-document-preview img {
                width: 100%;
                height: 100%;
                object-fit: cover;
                object-position: top center;
                transition: transform .3s ease;
            }

            .iv-document:hover .iv-document-preview img {
                transform: scale(1.025);
            }

            .iv-document-overlay {
                position: absolute;
                inset: 0;
                display: flex;
                align-items: center;
                justify-content: center;
                color: #fff;
                background: rgba(15, 23, 42, 0);
                opacity: 0;
                transition: .22s ease;
            }

            .iv-document:hover .iv-document-overlay {
                background: rgba(15, 23, 42, .35);
                opacity: 1;
            }

            .iv-document-open-icon {
                display: flex;
                align-items: center;
                justify-content: center;
                width: 46px;
                height: 46px;
                border: 1px solid rgba(255, 255, 255, .3);
                border-radius: 15px;
                background: rgba(15, 23, 42, .72);
                backdrop-filter: blur(12px);
                font-size: 20px;
                font-weight: 900;
            }

            .iv-document-body {
                min-width: 0;
                padding: 14px;
            }

            .iv-document-type {
                display: inline-flex;
                align-items: center;
                min-height: 23px;
                margin-bottom: 9px;
                padding: 4px 8px;
                border-radius: 7px;
                color: var(--iv-blue-dark);
                background: rgba(37, 99, 235, .08);
                font-size: 9px;
                font-weight: 950;
                letter-spacing: .09em;
                text-transform: uppercase;
            }

            .iv-document-title {
                display: -webkit-box;
                min-height: 38px;
                overflow: hidden;
                color: var(--alphea-text);
                font-size: 13px;
                font-weight: 900;
                line-height: 1.45;
                -webkit-box-orient: vertical;
                -webkit-line-clamp: 2;
            }

            .iv-document-name {
                display: block;
                margin-top: 7px;
                overflow: hidden;
                color: var(--alphea-muted);
                font-size: 11px;
                text-overflow: ellipsis;
                white-space: nowrap;
            }

            .iv-document-footer {
                display: flex;
                justify-content: space-between;
                align-items: center;
                gap: 10px;
                margin-top: 11px;
                padding-top: 11px;
                border-top: 1px solid var(--alphea-border);
                color: var(--alphea-muted);
                font-size: 10px;
                font-weight: 800;
            }

            .iv-document-arrow {
                color: var(--iv-blue);
                font-size: 15px;
                font-weight: 900;
            }

            .iv-timeline {
                position: relative;
                display: grid;
                gap: 0;
            }

            .iv-timeline::before {
                content: "";
                position: absolute;
                top: 13px;
                bottom: 18px;
                left: 15px;
                width: 2px;
                background: linear-gradient(
                    to bottom,
                    rgba(37, 99, 235, .42),
                    rgba(148, 163, 184, .18)
                );
            }

            .iv-event {
                position: relative;
                display: grid;
                grid-template-columns: 32px 118px minmax(0, 1fr);
                gap: 13px;
                padding: 0 0 19px;
            }

            .iv-event:last-child {
                padding-bottom: 0;
            }

            .iv-event-dot {
                position: relative;
                z-index: 1;
                width: 13px;
                height: 13px;
                margin: 5px 0 0 10px;
                border: 3px solid var(--alphea-card);
                border-radius: 50%;
                background: var(--iv-blue);
                box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
            }

            .iv-event:first-child .iv-event-dot {
                width: 15px;
                height: 15px;
                margin-left: 9px;
                background: var(--iv-cyan);
                box-shadow:
                    0 0 0 4px rgba(14, 165, 233, .13),
                    0 0 22px rgba(14, 165, 233, .25);
            }

            .iv-event-date {
                padding-top: 3px;
                color: var(--alphea-muted);
                font-size: 11px;
                font-weight: 850;
                line-height: 1.45;
            }

            .iv-event-content {
                padding: 14px 15px;
                border: 1px solid var(--alphea-border);
                border-radius: 16px;
                background: rgba(148, 163, 184, .035);
                transition: .2s ease;
            }

            .iv-event:hover .iv-event-content {
                border-color: rgba(37, 99, 235, .22);
                background: rgba(37, 99, 235, .035);
            }

            .iv-event-title {
                color: var(--alphea-text);
                font-size: 13px;
                font-weight: 950;
                line-height: 1.4;
            }

            .iv-event-text {
                margin-top: 5px;
                color: var(--alphea-muted);
                font-size: 12px;
                line-height: 1.55;
            }

            .iv-smart-action {
                position: relative;
                overflow: hidden;
                padding: 20px;
                border-radius: 22px;
                color: #fff;
                background:
                    radial-gradient(
                        circle at 90% 10%,
                        rgba(56, 189, 248, .28),
                        transparent 38%
                    ),
                    linear-gradient(135deg, #172554, #1d4ed8);
                box-shadow: 0 18px 42px rgba(29, 78, 216, .18);
            }

            .iv-smart-action-label {
                display: block;
                margin-bottom: 8px;
                color: rgba(255, 255, 255, .58);
                font-size: 10px;
                font-weight: 900;
                letter-spacing: .12em;
                text-transform: uppercase;
            }

            .iv-smart-action-title {
                display: block;
                max-width: 260px;
                color: #fff;
                font-size: 20px;
                font-weight: 950;
                line-height: 1.18;
                letter-spacing: -.04em;
            }

            .iv-smart-action-detail {
                max-width: 300px;
                margin: 9px 0 17px;
                color: rgba(255, 255, 255, .68);
                font-size: 12px;
                line-height: 1.55;
            }

            .iv-smart-action-button {
                display: flex;
                justify-content: space-between;
                align-items: center;
                gap: 12px;
                min-height: 46px;
                padding: 10px 13px 10px 15px;
                border: 1px solid rgba(255, 255, 255, .16);
                border-radius: 14px;
                color: #fff;
                background: rgba(255, 255, 255, .10);
                text-decoration: none;
                font-size: 12px;
                font-weight: 900;
                transition: .2s ease;
            }

            .iv-smart-action-button:hover {
                transform: translateY(-2px);
                color: #fff;
                background: rgba(255, 255, 255, .17);
            }

            .iv-smart-action-arrow {
                display: flex;
                align-items: center;
                justify-content: center;
                width: 28px;
                height: 28px;
                border-radius: 9px;
                color: var(--iv-blue-dark);
                background: #fff;
                font-size: 14px;
                font-weight: 950;
            }

            .iv-action-list {
                display: grid;
                gap: 9px;
            }

            .iv-action-link {
                display: flex;
                justify-content: space-between;
                align-items: center;
                gap: 12px;
                min-height: 46px;
                padding: 11px 13px;
                border: 1px solid var(--alphea-border);
                border-radius: 14px;
                color: var(--alphea-text);
                background: rgba(148, 163, 184, .035);
                text-decoration: none;
                font-size: 12px;
                font-weight: 900;
                transition: .2s ease;
            }

            .iv-action-link:hover {
                transform: translateX(2px);
                border-color: rgba(37, 99, 235, .28);
                color: var(--iv-blue-dark);
                background: rgba(37, 99, 235, .05);
            }

            .iv-action-link span:last-child {
                color: var(--iv-blue);
                font-size: 15px;
            }

            .iv-progress {
                display: grid;
                gap: 12px;
            }

            .iv-progress-item {
                display: grid;
                grid-template-columns: 29px minmax(0, 1fr);
                gap: 11px;
                align-items: center;
            }

            .iv-progress-icon {
                display: flex;
                align-items: center;
                justify-content: center;
                width: 29px;
                height: 29px;
                border: 1px solid rgba(148, 163, 184, .22);
                border-radius: 10px;
                color: var(--iv-muted);
                background: rgba(148, 163, 184, .07);
                font-size: 12px;
                font-weight: 950;
            }

            .iv-progress-icon--done {
                border-color: rgba(5, 150, 105, .18);
                color: var(--iv-green);
                background: rgba(5, 150, 105, .08);
            }

            .iv-progress-label {
                display: block;
                margin-bottom: 3px;
                color: var(--alphea-muted);
                font-size: 10px;
                font-weight: 850;
            }

            .iv-progress-value {
                display: block;
                color: var(--alphea-text);
                font-size: 12px;
                font-weight: 900;
            }

            .iv-empty-docs {
                display: flex;
                align-items: center;
                justify-content: center;
                min-height: 150px;
                padding: 24px;
                border: 1px dashed rgba(148, 163, 184, .42);
                border-radius: 18px;
                color: var(--alphea-muted);
                background: rgba(148, 163, 184, .025);
                font-size: 13px;
                text-align: center;
            }

            .iv-viewer {
                position: fixed;
                z-index: 99999;
                inset: 0;
                display: none;
                align-items: center;
                justify-content: center;
                padding: 20px;
                background: rgba(2, 6, 23, .82);
                backdrop-filter: blur(18px);
            }

            .iv-viewer.is-open {
                display: flex;
                animation: ivFadeIn .18s ease both;
            }

            .iv-viewer-dialog {
                display: flex;
                flex-direction: column;
                width: min(1180px, 100%);
                height: min(860px, calc(100vh - 40px));
                overflow: hidden;
                border: 1px solid rgba(255, 255, 255, .12);
                border-radius: 24px;
                background: #0f172a;
                box-shadow: 0 40px 120px rgba(0, 0, 0, .48);
            }

            .iv-viewer-header {
                display: flex;
                justify-content: space-between;
                align-items: center;
                gap: 18px;
                min-height: 66px;
                padding: 12px 14px 12px 19px;
                border-bottom: 1px solid rgba(255, 255, 255, .09);
                color: #fff;
                background: rgba(15, 23, 42, .96);
            }

            .iv-viewer-heading {
                min-width: 0;
            }

            .iv-viewer-title {
                display: block;
                overflow: hidden;
                color: #fff;
                font-size: 14px;
                font-weight: 900;
                text-overflow: ellipsis;
                white-space: nowrap;
            }

            .iv-viewer-meta {
                display: block;
                margin-top: 3px;
                overflow: hidden;
                color: rgba(255, 255, 255, .48);
                font-size: 10px;
                text-overflow: ellipsis;
                white-space: nowrap;
            }

            .iv-viewer-tools {
                display: flex;
                align-items: center;
                gap: 8px;
                flex: 0 0 auto;
            }

            .iv-viewer-navigation {
                display: flex;
                gap: 5px;
                padding-right: 8px;
                margin-right: 2px;
                border-right: 1px solid rgba(255, 255, 255, .10);
            }

            .iv-viewer-counter {
                display: inline-flex;
                align-items: center;
                justify-content: center;
                min-width: 58px;
                height: 40px;
                padding: 0 9px;
                color: rgba(255, 255, 255, .55);
                font-size: 10px;
                font-weight: 900;
                white-space: nowrap;
            }

            .iv-viewer-button:disabled {
                color: rgba(255, 255, 255, .22);
                background: rgba(255, 255, 255, .025);
                cursor: not-allowed;
            }

            .iv-viewer-button {
                display: inline-flex;
                align-items: center;
                justify-content: center;
                min-width: 40px;
                height: 40px;
                padding: 0 12px;
                border: 1px solid rgba(255, 255, 255, .12);
                border-radius: 12px;
                color: #fff;
                background: rgba(255, 255, 255, .07);
                text-decoration: none;
                font-size: 12px;
                font-weight: 900;
                cursor: pointer;
                transition: .2s ease;
            }

            .iv-viewer-button:hover {
                color: #fff;
                background: rgba(255, 255, 255, .14);
            }

            .iv-viewer-stage {
                position: relative;
                flex: 1;
                min-height: 0;
                overflow: hidden;
                background:
                    radial-gradient(
                        circle at center,
                        rgba(51, 65, 85, .42),
                        rgba(2, 6, 23, .94)
                    );
            }

            .iv-viewer-frame {
                width: 100%;
                height: 100%;
                border: 0;
                background: #fff;
            }

            .iv-viewer-image-wrap {
                display: none;
                align-items: center;
                justify-content: center;
                width: 100%;
                height: 100%;
                padding: 24px;
                overflow: auto;
            }

            .iv-viewer-image {
                display: block;
                max-width: 100%;
                max-height: 100%;
                border-radius: 8px;
                box-shadow: 0 22px 65px rgba(0, 0, 0, .35);
                object-fit: contain;
            }

            .iv-toast {
                position: fixed;
                z-index: 100000;
                right: 24px;
                bottom: 24px;
                transform: translateY(14px);
                padding: 12px 15px;
                border: 1px solid rgba(255, 255, 255, .12);
                border-radius: 13px;
                color: #fff;
                background: rgba(15, 23, 42, .94);
                box-shadow: 0 18px 50px rgba(15, 23, 42, .26);
                font-size: 12px;
                font-weight: 900;
                opacity: 0;
                pointer-events: none;
                transition: .22s ease;
            }

            .iv-toast.is-visible {
                transform: translateY(0);
                opacity: 1;
            }

            @keyframes ivFadeIn {
                from {
                    opacity: 0;
                }

                to {
                    opacity: 1;
                }
            }

            @media (max-width: 1180px) {
                .iv-layout {
                    grid-template-columns: minmax(0, 1fr) 310px;
                }

                .iv-documents {
                    grid-template-columns: repeat(2, minmax(0, 1fr));
                }
            }

            @media (max-width: 960px) {
                .iv-layout {
                    grid-template-columns: 1fr;
                }

                .iv-hero-metrics {
                    grid-template-columns: repeat(2, minmax(0, 1fr));
                }

                .iv-sidebar {
                    display: grid;
                    grid-template-columns: repeat(2, minmax(0, 1fr));
                    gap: 18px;
                }

                .iv-sidebar .iv-card,
                .iv-sidebar .iv-smart-action {
                    margin-bottom: 0;
                }
            }

            @media (max-width: 700px) {
                .iv-hero {
                    padding: 22px;
                    border-radius: 24px;
                }

                .iv-hero-top {
                    display: block;
                }

                .iv-badges {
                    justify-content: flex-start;
                    margin-top: 18px;
                }

                .iv-hero-metrics,
                .iv-info-grid,
                .iv-sidebar {
                    grid-template-columns: 1fr;
                }

                .iv-next-action-inner {
                    grid-template-columns: 44px minmax(0, 1fr);
                }

                .iv-next-action-inner .iv-primary-button {
                    grid-column: 1 / -1;
                }

                .iv-document-toolbar {
                    align-items: stretch;
                }

                .iv-document-search {
                    flex-basis: 100%;
                    min-width: 0;
                }

                .iv-document-controls {
                    justify-content: space-between;
                    width: 100%;
                }

                .iv-document-shortcut {
                    display: none;
                }

                .iv-documents {
                    grid-template-columns: 1fr 1fr;
                }

                .iv-document-preview {
                    height: 165px;
                }

                .iv-documents.is-list .iv-document {
                    grid-template-columns: 76px minmax(0, 1fr);
                    min-height: 102px;
                }

                .iv-documents.is-list .iv-document-preview {
                    height: 102px;
                }

                .iv-documents.is-list .iv-document-footer {
                    display: none;
                }

                .iv-viewer-navigation {
                    padding-right: 5px;
                }

                .iv-viewer-counter {
                    display: none;
                }

                .iv-event {
                    grid-template-columns: 32px minmax(0, 1fr);
                }

                .iv-event-date {
                    grid-column: 2;
                    padding-top: 0;
                    margin-bottom: -5px;
                }

                .iv-event-content {
                    grid-column: 2;
                }

                .iv-viewer {
                    padding: 0;
                }

                .iv-viewer-dialog {
                    width: 100%;
                    height: 100%;
                    border-radius: 0;
                }
            }

            @media (max-width: 480px) {
                .iv-documents {
                    grid-template-columns: 1fr;
                }

                .iv-document-preview {
                    height: 220px;
                }

                .iv-hero-metrics {
                    grid-template-columns: 1fr;
                }

                .iv-card-inner {
                    padding: 18px;
                }

                .iv-viewer-header {
                    min-height: 60px;
                    padding-left: 14px;
                }

                .iv-viewer-button--label {
                    padding: 0 10px;
                    font-size: 0;
                }

                .iv-viewer-button--label::before {
                    content: "↗";
                    font-size: 16px;
                }
            }

/*
 * ==========================================================
 * ALPHÉA SUITE — H1B-2B
 * Harmonisation de la fiche Intervention 360°
 * ==========================================================
 */

.iv-cockpit {
    --iv-navy: var(--alphea-ds-ink-strong);
    --iv-blue: var(--alphea-ds-primary);
    --iv-blue-dark: var(--alphea-ds-primary-hover);
    --iv-cyan: var(--alphea-ds-accent);
    --iv-green: var(--alphea-ds-success);
    --iv-orange: var(--alphea-ds-warning);
    --iv-red: var(--alphea-ds-danger);
    --iv-purple: var(--alphea-ds-purple);
    --iv-muted: var(--alphea-ds-muted);
    --iv-soft: var(--alphea-ds-surface-soft);
    --iv-line: var(--alphea-ds-border);

    color: var(--alphea-ds-ink);
}

/* Hero commun Premium+++ */

.iv-hero {
    border: 1px solid rgba(35, 61, 98, .12);
    border-radius: var(--alphea-ds-radius-xl);
    background:
        radial-gradient(
            circle at 90% 5%,
            rgba(91, 122, 178, .25),
            transparent 34%
        ),
        radial-gradient(
            circle at 5% 95%,
            rgba(37, 99, 235, .25),
            transparent 36%
        ),
        linear-gradient(
            135deg,
            #07111f 0%,
            #172f51 48%,
            #253f67 100%
        );
    box-shadow: var(--alphea-ds-shadow-lg);
}

.iv-copy-reference,
.iv-badge,
.iv-metric {
    transition: var(--alphea-ds-transition);
}

/* Surfaces communes */

.iv-card,
.iv-next-action {
    border-color: var(--alphea-ds-border);
    border-radius: var(--alphea-ds-radius-lg);
    background-color: var(--alphea-ds-surface);
    box-shadow: var(--alphea-ds-shadow-sm);
}

.iv-card {
    color: var(--alphea-ds-ink);
}

.iv-card-kicker,
.iv-next-label {
    color: var(--alphea-ds-accent);
}

.iv-card-title,
.iv-next-title,
.iv-info-value,
.iv-document-title,
.iv-event-title,
.iv-progress-value {
    color: var(--alphea-ds-ink);
}

.iv-card-subtitle,
.iv-next-detail,
.iv-info-label,
.iv-document-name,
.iv-event-date,
.iv-event-text,
.iv-progress-label {
    color: var(--alphea-ds-muted);
}

/* Boutons */

.iv-primary-button {
    border-color: var(--alphea-ds-primary);
    background: var(--alphea-ds-primary);
    box-shadow:
        0 10px 24px rgba(34, 63, 103, .18);
}

.iv-primary-button:hover {
    border-color: var(--alphea-ds-primary-hover);
    background: var(--alphea-ds-primary-hover);
}

.iv-secondary-button,
.iv-action-link {
    border-color: var(--alphea-ds-border-strong);
    color: var(--alphea-ds-ink);
    background: var(--alphea-ds-surface);
}

.iv-secondary-button:hover,
.iv-action-link:hover {
    border-color: #b9c6d7;
    color: var(--alphea-ds-primary-hover);
    background: var(--alphea-ds-primary-soft);
    box-shadow: var(--alphea-ds-shadow-xs);
}

/* Informations */

.iv-info-grid {
    border-color: var(--alphea-ds-border);
    background: var(--alphea-ds-border);
}

.iv-info-item {
    background: var(--alphea-ds-surface);
}

/* Espace documentaire */

.iv-document-toolbar,
.iv-document,
.iv-view-switch,
.iv-document-search-input {
    border-color: var(--alphea-ds-border);
    color: var(--alphea-ds-ink);
    background: var(--alphea-ds-surface);
}

.iv-document-toolbar {
    background: var(--alphea-ds-surface-soft);
}

.iv-document-search-input:focus {
    border-color: var(--alphea-ds-accent);
    box-shadow: var(--alphea-ds-focus);
}

.iv-document-filter {
    color: var(--alphea-ds-muted);
}

.iv-document-filter:hover {
    color: var(--alphea-ds-ink);
    background: var(--alphea-ds-surface-muted);
}

.iv-document-filter.is-active,
.iv-view-switch-button.is-active {
    color: var(--alphea-ds-primary-hover);
    background: var(--alphea-ds-primary-soft);
}

.iv-document {
    box-shadow: var(--alphea-ds-shadow-xs);
}

.iv-document:hover {
    border-color: #b9c6d7;
    box-shadow: var(--alphea-ds-shadow-md);
}

.iv-document-type {
    color: var(--alphea-ds-primary-hover);
    background: var(--alphea-ds-primary-soft);
}

.iv-empty-docs,
.iv-document-filter-empty {
    border-color: var(--alphea-ds-border-strong);
    color: var(--alphea-ds-muted);
    background: var(--alphea-ds-surface-soft);
}

/* Timeline */

.iv-timeline::before {
    background:
        linear-gradient(
            to bottom,
            rgba(82, 111, 169, .48),
            rgba(148, 163, 184, .18)
        );
}

.iv-event-dot {
    border-color: var(--alphea-ds-surface);
    background: var(--alphea-ds-primary);
    box-shadow:
        0 0 0 3px rgba(82, 111, 169, .13);
}

.iv-event-content {
    border-color: var(--alphea-ds-border);
    background: var(--alphea-ds-surface-soft);
}

.iv-event:hover .iv-event-content {
    border-color: var(--alphea-ds-border-strong);
    background: var(--alphea-ds-primary-soft);
}

/* Progression */

.iv-progress-icon {
    border-color: var(--alphea-ds-border);
    color: var(--alphea-ds-muted);
    background: var(--alphea-ds-surface-soft);
}

.iv-progress-icon--done {
    border-color: #b9deca;
    color: var(--alphea-ds-success);
    background: var(--alphea-ds-success-soft);
}

/* Accessibilité */

.iv-copy-reference:focus-visible,
.iv-primary-button:focus-visible,
.iv-secondary-button:focus-visible,
.iv-action-link:focus-visible,
.iv-document:focus-visible,
.iv-document-filter:focus-visible,
.iv-view-switch-button:focus-visible,
.iv-viewer-button:focus-visible {
    outline: 3px solid rgba(82, 111, 169, .23);
    outline-offset: 2px;
}

/* Responsive harmonisé */

@media (max-width: 1180px) {
    .iv-layout {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 860px) {
    .iv-hero-top {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
    }

    .iv-badges {
        justify-content: flex-start;
    }

    .iv-hero-metrics {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .iv-documents {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .iv-hero,
    .iv-card,
    .iv-next-action,
    .iv-smart-action {
        border-radius: 16px;
    }

    .iv-hero {
        padding: 21px;
    }

    .iv-hero-metrics,
    .iv-info-grid,
    .iv-documents {
        grid-template-columns: minmax(0, 1fr);
    }

    .iv-next-action-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .iv-event {
        grid-template-columns:
            30px minmax(0, 1fr);
    }

    .iv-event-date {
        grid-column: 2;
    }

    .iv-event-content {
        grid-column: 2;
    }

    .iv-document-toolbar {
        align-items: stretch;
    }

    .iv-document-controls {
        width: 100%;
    }
}

/* ALPHEA_H1B2B_SHOW_END */
