.lcp-app [hidden],
.lcp-login-view[hidden],
.lcp-dashboard-view[hidden] {
    display: none !important;
}

:root {
    --lcp-bg: #f5f5f7;
    --lcp-card: #ffffff;
    --lcp-line: #e8e8ed;
    --lcp-text: #1d1d1f;
    --lcp-muted: #8e8e93;
    --lcp-primary: #1d1d1f;
    --lcp-primary-2: #3a3a3c;
    --lcp-danger: #ff3b30;
    --lcp-success: #34c759;
    --lcp-warning: #ff9f0a;
    --lcp-radius: 12px;
    --lcp-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 16px rgba(0, 0, 0, 0.04);
    --lcp-blur: blur(0px);
}
.lcp-app {
    min-height: 100vh;
    position: relative;
    margin: 0 !important;
    background: var(--lcp-bg);
    color: var(--lcp-text);
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.lcp-loading-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(245, 245, 247, 0.62);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.lcp-loading-panel {
    min-width: min(320px, 92vw);
    max-width: 420px;
    padding: 24px 22px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.14);
    text-align: center;
}

.lcp-loading-panel p {
    margin: 0;
    color: var(--lcp-text);
    font-weight: 600;
    letter-spacing: -0.01em;
}

.lcp-loading-spinner {
    width: 42px;
    height: 42px;
    margin: 0 auto 14px;
    border-radius: 50%;
    border: 3px solid rgba(10, 132, 255, 0.16);
    border-top-color: var(--lcp-primary);
    animation: lcp-spin 0.9s linear infinite;
}

body.lcp-loading-active {
    overflow: hidden;
}

.lcp-loading-scope {
    position: relative;
}

.lcp-local-loader {
    position: absolute;
    inset: 0;
    z-index: 8;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: inherit;
}

.lcp-local-loader-panel {
    min-width: min(260px, 88%);
    max-width: 360px;
    padding: 18px 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 18px 32px rgba(15, 23, 42, 0.12);
    text-align: center;
}

.lcp-local-loader-text {
    margin: 0;
    color: var(--lcp-text);
    font-size: 0.95rem;
    font-weight: 600;
}

.lcp-local-loader-spinner {
    width: 34px;
    height: 34px;
    margin: 0 auto 12px;
    border-radius: 50%;
    border: 3px solid rgba(10, 132, 255, 0.16);
    border-top-color: var(--lcp-primary);
    animation: lcp-spin 0.9s linear infinite;
}

@keyframes lcp-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.lcp-notify {
    margin: 16px;
    padding: 14px 16px;
    border-radius: 16px;
    font-weight: 600;
    backdrop-filter: var(--lcp-blur);
}

.lcp-notify.success {
    background: rgba(52, 199, 89, 0.12);
    color: #1f7a38;
}

.lcp-notify.error {
    background: rgba(255, 59, 48, 0.12);
    color: #b42318;
}

.lcp-login-view {
    min-height: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    margin: 0;
    padding: 0 32px 32px;
    box-sizing: border-box;
}

.lcp-login-view:not([hidden]) {
    position: fixed;
    inset: 0;
    width: 100vw;
    min-height: 100dvh;
    height: 100dvh;
    margin: 0 !important;
    padding: 0 32px 32px !important;
    z-index: 1000;
    background: var(--lcp-bg);
}

.lcp-login-card {
    width: 100%;
    max-width: 520px;
    background: rgba(255,255,255,0.8);
    backdrop-filter: var(--lcp-blur);
    -webkit-backdrop-filter: var(--lcp-blur);
    border: 1px solid rgba(255,255,255,0.7);
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
    padding: 30px;
}

.lcp-brand {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.lcp-brand h2 {
    margin: 0;
    font-size: 1.55rem;
    line-height: 1.08;
    letter-spacing: -0.02em;
}

.lcp-brand p {
    margin: 5px 0 0;
    color: var(--lcp-muted);
    font-size: 0.95rem;
}


.lcp-login-intro {
    margin: 0 0 18px;
    color: var(--lcp-muted);
    font-size: 0.95rem;
    line-height: 1.55;
}

.lcp-login-help {
    margin: 4px 0 0;
    text-align: center;
    font-size: 0.95rem;
}

.lcp-login-help a {
    color: var(--lcp-primary-2);
    font-weight: 600;
    text-decoration: none;
}

.lcp-login-help a:hover,
.lcp-login-help a:focus {
    text-decoration: underline;
}


.lcp-brand-mark {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    flex: 0 0 auto;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.lcp-brand-mark img {
    width: 72%;
    height: 72%;
    object-fit: contain;
    display: block;
}

.lcp-brand-mark.small {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    font-size: 0.95rem;
}

.lcp-form {
    display: grid;
    gap: 12px;
}

.lcp-form label {
    font-weight: 700;
    font-size: 0.94rem;
    letter-spacing: -0.01em;
}

.lcp-form input,
.lcp-form select {
    min-height: 52px;
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(255,255,255,0.92);
    padding: 0 15px;
    font-size: 1rem;
    color: var(--lcp-text);
    box-sizing: border-box;
    width: 100%;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.lcp-form input:focus,
.lcp-form select:focus {
    outline: none;
    border-color: rgba(10,132,255,0.45);
    box-shadow: 0 0 0 4px rgba(10,132,255,0.12);
    background: #fff;
}

.lcp-check {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--lcp-muted);
    font-weight: 600 !important;
}

.lcp-check input {
    min-height: auto;
    width: auto;
}

.lcp-btn {
    min-height: 50px;
    border-radius: 16px;
    border: 0;
    padding: 0 18px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.16s ease, opacity 0.16s ease, box-shadow 0.16s ease;
}

.lcp-btn:hover {
    transform: translateY(-1px);
}


.lcp-btn:disabled {
    cursor: wait;
    opacity: 0.72;
    transform: none;
    box-shadow: none;
}


.lcp-btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--lcp-primary), var(--lcp-primary-2));
    box-shadow: 0 12px 24px rgba(10, 132, 255, 0.22);
}

.lcp-feedback {
    min-height: 20px;
    margin: 0;
    font-size: 0.92rem;
    color: var(--lcp-muted);
}


.lcp-form.is-busy {
    opacity: 0.86;
    pointer-events: none;
}


.lcp-feedback.is-error {
    color: var(--lcp-danger);
}

.lcp-dashboard-view {
    display: block;
    min-height: 100vh;
    height: 100vh;
}

.lcp-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 220px;
    height: 100vh;
    background: #ffffff;
    border-right: 1px solid var(--lcp-line);
    color: var(--lcp-text);
    padding: 20px 10px;
    display: flex;
    flex-direction: column;
    gap: 0;
    overflow: hidden;
    z-index: 40;
}

.lcp-sidebar-logo-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 2px 8px;
    margin-bottom: 24px;
}

.lcp-sidebar-logo {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
}

.lcp-sidebar-logo strong {
    color: var(--lcp-text);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.lcp-mobile-menu-toggle {
    display: none;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: 1px solid var(--lcp-line);
    background: #f8f8fa;
    color: var(--lcp-text);
    cursor: pointer;
    margin-left: auto;
    align-items: center;
    justify-content: center;
    transition: background 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.lcp-mobile-menu-toggle:hover {
    background: #f1f1f4;
    border-color: #d8d8de;
}

.lcp-mobile-menu-toggle:active {
    transform: translateY(1px);
}

.lcp-mobile-menu-toggle:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(29, 29, 31, 0.12);
}

.lcp-sidebar.is-mobile-open .lcp-mobile-menu-toggle {
    background: #ececef;
    border-color: #d0d0d7;
}

.lcp-mobile-menu-icon {
    position: relative;
    width: 18px;
    height: 14px;
    display: inline-block;
}

.lcp-mobile-menu-icon span {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 0.18s ease, opacity 0.18s ease, top 0.18s ease;
}

.lcp-mobile-menu-icon span:nth-child(1) { top: 0; }
.lcp-mobile-menu-icon span:nth-child(2) { top: 6px; }
.lcp-mobile-menu-icon span:nth-child(3) { top: 12px; }

.lcp-sidebar.is-mobile-open .lcp-mobile-menu-icon span:nth-child(1) {
    top: 6px;
    transform: rotate(45deg);
}

.lcp-sidebar.is-mobile-open .lcp-mobile-menu-icon span:nth-child(2) {
    opacity: 0;
}

.lcp-sidebar.is-mobile-open .lcp-mobile-menu-icon span:nth-child(3) {
    top: 6px;
    transform: rotate(-45deg);
}

.lcp-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;
}

.lcp-nav {
    display: grid;
    gap: 1px;
}

.lcp-nav-item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 9px;
    text-align: left;
    min-height: 34px;
    border-radius: 8px;
    border: 1px solid transparent;
    background: transparent;
    color: #8e8e93;
    font-weight: 500;
    font-size: 13px;
    padding: 7px 8px;
    cursor: pointer;
    transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
}

.lcp-nav-icon {
    width: 16px;
    font-size: 14px;
    text-align: center;
    flex-shrink: 0;
    opacity: 0.7;
}

.lcp-nav-item:hover {
    background: #f5f5f7;
    color: #3a3a3c;
}

.lcp-nav-item:hover .lcp-nav-icon,
.lcp-nav-item.active .lcp-nav-icon {
    opacity: 1;
}

.lcp-nav-item.active {
    background: rgba(29, 29, 31, 0.06);
    color: #1d1d1f;
    border-color: transparent;
}

.lcp-nav-item:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(29, 29, 31, 0.11);
}

.lcp-nav-link {
    text-decoration: none;
}

.lcp-sidebar-divider {
    height: 1px;
    background: #f0f0f5;
    margin: 8px 8px;
}

.lcp-sidebar-spacer {
    flex: 1 1 auto;
}

.lcp-sidebar-bottom {
    border-top: 1px solid var(--lcp-line);
    padding-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.lcp-sidebar-user {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 7px 8px;
    border-radius: 8px;
    transition: background 0.18s ease;
    margin-bottom: 2px;
}

.lcp-sidebar-user:hover {
    background: #f5f5f7;
}

.lcp-sidebar-user-avatar {
    width: 28px;
    height: 28px;
    background: #1d1d1f;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 600;
    color: #ffffff;
    flex-shrink: 0;
}

.lcp-sidebar-user-name {
    font-size: 12.5px;
    font-weight: 500;
    color: #1d1d1f;
    line-height: 1.25;
}

.lcp-sidebar-user-role {
    font-size: 11px;
    color: #8e8e93;
    margin-top: 1px;
}

.lcp-nav-item-disconnect {
    color: #8e8e93;
}

.lcp-nav-item-disconnect:hover {
    background: rgba(255, 59, 48, 0.06);
    color: #ff3b30;
}

.lcp-nav-item-cache {
    width: 100%;
    border: 0;
    background: transparent;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 5px 8px;
    border-radius: 8px;
    cursor: pointer;
    color: #aeaeb2;
    font-size: 11.5px;
    font-weight: 400;
    transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
}

.lcp-nav-icon-sm {
    width: 16px;
    font-size: 12px;
    text-align: center;
    flex-shrink: 0;
    opacity: 0.65;
}

.lcp-nav-item-cache:hover {
    background: #f5f5f7;
    color: #8e8e93;
}

.lcp-nav-item-cache:hover .lcp-nav-icon-sm {
    opacity: 1;
}

.lcp-main {
    margin-left: 220px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    min-width: 0;
    min-height: 100vh;
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    background: var(--lcp-bg);
}


#lcp-login-btn {
    appearance: none;
    -webkit-appearance: none;
    background: linear-gradient(135deg, #1d1d1f, #3a3a3c);
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff;
    border: 1px solid transparent !important;
    text-shadow: none;
    min-height: 52px;
    border-radius: 16px;
    letter-spacing: 0.01em;
    box-shadow: 0 10px 20px rgba(29, 29, 31, 0.18);
}

#lcp-login-btn:hover,
#lcp-login-btn:focus-visible,
#lcp-login-btn:active,
#lcp-login-btn:visited {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff;
    box-shadow: 0 12px 24px rgba(29, 29, 31, 0.24);
}

.lcp-topbar {
    position: sticky;
    top: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    width: 100%;
    min-height: 72px;
    padding: 14px 28px;
    background: #ffffff;
    border-bottom: 1px solid var(--lcp-line);
    border-radius: 0;
    box-shadow: none;
    box-sizing: border-box;
    flex: 0 0 auto;
}

.lcp-topbar,
.lcp-topbar * {
    visibility: visible !important;
    opacity: 1 !important;
}

.lcp-main {
    display: flex;
    flex-direction: column;
}

.lcp-topbar-text {
    min-width: 0;
}

.lcp-topbar-subtitle {
    margin: 1px 0 0;
    color: #8e8e93;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
}

.lcp-topbar h1 {
    margin: 0;
    font-size: 16px;
    line-height: 1.2;
    letter-spacing: -0.025em;
    font-weight: 600;
    color: #1d1d1f;
}

.lcp-main > :not(.lcp-topbar) {
    margin: 18px 20px 0;
}

.lcp-main > :last-child {
    margin-bottom: 20px;
}

.lcp-page {
    display: grid;
    gap: 22px;
}

.lcp-page[hidden] {
    display: none !important;
}

.lcp-card {
    background: #ffffff;
    border: 1px solid var(--lcp-line);
    border-radius: var(--lcp-radius);
    box-shadow: var(--lcp-shadow);
    padding: 18px;
    min-width: 0;
}

@media (min-width: 769px) {
    .lcp-mobile-menu-toggle {
        display: none !important;
    }

    .lcp-app {
        height: 100vh;
        overflow: hidden;
    }

    .lcp-dashboard-view {
        height: 100vh;
        overflow: hidden;
    }

    .lcp-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        width: 220px;
        height: 100vh;
        overflow: hidden;
    }

    .lcp-nav {
        display: flex;
        flex-direction: column;
        flex: 1 1 auto;
        min-height: 0;
        gap: 4px;
        overflow-y: auto;
        padding-right: 2px;
    }

    .lcp-main {
        margin-left: 220px;
        height: 100vh;
    }
}

@media (max-width: 768px) {
    .lcp-dashboard-view {
        grid-template-columns: 1fr;
        height: auto;
    }

    .lcp-sidebar {
        position: sticky;
        top: 0;
        z-index: 20;
        padding: 12px;
        gap: 10px;
    }

    .lcp-mobile-menu-toggle {
        display: inline-flex;
    }

    .lcp-nav {
        display: none;
        border-top: 1px solid var(--lcp-line);
        padding-top: 10px;
    }

    .lcp-nav.is-open {
        display: grid;
    }

    .lcp-main {
        padding: 0;
    }

    .lcp-topbar {
        padding: 12px 16px;
    }

    .lcp-topbar h1 {
        font-size: 1.35rem;
    }

    .lcp-main > :not(.lcp-topbar) {
        margin: 14px 14px 0;
    }

    .lcp-main > :last-child {
        margin-bottom: 14px;
    }
}

.lcp-beta-banner {
    display: grid;
    gap: 12px;
    margin-top: 18px;
    padding: 16px 18px;
    border-color: rgba(148, 163, 184, 0.18);
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.98), rgba(241, 245, 249, 0.94));
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.06);
}

.lcp-beta-banner-copy {
    display: grid;
    gap: 8px;
}

.lcp-beta-banner-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.lcp-beta-banner-kicker {
    color: #475569;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.lcp-beta-banner-title {
    margin: 0;
    color: #0f172a;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.lcp-beta-banner p {
    margin: 0;
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.6;
}

.lcp-beta-banner-close {
    border: 0;
    background: rgba(255, 255, 255, 0.78);
    color: #334155;
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 0.84rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.24);
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.lcp-beta-banner-close:hover,
.lcp-beta-banner-close:focus-visible {
    background: rgba(226, 232, 240, 0.96);
    color: #0f172a;
    transform: translateY(-1px);
}
@media (max-width: 640px) {
    .lcp-beta-banner-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .lcp-beta-banner-close {
        align-self: flex-start;
    }
}
.lcp-card-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin-bottom: 14px;
}

.lcp-card h3 {
    margin: 0;
    font-size: 1.02rem;
    letter-spacing: -0.02em;
}

.lcp-grid {
    display: grid;
    grid-template-columns: 1.08fr 1fr;
    gap: 22px;
}

/* TABLES */
.lcp-table-wrap {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    border-radius: 18px;
    background: rgba(255,255,255,0.96);
    border: 1px solid rgba(15,23,42,0.07);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
}

.lcp-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 100%;
    background: transparent;
}

.lcp-table-overview,
.lcp-table-calls,
.lcp-table-events {
    min-width: 780px;
}

.lcp-table-wrap-fit {
    overflow-x: hidden;
}

.lcp-table-overview,
.lcp-table-calls {
    min-width: 0;
    table-layout: fixed;
}

.lcp-table-overview th,
.lcp-table-overview td,
.lcp-table-calls th,
.lcp-table-calls td {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.lcp-table-overview td small,
.lcp-table-calls td small {
    display: block;
    white-space: normal;
}

.lcp-table-overview th:nth-child(1),
.lcp-table-overview td:nth-child(1) {
    width: 48%;
}

.lcp-table-overview th:nth-child(2),
.lcp-table-overview td:nth-child(2) {
    width: 28%;
}

.lcp-table-overview th:nth-child(3),
.lcp-table-overview td:nth-child(3) {
    width: 24%;
}

.lcp-table-calls th:nth-child(1),
.lcp-table-calls td:nth-child(1) {
    width: 18%;
}

.lcp-table-calls th:nth-child(2),
.lcp-table-calls td:nth-child(2) {
    width: 42%;
}

.lcp-table-calls th:nth-child(3),
.lcp-table-calls td:nth-child(3) {
    width: 22%;
}

.lcp-table-calls th:nth-child(4),
.lcp-table-calls td:nth-child(4) {
    width: 18%;
}

.lcp-table-hunting {
    min-width: 1040px;
}

.lcp-table-hunting-history {
    min-width: 760px;
}

.lcp-table th,
.lcp-table td {
    padding: 12px 14px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.07);
    text-align: left;
    vertical-align: middle;
    font-size: 0.91rem;
    background: #fff;
}

.lcp-table th {
    color: #64748b;
    background: rgba(248, 250, 252, 0.95);
    font-weight: 800;
    position: sticky;
    top: 0;
    z-index: 1;
    backdrop-filter: blur(6px);
}

.lcp-table tr:last-child td {
    border-bottom: 0;
}

.lcp-table tbody tr {
    transition: background-color 0.16s ease;
}

.lcp-table tbody tr:hover {
    background: rgba(248, 250, 252, 0.68);
}

.lcp-table tbody tr:hover td {
    background: rgba(248, 250, 252, 0.68);
}

.lcp-table td small {
    font-size: 0.89rem;
    color: #1f2937;
    line-height: 1.35;
}

.lcp-call-chip,
.lcp-direction-chip {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    border-radius: 20px;
    padding: 4px 10px;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0;
    white-space: nowrap;
}

.lcp-call-chip.is-success {
    background: rgba(52, 199, 89, 0.1);
    color: #34c759;
}

.lcp-call-chip.is-fail {
    background: rgba(255, 59, 48, 0.1);
    color: #ff3b30;
}

.lcp-direction-chip.is-in {
    background: rgba(0, 122, 255, 0.1);
    color: #007aff;
}

.lcp-direction-chip.is-out {
    background: rgba(142, 142, 147, 0.15);
    color: #3a3a3c;
}

.lcp-direction-chip.is-internal {
    background: rgba(99, 102, 241, 0.16);
    color: #4338ca;
}

.lcp-direction-chip.is-unknown {
    background: rgba(100, 116, 139, 0.16);
    color: #334155;
}

.lcp-call-chip::before,
.lcp-direction-chip::before,
#lcp-hunting-history .lcp-history-status::before,
#lcp-overview-hunting-history .lcp-history-status::before,
.lcp-history-status-chip::before {
    display: inline-block;
    width: 12px;
    text-align: center;
    font-size: 11px;
    line-height: 1;
    font-weight: 700;
    flex: 0 0 auto;
}

.lcp-call-chip.is-success::before,
#lcp-hunting-history .lcp-history-status-taken::before,
#lcp-overview-hunting-history .lcp-history-status-taken::before,
.lcp-history-status-chip.lcp-history-status-taken::before {
    content: "✓";
}

.lcp-call-chip.is-fail::before,
#lcp-hunting-history .lcp-history-status-missed::before,
#lcp-overview-hunting-history .lcp-history-status-missed::before,
.lcp-history-status-chip.lcp-history-status-missed::before {
    content: "×";
}

.lcp-direction-chip.is-in::before {
    content: "↙";
}

.lcp-direction-chip.is-out::before {
    content: "↗";
}

.lcp-empty {
    text-align: center;
    color: var(--lcp-muted);
    padding: 24px !important;
}

.lcp-dot {
    width: 13px;
    height: 13px;
    border-radius: 999px;
    display: inline-block;
    flex: 0 0 auto;
}

.lcp-dot.ok {
    background: var(--lcp-success);
}

.lcp-dot.warn {
    background: var(--lcp-warning);
}

.lcp-dot.danger {
    background: var(--lcp-danger);
}

.lcp-dot.neutral {
    background: #94a3b8;
}

.lcp-inline-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.lcp-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 999px;
    margin: 4px 8px 4px 0;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.3;
    flex-wrap: wrap;
    word-break: break-word;
}

.lcp-badge-gray {
    background: #f3f4f6;
    color: #374151;
}

.lcp-badge-green {
    background: rgba(52, 199, 89, 0.14);
    color: #166534;
}

.lcp-hunting-live-row td {
    background: rgba(250, 251, 253, 0.8);
}

.lcp-hunting-summary-row td {
    background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(248,250,252,0.92));
}

.lcp-type-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 11px;
    border-radius: 999px;
    background: rgba(10, 132, 255, 0.1);
    color: #0b5bb6;
    font-size: 0.78rem;
    font-weight: 800;
}

.lcp-type-pill.neutral {
    background: rgba(15, 23, 42, 0.06);
    color: #334155;
}

.lcp-kpi {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    min-width: 44px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.05);
    color: #0f172a;
    font-size: 0.82rem;
    font-weight: 800;
}

.lcp-kpi.strong {
    background: rgba(10, 132, 255, 0.12);
    color: #0b5bb6;
}

.lcp-hunting-summary-placeholder td {
    color: var(--lcp-muted);
}

.lcp-hunting-live-block + .lcp-hunting-live-block-second,
.lcp-hunting-live-block-second {
    margin-top: 10px;
}

.lcp-hunting-live-title {
    font-weight: 800;
    font-size: 0.88rem;
    margin-bottom: 8px;
    color: var(--lcp-text);
}

.lcp-hunting-live-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.lcp-hunting-live-block {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    background: rgba(255,255,255,0.95);
    padding: 10px 12px;
}

.lcp-hunting-live-row-placeholder .lcp-hunting-live-block {
    background: rgba(248, 250, 252, 0.8);
}

.lcp-muted {
    color: var(--lcp-muted);
}

.lcp-history-mobile-main {
    display: none;
}

#lcp-hunting-history .lcp-history-status,
#lcp-overview-hunting-history .lcp-history-status {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    min-height: 28px;
    padding: 4px 10px;
    border-radius: 20px;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 11px;
    font-weight: 600;
    margin-top: 6px;
}

#lcp-hunting-history .lcp-history-status-taken,
#lcp-overview-hunting-history .lcp-history-status-taken {
    background: rgba(52, 199, 89, 0.1);
    color: #34c759;
}

#lcp-hunting-history .lcp-history-status-missed,
#lcp-overview-hunting-history .lcp-history-status-missed {
    background: rgba(255, 59, 48, 0.1);
    color: #ff3b30;
}

#lcp-hunting-history .lcp-history-date,
#lcp-overview-hunting-history .lcp-history-date {
    font-size: 0.84rem;
    color: #475569;
    font-weight: 700;
}

#lcp-hunting-history .lcp-history-file,
#lcp-hunting-history .lcp-history-calling,
#lcp-hunting-history .lcp-history-agent,
#lcp-hunting-history .lcp-history-metric,
#lcp-overview-hunting-history .lcp-history-file,
#lcp-overview-hunting-history .lcp-history-calling,
#lcp-overview-hunting-history .lcp-history-agent,
#lcp-overview-hunting-history .lcp-history-metric {
    font-weight: 600;
    color: #1f2937;
}

.lcp-history-status-chip {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    min-height: 28px;
    padding: 4px 10px;
    border-radius: 20px;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0;
}

.lcp-history-status-taken {
    background: rgba(52, 199, 89, 0.1);
    color: #34c759;
}

.lcp-history-status-missed {
    background: rgba(255, 59, 48, 0.1);
    color: #ff3b30;
}

@media (max-width: 1440px) {
    .lcp-grid {
        grid-template-columns: 1fr;
    }
}

.lcp-resource-card {
    display: grid;
    gap: 18px;
    min-height: 100%;
    padding: 20px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.9));
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.06);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.lcp-team-setup-accordion {
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 250, 251, 0.95));
    overflow: hidden;
}

.lcp-team-setup-accordion[open] {
    border-color: rgba(37, 99, 235, 0.25);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.lcp-team-help-row {
    display: flex;
    justify-content: flex-end;
}


.lcp-team-resource-accordions {
    display: grid;
    gap: 10px;
}

.lcp-team-resource-accordion {
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.95);
    overflow: hidden;
}

.lcp-team-resource-accordion summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 14px;
    cursor: pointer;
}

.lcp-team-resource-accordion summary::-webkit-details-marker {
    display: none;
}

.lcp-team-resource-accordion summary strong {
    font-size: 0.88rem;
}

.lcp-team-resource-accordion summary span {
    width: 24px;
    height: 24px;
    border-radius: 8px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--lcp-muted);
    transition: transform 0.16s ease;
}

.lcp-team-resource-accordion[open] summary span {
    transform: rotate(180deg);
}

.lcp-team-resource-accordion-body {
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    padding: 12px 14px 14px;
}

.lcp-team-form {
    display: grid;
    gap: 16px;
}

.lcp-team-form-section {
    padding: 14px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 250, 251, 0.96));
    display: grid;
    gap: 12px;
}

.lcp-team-field-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 6px;
}

.lcp-team-field-head label {
    margin: 0;
}

.lcp-help-toggle {
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.18);
    background: #fff;
    color: #0f172a;
    font-weight: 700;
    font-size: 0.8rem;
    cursor: pointer;
    line-height: 1;
}

.lcp-help-toggle:hover {
    border-color: rgba(20, 184, 166, 0.5);
    background: rgba(20, 184, 166, 0.08);
}

.lcp-help-panel {
    margin: 0;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(20, 184, 166, 0.28);
    background: rgba(240, 253, 250, 0.92);
    color: #0f172a;
    font-size: 0.86rem;
    line-height: 1.45;
}

.lcp-team-members-stack {
    display: grid;
    gap: 10px;
}

.lcp-team-member-accordion {
    overflow: hidden;
}

.lcp-role-toggle {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.lcp-role-toggle-btn {
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.16);
    background: #fff;
    color: #0f172a;
    font-weight: 600;
    font-size: 0.84rem;
    cursor: pointer;
}

.lcp-role-toggle-btn:hover {
    border-color: rgba(37, 99, 235, 0.38);
    background: rgba(37, 99, 235, 0.08);
}

.lcp-role-toggle-btn.is-active {
    border-color: rgba(37, 99, 235, 0.6);
    background: rgba(37, 99, 235, 0.14);
    color: #1d4ed8;
}

.lcp-team-resource-list.is-disabled {
    opacity: 0.55;
    pointer-events: none;
}

@media (max-width: 980px) {
}

@media (max-width: 680px) {
}


/* Collaborateurs page redesign inspired by Collaborateurs/collaborateurs.html */
.lcp-page-shell-team {
    display: grid;
    gap: 16px;
}

.lcp-page-shell-team .lcp-team-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 16px;
    align-items: start;
}

.lcp-page-shell-team .lcp-team-layout-main {
    display: grid;
    gap: 16px;
    min-width: 0;
}

.lcp-page-shell-team .lcp-team-layout-aside {
    display: grid;
    gap: 12px;
    position: sticky;
    top: 14px;
}

.lcp-page-shell-team .lcp-team-create-card,
.lcp-page-shell-team .lcp-team-members-card,
.lcp-page-shell-team .lcp-team-invitations-card {
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid #e7e8ec;
    background: #ffffff;
}

#lcp-team-status {
    margin: 0 18px 12px;
}

.lcp-page-shell-team .lcp-team-stepper {
    display: flex;
    align-items: center;
    gap: 0;
    overflow-x: auto;
    padding: 0 18px;
    border-top: 1px solid #f0f1f4;
    border-bottom: 1px solid #f0f1f4;
    background: #f8f8fa;
}

.lcp-page-shell-team .lcp-team-step-item {
    border: none;
    background: transparent;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 10px;
    margin: 0;
    color: #8a8d97;
    font-weight: 600;
    font-size: 0.84rem;
    border-bottom: 2px solid transparent;
    transition: color 0.18s ease, border-color 0.18s ease;
}

.lcp-page-shell-team .lcp-team-step-item:hover {
    color: #1f2937;
}

.lcp-page-shell-team .lcp-team-step-item.is-active {
    color: #111827;
    border-bottom-color: #111827;
}

.lcp-page-shell-team .lcp-team-step-item.is-done {
    color: #0f7a35;
}

.lcp-page-shell-team .lcp-team-step-num {
    width: 21px;
    height: 21px;
    border-radius: 999px;
    border: 1.5px solid #c9ccd4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    background: #fff;
    color: #717784;
}

.lcp-page-shell-team .lcp-team-step-item.is-active .lcp-team-step-num {
    background: #111827;
    border-color: #111827;
    color: #fff;
}

.lcp-page-shell-team .lcp-team-step-item.is-done .lcp-team-step-num {
    background: #22c55e;
    border-color: #22c55e;
    color: #fff;
}

.lcp-page-shell-team .lcp-team-step-divider {
    width: 18px;
    height: 1px;
    background: #d9dce3;
    flex-shrink: 0;
}

.lcp-page-shell-team .lcp-team-step-panel {
    display: none;
}

.lcp-page-shell-team .lcp-team-step-panel.is-active {
    display: block;
}

.lcp-page-shell-team .lcp-team-step-body {
    padding: 18px;
    display: grid;
    gap: 14px;
}

.lcp-page-shell-team .lcp-team-form-section-title {
    margin: 0;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #9ba0ab;
    padding-bottom: 9px;
    border-bottom: 1px solid #f0f1f4;
}

.lcp-page-shell-team .lcp-team-step-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 18px 16px;
    border-top: 1px solid #f0f1f4;
    background: #fcfcfd;
}

.lcp-page-shell-team #lcp-team-role-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.lcp-page-shell-team #lcp-team-role-buttons .lcp-role-toggle-btn {
    display: grid;
    gap: 3px;
    text-align: left;
    border-radius: 10px;
    border: 1px solid #dde0e7;
    background: #f7f8fb;
    color: #1f2937;
    padding: 10px 12px;
    min-height: 54px;
    min-width: 220px;
}

.lcp-page-shell-team #lcp-team-role-buttons .lcp-role-toggle-btn strong {
    display: block;
    font-size: 0.84rem;
}

.lcp-page-shell-team #lcp-team-role-buttons .lcp-role-toggle-btn small {
    display: block;
    font-size: 0.74rem;
    color: #6b7280;
    line-height: 1.35;
    font-weight: 500;
}

.lcp-page-shell-team #lcp-team-role-buttons .lcp-role-toggle-btn.is-active {
    border-color: #111827;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.08);
}

.lcp-page-shell-team .lcp-team-check-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 8px;
}

.lcp-page-shell-team .lcp-team-resource-field {
    display: grid;
    gap: 8px;
}

.lcp-page-shell-team .lcp-team-no-access-row {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.79rem;
    color: #4b5563;
    font-weight: 600;
}

.lcp-page-shell-team .lcp-team-no-access-row input {
    accent-color: #111827;
}

.lcp-page-shell-team .lcp-team-resource-list {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #f9fafb;
    overflow-y: auto;
}

.lcp-page-shell-team .lcp-team-resource-list.is-compact {
    max-height: 220px;
}

.lcp-page-shell-team .lcp-team-resource-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-bottom: 1px solid #eceef3;
    font-size: 0.8rem;
    color: #374151;
}

.lcp-page-shell-team .lcp-team-resource-item:last-child {
    border-bottom: none;
}

.lcp-page-shell-team .lcp-team-resource-item:hover {
    background: #ffffff;
}

.lcp-page-shell-team .lcp-team-resource-item input {
    accent-color: #111827;
}

.lcp-page-shell-team .lcp-team-search-row {
    padding: 14px 18px 6px;
}

.lcp-page-shell-team .lcp-team-search-row .lcp-field {
    max-width: 420px;
}

.lcp-page-shell-team .lcp-team-members-stack {
    display: grid;
    gap: 8px;
    padding: 8px 18px 18px;
}

.lcp-page-shell-team .lcp-team-member-accordion {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
}
.lcp-page-shell-team .lcp-team-help-card {
    background: #fff;
    border: 1px solid #e8e8ed;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 16px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    margin-bottom: 16px;
}

.lcp-page-shell-team .lcp-team-help-card-head {
    padding: 14px 16px 12px;
    border-bottom: 1px solid #f0f0f5;
    background: #f5f5f7;
}

.lcp-page-shell-team .lcp-team-help-card-head .lcp-section-kicker {
    display: block;
    margin: 0 0 3px;
    padding: 0;
    min-height: 0;
    width: auto;
    background: transparent;
    border-radius: 0;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: #aeaeb2;
}

.lcp-page-shell-team .lcp-team-help-card-head h4 {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: #1d1d1f;
}

.lcp-page-shell-team .lcp-team-help-card-body {
    padding: 14px 16px;
}

.lcp-page-shell-team .lcp-team-help-step {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f5;
}

.lcp-page-shell-team .lcp-team-help-step:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.lcp-page-shell-team .lcp-team-help-step-num {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(29, 29, 31, 0.06);
    border: 1px solid #e8e8ed;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    color: #1d1d1f;
    flex-shrink: 0;
    margin-top: 1px;
}

.lcp-page-shell-team .lcp-team-help-step-num.active {
    background: #1d1d1f;
    border-color: #1d1d1f;
    color: #fff;
}

.lcp-page-shell-team .lcp-team-help-step-num.done {
    background: rgba(52, 199, 89, 0.1);
    border-color: #34c759;
    color: #34c759;
}

.lcp-page-shell-team .lcp-team-help-step-text strong {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    color: #3a3a3c;
    margin-bottom: 1px;
}

.lcp-page-shell-team .lcp-team-help-step-text small {
    display: block;
    font-size: 11.5px;
    color: #8e8e93;
    line-height: 1.4;
}

.lcp-page-shell-team .lcp-team-help-card-body p {
    margin: 0;
    font-size: 12.5px;
    color: #aeaeb2;
    line-height: 1.6;
}

.lcp-page-shell-team .lcp-team-help-card-body p + p {
    margin-top: 10px;
}

.lcp-page-shell-team .lcp-team-help-card-body p strong {
    color: #3a3a3c;
}
@media (max-width: 1180px) {
    .lcp-page-shell-team .lcp-team-layout {
        grid-template-columns: 1fr;
    }

    .lcp-page-shell-team .lcp-team-layout-aside {
        position: static;
    }
}

@media (max-width: 760px) {

    .lcp-page-shell-team .lcp-team-check-grid {
        grid-template-columns: 1fr;
    }
}

/* Team page replica pass: make UI as close as possible to Collaborateurs/collaborateurs.html */
@keyframes lcp-team-fade-up {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.lcp-page-shell-team .team-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 16px;
    align-items: start;
    animation: lcp-team-fade-up 0.35s 0.08s ease both;
    opacity: 0;
}

.lcp-page-shell-team .lcp-surface-card {
    background: #ffffff;
    border: 1px solid #e8e8ed;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 16px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    transition: box-shadow 0.18s cubic-bezier(0.4, 0, 0.2, 1);
}

.lcp-page-shell-team .lcp-surface-card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06), 0 8px 32px rgba(0, 0, 0, 0.06);
}

.lcp-page-shell-team .lcp-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px 14px;
    border-bottom: 1px solid #f0f0f5;
    margin-bottom: 0;
}

.lcp-page-shell-team .lcp-section-title h3 {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.3px;
    color: #1d1d1f;
    margin: 0;
}

.lcp-page-shell-team #lcp-team-status {
    margin: 12px 20px 0;
}

.lcp-page-shell-team .stepper {
    display: flex;
    align-items: center;
    padding: 0 20px;
    border-bottom: 1px solid #f0f0f5;
    background: #f5f5f7;
    gap: 0;
    overflow-x: auto;
}

.lcp-page-shell-team .step-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 16px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
    transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
    color: #8e8e93;
    font-size: 13px;
    font-weight: 500;
    user-select: none;
    margin-bottom: -1px;
    background: transparent;
}

.lcp-page-shell-team .step-item:hover {
    color: #3a3a3c;
}

.lcp-page-shell-team .step-item.is-active,
.lcp-page-shell-team .step-item.active {
    color: #1d1d1f;
    border-bottom-color: #1d1d1f;
}

.lcp-page-shell-team .step-item.is-done,
.lcp-page-shell-team .step-item.done {
    color: #34c759;
}

.lcp-page-shell-team .step-num {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1.5px solid #aeaeb2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 600;
    flex-shrink: 0;
    transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
    color: #8e8e93;
    background: #fff;
}

.lcp-page-shell-team .step-item.is-done .step-num,
.lcp-page-shell-team .step-item.done .step-num {
    background: #34c759;
    border-color: #34c759;
    color: #fff;
}

.lcp-page-shell-team .step-item.is-active .step-num,
.lcp-page-shell-team .step-item.active .step-num {
    background: #1d1d1f;
    border-color: #1d1d1f;
    color: #fff;
}

.lcp-page-shell-team .step-divider {
    width: 20px;
    height: 1px;
    background: #e8e8ed;
    flex-shrink: 0;
}

.lcp-page-shell-team .step-panel {
    display: none;
}

.lcp-page-shell-team .step-panel.is-active,
.lcp-page-shell-team .step-panel.active {
    display: block;
}

.lcp-page-shell-team .form-section-title {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #aeaeb2;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f5;
}

.lcp-page-shell-team .lcp-form-grid {
    display: grid;
    gap: 16px;
    margin-bottom: 20px;
}

.lcp-page-shell-team .lcp-form-grid-two {
    grid-template-columns: 1fr 1fr;
}

.lcp-page-shell-team .lcp-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.lcp-page-shell-team .lcp-field label {
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.1px;
    color: #3a3a3c;
}

.lcp-page-shell-team .lcp-field input[type="text"],
.lcp-page-shell-team .lcp-field input[type="email"],
.lcp-page-shell-team .lcp-field input[type="search"],
.lcp-page-shell-team .lcp-field select {
    font-family: inherit;
    font-size: 13px;
    color: #1d1d1f;
    background: #f5f5f7;
    border: 1px solid #e8e8ed;
    border-radius: 8px;
    padding: 8px 12px;
    outline: none;
    transition: border-color 0.18s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.18s cubic-bezier(0.4, 0, 0.2, 1);
}

.lcp-page-shell-team .lcp-field input:focus,
.lcp-page-shell-team .lcp-field select:focus {
    border-color: #1d1d1f;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(29, 29, 31, 0.06);
}

.lcp-page-shell-team .role-toggle {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.lcp-page-shell-team .role-btn {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 10px 16px;
    border-radius: 9px;
    border: 1.5px solid #e8e8ed;
    background: #f5f5f7;
    cursor: pointer;
    transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: left;
    font-family: inherit;
}

.lcp-page-shell-team .role-btn:hover {
    border-color: #aeaeb2;
    background: #fff;
}

.lcp-page-shell-team .role-btn.is-active,
.lcp-page-shell-team .role-btn.active {
    border-color: #1d1d1f;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(29, 29, 31, 0.06);
}

.lcp-page-shell-team .role-btn strong {
    font-size: 13px;
    font-weight: 600;
    color: #1d1d1f;
}

.lcp-page-shell-team .role-btn small {
    font-size: 11px;
    color: #8e8e93;
    line-height: 1.4;
}

.lcp-page-shell-team .check-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 6px;
}

.lcp-page-shell-team .lcp-check-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 7px;
    border: 1px solid #e8e8ed;
    background: #f5f5f7;
    cursor: pointer;
    transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
}

.lcp-page-shell-team .lcp-check-item:hover {
    border-color: #aeaeb2;
    background: #fff;
}

.lcp-page-shell-team .lcp-check-item input[type="checkbox"] {
    display: none;
}

.lcp-page-shell-team .check-box {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    border: 1.5px solid #e8e8ed;
    background: #fff;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    color: white;
    transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
}

.lcp-page-shell-team .lcp-check-item.checked .check-box,
.lcp-page-shell-team .lcp-check-item input[type="checkbox"]:checked + .check-box {
    background: #1d1d1f;
    border-color: #1d1d1f;
}

.lcp-page-shell-team .lcp-check-item.checked .check-box::after,
.lcp-page-shell-team .lcp-check-item input[type="checkbox"]:checked + .check-box::after {
    content: "✓";
}

.lcp-page-shell-team .lcp-check-item.checked {
    border-color: #e8e8ed;
    background: #fff;
}

.lcp-page-shell-team .check-label {
    font-size: 12.5px;
    color: #3a3a3c;
    font-weight: 500;
}

.lcp-page-shell-team .resource-check-list {
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #e8e8ed;
    border-radius: 8px;
    background: #f5f5f7;
}

.lcp-page-shell-team .resource-check-list.is-compact {
    max-height: 220px;
}

.lcp-page-shell-team .resource-check-list label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-bottom: 1px solid #f0f0f5;
    cursor: pointer;
    font-size: 13px;
    color: #3a3a3c;
    transition: background 0.18s cubic-bezier(0.4, 0, 0.2, 1);
}

.lcp-page-shell-team .resource-check-list label:last-child {
    border-bottom: none;
}

.lcp-page-shell-team .resource-check-list label:hover {
    background: #fff;
}

.lcp-page-shell-team .resource-check-list input[type="checkbox"] {
    accent-color: #1d1d1f;
    flex-shrink: 0;
}

.lcp-page-shell-team .no-access-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    margin-bottom: 8px;
    background: rgba(255, 59, 48, 0.05);
    border: 1px solid rgba(255, 59, 48, 0.15);
    border-radius: 7px;
    cursor: pointer;
    font-size: 12.5px;
    color: #ff3b30;
    font-weight: 500;
}

.lcp-page-shell-team .no-access-row input {
    accent-color: #ff3b30;
}

.lcp-page-shell-team .step-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-top: 1px solid #f0f0f5;
    background: #f5f5f7;
}

.lcp-page-shell-team .btn-secondary,
.lcp-page-shell-team .btn-submit,
.lcp-page-shell-team .btn-primary {
    min-height: 0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 13px;
    padding: 7px 14px;
}

.lcp-page-shell-team .btn-secondary {
    background: #fff;
    color: #3a3a3c;
    border: 1px solid #e8e8ed;
    font-weight: 500;
}

.lcp-page-shell-team .btn-secondary:hover {
    border-color: #aeaeb2;
    color: #1d1d1f;
}

.lcp-page-shell-team .btn-primary {
    background: #1d1d1f;
    color: #fff;
    border: none;
    font-weight: 500;
}

.lcp-page-shell-team .btn-submit {
    background: #34c759;
    color: #fff;
    border: none;
    font-weight: 600;
}

.lcp-page-shell-team .help-card {
    background: #fff;
    border: 1px solid #e8e8ed;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 16px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    margin-bottom: 16px;
}

.lcp-page-shell-team .help-card-head {
    padding: 14px 16px 12px;
    border-bottom: 1px solid #f0f0f5;
    background: #f5f5f7;
}

.lcp-page-shell-team .help-card-head h4 {
    font-size: 13px;
    font-weight: 600;
    color: #1d1d1f;
    margin: 0;
}

.lcp-page-shell-team .help-card-body {
    padding: 14px 16px;
}

.lcp-page-shell-team .help-step {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f5;
}

.lcp-page-shell-team .help-step:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.lcp-page-shell-team .help-step-num {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(29, 29, 31, 0.06);
    border: 1px solid #e8e8ed;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    color: #1d1d1f;
    flex-shrink: 0;
    margin-top: 1px;
}

.lcp-page-shell-team .help-step-num.done {
    background: rgba(52, 199, 89, 0.1);
    border-color: #34c759;
    color: #34c759;
}

.lcp-page-shell-team .help-step-num.active {
    background: #1d1d1f;
    border-color: #1d1d1f;
    color: #fff;
}

.lcp-page-shell-team .help-step-text strong {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    color: #3a3a3c;
    margin-bottom: 1px;
}

.lcp-page-shell-team .help-step-text small {
    font-size: 11.5px;
    color: #8e8e93;
    line-height: 1.4;
}

.lcp-page-shell-team .members-card {
    margin-top: 0;
}

.lcp-page-shell-team .member-row:hover,
.lcp-page-shell-team .member-row.expanded {
    background: #f5f5f7;
}

.lcp-page-shell-team .member-info {
    flex: 1;
    min-width: 0;
}

.lcp-page-shell-team .member-name-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 2px;
}

.lcp-page-shell-team .member-display-name {
    font-size: 13px;
    font-weight: 600;
    color: #1d1d1f;
}

.lcp-page-shell-team .member-login {
    font-size: 11.5px;
    color: #8e8e93;
}

.lcp-page-shell-team .member-email {
    font-size: 12px;
    color: #aeaeb2;
}

.lcp-page-shell-team .member-badges {
    display: flex;
    gap: 5px;
    flex-shrink: 0;
}

.lcp-page-shell-team .member-chevron {
    color: #aeaeb2;
    font-size: 11px;
    transition: transform 0.18s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.lcp-page-shell-team .member-row.expanded .member-chevron {
    transform: rotate(180deg);
}

.lcp-page-shell-team .member-detail.open {
    max-height: 2200px;
}

.lcp-page-shell-team .member-detail-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 12px 16px;
}

.lcp-page-shell-team .detail-stat-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #aeaeb2;
}

.lcp-page-shell-team .detail-stat-value {
    margin-top: 4px;
    font-size: 12px;
    color: #1d1d1f;
    font-weight: 600;
}

.lcp-page-shell-team .member-detail .lcp-team-resource-accordions,
.lcp-page-shell-team .member-detail .lcp-form {
    padding: 0 16px 12px;
}

.lcp-page-shell-team .detail-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding: 0 16px 14px;
}

.lcp-page-shell-team .detail-btn:hover {
    border-color: #aeaeb2;
}

.lcp-page-shell-team .detail-btn.danger {
    color: #ff3b30;
    border-color: rgba(255, 59, 48, 0.25);
    background: rgba(255, 59, 48, 0.05);
}

.lcp-page-shell-team .invitations-card {
    margin-top: 0;
}

.lcp-page-shell-team .invitation-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f5;
}

.lcp-page-shell-team .invitation-row:last-child {
    border-bottom: none;
}

.lcp-page-shell-team .invitation-email {
    font-size: 13px;
    font-weight: 500;
    color: #1d1d1f;
    margin-bottom: 2px;
}

.lcp-page-shell-team .invitation-meta {
    font-size: 11.5px;
    color: #aeaeb2;
}

.lcp-page-shell-team .invitation-badges {
    display: flex;
    gap: 5px;
    flex-shrink: 0;
}

.lcp-page-shell-team .lcp-team-members-pill {
    font-size: 11.5px;
    color: #8e8e93;
    background: #f5f5f7;
    border: 1px solid #e8e8ed;
    border-radius: 20px;
    padding: 2px 10px;
}

.lcp-page-shell-team .lcp-team-restriction-note {
    font-size: 12.5px;
    color: #8e8e93;
    margin: 0 0 2px;
    line-height: 1.6;
    padding: 10px 12px;
    background: rgba(0, 122, 255, 0.08);
    border-radius: 8px;
    border: 1px solid rgba(0, 122, 255, 0.12);
}

.lcp-page-shell-team .lcp-team-restriction-note strong {
    color: #007aff;
    display: block;
    margin-bottom: 3px;
}

@media (max-width: 1200px) {
    .lcp-page-shell-team .team-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .lcp-page-shell-team .lcp-form-grid-two {
        grid-template-columns: 1fr;
    }

    .lcp-page-shell-team .member-detail-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 700px) {
    .lcp-page-shell-team .member-row {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .lcp-page-shell-team .member-badges {
        width: 100%;
    }

    .lcp-page-shell-team .member-detail-grid {
        grid-template-columns: 1fr;
    }
}
.lcp-resource-card.is-selected {
    border-color: rgba(13, 148, 136, 0.42);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(240, 253, 250, 0.94));
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.12), 0 18px 36px rgba(13, 148, 136, 0.12);
}

.lcp-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.lcp-field {
    display: grid;
    gap: 8px;
}

.lcp-field label {
    font-weight: 700;
    font-size: 0.92rem;
}

.lcp-page-shell-team .lcp-field input[type="text"],
.lcp-page-shell-team .lcp-field input[type="email"],
.lcp-page-shell-team .lcp-field input[type="search"],
.lcp-page-shell-team .lcp-field input[type="tel"],
.lcp-page-shell-team .lcp-field select {
    box-sizing: border-box;
    width: 100%;
    min-height: 40px;
    height: 40px;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid #e8e8ed;
    background: #f5f5f7;
    font-family: inherit;
    font-size: 13px;
    line-height: 1.4;
    color: #1d1d1f;
}

.lcp-page-shell-team .lcp-field input[type="text"]:focus,
.lcp-page-shell-team .lcp-field input[type="email"]:focus,
.lcp-page-shell-team .lcp-field input[type="search"]:focus,
.lcp-page-shell-team .lcp-field input[type="tel"]:focus,
.lcp-page-shell-team .lcp-field select:focus {
    border-color: #1d1d1f;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(29, 29, 31, 0.06);
    outline: none;
}

.lcp-dropzone {
    border: 2px dashed rgba(15, 23, 42, 0.18);
    border-radius: 18px;
    padding: 28px;
    text-align: center;
    background: rgba(255, 255, 255, 0.7);
    margin-top: 12px;
    cursor: pointer;
    transition: border-color 0.18s ease, background 0.18s ease;
}

.lcp-dropzone.tm-dragover {
    border-color: rgba(10, 132, 255, 0.6);
    background: rgba(10, 132, 255, 0.08);
}

.lcp-inline-feedback {
    margin-top: 12px;
    min-height: 20px;
}

.lcp-empty-state {
    margin: 0;
    color: var(--lcp-muted);
}

@media (max-width: 900px) {

    .lcp-form-grid {
        grid-template-columns: 1fr;
    }
}

.lcp-btn-secondary {
    color: #0f3a6b;
    background: rgba(10, 132, 255, 0.1);
    border: 1px solid rgba(10, 132, 255, 0.18);
    box-shadow: none;
}

.lcp-btn-secondary:hover,
.lcp-btn-secondary:focus,
.lcp-btn-secondary:focus-visible,
.lcp-btn-secondary:active {
    color: #0f4c5c;
    background: rgba(20, 184, 166, 0.14);
    border-color: rgba(13, 148, 136, 0.3);
    box-shadow: 0 12px 24px rgba(13, 148, 136, 0.12);
}

.lcp-detail-card {
    display: grid;
    gap: 6px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(248, 250, 252, 0.82);
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.lcp-detail-card-label {
    color: var(--lcp-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 800;
}

.lcp-form-grid-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lcp-detail-note {
    margin: 0 0 16px;
    color: var(--lcp-muted);
    line-height: 1.55;
}

.lcp-schedule-row {
    display: grid;
    grid-template-columns: 1.15fr 1fr 1fr auto;
    gap: 12px;
    align-items: end;
    padding: 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.lcp-inline-feedback.is-error {
    color: #b42318;
}

.lcp-inline-feedback.is-success {
    color: #1f7a38;
}

.lcp-inline-feedback.is-warning {
    color: #8a4b00;
}

@media (max-width: 900px) {
    .lcp-form-grid-two,
    .lcp-schedule-row {
        grid-template-columns: 1fr;
    }
}

.lcp-page-shell {
    display: grid;
    gap: 20px;
}

.lcp-page-shell .lcp-grid {
    gap: 20px;
}

.lcp-page-banner::after {
    content: "";
    position: absolute;
    right: -26px;
    bottom: -34px;
    width: 190px;
    height: 190px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(10, 132, 255, 0.17), rgba(10, 132, 255, 0));
    pointer-events: none;
}

.lcp-page-banner-hunting {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.14), rgba(255, 255, 255, 0.94) 56%, rgba(248, 250, 252, 0.98));
}

.lcp-page-banner-hunting::after {
    background: radial-gradient(circle, rgba(20, 184, 166, 0.18), rgba(20, 184, 166, 0));
}

.lcp-page-banner-copy,
.lcp-page-banner-stats {
    position: relative;
    z-index: 1;
}

.lcp-page-banner-copy {
    display: grid;
    gap: 10px;
    align-content: start;
    min-width: 0;
}

.lcp-page-banner-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(10, 132, 255, 0.12);
    color: #0b5bb6;
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.lcp-page-banner-hunting .lcp-page-banner-kicker {
    background: rgba(20, 184, 166, 0.14);
    color: #0f766e;
}

.lcp-page-banner h2 {
    margin: 0;
    font-size: clamp(1.55rem, 2vw, 2.15rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
    color: #0f172a;
}

.lcp-page-banner p {
    margin: 0;
    max-width: 70ch;
    color: #475569;
    line-height: 1.6;
}

.lcp-page-banner-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    align-content: stretch;
}

.lcp-page-banner-hunting .lcp-page-banner-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lcp-page-stat {
    display: grid;
    gap: 8px;
    align-content: start;
    min-width: 0;
    padding: 16px 18px;
    border-radius: 20px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(255, 255, 255, 0.86);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.lcp-page-stat-label {
    color: #64748b;
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.lcp-page-stat strong {
    color: #0f172a;
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
}

.lcp-surface-card {
    padding: 20px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.92));
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.06);
}

.lcp-surface-card-overview {
    border-color: rgba(10, 132, 255, 0.16);
}

.lcp-surface-card-live {
    border-color: rgba(14, 165, 233, 0.16);
}

.lcp-surface-card-hunting {
    border-color: rgba(20, 184, 166, 0.2);
}

.lcp-surface-card-muted {
    border-color: rgba(15, 23, 42, 0.08);
}

.lcp-section-head {
    align-items: flex-start;
    margin-bottom: 18px;
}

.lcp-section-title {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.lcp-section-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 28px;
    padding: 0 11px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.06);
    color: #475569;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.lcp-surface-card-overview .lcp-section-kicker {
    background: rgba(10, 132, 255, 0.12);
    color: #0b5bb6;
}

.lcp-surface-card-live .lcp-section-kicker {
    background: rgba(14, 165, 233, 0.12);
    color: #0369a1;
}

.lcp-surface-card-hunting .lcp-section-kicker {
    background: rgba(20, 184, 166, 0.14);
    color: #0f766e;
}

.lcp-section-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.05);
    color: #334155;
    font-size: 0.8rem;
    font-weight: 800;
    white-space: nowrap;
}

.lcp-surface-card .lcp-table-wrap {
    border-radius: 20px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.lcp-surface-card .lcp-table th {
    background: rgba(248, 250, 252, 0.96);
}

.lcp-surface-card .lcp-table td {
    background: rgba(255, 255, 255, 0.92);
}

.lcp-surface-card .lcp-table tbody tr:nth-child(even) td {
    background: rgba(248, 250, 252, 0.52);
}

.lcp-surface-card-hunting .lcp-hunting-summary-row td {
    background: rgba(255, 255, 255, 0.94);
}

.lcp-surface-card-hunting .lcp-hunting-live-block {
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.92));
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.lcp-surface-card-muted .lcp-history-mobile-main {
    gap: 10px;
}

@media (max-width: 1180px) {
    .lcp-page-banner {
        grid-template-columns: 1fr;
    }

    .lcp-page-banner-stats,
    .lcp-page-banner-hunting .lcp-page-banner-stats {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    }
}

@media (max-width: 900px) {
    .lcp-page-banner {
        padding: 20px;
        border-radius: 24px;
    }

    .lcp-page-banner::after {
        width: 150px;
        height: 150px;
    }

    .lcp-surface-card {
        padding: 18px;
    }

    .lcp-section-count {
        align-self: flex-start;
    }
}

@media (max-width: 560px) {
    .lcp-page-banner {
        padding: 18px;
    }

    .lcp-page-banner h2 {
        font-size: 1.45rem;
    }

    .lcp-page-stat {
        padding: 14px 15px;
    }

    .lcp-page-stat strong {
        font-size: 1.4rem;
    }
}

/* Overview mobile refinement */
@media (max-width: 860px) {
    #lcp-overview-table,
    #lcp-calls-table {
        display: grid;
        gap: 14px;
        padding-inline: 2px;
    }

    #lcp-overview-table tr,
    #lcp-calls-table tr {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 16px;
        border-radius: 22px;
        border: 1px solid rgba(15, 23, 42, 0.08);
        background: rgba(255, 255, 255, 0.99);
        box-shadow: 0 12px 24px rgba(15, 23, 42, 0.07);
    }

    #lcp-overview-table td,
    #lcp-calls-table td {
        display: grid;
        grid-template-columns: minmax(98px, 118px) minmax(0, 1fr);
        gap: 12px;
        align-items: start;
        min-width: 0;
        padding: 12px 14px;
        border: 1px solid rgba(15, 23, 42, 0.06);
        border-radius: 16px;
        background: rgba(248, 250, 252, 0.9);
        font-size: 0.92rem;
    }

    #lcp-overview-table td::before,
    #lcp-calls-table td::before {
        content: attr(data-label);
        color: #64748b;
        font-size: 0.72rem;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        line-height: 1.2;
        align-self: center;
    }

    #lcp-overview-table td:first-child,
    #lcp-calls-table td:nth-child(2) {
        grid-template-columns: 1fr;
        gap: 6px;
        padding: 0 0 14px;
        margin: 0 0 2px;
        border: 0;
        border-bottom: 1px solid rgba(15, 23, 42, 0.08);
        border-radius: 0;
        background: transparent;
        font-size: 1rem;
        font-weight: 700;
        line-height: 1.5;
    }

    #lcp-overview-table td:first-child::before,
    #lcp-calls-table td:nth-child(2)::before {
        color: #94a3b8;
        margin: 0;
    }

    #lcp-overview-table .lcp-inline-status {
        align-items: center;
        gap: 8px;
        flex-wrap: nowrap;
    }

    #lcp-overview-table .lcp-inline-status span:last-child {
        font-weight: 700;
        color: #0f172a;
    }

    #lcp-calls-table td small {
        display: block;
        min-width: 0;
        white-space: normal;
        font-size: 0.94rem;
        line-height: 1.5;
    }

    #lcp-calls-table td:nth-child(2) small {
        font-size: 1rem;
        font-weight: 700;
        color: #0f172a;
    }

    #lcp-overview-table td[colspan],
    #lcp-calls-table td[colspan] {
        display: block;
        min-height: auto;
        padding: 10px 6px !important;
        border: 0;
        background: transparent;
        text-align: center;
    }

    #lcp-overview-table td[colspan]::before,
    #lcp-calls-table td[colspan]::before {
        display: none;
    }
}

@media (max-width: 520px) {
    #lcp-overview-table tr,
    #lcp-calls-table tr {
        padding: 14px;
        gap: 10px;
    }

    #lcp-overview-table td,
    #lcp-calls-table td {
        grid-template-columns: 1fr;
        gap: 6px;
        padding: 11px 12px;
    }

    #lcp-overview-table td::before,
    #lcp-calls-table td::before {
        align-self: start;
    }

    #lcp-overview-table td:first-child,
    #lcp-calls-table td:nth-child(2) {
        padding-bottom: 12px;
    }
}

/* Overview responsive layout */
@media (max-width: 1024px) {
    .lcp-card-head {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .lcp-card-head h3 {
        flex: 1 1 220px;
        min-width: 0;
    }

    .lcp-table-overview,
    .lcp-table-calls,
    .lcp-table-overview tbody,
    .lcp-table-calls tbody {
        display: block;
        width: 100%;
    }

    #lcp-overview-table,
    #lcp-calls-table {
        display: grid;
        width: 100%;
        gap: 16px;
        padding: 2px 0;
    }

    #lcp-overview-table tr,
    #lcp-calls-table tr {
        display: grid !important;
        width: 100%;
        margin: 0;
        box-sizing: border-box;
        border: 1px solid rgba(15, 23, 42, 0.08);
        border-radius: 22px;
        background: rgba(255, 255, 255, 0.99);
        box-shadow: 0 12px 24px rgba(15, 23, 42, 0.07);
    }

    #lcp-overview-table tr {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        padding: 18px;
    }

    #lcp-calls-table tr {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
        padding: 18px;
    }

    #lcp-overview-table td,
    #lcp-calls-table td {
        display: flex !important;
        flex-direction: column;
        align-items: flex-start;
        justify-content: space-between;
        gap: 8px;
        width: 100%;
        min-width: 0;
        margin: 0;
        padding: 14px 16px;
        border: 1px solid rgba(15, 23, 42, 0.06);
        border-radius: 18px;
        background: rgba(248, 250, 252, 0.92);
        box-sizing: border-box;
        overflow: hidden;
    }

    #lcp-overview-table td::before,
    #lcp-calls-table td::before {
        content: attr(data-label);
        margin-bottom: 2px;
        color: #64748b;
        font-size: 0.72rem;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        line-height: 1.2;
    }

    #lcp-overview-table td:first-child,
    #lcp-calls-table td:nth-child(2) {
        grid-column: 1 / -1;
        gap: 6px;
        padding: 0 0 14px;
        border: 0;
        border-bottom: 1px solid rgba(15, 23, 42, 0.08);
        border-radius: 0;
        background: transparent;
        font-size: 1.02rem;
        font-weight: 700;
        line-height: 1.55;
    }

    #lcp-overview-table td:first-child::before,
    #lcp-calls-table td:nth-child(2)::before {
        color: #94a3b8;
    }

    #lcp-overview-table td:nth-child(2),
    #lcp-overview-table td:nth-child(3),
    #lcp-calls-table td:nth-child(1),
    #lcp-calls-table td:nth-child(3),
    #lcp-calls-table td:nth-child(4) {
        min-height: 96px;
    }

    #lcp-overview-table .lcp-inline-status {
        display: flex;
        width: 100%;
        min-width: 0;
        align-items: center;
        gap: 10px;
        flex-wrap: wrap;
    }

    #lcp-overview-table .lcp-inline-status span:last-child {
        font-weight: 700;
        color: #0f172a;
    }

    #lcp-calls-table td small {
        display: block;
        width: 100%;
        min-width: 0;
        white-space: normal;
        font-size: 0.96rem;
        line-height: 1.5;
    }

    #lcp-calls-table td:nth-child(2) small {
        font-size: 1rem;
        font-weight: 700;
        color: #0f172a;
    }

    #lcp-overview-table td[colspan],
    #lcp-calls-table td[colspan] {
        display: block !important;
        min-height: auto;
        padding: 10px 6px !important;
        border: 0;
        background: transparent;
        text-align: center;
    }

    #lcp-overview-table td[colspan]::before,
    #lcp-calls-table td[colspan]::before {
        display: none;
    }
}

@media (max-width: 720px) {
    #lcp-overview-table,
    #lcp-calls-table {
        gap: 14px;
    }

    #lcp-calls-table tr {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #lcp-calls-table td:nth-child(4) {
        grid-column: 1 / -1;
        min-height: auto;
    }
}

@media (max-width: 560px) {
    #lcp-overview-table tr,
    #lcp-calls-table tr {
        grid-template-columns: 1fr;
        padding: 14px;
        gap: 10px;
    }

    #lcp-overview-table td,
    #lcp-calls-table td {
        min-height: auto;
        padding: 12px 13px;
        gap: 6px;
    }

    #lcp-overview-table td:first-child,
    #lcp-calls-table td:nth-child(2) {
        padding-bottom: 12px;
    }
}








/* Overview v2 style (inspired by Vue d'ensemble/vue2.html) */
@keyframes lcp-overview-fade-up {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.lcp-page-shell-overview {
    gap: 16px;
}

.lcp-page-shell-overview .lcp-page-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px 28px;
    border-radius: 12px;
    border: 1px solid #e8e8ed;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 16px rgba(0, 0, 0, 0.04);
    animation: lcp-overview-fade-up 0.3s 0.04s ease both;
    opacity: 0;
}

.lcp-page-shell-overview .lcp-page-banner::after {
    display: none;
}

.lcp-page-shell-overview .lcp-page-banner-copy {
    flex: 1;
    display: block;
}

.lcp-page-shell-overview .lcp-page-banner-kicker {
    display: block;
    margin: 0 0 6px;
    padding: 0;
    min-height: 0;
    border-radius: 0;
    background: transparent;
    color: #aeaeb2;
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.lcp-page-shell-overview .lcp-page-banner h2 {
    margin: 0 0 6px;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.18;
    color: #1d1d1f;
}

.lcp-page-shell-overview .lcp-page-banner p {
    margin: 0;
    max-width: 460px;
    color: #8e8e93;
    font-size: 0.82rem;
    line-height: 1.55;
}

.lcp-page-shell-overview .lcp-page-banner-stats {
    display: flex;
    gap: 32px;
    flex-shrink: 0;
}

.lcp-page-shell-overview .lcp-page-stat {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.lcp-page-shell-overview .lcp-page-stat-label {
    color: #aeaeb2;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.lcp-page-shell-overview .lcp-page-stat strong {
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: -0.06em;
    line-height: 1;
    color: #1d1d1f;
}

.lcp-page-shell-overview .lcp-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
    animation: lcp-overview-fade-up 0.35s 0.1s ease both;
    opacity: 0;
}

.lcp-page-shell-overview .lcp-card.lcp-surface-card,
.lcp-page-shell-overview .lcp-card.lcp-surface-card-muted {
    padding: 0;
    border: 1px solid #e8e8ed;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 16px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.lcp-page-shell-overview > .lcp-surface-card-muted {
    margin-bottom: 16px;
    opacity: 0;
    animation: lcp-overview-fade-up 0.35s 0.2s ease both;
}

.lcp-page-shell-overview > .lcp-surface-card-muted:nth-of-type(4) {
    animation-delay: 0.26s;
}

.lcp-page-shell-overview .lcp-card-head {
    padding: 18px 20px 14px;
    margin-bottom: 0;
    align-items: center;
    border-bottom: 1px solid #f0f0f5;
}

.lcp-page-shell-overview .lcp-section-title {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.lcp-page-shell-overview .lcp-section-title h3 {
    margin: 0;
    color: #1d1d1f;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.lcp-page-shell-overview .lcp-section-count {
    min-height: 0;
    padding: 2px 10px;
    border: 1px solid #e8e8ed;
    border-radius: 999px;
    background: #f5f5f7;
    color: #8e8e93;
    font-size: 0.72rem;
    font-weight: 600;
}

.lcp-page-shell-overview .lcp-table-wrap,
.lcp-page-shell-overview .lcp-surface-card .lcp-table-wrap {
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow-x: auto;
}

.lcp-page-shell-overview .lcp-table {
    width: 100%;
    min-width: 100%;
    border-collapse: collapse;
    background: transparent;
}

.lcp-page-shell-overview .lcp-table th {
    position: static;
    background: #f5f5f7;
    color: #aeaeb2;
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-bottom: 1px solid #e8e8ed;
    padding: 10px 20px;
}

.lcp-page-shell-overview .lcp-table td {
    background: transparent;
    color: #3a3a3c;
    border-bottom: 1px solid #f0f0f5;
    padding: 11px 20px;
    vertical-align: middle;
}

.lcp-page-shell-overview .lcp-table tbody tr:last-child td {
    border-bottom: 0;
}

.lcp-page-shell-overview .lcp-table tbody tr:hover td {
    background: #f5f5f7;
}

.lcp-page-shell-overview .lcp-empty {
    color: #aeaeb2;
    text-align: center;
    padding: 28px 20px !important;
    font-style: italic;
    font-size: 0.82rem;
}

.lcp-page-shell-overview .lcp-inline-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
}

.lcp-page-shell-overview .lcp-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.lcp-page-shell-overview .lcp-dot.neutral {
    background: #aeaeb2;
}

.lcp-page-shell-overview .lcp-dot.ok {
    background: #34c759;
    box-shadow: 0 0 0 3px rgba(52, 199, 89, 0.15);
}

.lcp-page-shell-overview .lcp-dot.warn {
    background: #ff9f0a;
    box-shadow: 0 0 0 3px rgba(255, 159, 10, 0.15);
}

.lcp-page-shell-overview .lcp-dot.danger {
    background: #ff3b30;
    box-shadow: 0 0 0 3px rgba(255, 59, 48, 0.15);
}

@media (max-width: 1180px) {
    .lcp-page-shell-overview .lcp-page-banner {
        flex-direction: column;
        align-items: flex-start;
    }

    .lcp-page-shell-overview .lcp-page-banner-stats {
        width: 100%;
        justify-content: space-between;
        gap: 16px;
    }

    .lcp-page-shell-overview .lcp-page-stat {
        align-items: flex-start;
    }
}

@media (max-width: 980px) {
    .lcp-page-shell-overview .lcp-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .lcp-page-shell-overview .lcp-page-banner {
        padding: 20px;
    }
}

@media (max-width: 1024px) {
    .lcp-page-shell-overview #lcp-overview-table,
    .lcp-page-shell-overview #lcp-calls-table {
        display: table-row-group !important;
        width: auto !important;
        gap: 0 !important;
        padding: 0 !important;
    }

    .lcp-page-shell-overview #lcp-overview-table tr,
    .lcp-page-shell-overview #lcp-calls-table tr {
        display: table-row !important;
        grid-template-columns: none !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    .lcp-page-shell-overview #lcp-overview-table td,
    .lcp-page-shell-overview #lcp-calls-table td {
        display: table-cell !important;
        min-height: 0 !important;
        width: auto !important;
        gap: 0 !important;
        margin: 0 !important;
        padding: 11px 20px !important;
        border: 0 !important;
        border-bottom: 1px solid #f0f0f5 !important;
        border-radius: 0 !important;
        background: transparent !important;
    }

    .lcp-page-shell-overview #lcp-overview-table td::before,
    .lcp-page-shell-overview #lcp-calls-table td::before {
        display: none !important;
        content: none !important;
    }

    .lcp-page-shell-overview #lcp-overview-table td[colspan],
    .lcp-page-shell-overview #lcp-calls-table td[colspan] {
        display: table-cell !important;
        text-align: center;
        padding: 20px !important;
        border-bottom: 0 !important;
    }
}

@media (max-width: 560px) {
    .lcp-page-shell-overview .lcp-page-banner {
        padding: 18px;
    }

    .lcp-page-shell-overview .lcp-page-banner h2 {
        font-size: 1.1rem;
    }
}
/* Hunting v2 style (inspired by Files/file.html) */
@keyframes lcp-hunting-fade-up {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.lcp-page-shell-hunting {
    gap: 16px;
}

.lcp-page-shell-hunting .lcp-page-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px 28px;
    border-radius: 12px;
    border: 1px solid #e8e8ed;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 16px rgba(0, 0, 0, 0.04);
    animation: lcp-hunting-fade-up 0.3s 0.04s ease both;
    opacity: 0;
}

.lcp-page-shell-hunting .lcp-page-banner::after {
    display: none;
}

.lcp-page-shell-hunting .lcp-page-banner-copy {
    flex: 1;
    display: block;
}

.lcp-page-shell-hunting .lcp-page-banner-kicker {
    display: block;
    margin: 0 0 6px;
    padding: 0;
    min-height: 0;
    border-radius: 0;
    background: transparent;
    color: #aeaeb2;
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.lcp-page-shell-hunting .lcp-page-banner h2 {
    margin: 0 0 6px;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.18;
    color: #1d1d1f;
}

.lcp-page-shell-hunting .lcp-page-banner p {
    margin: 0;
    max-width: 460px;
    color: #8e8e93;
    font-size: 0.82rem;
    line-height: 1.55;
}

.lcp-page-shell-hunting .lcp-page-banner-stats {
    display: flex;
    gap: 32px;
    flex-shrink: 0;
}

.lcp-page-shell-hunting .lcp-page-stat {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.lcp-page-shell-hunting .lcp-page-stat-label {
    color: #aeaeb2;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.lcp-page-shell-hunting .lcp-page-stat strong {
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: -0.06em;
    line-height: 1;
    color: #1d1d1f;
}

.lcp-page-shell-hunting > .lcp-card {
    margin-bottom: 16px;
    padding: 0;
    border: 1px solid #e8e8ed;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 16px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    opacity: 0;
    animation: lcp-hunting-fade-up 0.35s ease both;
}

.lcp-page-shell-hunting > .lcp-card:nth-child(2) {
    animation-delay: 0.1s;
}

.lcp-page-shell-hunting > .lcp-card:nth-child(3) {
    animation-delay: 0.2s;
}

.lcp-page-shell-hunting > .lcp-card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06), 0 8px 32px rgba(0, 0, 0, 0.06);
}

.lcp-page-shell-hunting .lcp-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px 14px;
    margin-bottom: 0;
    border-bottom: 1px solid #f0f0f5;
}

.lcp-page-shell-hunting .lcp-section-title {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.lcp-page-shell-hunting .lcp-section-title h3 {
    margin: 0;
    color: #1d1d1f;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.lcp-page-shell-hunting .lcp-table-wrap {
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.lcp-page-shell-hunting .lcp-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 100%;
}

.lcp-page-shell-hunting .lcp-table thead tr {
    border-bottom: 1px solid #e8e8ed;
}

.lcp-page-shell-hunting .lcp-table th {
    position: static;
    text-align: left;
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #aeaeb2;
    padding: 10px 20px;
    white-space: nowrap;
    background: #f5f5f7;
    border-bottom: 1px solid #e8e8ed;
}

.lcp-page-shell-hunting .lcp-table td {
    padding: 11px 20px;
    border-bottom: 1px solid #f0f0f5;
    color: #3a3a3c;
    vertical-align: middle;
    background: transparent;
}

.lcp-page-shell-hunting .lcp-table tbody tr:last-child td {
    border-bottom: 0;
}

.lcp-page-shell-hunting .lcp-table tbody tr:hover td {
    background: #f5f5f7;
}

.lcp-page-shell-hunting .lcp-empty {
    color: #aeaeb2;
    text-align: center;
    padding: 28px 20px !important;
    font-size: 0.82rem;
    font-style: italic;
}

.lcp-page-shell-hunting .lcp-hunting-summary-row td {
    background: #fafafa;
    font-weight: 500;
    border-bottom: 1px solid #f0f0f5;
}

.lcp-page-shell-hunting .lcp-hunting-summary-row:hover td {
    background: #f5f5f7;
}

.lcp-page-shell-hunting .lcp-type-pill {
    display: inline-flex;
    align-items: center;
    font-size: 0.69rem;
    font-weight: 500;
    padding: 2px 9px;
    border-radius: 20px;
    background: rgba(29, 29, 31, 0.06);
    color: #1d1d1f;
    border: 1px solid #e8e8ed;
    letter-spacing: -0.01em;
    min-height: 0;
}

.lcp-page-shell-hunting .lcp-type-pill.neutral {
    background: rgba(29, 29, 31, 0.06);
    color: #1d1d1f;
}

.lcp-page-shell-hunting .lcp-kpi {
    font-size: 0.82rem;
    font-weight: 500;
    color: #3a3a3c;
    display: inline-block;
    min-height: 0;
    min-width: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
}

.lcp-page-shell-hunting .lcp-kpi.strong {
    font-size: 0.88rem;
    font-weight: 600;
    color: #1d1d1f;
    background: transparent;
}

.lcp-page-shell-hunting .lcp-hunting-live-row td {
    padding: 0 !important;
    background: #f5f5f7;
    border-bottom: 0;
}

.lcp-page-shell-hunting .lcp-hunting-live-row:hover td {
    background: #f5f5f7;
}

.lcp-page-shell-hunting .lcp-hunting-live-block {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 20px;
    margin-top: 0;
    border: 0;
    border-top: 1px solid #f0f0f5;
    border-radius: 0;
    background: transparent;
}

.lcp-page-shell-hunting .lcp-hunting-live-block-second {
    border-top: 1px solid #f0f0f5;
}

.lcp-page-shell-hunting .lcp-hunting-live-title {
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #aeaeb2;
    white-space: nowrap;
    padding-top: 1px;
    min-width: 72px;
    margin-bottom: 0;
}

.lcp-page-shell-hunting .lcp-hunting-live-content {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    flex: 1;
}

.lcp-page-shell-hunting .lcp-muted {
    font-size: 0.78rem;
    color: #aeaeb2;
    font-style: italic;
}

.lcp-page-shell-hunting .lcp-table-hunting-history th:nth-child(5),
.lcp-page-shell-hunting .lcp-table-hunting-history th:nth-child(6),
.lcp-page-shell-hunting .lcp-table-hunting-history td:nth-child(5),
.lcp-page-shell-hunting .lcp-table-hunting-history td:nth-child(6) {
    text-align: right;
}

@media (max-width: 1180px) {
    .lcp-page-shell-hunting .lcp-page-banner {
        flex-direction: column;
        align-items: flex-start;
    }

    .lcp-page-shell-hunting .lcp-page-banner-stats {
        width: 100%;
        justify-content: space-between;
        gap: 16px;
    }

    .lcp-page-shell-hunting .lcp-page-stat {
        align-items: flex-start;
    }
}

@media (max-width: 900px) {
    .lcp-page-shell-hunting .lcp-page-banner {
        padding: 20px;
    }

    .lcp-page-shell-hunting .lcp-hunting-live-block {
        padding: 11px 16px;
    }
}

@media (max-width: 720px) {
    .lcp-page-shell-hunting .lcp-hunting-live-block {
        flex-direction: column;
        gap: 8px;
    }

    .lcp-page-shell-hunting .lcp-hunting-live-title {
        min-width: 0;
    }
}
/* Supervision v2 style (inspired by Supervision/supervision.html) */
@keyframes lcp-supervision-fade-up {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.lcp-page-shell-supervision {
    gap: 16px;
}

.lcp-page-shell-supervision .lcp-page-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px 28px;
    border-radius: 12px;
    border: 1px solid #e8e8ed;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 16px rgba(0, 0, 0, 0.04);
    animation: lcp-supervision-fade-up 0.3s 0.04s ease both;
    opacity: 0;
}

.lcp-page-shell-supervision .lcp-page-banner::after {
    display: none;
}

.lcp-page-shell-supervision .lcp-page-banner-copy {
    flex: 1;
    display: block;
}

.lcp-page-shell-supervision .lcp-page-banner-kicker {
    display: block;
    margin: 0 0 6px;
    padding: 0;
    min-height: 0;
    border-radius: 0;
    background: transparent;
    color: #aeaeb2;
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.lcp-page-shell-supervision .lcp-page-banner h2 {
    margin: 0 0 6px;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.18;
    color: #1d1d1f;
}

.lcp-page-shell-supervision .lcp-page-banner p {
    margin: 0;
    max-width: 460px;
    color: #8e8e93;
    font-size: 0.82rem;
    line-height: 1.55;
}

.lcp-page-shell-supervision .lcp-page-banner-stats {
    display: flex;
    gap: 32px;
    flex-shrink: 0;
}

.lcp-page-shell-supervision .lcp-page-stat {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.lcp-page-shell-supervision .lcp-page-stat-label {
    color: #aeaeb2;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.lcp-page-shell-supervision .lcp-page-stat strong {
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: -0.06em;
    line-height: 1;
    color: #1d1d1f;
}

.lcp-page-shell-supervision > .lcp-card {
    margin-bottom: 16px;
    padding: 0;
    border: 1px solid #e8e8ed;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 16px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    opacity: 0;
    animation: lcp-supervision-fade-up 0.35s ease both;
}

.lcp-page-shell-supervision > .lcp-card:nth-child(2) {
    animation-delay: 0.1s;
}

.lcp-page-shell-supervision > .lcp-card:nth-child(3) {
    animation-delay: 0.2s;
}

.lcp-page-shell-supervision > .lcp-card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06), 0 8px 32px rgba(0, 0, 0, 0.06);
}

.lcp-page-shell-supervision .lcp-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px 14px;
    margin-bottom: 0;
    border-bottom: 1px solid #f0f0f5;
}

.lcp-page-shell-supervision .lcp-section-head {
    margin-bottom: 0;
}

.lcp-page-shell-supervision .lcp-section-title {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.lcp-page-shell .lcp-section-kicker {
    display: block;
    margin: 0 0 6px;
    padding: 0;
    min-height: 0;
    width: auto;

    background: transparent;
    border-radius: 0;

    font-size: 10px;
    font-weight: 600;
    color: #aeaeb2;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}
.lcp-page-shell-supervision .lcp-section-title h3 {
    margin: 0;
    color: #1d1d1f;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.lcp-page-shell-supervision #lcp-supervision-queue-label {
    display: inline-flex;
    align-items: center;
    min-height: 0;
    padding: 2px 10px;
    border: 1px solid #e8e8ed;
    border-radius: 999px;
    background: #f5f5f7;
    color: #8e8e93;
    font-size: 0.72rem;
    font-weight: 600;
}

.lcp-page-shell-supervision .lcp-form-grid {
    display: grid;
    gap: 16px;
    padding: 20px;
}

.lcp-page-shell-supervision .lcp-form-grid-two {
    grid-template-columns: 1fr 1fr;
}

.lcp-page-shell-supervision .lcp-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.lcp-page-shell-supervision .lcp-field label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: #3a3a3c;
}

.lcp-page-shell-supervision .lcp-field select,
.lcp-page-shell-supervision .lcp-field input[type="text"] {
    font-family: inherit;
    font-size: 0.82rem;
    color: #1d1d1f;
    background: #f5f5f7;
    border: 1px solid #e8e8ed;
    border-radius: 8px;
    padding: 8px 12px;
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
    appearance: none;
    -webkit-appearance: none;
}

.lcp-page-shell-supervision .lcp-field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23aeaeb2' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
    cursor: pointer;
}

.lcp-page-shell-supervision .lcp-field select:hover,
.lcp-page-shell-supervision .lcp-field input[type="text"]:hover {
    border-color: #c8c8cd;
}

.lcp-page-shell-supervision .lcp-field select:focus,
.lcp-page-shell-supervision .lcp-field input[type="text"]:focus {
    border-color: #1d1d1f;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(29, 29, 31, 0.06);
}

.lcp-page-shell-supervision .lcp-detail-note {
    font-size: 0.72rem;
    color: #aeaeb2;
    line-height: 1.5;
    margin-top: 4px;
}

.lcp-page-shell-supervision #lcp-supervision-note {
    font-size: 0.72rem;
    color: #aeaeb2;
    padding: 12px 20px;
    border-top: 1px solid #f0f0f5;
    background: #f5f5f7;
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
}

.lcp-page-shell-supervision #lcp-supervision-note::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #34c759;
    box-shadow: 0 0 0 3px rgba(52, 199, 89, 0.15);
    flex: 0 0 auto;
}

.lcp-page-shell-supervision #lcp-supervision-refresh {
    min-height: 0;
    font-size: 0.78rem;
    font-weight: 500;
    border: 1px solid #e8e8ed;
    border-radius: 8px;
    background: #f5f5f7;
    color: #3a3a3c;
    padding: 6px 13px;
    box-shadow: none;
}

.lcp-page-shell-supervision #lcp-supervision-refresh:hover,
.lcp-page-shell-supervision #lcp-supervision-refresh:focus-visible {
    background: #ffffff;
    border-color: #c8c8cd;
    color: #1d1d1f;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.lcp-page-shell-supervision .lcp-inline-feedback {
    margin: 0 20px 4px;
    padding: 8px 12px;
    border: 1px solid #e8e8ed;
    border-radius: 7px;
    background: #f5f5f7;
    color: #8e8e93;
    font-size: 0.78rem;
    min-height: 0;
}

.lcp-page-shell-supervision .lcp-table-wrap {
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.lcp-page-shell-supervision .lcp-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 100%;
}

.lcp-page-shell-supervision .lcp-table thead tr {
    border-bottom: 1px solid #e8e8ed;
}

.lcp-page-shell-supervision .lcp-table th {
    position: static;
    text-align: left;
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #aeaeb2;
    padding: 10px 20px;
    white-space: nowrap;
    background: #f5f5f7;
    border-bottom: 1px solid #e8e8ed;
}

.lcp-page-shell-supervision .lcp-table td {
    padding: 11px 20px;
    border-bottom: 1px solid #f0f0f5;
    color: #3a3a3c;
    vertical-align: middle;
    background: transparent;
}

.lcp-page-shell-supervision .lcp-table tbody tr:last-child td {
    border-bottom: 0;
}

.lcp-page-shell-supervision .lcp-table tbody tr:hover td {
    background: #f5f5f7;
}

.lcp-page-shell-supervision .lcp-empty {
    color: #aeaeb2;
    text-align: center;
    padding: 32px 20px !important;
    font-size: 0.82rem;
    font-style: italic;
}

.lcp-page-shell-supervision .lcp-supervision-primary {
    font-size: 0.84rem;
    font-weight: 600;
    color: #1d1d1f;
}

.lcp-page-shell-supervision .lcp-supervision-secondary {
    margin-top: 4px;
    font-size: 0.74rem;
    color: #8e8e93;
}

.lcp-page-shell-supervision .lcp-supervision-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.lcp-page-shell-supervision .lcp-supervision-action {
    min-height: 30px;
    padding: 0 10px;
    border-radius: 8px;
    font-size: 0.72rem;
    font-weight: 600;
}

@media (max-width: 1180px) {
    .lcp-page-shell-supervision .lcp-page-banner {
        flex-direction: column;
        align-items: flex-start;
    }

    .lcp-page-shell-supervision .lcp-page-banner-stats {
        width: 100%;
        justify-content: space-between;
        gap: 16px;
    }

    .lcp-page-shell-supervision .lcp-page-stat {
        align-items: flex-start;
    }
}

@media (max-width: 960px) {
    .lcp-page-shell-supervision .lcp-form-grid-two {
        grid-template-columns: 1fr;
    }

    .lcp-page-shell-supervision .lcp-supervision-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 720px) {
    .lcp-page-shell-supervision .lcp-card-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .lcp-page-shell-supervision #lcp-supervision-queue-label {
        align-self: flex-start;
    }

    .lcp-page-shell-supervision .lcp-page-banner {
        padding: 20px;
    }
}

.lcp-supervision-card {
    min-width: 0;
}

.lcp-supervision-filters {
    align-items: end;
}

.lcp-table-supervision td {
    vertical-align: middle;
}

.lcp-supervision-primary {
    font-weight: 700;
    color: var(--lcp-text);
}

.lcp-supervision-secondary {
    margin-top: 4px;
    color: var(--lcp-muted);
    font-size: 0.88rem;
}

.lcp-supervision-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

@media (max-width: 900px) {
    .lcp-supervision-actions {
        justify-content: flex-start;
    }
}









/* Final alignment: Collaborateurs page close to Collaborateurs/collaborateurs.html */
.lcp-page-shell-team .lcp-team-members-stack {
    display: block;
    gap: 0;
}

.lcp-page-shell-team .member-row {
    border-bottom: none;
}

.lcp-page-shell-team .member-detail {
    border-top: 1px solid #eceef3;
    border-bottom: none;
}

.lcp-page-shell-team .member-row:hover,
.lcp-page-shell-team .member-row.expanded {
    background: #f6f7fb;
}

/* Step 3 restrictions compact layout (aligned with Collaborateurs/collaborateurs.html) */
.lcp-page-shell-team [data-team-step-panel="2"] .lcp-team-resource-accordion-body {
    padding: 10px 12px 12px;
}

.lcp-page-shell-team [data-team-step-panel="2"] .lcp-form-grid {
    gap: 10px;
    margin-bottom: 0;
}

.lcp-page-shell-team [data-team-step-panel="2"] .lcp-field > label {
    font-size: 11px;
    margin-bottom: 2px;
}

.lcp-page-shell-team [data-team-step-panel="2"] .lcp-team-resource-field {
    gap: 6px;
}

.lcp-page-shell-team [data-team-step-panel="2"] .resource-check-list,
.lcp-page-shell-team [data-team-step-panel="2"] .resource-check-list.is-compact {
    max-height: 150px;
    border-radius: 7px;
}

.lcp-page-shell-team [data-team-step-panel="2"] .resource-check-list label {
    padding: 6px 9px;
    gap: 6px;
    font-size: 12px;
    line-height: 1.3;
}

.lcp-page-shell-team [data-team-step-panel="2"] .resource-check-list input[type="checkbox"] {
    width: 14px;
    height: 14px;
}

.lcp-page-shell-team [data-team-step-panel="2"] .no-access-row {
    padding: 6px 9px;
    margin-bottom: 6px;
    border-radius: 6px;
    font-size: 11.5px;
    line-height: 1.3;
}

/* Restrictions UI parity (create step + existing member edit) */
.lcp-page-shell-team [data-team-step-panel="2"] .lcp-team-resource-accordion,
.lcp-page-shell-team .member-detail .lcp-team-resource-accordion {
    border: 1px solid #e8e8ed;
    border-radius: 12px;
    background: #ffffff;
}

.lcp-page-shell-team [data-team-step-panel="2"] .lcp-team-resource-accordion summary,
.lcp-page-shell-team .member-detail .lcp-team-resource-accordion summary {
    padding: 10px 12px;
    background: #f5f5f7;
}

.lcp-page-shell-team [data-team-step-panel="2"] .lcp-team-resource-accordion-body,
.lcp-page-shell-team .member-detail .lcp-team-resource-accordion-body {
    padding: 10px 12px 12px;
}

.lcp-page-shell-team [data-team-step-panel="2"] .lcp-form-grid,
.lcp-page-shell-team .member-detail .lcp-form-grid {
    gap: 10px;
    margin-bottom: 0;
}

.lcp-page-shell-team [data-team-step-panel="2"] .lcp-team-resource-field,
.lcp-page-shell-team .member-detail .lcp-team-resource-field {
    gap: 6px;
}

.lcp-page-shell-team [data-team-step-panel="2"] .resource-check-list,
.lcp-page-shell-team [data-team-step-panel="2"] .resource-check-list.is-compact,
.lcp-page-shell-team [data-team-step-panel="2"] .lcp-team-resource-list,
.lcp-page-shell-team [data-team-step-panel="2"] .lcp-team-resource-list.is-compact,
.lcp-page-shell-team .member-detail .resource-check-list,
.lcp-page-shell-team .member-detail .resource-check-list.is-compact,
.lcp-page-shell-team .member-detail .lcp-team-resource-list,
.lcp-page-shell-team .member-detail .lcp-team-resource-list.is-compact {
    max-height: 150px;
    border: 1px solid #e8e8ed;
    border-radius: 8px;
    background: #f5f5f7;
}

.lcp-page-shell-team [data-team-step-panel="2"] .resource-check-list label,
.lcp-page-shell-team [data-team-step-panel="2"] .lcp-team-resource-item,
.lcp-page-shell-team .member-detail .resource-check-list label,
.lcp-page-shell-team .member-detail .lcp-team-resource-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 9px;
    border-bottom: 1px solid #f0f0f5;
    font-size: 12px;
    color: #3a3a3c;
    line-height: 1.3;
}

.lcp-page-shell-team [data-team-step-panel="2"] .resource-check-list label:last-child,
.lcp-page-shell-team [data-team-step-panel="2"] .lcp-team-resource-item:last-child,
.lcp-page-shell-team .member-detail .resource-check-list label:last-child,
.lcp-page-shell-team .member-detail .lcp-team-resource-item:last-child {
    border-bottom: none;
}

.lcp-page-shell-team [data-team-step-panel="2"] .resource-check-list label:hover,
.lcp-page-shell-team [data-team-step-panel="2"] .lcp-team-resource-item:hover,
.lcp-page-shell-team .member-detail .resource-check-list label:hover,
.lcp-page-shell-team .member-detail .lcp-team-resource-item:hover {
    background: #ffffff;
}

.lcp-page-shell-team [data-team-step-panel="2"] .resource-check-list input[type="checkbox"],
.lcp-page-shell-team [data-team-step-panel="2"] .lcp-team-resource-item input[type="checkbox"],
.lcp-page-shell-team [data-team-step-panel="2"] .lcp-team-no-access-row input[type="checkbox"],
.lcp-page-shell-team [data-team-step-panel="2"] .no-access-row input[type="checkbox"],
.lcp-page-shell-team .member-detail .resource-check-list input[type="checkbox"],
.lcp-page-shell-team .member-detail .lcp-team-resource-item input[type="checkbox"],
.lcp-page-shell-team .member-detail .lcp-team-no-access-row input[type="checkbox"],
.lcp-page-shell-team .member-detail .no-access-row input[type="checkbox"] {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.lcp-page-shell-team [data-team-step-panel="2"] .no-access-row,
.lcp-page-shell-team [data-team-step-panel="2"] .lcp-team-no-access-row,
.lcp-page-shell-team .member-detail .no-access-row,
.lcp-page-shell-team .member-detail .lcp-team-no-access-row {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 9px;
    margin-bottom: 6px;
    background: rgba(255, 59, 48, 0.05);
    border: 1px solid rgba(255, 59, 48, 0.15);
    border-radius: 6px;
    font-size: 11.5px;
    font-weight: 500;
    color: #ff3b30;
    line-height: 1.3;
}

/* Team page: strict visual alignment with Collaborateurs/collaborateurs.html */
.lcp-page-shell-team {
    --bg: #f5f5f7;
    --white: #ffffff;
    --surface: #fafafa;
    --border: #e8e8ed;
    --border-soft: #f0f0f5;
    --ink: #1d1d1f;
    --ink2: #3a3a3c;
    --muted: #8e8e93;
    --muted2: #aeaeb2;
    --accent: #1d1d1f;
    --accent-soft: rgba(29, 29, 31, 0.06);
    --success: #34c759;
    --success-soft: rgba(52, 199, 89, 0.1);
    --warning: #ff9f0a;
    --danger: #ff3b30;
    --info: #007aff;
    --info-soft: rgba(0, 122, 255, 0.08);
}

.lcp-page-shell-team .lcp-page-banner {
    background: #ffffff;
    border: 1px solid #e8e8ed;
    border-radius: 12px;
    padding: 24px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 16px rgba(0, 0, 0, 0.04);
}

.lcp-page-shell-team .lcp-page-banner::after {
    display: none;
}

.lcp-page-shell-team .lcp-page-banner-copy {
    flex: 1;
    display: block;
    min-width: 0;
}

.lcp-page-shell-team .lcp-page-banner-kicker {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: #aeaeb2;
    display: block;
    margin-bottom: 6px;
    background: transparent;
    min-height: 0;
    width: auto;
    padding: 0;
    border-radius: 0;
}

.lcp-page-shell-team .lcp-page-banner h2 {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.6px;
    color: #1d1d1f;
    margin: 0 0 6px;
    line-height: 1.2;
}

.lcp-page-shell-team .lcp-page-banner p {
    font-size: 13px;
    color: #8e8e93;
    line-height: 1.55;
    max-width: 460px;
    margin: 0;
}

.lcp-page-shell-team .lcp-page-banner-stats {
    display: flex;
    gap: 32px;
    flex-shrink: 0;
}

.lcp-page-shell-team .lcp-page-stat {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    padding: 0;
    border: none;
    background: transparent;
    box-shadow: none;
}

.lcp-page-shell-team .lcp-page-stat-label {
    font-size: 10.5px;
    font-weight: 500;
    color: #aeaeb2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lcp-page-shell-team .lcp-page-stat strong {
    font-size: 26px;
    font-weight: 600;
    letter-spacing: -1px;
    color: #1d1d1f;
    line-height: 1;
}

@media (max-width: 900px) {
    .lcp-page-shell-team .lcp-page-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }

    .lcp-page-shell-team .lcp-page-banner-stats {
        gap: 20px;
    }

    .lcp-page-shell-team .lcp-page-stat {
        align-items: flex-start;
    }
}


/* =============================================================
   Mes lignes — page complète
   ============================================================= */

.lcp-page[data-page="lines"] {
    position: relative;
    flex: 1;
    min-height: 0;
}

.lcp-lines-page-wrap {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* ── Content wrap (liste + panneau) ── */
.lcp-lines-content-wrap {
    position: relative;
    display: flex;
    min-height: 560px;
    overflow: hidden;
    flex: 1;
}

/* ── Scroll content (left) ── */
.lcp-lines-scroll {
    flex: 1;
    overflow-y: auto;
    padding: 0;
    min-width: 0;
    scrollbar-width: thin;
    scrollbar-color: #e8e8ed transparent;
}

/* ── Banner ── */
.lcp-lines-banner {
    background: #ffffff;
    border: 1px solid #e8e8ed;
    border-radius: 12px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 16px rgba(0,0,0,0.04);
    animation: lcp-lines-fadeUp 0.3s 0.04s ease both;
    opacity: 0;
    animation-fill-mode: forwards;
}

@keyframes lcp-lines-fadeUp {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.lcp-lines-banner-kicker {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #aeaeb2;
    display: block;
    margin-bottom: 4px;
}

.lcp-lines-banner h2 {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.03em;
    color: #1d1d1f;
    margin-bottom: 4px;
}

.lcp-lines-banner p {
    font-size: 12.5px;
    color: #8e8e93;
    margin: 0;
}

.lcp-lines-banner-stat {
    text-align: right;
    flex-shrink: 0;
}

.lcp-lines-banner-count {
    font-size: 32px;
    font-weight: 600;
    letter-spacing: -0.05em;
    color: #1d1d1f;
    line-height: 1;
}

.lcp-lines-banner-count-label {
    font-size: 10.5px;
    color: #aeaeb2;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 3px;
}

/* ── Lines grid ── */
.lcp-lines-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
    animation: lcp-lines-fadeUp 0.35s 0.12s ease both;
    opacity: 0;
    animation-fill-mode: forwards;
}

/* ── Line card ── */
.lcp-line-card {
    background: #ffffff;
    border: 1px solid #e8e8ed;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 16px rgba(0,0,0,0.04);
    overflow: hidden;
    transition: box-shadow 0.18s ease, border-color 0.18s ease;
}

.lcp-line-card:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.06), 0 8px 32px rgba(0,0,0,0.06);
}

.lcp-line-card.is-selected {
    border-color: #1d1d1f;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06), 0 8px 32px rgba(0,0,0,0.06);
}

.lcp-line-card-body {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 18px;
}

.lcp-line-icon {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: #f5f5f7;
    border: 1px solid #e8e8ed;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
    color: #3a3a3c;
}

.lcp-line-card.is-selected .lcp-line-icon {
    background: rgba(29,29,31,0.06);
}

.lcp-line-info {
    flex: 1;
    min-width: 0;
}

.lcp-line-name {
    font-size: 13.5px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 3px;
}

.lcp-line-number {
    font-size: 13px;
    color: #3a3a3c;
    font-variant-numeric: tabular-nums;
}

.lcp-line-ref {
    display: inline-flex;
    align-items: center;
    font-size: 10.5px;
    font-weight: 500;
    color: #8e8e93;
    background: #f5f5f7;
    border: 1px solid #e8e8ed;
    border-radius: 5px;
    padding: 1px 7px;
    margin-top: 4px;
}

.lcp-line-actions {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.lcp-line-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 500;
    color: #3a3a3c;
    background: #f5f5f7;
    border: 1px solid #e8e8ed;
    border-radius: 7px;
    padding: 6px 11px;
    cursor: pointer;
    transition: all 0.18s ease;
    white-space: nowrap;
}

.lcp-line-action-btn:hover {
    background: #ffffff;
    border-color: #aeaeb2;
    color: #1d1d1f;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.lcp-line-action-btn.active {
    background: #1d1d1f;
    border-color: #1d1d1f;
    color: #ffffff;
}

.lcp-line-action-icon {
    font-size: 12px;
    opacity: 0.7;
}

.lcp-line-action-btn.active .lcp-line-action-icon {
    opacity: 1;
}

/* ── Slide-in panel ── */
.lcp-lines-panel {
    position: fixed;
    top: 72px;
    right: 0;
    bottom: 0;
    width: 420px;
    background: #ffffff;
    border-left: 1px solid #e8e8ed;
    box-shadow: -4px 0 24px rgba(0,0,0,0.06);
    transform: translateX(calc(100% + 1px));
    transition: transform 0.28s cubic-bezier(0.4,0,0.2,1), width 0.28s cubic-bezier(0.4,0,0.2,1);
    z-index: 60;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    pointer-events: none;
    visibility: hidden;
}

.lcp-lines-panel.is-open {
    transform: translateX(0);
    pointer-events: auto;
    visibility: visible;
}

.lcp-lines-panel.wide {
    width: min(720px, calc(100vw - 220px));
}

/* ── Panel head ── */
.lcp-lines-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f5;
    background: #ffffff;
    flex-shrink: 0;
}

.lcp-lines-panel-head-left {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.lcp-lines-panel-kicker {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #aeaeb2;
    display: block;
}

.lcp-lines-panel-title {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #1d1d1f;
}

.lcp-lines-panel-subtitle {
    font-size: 12px;
    color: #8e8e93;
    margin-top: 1px;
}

.lcp-lines-panel-close {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    background: #f5f5f7;
    border: 1px solid #e8e8ed;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    color: #8e8e93;
    transition: all 0.18s ease;
    flex-shrink: 0;
    line-height: 1;
}

.lcp-lines-panel-close:hover {
    background: #ffffff;
    border-color: #aeaeb2;
    color: #1d1d1f;
}

/* ── Panel tabs ── */
.lcp-lines-panel-tabs {
    display: flex;
    border-bottom: 1px solid #e8e8ed;
    background: #f5f5f7;
    flex-shrink: 0;
}

.lcp-lines-panel-tab {
    flex: 1;
    padding: 10px 4px;
    font-size: 12px;
    font-weight: 500;
    color: #8e8e93;
    text-align: center;
    cursor: pointer;
    border: 0;
    border-bottom: 2px solid transparent;
    background: transparent;
    font-family: inherit;
    margin-bottom: -1px;
    transition: color 0.18s ease, border-color 0.18s ease;
    user-select: none;
}

.lcp-lines-panel-tab:hover {
    color: #3a3a3c;
}

.lcp-lines-panel-tab.active {
    color: #1d1d1f !important;
    border-bottom-color: #1d1d1f !important;
    background: transparent !important;
}

.lcp-lines-panel-tab:focus,
.lcp-lines-panel-tab:focus-visible {
    outline: none;
    background: transparent !important;
    color: #3a3a3c !important;
}

.lcp-lines-panel-tab:active {
    background: transparent !important;
    color: #1d1d1f !important;
}

/* ── Panel body ── */
.lcp-lines-panel-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    scrollbar-width: thin;
    scrollbar-color: #e8e8ed transparent;
}

/* ── Tab sections ── */
.lcp-lines-tab-section {
    display: none;
}

.lcp-lines-tab-section.active {
    display: block;
}

/* ── Summary chip ── */
.lcp-lines-summary {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.lcp-lines-summary-chip {
    display: flex;
    flex-direction: column;
    gap: 2px;
    background: #f5f5f7;
    border: 1px solid #e8e8ed;
    border-radius: 8px;
    padding: 8px 12px;
    flex: 1;
}

.lcp-lines-summary-chip-label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #aeaeb2;
}

.lcp-lines-summary-chip-value {
    font-size: 13px;
    font-weight: 600;
    color: #1d1d1f;
}

/* ── Form elements ── */
.lcp-lines-form-row {
    margin-bottom: 18px;
}

.lcp-lines-form-row:last-child {
    margin-bottom: 0;
}

.lcp-lines-field-label {
    display: block;
    font-size: 11.5px;
    font-weight: 600;
    color: #3a3a3c;
    margin-bottom: 6px;
}

.lcp-lines-field-note {
    font-size: 11.5px;
    color: #aeaeb2;
    line-height: 1.5;
    margin-top: 4px;
}

.lcp-lines-field-input,
.lcp-lines-field-select {
    width: 100%;
    font-family: inherit;
    font-size: 13px;
    color: #1d1d1f !important;
    background: #f5f5f7 !important;
    border: 1px solid #e8e8ed !important;
    border-radius: 8px !important;
    padding: 8px 12px !important;
    outline: none !important;
    box-shadow: none !important;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
    appearance: none;
    -webkit-appearance: none;
}

.lcp-lines-field-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23aeaeb2' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
    cursor: pointer;
}

.lcp-lines-field-input:focus,
.lcp-lines-field-select:focus {
    border-color: #1d1d1f !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(29,29,31,0.06) !important;
    outline: none !important;
}

.lcp-lines-field-input:hover,
.lcp-lines-field-select:hover {
    border-color: #aeaeb2;
}

.lcp-lines-field-input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}

.lcp-lines-field-input[type="number"]::-webkit-outer-spin-button,
.lcp-lines-field-input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

/* ── Switch ── */
.lcp-lines-switch-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: #f5f5f7;
    border: 1px solid #e8e8ed;
    border-radius: 9px;
    cursor: pointer;
    user-select: none;
    transition: border-color 0.18s ease;
}

.lcp-lines-switch-row:hover {
    border-color: #aeaeb2;
}

.lcp-lines-switch-label {
    font-size: 13px;
    font-weight: 500;
    color: #3a3a3c;
}

.lcp-lines-switch-track {
    width: 36px;
    height: 20px;
    border-radius: 20px;
    background: #d9d9de;
    position: relative;
    flex-shrink: 0;
    transition: background 0.18s ease;
}

.lcp-lines-switch-track.on {
    background: #1d1d1f;
}

.lcp-lines-switch-thumb {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    transition: transform 0.18s ease;
}

.lcp-lines-switch-track.on .lcp-lines-switch-thumb {
    transform: translateX(16px);
}

/* ── Panel grid 2 cols ── */
.lcp-lines-panel-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* ── HR ── */
.lcp-lines-panel-hr {
    height: 1px;
    background: #f0f0f5;
    border: 0;
    margin: 20px 0;
}

/* ── Schedule layout (2 cols) ── */
.lcp-lines-schedule-layout {
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: 100%;
}

.lcp-lines-schedule-form-col,
.lcp-lines-schedule-cal-col {
    min-width: 0;
    width: 100%;
}

/* ── Schedule head ── */
.lcp-lines-schedule-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.lcp-lines-schedule-head-title {
    font-size: 12px;
    font-weight: 600;
    color: #3a3a3c;
}

/* ── Schedule slots ── */
.lcp-lines-schedule-slots {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.lcp-lines-schedule-slot {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    background: #f5f5f7;
    border: 1px solid #e8e8ed;
    border-radius: 8px;
    flex-wrap: nowrap;
    overflow: hidden;
}

.lcp-lines-schedule-slot select,
.lcp-lines-schedule-slot input {
    font-family: inherit;
    font-size: 12px;
    color: #1d1d1f !important;
    background: #ffffff !important;
    border: 1px solid #e8e8ed !important;
    border-radius: 6px !important;
    padding: 5px 8px !important;
    outline: none !important;
    box-shadow: none !important;
    transition: border-color 0.18s ease;
    appearance: none;
    -webkit-appearance: none;
}

.lcp-lines-schedule-slot select {
    min-width: 90px;
    max-width: 100px;
    flex-shrink: 0;
}

.lcp-lines-schedule-slot input[type="time"] {
    width: 88px !important;
    flex-shrink: 0;
}

.lcp-lines-schedule-slot input[type="time"] {
    width: 88px;
}

.lcp-lines-schedule-slot-sep {
    font-size: 11px;
    color: #aeaeb2;
    flex-shrink: 0;
}

.lcp-lines-schedule-slot-del {
    width: 22px;
    height: 22px;
    border-radius: 5px;
    background: none;
    border: none;
    color: #8e8e93;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.18s ease;
    margin-left: auto;
    flex-shrink: 0;
}

.lcp-lines-schedule-slot-del:hover {
    background: rgba(255,59,48,0.08);
    color: #ff3b30;
}

/* ── Section label ── */
.lcp-lines-section-label {
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #aeaeb2;
    display: block;
    margin-bottom: 10px;
}

/* ── Calendar ── */
.lcp-lines-cal-wrap {
    border: 1px solid #e8e8ed;
    border-radius: 9px;
    overflow: hidden;
    background: #ffffff;
}

.lcp-lines-cal-header {
    display: grid;
    grid-template-columns: 44px repeat(7, 1fr);
    border-bottom: 1px solid #e8e8ed;
    background: #f5f5f7;
}

.lcp-lines-cal-header-corner {
    border-right: 1px solid #e8e8ed;
}

.lcp-lines-cal-header-cell {
    padding: 7px 4px;
    text-align: center;
    font-size: 10px;
    font-weight: 600;
    color: #a0a0a7;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-right: 1px solid #f0f0f5;
}

.lcp-lines-cal-header-cell:last-child {
    border-right: 0;
}

.lcp-lines-cal-body {
    display: grid;
    grid-template-columns: 44px repeat(7, 1fr);
    max-height: 340px;
    overflow-y: auto;
    position: relative;
    scrollbar-width: thin;
    scrollbar-color: #e8e8ed transparent;
}

.lcp-lines-cal-times {
    display: flex;
    flex-direction: column;
    border-right: 1px solid #e8e8ed;
    background: #f5f5f7;
}

.lcp-lines-cal-time-cell {
    height: 36px;
    flex-shrink: 0;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 2px 6px 0 0;
    font-size: 9.5px;
    color: #a0a0a7;
    font-variant-numeric: tabular-nums;
    border-bottom: 1px solid #f0f0f5;
}

.lcp-lines-cal-day-col {
    position: relative;
    border-right: 1px solid #f0f0f5;
}

.lcp-lines-cal-day-col:last-child {
    border-right: 0;
}

.lcp-lines-cal-hour-line {
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: #f0f0f5;
    pointer-events: none;
}

.lcp-lines-cal-hour-line.major {
    background: #e8e8ed;
}

.lcp-lines-cal-slot-block {
    position: absolute;
    left: 2px;
    right: 2px;
    border-radius: 5px;
    border: 1.5px solid rgba(52,199,89,0.5);
    background: rgba(52,199,89,0.18);
    color: #1a6b32;
    padding: 3px 5px;
    font-size: 9.5px;
    font-weight: 600;
    line-height: 1.3;
    overflow: hidden;
    z-index: 1;
}

/* ── Dropzone (tonalités) ── */
.lcp-lines-dropzone {
    border: 1.5px dashed #e8e8ed;
    border-radius: 10px;
    padding: 28px 20px;
    text-align: center;
    background: #f5f5f7;
    cursor: pointer;
    transition: all 0.18s ease;
    color: #8e8e93;
    font-size: 13px;
    line-height: 1.6;
}

.lcp-lines-dropzone:hover {
    border-color: #8e8e93;
    background: #ffffff;
}

.lcp-lines-dropzone-icon {
    font-size: 24px;
    margin-bottom: 8px;
    display: block;
    opacity: 0.5;
}

.lcp-lines-dropzone small {
    font-size: 11.5px;
    color: #aeaeb2;
}

/* ── Inline feedback ── */
.lcp-lines-inline-feedback {
    font-size: 12.5px;
    padding: 8px 12px;
    border-radius: 7px;
    margin-top: 10px;
    display: none;
}

.lcp-lines-inline-feedback.visible {
    display: block;
}

.lcp-lines-inline-feedback.success {
    background: rgba(52,199,89,0.1);
    color: #1a7a35;
    border: 1px solid rgba(52,199,89,0.2);
}

.lcp-lines-inline-feedback.error {
    background: rgba(255,59,48,0.06);
    color: #ff3b30;
    border: 1px solid rgba(255,59,48,0.15);
}

/* ── Buttons ── */
.lcp-lines-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #1d1d1f;
    color: #ffffff;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    cursor: pointer;
    transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.lcp-lines-btn-primary:hover {
    background: #3a3a3c;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.lcp-lines-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #f5f5f7;
    color: #3a3a3c;
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 500;
    border: 1px solid #e8e8ed;
    border-radius: 8px;
    padding: 7px 13px;
    cursor: pointer;
    transition: all 0.18s ease;
}

.lcp-lines-btn-secondary:hover {
    background: #ffffff !important;
    border-color: #aeaeb2 !important;
    color: #3a3a3c !important;
}

/* ── Panel footer ── */
.lcp-lines-panel-footer {
    padding: 14px 20px;
    border-top: 1px solid #f0f0f5;
    background: #ffffff;
    flex-shrink: 0;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

/* ── Responsive ── */
@media (max-width: 1180px) {
    .lcp-lines-panel,
    .lcp-lines-panel.wide {
        width: min(92vw, 720px);
    }
}

@media (max-width: 960px) {
    .lcp-line-card-body {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .lcp-line-actions {
        width: 100%;
        justify-content: flex-start;
    }
}

@media (max-width: 900px) {
    .lcp-lines-panel,
    .lcp-lines-panel.wide {
        width: 100%;
        max-width: 100%;
    }
    .lcp-lines-panel-grid-2 {
        grid-template-columns: 1fr;
    }
}

/* SVG icons — empêche WordPress de les redimensionner */
@media (max-width: 768px) {
    .lcp-lines-panel {
        top: 64px;
    }
}

.lcp-line-icon svg,
.lcp-line-action-icon svg,
.lcp-lines-panel-tab svg,
.lcp-nav-icon svg,
.lcp-lines-dropzone-icon svg {
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
    pointer-events: none;
}

/* ── Icon hash (Lucide hash #) ── */
.icon-hash {
    display: inline-block;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    background-color: currentColor;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='4' x2='20' y1='9' y2='9'/%3E%3Cline x1='4' x2='20' y1='15' y2='15'/%3E%3Cline x1='10' x2='8' y1='3' y2='21'/%3E%3Cline x1='16' x2='14' y1='3' y2='21'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='4' x2='20' y1='9' y2='9'/%3E%3Cline x1='4' x2='20' y1='15' y2='15'/%3E%3Cline x1='10' x2='8' y1='3' y2='21'/%3E%3Cline x1='16' x2='14' y1='3' y2='21'/%3E%3C/svg%3E");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-position: center;
    mask-position: center;
}

.lcp-line-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--lcp-primary);
}

.lcp-line-icon .lcp-nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-headphones {
    display: inline-block;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    background-color: currentColor;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 14v3a2 2 0 0 0 2 2h1'/%3E%3Cpath d='M21 14v3a2 2 0 0 1-2 2h-1'/%3E%3Cpath d='M4 12a8 8 0 0 1 16 0'/%3E%3Crect x='2' y='12' width='4' height='8' rx='2'/%3E%3Crect x='18' y='12' width='4' height='8' rx='2'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 14v3a2 2 0 0 0 2 2h1'/%3E%3Cpath d='M21 14v3a2 2 0 0 1-2 2h-1'/%3E%3Cpath d='M4 12a8 8 0 0 1 16 0'/%3E%3Crect x='2' y='12' width='4' height='8' rx='2'/%3E%3Crect x='18' y='12' width='4' height='8' rx='2'/%3E%3C/svg%3E");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-position: center;
    mask-position: center;
}

.icon-users {
    display: inline-block;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    background-color: currentColor;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Cpath d='M16 3.128a4 4 0 0 1 0 7.744'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.87'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Cpath d='M16 3.128a4 4 0 0 1 0 7.744'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.87'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3C/svg%3E");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-position: center;
    mask-position: center;
}

.icon-phone-forwarded {
    display: inline-block;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    background-color: currentColor;

    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 6h8'/%3E%3Cpath d='m18 2 4 4-4 4'/%3E%3Cpath d='M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384'/%3E%3C/svg%3E");

    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 6h8'/%3E%3Cpath d='m18 2 4 4-4 4'/%3E%3Cpath d='M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384'/%3E%3C/svg%3E");

    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-position: center;
    mask-position: center;
}

.icon-layout-dashboard {
    display: inline-block;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    background-color: currentColor;

    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='7' height='9' x='3' y='3' rx='1'/%3E%3Crect width='7' height='5' x='14' y='3' rx='1'/%3E%3Crect width='7' height='9' x='14' y='12' rx='1'/%3E%3Crect width='7' height='5' x='3' y='16' rx='1'/%3E%3C/svg%3E");

    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='7' height='9' x='3' y='3' rx='1'/%3E%3Crect width='7' height='5' x='14' y='3' rx='1'/%3E%3Crect width='7' height='9' x='14' y='12' rx='1'/%3E%3Crect width='7' height='5' x='3' y='16' rx='1'/%3E%3C/svg%3E");

    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-position: center;
    mask-position: center;
}

/* ══════════════════════════════════════════════════════
   PAGE COLLABORATEURS — bannière sobre + layout fixes
   ══════════════════════════════════════════════════════ */

/* Bannière : remplace gradient bleu par style sobre blanc */
.lcp-page-shell-team .lcp-page-banner {
    background: #ffffff !important;
    border: 1px solid #e8e8ed !important;
    border-radius: 12px !important;
    padding: 24px 28px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 24px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 16px rgba(0, 0, 0, 0.04) !important;
}
.lcp-page-shell-team .lcp-page-banner::after {
    display: none !important;
}
.lcp-page-shell-team .lcp-page-banner-copy {
    flex: 1;
    display: block !important;
    min-width: 0;
}
.lcp-page-shell-team .lcp-page-banner-kicker {
    display: block;
    margin: 0 0 6px;
    padding: 0;
    min-height: 0;
    border-radius: 0;
    background: transparent !important;
    color: #aeaeb2 !important;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    width: auto;
}
.lcp-page-shell-team .lcp-page-banner h2 {
    font-size: 20px !important;
    font-weight: 600 !important;
    letter-spacing: -0.6px !important;
    color: #1d1d1f !important;
    margin: 0 0 6px !important;
    line-height: 1.2 !important;
}
.lcp-page-shell-team .lcp-page-banner p {
    font-size: 13px !important;
    color: #8e8e93 !important;
    line-height: 1.55 !important;
    max-width: 460px !important;
    margin: 0 !important;
}
.lcp-page-shell-team .lcp-page-banner-stats {
    display: flex !important;
    gap: 32px !important;
    flex-shrink: 0 !important;
}
.lcp-page-shell-team .lcp-page-stat {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    gap: 4px !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    min-width: 0 !important;
    text-align: right !important;
}
.lcp-page-shell-team .lcp-page-stat-label {
    font-size: 10.5px !important;
    font-weight: 500 !important;
    color: #aeaeb2 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}
.lcp-page-shell-team .lcp-page-stat strong {
    font-size: 26px !important;
    font-weight: 600 !important;
    letter-spacing: -1px !important;
    color: #1d1d1f !important;
    line-height: 1 !important;
}

/* Cards membres + invitations : ajout de margin-top */
.lcp-page-shell-team .lcp-team-members-card,
.lcp-page-shell-team .lcp-team-invitations-card {
    margin-top: 0;
}

/* Aide sidebar : help-step-num actif/done */
.lcp-page-shell-team .lcp-team-help-step-num.is-active {
    background: #111827 !important;
    border-color: #111827 !important;
    color: #fff !important;
}
.lcp-page-shell-team .lcp-team-help-step-num.is-done {
    background: rgba(34,197,94,0.12) !important;
    border-color: #22c55e !important;
    color: #15803d !important;
}

/* Responsive bannière */
@media (max-width: 960px) {
    .lcp-page-shell-team .lcp-page-banner {
        flex-direction: column !important;
        align-items: flex-start !important;
    }
    .lcp-page-shell-team .lcp-page-banner-stats {
        flex-direction: row !important;
    }
}

.lcp-page-shell-team .lcp-check-item input[type="checkbox"] {
    display: none;
}

.lcp-page-shell-team .check-box {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    border: 1.5px solid #e8e8ed;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 10px;
    line-height: 1;
    flex-shrink: 0;
}

.lcp-page-shell-team .lcp-check-item.checked .check-box,
.lcp-page-shell-team .lcp-check-item input[type="checkbox"]:checked + .check-box {
    background: #1d1d1f;
    border-color: #1d1d1f;
}

.lcp-page-shell-team .lcp-check-item.checked .check-box::after,
.lcp-page-shell-team .lcp-check-item input[type="checkbox"]:checked + .check-box::after {
    content: "✓";
    font-size: 10px;
    line-height: 1;
}

/* BANNER COLLABORATEURS */

.lcp-page-shell-team .lcp-page-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 20px 24px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #e8e8ed;
}

.lcp-page-shell-team .lcp-page-banner-copy {
    max-width: 520px;
}

.lcp-page-shell-team .lcp-page-banner-kicker {
    font-size: 12px;
    font-weight: 600;
    color: #6e6e73;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.lcp-page-shell-team .lcp-page-banner-copy h2 {
    margin: 4px 0 8px;
    font-size: 20px;
    font-weight: 600;
    color: #1d1d1f;
}

.lcp-page-shell-team .lcp-page-banner-copy p {
    margin: 0;
    font-size: 14px;
    color: #6e6e73;
    line-height: 1.5;
}

/* STATS */

.lcp-page-shell-team .lcp-page-banner-stats {
    display: flex;
    gap: 16px;
}

.lcp-page-shell-team .lcp-page-stat {
    background: #f5f5f7;
    border-radius: 12px;
    padding: 12px 16px;
    min-width: 110px;
    text-align: center;
}

.lcp-page-shell-team .lcp-page-stat-label {
    display: block;
    font-size: 12px;
    color: #6e6e73;
}

.lcp-page-shell-team .lcp-page-stat strong {
    font-size: 18px;
    font-weight: 600;
    color: #1d1d1f;
}

/* Scrollbars du plugin uniquement */

/* Firefox */
.lcp-app,
.lcp-app * {
    scrollbar-width: thin;
    scrollbar-color: rgba(60, 60, 67, 0.3) transparent;
}

/* Chrome, Edge, Safari */
.lcp-app ::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.lcp-app ::-webkit-scrollbar-track {
    background: transparent;
}

.lcp-app ::-webkit-scrollbar-thumb {
    background: rgba(60, 60, 67, 0.3);
    border-radius: 8px;
}

.lcp-app ::-webkit-scrollbar-thumb:hover {
    background: rgba(60, 60, 67, 0.5);
}

.lcp-page-shell-team .lcp-role-toggle-btn strong {
    font-weight: 600;
}

/* MEMBERS CARD - TEAM */

.lcp-page-shell-team .lcp-team-members-card {
    background: #fff;
    border: 1px solid #e8e8ed;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 16px rgba(0,0,0,0.04);
    overflow: hidden;
}

/* HEADER */
.lcp-page-shell-team .lcp-team-members-pill {
    font-size: 12px;
    font-weight: 500;
    color: #6e6e73;
    background: #f5f5f7;
    padding: 4px 10px;
    border-radius: 999px;
}

/* SEARCH */
.lcp-page-shell-team .lcp-team-search-row {
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f5;
}

/* LIST */
.lcp-page-shell-team .lcp-team-members-stack {
    display: flex;
    flex-direction: column;
}

/* ROW */
.lcp-page-shell-team .member-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f5;
    cursor: pointer;
    transition: background 0.15s ease;
}

.lcp-page-shell-team .member-row:hover {
    background: #f9f9fb;
}

.lcp-page-shell-team .member-row:last-child {
    border-bottom: none;
}

/* AVATAR */
.lcp-page-shell-team .member-avatar-sm {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #1d1d1f;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* INFO */
.lcp-page-shell-team .member-info {
    flex: 1;
    min-width: 0;
}

.lcp-page-shell-team .member-name-row {
    display: flex;
    gap: 6px;
    align-items: center;
}

.lcp-page-shell-team .member-display-name {
    font-size: 13px;
    font-weight: 600;
    color: #1d1d1f;
}

.lcp-page-shell-team .member-login {
    font-size: 12px;
    color: #8e8e93;
}

.lcp-page-shell-team .member-email {
    font-size: 12px;
    color: #8e8e93;
}

/* BADGES */
.lcp-page-shell-team .member-badges {
    display: flex;
    gap: 6px;
}

/* CHEVRON */
.lcp-page-shell-team .member-chevron {
    font-size: 12px;
    color: #aeaeb2;
    margin-left: 4px;
}

/* MEMBERS CARD — aligné sur collaborateurs.html */

.lcp-page-shell-team .lcp-team-members-card {
    margin-top: 0;
    background: #ffffff;
    border: 1px solid #e8e8ed;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 16px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.lcp-page-shell-team .lcp-team-members-card .lcp-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px 14px;
    border-bottom: 1px solid #f0f0f5;
    margin-bottom: 0;
}

.lcp-page-shell-team .lcp-team-members-pill {
    font-size: 11.5px;
    color: #8e8e93;
    background: #f5f5f7;
    border: 1px solid #e8e8ed;
    border-radius: 20px;
    padding: 2px 10px;
}

.lcp-page-shell-team .lcp-team-search-row {
    padding: 14px 16px;
    border-bottom: 1px solid #f0f0f5;
}

.lcp-page-shell-team .lcp-team-search-row .lcp-field {
    display: block;
    max-width: none;
}

.lcp-page-shell-team .lcp-team-search-row input[type="search"] {
    width: 100%;
    font-family: inherit;
    font-size: 13px;
    color: #1d1d1f;
    background: #f5f5f7;
    border: 1px solid #e8e8ed;
    border-radius: 8px;
    padding: 7px 12px;
    outline: none;
    transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
}

.lcp-page-shell-team .lcp-team-search-row input[type="search"]:focus {
    border-color: #1d1d1f;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(29, 29, 31, 0.06);
}

.lcp-page-shell-team .lcp-team-members-stack {
    display: block;
    gap: 0;
    padding: 0;
}

.lcp-page-shell-team .member-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f5;
    cursor: pointer;
    transition: background 0.18s cubic-bezier(0.4, 0, 0.2, 1);
}

.lcp-page-shell-team .member-row:last-child {
    border-bottom: none;
}

.lcp-page-shell-team .member-row:hover,
.lcp-page-shell-team .member-row.expanded,
.lcp-page-shell-team .member-row[aria-expanded="true"] {
    background: #f5f5f7;
}

.lcp-page-shell-team .member-avatar-sm {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    background: #1d1d1f;
    flex-shrink: 0;
}

.lcp-page-shell-team .member-info {
    flex: 1;
    min-width: 0;
}

.lcp-page-shell-team .member-name-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 2px;
}

.lcp-page-shell-team .member-display-name {
    font-size: 13px;
    font-weight: 600;
    color: #1d1d1f;
}

.lcp-page-shell-team .member-login {
    font-size: 11.5px;
    color: #8e8e93;
}

.lcp-page-shell-team .member-email {
    font-size: 12px;
    color: #aeaeb2;
}

.lcp-page-shell-team .member-badges {
    display: flex;
    gap: 5px;
    flex-shrink: 0;
}

.lcp-page-shell-team .member-chevron {
    color: #aeaeb2;
    font-size: 11px;
    transition: transform 0.18s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.lcp-page-shell-team .member-row.expanded .member-chevron,
.lcp-page-shell-team .member-row[aria-expanded="true"] .member-chevron {
    transform: rotate(180deg);
}

.lcp-page-shell-team .member-detail {
    display: none;
    background: #f5f5f7;
    border-bottom: 1px solid #f0f0f5;
    padding: 16px;
    animation: lcp-team-fade-up 0.2s ease both;
}

.lcp-page-shell-team .member-detail.open {
    display: block;
}

.lcp-page-shell-team .member-detail-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 14px;
}

.lcp-page-shell-team .detail-stat {
    background: #fff;
    border: 1px solid #e8e8ed;
    border-radius: 8px;
    padding: 10px 12px;
}

.lcp-page-shell-team .detail-stat-label {
    font-size: 10.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: #aeaeb2;
    margin-bottom: 4px;
}

.lcp-page-shell-team .detail-stat-value {
    font-size: 13px;
    font-weight: 600;
    color: #1d1d1f;
}

.lcp-page-shell-team .detail-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.lcp-page-shell-team .detail-btn {
    font-family: inherit;
    font-size: 12px;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 7px;
    cursor: pointer;
    border: 1px solid #e8e8ed;
    background: #fff;
    color: #3a3a3c;
    transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
}

.lcp-page-shell-team .detail-btn:hover {
    border-color: #aeaeb2;
    color: #1d1d1f;
}

.lcp-page-shell-team .detail-btn.danger {
    color: #ff3b30;
    border-color: rgba(255, 59, 48, 0.2);
    background: rgba(255, 59, 48, 0.04);
}

.lcp-page-shell-team .detail-btn.danger:hover {
    background: rgba(255, 59, 48, 0.08);
    border-color: rgba(255, 59, 48, 0.4);
}

/* BADGES - VERSION TEAM (override) */

.lcp-page-shell-team .lcp-badge {
    font-size: 11px;
    font-weight: 500;
    padding: 3px 8px;
    border-radius: 999px;
    line-height: 1;
    margin: 0;
    border: none;
}

/* BLEU */
.lcp-page-shell-team .lcp-badge-blue {
    background: rgba(0, 122, 255, 0.08);
    color: #0055b3;
}

/* VERT */
.lcp-page-shell-team .lcp-badge-green {
    background: rgba(52, 199, 89, 0.1);
    color: #248a3d;
}

/* GRIS */
.lcp-page-shell-team .lcp-badge-gray {
    background: rgba(60, 60, 67, 0.08);
    color: #3a3a3c;
}

.lcp-nav-link {
    text-decoration: none;
}

.lcp-nav-item-disconnect {
    color: #8e8e93;
}

.lcp-nav-item-disconnect:hover {
    background: rgba(255, 59, 48, 0.06);
    color: #ff3b30;
}

.icon-corner-down-left {
    display: inline-block;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    background-color: currentColor;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 4v7a4 4 0 0 1-4 4H4'/%3E%3Cpath d='m9 10-5 5 5 5'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 4v7a4 4 0 0 1-4 4H4'/%3E%3Cpath d='m9 10-5 5 5 5'/%3E%3C/svg%3E");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-position: center;
    mask-position: center;
}

.lcp-password-field {
    position: relative;
    width: 100%;
}

.lcp-password-field input {
    width: 100%;
    box-sizing: border-box;
    padding-right: 56px !important;
}

.lcp-password-toggle {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8e8e93;
    cursor: pointer;
    z-index: 3;
    line-height: 0;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.lcp-password-toggle:hover {
    color: #1d1d1f;
}

.lcp-password-toggle .lcp-icon-eye-off {
    display: none;
}

.lcp-password-toggle.is-visible .lcp-icon-eye {
    display: none;
}

.lcp-password-toggle.is-visible .lcp-icon-eye-off {
    display: block;
}

.lcp-password-toggle:focus-visible {
    outline: 2px solid #111827;
    outline-offset: 2px;
    border-radius: 4px;
}

.lcp-password-toggle svg {
    width: 20px;
    height: 20px;
    display: block;
    pointer-events: none;
}

/* Exact badge parity with Vue d'ensemble/badges.html */
.lcp-call-chip,
.lcp-direction-chip,
#lcp-hunting-history .lcp-history-status,
#lcp-overview-hunting-history .lcp-history-status,
.lcp-history-status-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: "Inter", -apple-system, sans-serif !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    padding: 4px 10px !important;
    border-radius: 20px !important;
    white-space: nowrap;
    line-height: 1.2;
    letter-spacing: 0;
    min-height: 0 !important;
    margin-top: 0 !important;
}

.lcp-call-chip.is-success,
#lcp-hunting-history .lcp-history-status-taken,
#lcp-overview-hunting-history .lcp-history-status-taken,
.lcp-history-status-chip.lcp-history-status-taken {
    background: rgba(52, 199, 89, 0.1) !important;
    color: #34c759 !important;
}

.lcp-call-chip.is-fail,
#lcp-hunting-history .lcp-history-status-missed,
#lcp-overview-hunting-history .lcp-history-status-missed,
.lcp-history-status-chip.lcp-history-status-missed {
    background: rgba(255, 59, 48, 0.1) !important;
    color: #ff3b30 !important;
}

.lcp-direction-chip.is-in {
    background: rgba(0, 122, 255, 0.1) !important;
    color: #007aff !important;
}

.lcp-direction-chip.is-out {
    background: rgba(142, 142, 147, 0.15) !important;
    color: #3a3a3c !important;
}

.lcp-direction-chip.is-internal {
    background: rgba(175, 82, 222, 0.1) !important;
    color: #af52de !important;
}

.lcp-call-chip::before,
.lcp-direction-chip::before,
#lcp-hunting-history .lcp-history-status::before,
#lcp-overview-hunting-history .lcp-history-status::before,
.lcp-history-status-chip::before {
    content: "";
    display: inline-block;
    width: 12px;
    height: 12px;
    flex: 0 0 auto;
    background-color: currentColor;
    -webkit-mask-image: var(--lcp-badge-icon);
    mask-image: var(--lcp-badge-icon);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
}

.lcp-call-chip.is-success::before,
#lcp-hunting-history .lcp-history-status-taken::before,
#lcp-overview-hunting-history .lcp-history-status-taken::before,
.lcp-history-status-chip.lcp-history-status-taken::before {
    --lcp-badge-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 12.75l6 6 9-13.5'/%3E%3C/svg%3E");
}

.lcp-call-chip.is-fail::before,
#lcp-hunting-history .lcp-history-status-missed::before,
#lcp-overview-hunting-history .lcp-history-status-missed::before,
.lcp-history-status-chip.lcp-history-status-missed::before {
    --lcp-badge-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 18L18 6M6 6l12 12'/%3E%3C/svg%3E");
}

.lcp-direction-chip.is-in::before {
    --lcp-badge-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19.5 4.5l-15 15m0 0h11.25m-11.25 0V8.25'/%3E%3C/svg%3E");
}

.lcp-direction-chip.is-out::before {
    --lcp-badge-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 19.5l15-15m0 0H8.25m11.25 0v11.25'/%3E%3C/svg%3E");
}

.lcp-direction-chip.is-internal::before {
    --lcp-badge-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.75 21h16.5M4.5 3h15M5.25 3v18m13.5-18v18M9 6.75h1.5m-1.5 3h1.5m-1.5 3h1.5m3-6H15m-1.5 3H15m-1.5 3H15M9 16.5h1.5m-1.5 3h1.5m3-3H15m-1.5 3H15'/%3E%3C/svg%3E");
}

.lcp-direction-chip.is-unknown::before {
    display: none;
}

/* History page */
.lcp-page-shell-history {
    display: grid;
    gap: 16px;
}

.lcp-page-shell-history .lcp-history-hero {
    display: grid;
    gap: 12px;
    animation: lcp-history-fade-up 0.35s 0.05s ease both;
    opacity: 0;
}

.lcp-page-shell-history .lcp-page-banner-history {
    display: block;
    padding: 24px 28px;
    border-radius: 12px;
    border: 1px solid #e8e8ed;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 16px rgba(0, 0, 0, 0.04);
}

.lcp-page-shell-history .lcp-page-banner-history::after {
    display: none !important;
}

.lcp-page-shell-history .lcp-page-banner-history .lcp-page-banner-copy {
    display: block;
    min-width: 0;
}

.lcp-page-shell-history .lcp-page-banner-history .lcp-page-banner-kicker {
    display: block;
    margin: 0 0 6px;
    padding: 0;
    min-height: 0;
    width: auto;
    border-radius: 0;
    background: transparent !important;
    color: #aeaeb2 !important;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.lcp-page-shell-history .lcp-page-banner-history h2 {
    margin: 0 0 6px;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.6px;
    line-height: 1.2;
    color: #1d1d1f;
}

.lcp-page-shell-history .lcp-page-banner-history p {
    margin: 0;
    max-width: 560px;
    font-size: 13px;
    line-height: 1.55;
    color: #8e8e93;
}

@keyframes lcp-history-fade-up {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 980px) {
}

@media (max-width: 640px) {
    .lcp-page-shell-history .lcp-page-banner-history {
        padding: 20px;
    }
}

.lcp-history-table-card {
    padding: 0;
    background: #ffffff;
    border: 1px solid #e8e8ed;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 16px rgba(0,0,0,0.04);
    overflow: hidden;
}

.lcp-history-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f5;
    flex-wrap: wrap;
    margin-bottom: 0;
}

.lcp-history-card-head .lcp-section-title {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-right: auto;
}

.lcp-history-card-head .lcp-section-kicker {
    display: block;
    margin: 0 0 3px;
    padding: 0;
    min-height: 0;
    width: auto;
    background: transparent;
    border-radius: 0;
    color: #aeaeb2;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.lcp-history-card-head .lcp-section-title h3 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.3px;
    color: #1d1d1f;
}

.lcp-history-table-card .lcp-table-wrap {
    overflow-x: auto;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.lcp-history-table {
    width: 100%;
    min-width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    background: transparent;
}

.lcp-history-table thead tr {
    border-bottom: 1px solid #e8e8ed;
}

.lcp-history-table th {
    position: static;
    text-align: left;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #aeaeb2;
    padding: 10px 20px;
    white-space: nowrap;
    background: #f5f5f7;
    border-bottom: 1px solid #e8e8ed;
}

.lcp-history-table td {
    padding: 11px 20px;
    border-bottom: 1px solid #f0f0f5;
    color: #3a3a3c;
    vertical-align: middle;
    background: transparent;
}

.lcp-history-table tbody tr:last-child td {
    border-bottom: 0;
}

.lcp-history-table tbody tr:hover td {
    background: #f5f5f7;
}

.lcp-history-table .lcp-empty {
    text-align: center;
    color: #aeaeb2;
    padding: 28px 20px !important;
    font-style: italic;
    font-size: 12.5px;
}

.lcp-history-table-search {
    width: 190px !important;
    min-width: 190px !important;
    max-width: 190px !important;
    flex: 0 0 190px !important;
    display: inline-block !important;
    box-sizing: border-box !important;
    background: #f5f5f7 !important;
    border: 1px solid #e8e8ed !important;
    border-radius: 8px !important;
    padding: 6px 11px !important;
    font-size: 12.5px !important;
    font-family: inherit !important;
    color: #1d1d1f !important;
    outline: none !important;
}

.lcp-history-table-search::placeholder {
    color: #aeaeb2;
}

.lcp-history-table-search:focus {
    border-color: #007aff !important;
    background: #fff !important;
    box-shadow: 0 0 0 2px rgba(0, 122, 255, 0.15) !important;
}

.lcp-history-filter-bar {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
}

.lcp-history-filter {
    padding: 5px 10px;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid #e8e8ed;
    background: transparent;
    color: #8e8e93;
    font-family: inherit;
    transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.lcp-history-filter:hover {
    border-color: #aeaeb2;
    color: #3a3a3c;
    background: #fafafa;
}

.lcp-history-filter.active {
    background: #1d1d1f;
    color: #fff;
    border-color: #1d1d1f;
}

.lcp-history-filter.active.is-danger,
.lcp-history-filter.is-danger.active {
    background: #ff3b30;
    border-color: #ff3b30;
    color: #fff;
}

@media (max-width: 768px) {
    .lcp-history-card-head {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .lcp-history-table-search,
    #lcp-history-search {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        flex: 1 1 100% !important;
    }

    .lcp-history-filter-bar {
        overflow-x: auto;
        padding-bottom: 2px;
        flex-wrap: nowrap;
    }

    .lcp-history-table td,
    .lcp-history-table th {
        padding: 9px 10px;
    }
}

@media (max-width: 480px) {
}

.lcp-history-recall-banner {
    background: #fff8f0;
    border: 1px solid #ffe0b2;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 16px rgba(0,0,0,0.04);
}

.lcp-history-recall-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    cursor: pointer;
    user-select: none;
}

.lcp-history-recall-header:hover {
    background: rgba(255, 159, 10, 0.04);
}

.lcp-history-pulse-dot {
    width: 8px;
    height: 8px;
    background: #ff9f0a;
    border-radius: 50%;
    flex-shrink: 0;
    animation: lcp-history-pulse 1.8s ease-in-out infinite;
}

.lcp-history-recall-title {
    font-size: 13px;
    font-weight: 600;
    color: #c05000;
    flex: 1;
}

.lcp-history-recall-subtitle {
    font-size: 11px;
    color: #8e8e93;
}

.lcp-history-recall-chevron {
    font-size: 11px;
    color: #8e8e93;
    transition: transform 0.18s cubic-bezier(0.4, 0, 0.2, 1);
}

.lcp-history-recall-banner.open .lcp-history-recall-chevron {
    transform: rotate(180deg);
}

.lcp-history-recall-body {
    display: none;
    padding: 0 16px 14px;
    border-top: 1px solid #ffe0b2;
}

.lcp-history-recall-banner.open .lcp-history-recall-body {
    display: block;
}

.lcp-history-recall-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 6px;
    padding-top: 12px;
}


.lcp-history-recall-item:hover {
    border-color: #ff9f0a;
    background: #fff8f0;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(255,159,10,0.15);
}

.lcp-history-recall-item.is-active {
    border-color: #ff9f0a;
    background: #fff4e0;
}

.lcp-history-recall-flag {
    width: 6px;
    height: 6px;
    background: #ff3b30;
    border-radius: 50%;
    flex-shrink: 0;
    animation: lcp-history-pulse 1.8s ease-in-out infinite;
}

.lcp-history-recall-item-info {
    flex: 1;
    min-width: 0;
}

.lcp-history-recall-item-num {
    font-weight: 600;
    font-size: 12.5px;
    color: #1d1d1f;
}

.lcp-history-recall-item-meta {
    font-size: 11px;
    color: #8e8e93;
    margin-top: 1px;
}

.lcp-history-recall-item-side {
    text-align: right;
}

.lcp-history-recall-item-time {
    font-size: 10.5px;
    color: #ff9f0a;
    font-weight: 600;
}

.lcp-history-recall-item-badge {
    background: #fff0e0;
    color: #c05000;
    border: 1px solid #ffd0a0;
    font-size: 10px;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 4px;
    margin-top: 2px;
    display: inline-flex;
}

@keyframes lcp-history-pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(0.8);
    }
}

.lcp-history-source {
    display: inline-flex;
    border-radius: 6px;
    padding: 2px 7px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
}

.lcp-history-source.is-sip {
    background: rgba(59, 130, 246, 0.12);
    color: #1d4ed8;
}

.lcp-history-source.is-queue {
    background: rgba(139, 92, 246, 0.12);
    color: #6d28d9;
}

.lcp-history-unified-row.is-highlight {
    background: rgba(59, 130, 246, 0.08);
}

.lcp-history-number-btn {
    border: 0;
    background: transparent;
    color: #0f172a;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
}

.lcp-topbar {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

html,
body {
    overflow: hidden;
    height: 100%;
}

.lcp-app {
    height: 100vh;
    overflow: hidden;
}

.lcp-dashboard-view {
    height: 100vh;
    overflow: hidden;
}

.lcp-main {
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
}

/* ===== HISTORY STATS (NEW UI) ===== */

.lcp-history-stats-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 4px;
}

.lcp-history-stat-card {
    background: #ffffff;
    border: 1px solid #e8e8ed;
    border-radius: 12px;
    padding: 16px 18px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 16px rgba(0,0,0,0.04);
}

.lcp-history-stat-label {
    font-size: 10.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #aeaeb2;
    margin-bottom: 6px;
}

.lcp-history-stat-val {
    font-size: 26px;
    font-weight: 600;
    letter-spacing: -1px;
    line-height: 1;
    color: #1d1d1f;
}

.lcp-history-stat-val.is-success {
    color: #34c759;
}

.lcp-history-stat-val.is-danger {
    color: #ff3b30;
}

.lcp-history-stat-val.is-warning {
    color: #ff9f0a;
}

.lcp-history-stat-sub {
    font-size: 11px;
    color: #8e8e93;
    margin-top: 4px;
}

@media (max-width: 980px) {
    .lcp-history-stats-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .lcp-history-stats-row {
        grid-template-columns: 1fr;
    }
}

/* FIX barre de recherche historique */
.lcp-history-table-card #lcp-history-search,
.lcp-history-table-card .lcp-history-table-search {
    width: 190px !important;
    min-width: 190px !important;
    max-width: 190px !important;
    flex: 0 0 190px !important;
    display: inline-block !important;
    box-sizing: border-box !important;

    background: #f5f5f7 !important;
    border: 1px solid #e8e8ed !important;
    border-radius: 8px !important;
    padding: 6px 11px !important;
    font-size: 12.5px !important;
    font-family: inherit !important;
    color: #1d1d1f !important;
    outline: none !important;
}

.lcp-history-table-card #lcp-history-search:focus,
.lcp-history-table-card .lcp-history-table-search:focus {
    border-color: #007aff !important;
    background: #fff !important;
    box-shadow: 0 0 0 2px rgba(0, 122, 255, 0.15) !important;
}

@media (max-width: 768px) {
    .lcp-history-table-card #lcp-history-search,
    .lcp-history-table-card .lcp-history-table-search {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        flex: 1 1 100% !important;
    }
}

/* THEAD historique — style identique au template HTML */
.lcp-history-table-card .lcp-table-history thead tr {
    border-bottom: 1px solid #e8e8ed !important;
}

.lcp-history-table-card .lcp-table-history thead th {
    position: static !important;
    background: #fafafa !important;
    color: #aeaeb2 !important;
    font-size: 10.5px !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    padding: 9px 14px !important;
    white-space: nowrap !important;
    border-bottom: 1px solid #e8e8ed !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* FIX boutons "numéros à rappeler" */
.lcp-history-recall-list {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) !important;
    gap: 6px !important;
    padding-top: 12px !important;
}

.lcp-history-recall-item {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100% !important;
    min-width: 0 !important;
    padding: 8px 10px !important;
    border: 1px solid #ffd0a0 !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    text-align: left !important;
    cursor: pointer !important;
    transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-sizing: border-box !important;
}

.lcp-history-recall-item:hover {
    border-color: #ff9f0a !important;
    background: #fff8f0 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 2px 8px rgba(255, 159, 10, 0.15) !important;
}

.lcp-history-recall-item.is-active {
    border-color: #ff9f0a !important;
    background: #fff4e0 !important;
}

.lcp-history-recall-flag {
    width: 6px !important;
    height: 6px !important;
    border-radius: 50% !important;
    background: #ff3b30 !important;
    flex: 0 0 6px !important;
}

.lcp-history-recall-item-info {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    display: block !important;
}

.lcp-history-recall-item-num {
    display: block !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    color: #1d1d1f !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.lcp-history-recall-item-meta {
    display: block !important;
    margin-top: 1px !important;
    font-size: 11px !important;
    line-height: 1.25 !important;
    color: #8e8e93 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.lcp-history-recall-item-side {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    justify-content: center !important;
    gap: 2px !important;
    flex: 0 0 auto !important;
    margin-left: 6px !important;
    text-align: right !important;
    white-space: nowrap !important;
}

.lcp-history-recall-item-time {
    display: block !important;
    font-size: 10.5px !important;
    font-weight: 600 !important;
    line-height: 1.1 !important;
    color: #ff9f0a !important;
}

.lcp-history-recall-item-badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 1px 5px !important;
    border-radius: 4px !important;
    border: 1px solid #ffd0a0 !important;
    background: #fff0e0 !important;
    color: #c05000 !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
}

.lcp-history-line-agent {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.lcp-history-line {
    font-size: 12px;
    color: #8e8e93;
}

.lcp-history-agent {
    font-size: 12px;
    font-weight: 500;
    color: #3a3a3c;
}

.lcp-history-agent.is-empty {
    color: #aeaeb2;
}

.nav-badge {
    margin-left: auto;
    background: #1d1d1f;
    color: #fff;
    font-size: 9.5px;
    font-weight: 600;
    padding: 1px 6px;
    border-radius: 20px;
    line-height: 1.2;
}

.nav-badge.danger {
    background: #ff3b30;
}

.lcp-history-recall-item {
    position: relative;
}
.lcp-history-recall-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
}

.lcp-history-recall-item-info {
    flex: 1 1 auto;
    min-width: 0;
}

.lcp-history-recall-item-side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 2px;
    flex: 0 0 auto;
    margin-left: 6px;
    padding-right: 28px; /* réserve la place du ✓ */
    text-align: right;
    white-space: nowrap;
}

.lcp-history-recall-dismiss {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(52, 199, 89, 0.15);
    color: #34c759;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
    z-index: 1;
}

.lcp-history-recall-dismiss:hover {
    background: #34c759;
    color: #fff;
}

.lcp-call-chip.is-handled {
    background: rgba(142, 142, 147, 0.12);
    color: #6e6e73;
}

.lcp-call-chip.is-handled {
    background: rgba(142, 142, 147, 0.12);
    color: #6e6e73;
}

.lcp-history-status-wrap {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.lcp-history-undo-btn {
    border: 1px solid #d1d1d6;
    background: #fff;
    color: #6e6e73;
    border-radius: 999px;
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
    padding: 0;
}

.lcp-history-undo-btn svg,
.lcp-history-undo-btn .icon-chevron-right {
    width: 12px;
    height: 12px;
}

.lcp-history-undo-btn:hover {
    border-color: #8e8e93;
    color: #1d1d1f;
    background: #f5f5f7;
}

.lcp-history-undo-btn:hover {
    border-color: #8e8e93;
    color: #1d1d1f;
    background: #f5f5f7;
}

.lcp-call-chip.is-handled::before {
    content: "›"; /* chevron simple */
    font-size: 12px;
    font-weight: 700;
    margin-right: 4px;
}

/* Badge "Traité" : remplace le carré par un chevron */
.lcp-call-chip.is-handled {
    background: rgba(142, 142, 147, 0.12) !important;
    color: #6e6e73 !important;
}

.lcp-call-chip.is-handled::before {
    content: "›" !important;
    display: inline-block !important;
    width: auto !important;
    height: auto !important;
    margin-right: 4px !important;
    font-size: 12px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    background: none !important;
    background-color: transparent !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
    -webkit-mask-repeat: initial !important;
    mask-repeat: initial !important;
}

/* On garde le undo à droite comme avant */
.lcp-history-status-wrap {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.lcp-history-undo-btn {
    border: 1px solid #d1d1d6;
    background: #fff;
    color: #6e6e73;
    border-radius: 999px;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    line-height: 24px;
    cursor: pointer;
    transition: all 0.15s ease;
    padding: 0;
    flex-shrink: 0;
    text-align: center;
}

.lcp-history-undo-btn:hover {
    border-color: #8e8e93;
    color: #1d1d1f;
    background: #f5f5f7;
}

.lcp-history-undo-btn::before {
    content: "";
}

.lcp-history-undo-btn {
    transform: translateY(0);
}

.lcp-history-undo-btn > * {
    pointer-events: none;
}
#lcp-hunting-history .lcp-history-status-handled,
#lcp-overview-hunting-history .lcp-history-status-handled,
.lcp-history-status-chip.lcp-history-status-handled {
    background: rgba(142, 142, 147, 0.12) !important;
    color: #6e6e73 !important;
}

#lcp-hunting-history .lcp-history-status-handled::before,
#lcp-overview-hunting-history .lcp-history-status-handled::before,
.lcp-history-status-chip.lcp-history-status-handled::before {
    content: "›" !important;
    display: inline-block !important;
    width: auto !important;
    height: auto !important;
    margin-right: 4px !important;
    font-size: 11px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    background: none !important;
    background-color: transparent !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
}
/* Mobile responsiveness hardening */
@media (max-width: 768px) {
    html,
    body {
        height: auto !important;
        overflow: auto !important;
    }

    .lcp-app,
    .lcp-dashboard-view,
    .lcp-main {
        min-height: 100dvh;
        height: auto !important;
    }

    .lcp-app,
    .lcp-dashboard-view {
        overflow: visible !important;
    }

    .lcp-sidebar {
        position: sticky;
        top: 0;
        left: 0;
        right: 0;
        width: 100% !important;
        height: auto !important;
        padding: 10px 12px;
        border-right: 0;
        border-bottom: 1px solid var(--lcp-line);
        overflow: visible !important;
        z-index: 45;
    }

    .lcp-sidebar-logo-row {
        margin-bottom: 0;
    }

    .lcp-mobile-menu-toggle {
        font-size: 0;
        line-height: 0;
    }

    .lcp-mobile-menu-toggle::before {
        content: "\2630";
        display: inline-block;
        font-size: 18px;
        line-height: 1;
        font-weight: 700;
        color: #1d1d1f;
    }

    .lcp-sidebar.is-mobile-open .lcp-mobile-menu-toggle::before {
        content: "\2715";
        font-size: 16px;
    }

    .lcp-mobile-menu-icon {
        display: none !important;
    }

    .lcp-nav {
        display: none;
        margin-top: 10px;
        padding-top: 10px;
        max-height: min(56dvh, 420px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .lcp-nav.is-open {
        display: grid;
    }

    .lcp-sidebar-spacer {
        display: none;
    }

    .lcp-sidebar-bottom {
        display: none;
        margin-top: 10px;
        padding-top: 10px;
        border-top: 1px solid var(--lcp-line);
    }

    .lcp-sidebar.is-mobile-open .lcp-sidebar-bottom {
        display: flex;
    }

    .lcp-main {
        margin-left: 0 !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch;
    }

    .lcp-main > :not(.lcp-topbar) {
        margin: 12px 12px 0;
    }

    .lcp-main > :last-child {
        margin-bottom: 12px;
    }

    .lcp-topbar {
        position: sticky;
        top: 0;
        z-index: 20;
        min-height: 64px;
    }

    .lcp-page {
        gap: 14px;
    }

    .lcp-card {
        padding: 14px;
        border-radius: 12px;
    }

    .lcp-card-head {
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .lcp-form-grid,
    .lcp-form-grid-two {
        grid-template-columns: 1fr !important;
    }

    .lcp-page-banner,
    .lcp-page-shell-overview .lcp-page-banner,
    .lcp-page-shell-hunting .lcp-page-banner,
    .lcp-page-shell-supervision .lcp-page-banner,
    .lcp-page-shell-team .lcp-page-banner,
    .lcp-page-shell-history .lcp-page-banner-history {
        padding: 18px !important;
        gap: 12px !important;
    }

    .lcp-page-banner-stats,
    .lcp-page-shell-overview .lcp-page-banner-stats,
    .lcp-page-shell-hunting .lcp-page-banner-stats,
    .lcp-page-shell-supervision .lcp-page-banner-stats,
    .lcp-page-shell-team .lcp-page-banner-stats {
        width: 100%;
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px !important;
    }

    .lcp-page-stat {
        align-items: flex-start !important;
    }

    .lcp-page-stat strong {
        font-size: 1.25rem;
    }

    .lcp-table-wrap {
        border-radius: 12px;
    }

    .lcp-team-step-nav {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .lcp-team-step-nav button {
        width: 100%;
    }
}

@media (max-width: 520px) {
    .lcp-page-banner-stats,
    .lcp-page-shell-overview .lcp-page-banner-stats,
    .lcp-page-shell-hunting .lcp-page-banner-stats,
    .lcp-page-shell-supervision .lcp-page-banner-stats,
    .lcp-page-shell-team .lcp-page-banner-stats {
        grid-template-columns: 1fr;
    }

    .lcp-nav-item {
        min-height: 40px;
        font-size: 14px;
    }

    .lcp-topbar h1 {
        font-size: 1.05rem !important;
    }
}

body.lcp-mobile-nav-open {
    overflow: hidden !important;
}

body.lcp-mobile-nav-open .lcp-main {
    overflow-y: auto !important;
}

/* Mobile density + readability pass */
@media (max-width: 768px) {
    .lcp-section-head,
    .lcp-card-head,
    .lcp-page-shell-overview .lcp-card-head,
    .lcp-page-shell-hunting .lcp-card-head,
    .lcp-page-shell-supervision .lcp-card-head,
    .lcp-history-card-head {
        margin-bottom: 8px !important;
        padding-bottom: 8px !important;
    }

    .lcp-section-title {
        gap: 2px !important;
    }

    .lcp-section-kicker {
        min-height: 22px !important;
        padding: 0 9px !important;
        font-size: 0.64rem !important;
    }

    .lcp-card > .lcp-card-head + .lcp-table-wrap,
    .lcp-surface-card > .lcp-card-head + .lcp-table-wrap,
    .lcp-page-shell-overview .lcp-card-head + .lcp-table-wrap,
    .lcp-page-shell-hunting .lcp-card-head + .lcp-table-wrap,
    .lcp-page-shell-supervision .lcp-card-head + .lcp-table-wrap,
    .lcp-history-table-card .lcp-history-card-head + .lcp-table-wrap {
        margin-top: 0 !important;
    }

    .lcp-table-overview,
    .lcp-table-calls {
        display: table !important;
        width: max-content !important;
        min-width: 760px !important;
        table-layout: auto !important;
    }

    .lcp-table-overview thead,
    .lcp-table-calls thead {
        display: table-header-group !important;
    }

    .lcp-table-overview tbody,
    .lcp-table-calls tbody {
        display: table-row-group !important;
    }

    #lcp-overview-table,
    #lcp-calls-table {
        display: table-row-group !important;
        width: auto !important;
        gap: 0 !important;
        padding: 0 !important;
    }

    #lcp-overview-table tr,
    #lcp-calls-table tr {
        display: table-row !important;
        grid-template-columns: none !important;
        padding: 0 !important;
        margin: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    #lcp-overview-table td,
    #lcp-calls-table td {
        display: table-cell !important;
        padding: 10px 12px !important;
        min-height: 0 !important;
        width: auto !important;
        border: 0 !important;
        border-bottom: 1px solid #f0f0f5 !important;
        border-radius: 0 !important;
        background: transparent !important;
        white-space: nowrap !important;
        vertical-align: middle !important;
    }

    #lcp-overview-table td::before,
    #lcp-calls-table td::before {
        content: none !important;
        display: none !important;
    }

    #lcp-overview-table td:first-child,
    #lcp-calls-table td:nth-child(2) {
        grid-column: auto !important;
        padding: 10px 12px !important;
        margin: 0 !important;
        border: 0 !important;
        border-bottom: 1px solid #f0f0f5 !important;
        font-size: inherit !important;
        font-weight: inherit !important;
        line-height: inherit !important;
        background: transparent !important;
    }

    #lcp-overview-table td[colspan],
    #lcp-calls-table td[colspan] {
        display: table-cell !important;
        text-align: center !important;
        white-space: normal !important;
        padding: 14px 12px !important;
    }

    .lcp-table-wrap,
    .lcp-page-shell-overview .lcp-table-wrap,
    .lcp-page-shell-hunting .lcp-table-wrap,
    .lcp-page-shell-supervision .lcp-table-wrap,
    .lcp-history-table-card .lcp-table-wrap {
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch;
    }

    .lcp-table-hunting,
    .lcp-table-hunting-history,
    .lcp-table-supervision,
    .lcp-table-events,
    .lcp-history-table {
        min-width: 780px !important;
        width: max-content !important;
        table-layout: auto !important;
    }

    .lcp-table th,
    .lcp-table td,
    .lcp-history-table th,
    .lcp-history-table td {
        white-space: nowrap !important;
        word-break: normal !important;
        overflow-wrap: normal !important;
    }

    .lcp-table td small,
    .lcp-history-table td small,
    .lcp-supervision-primary,
    .lcp-supervision-secondary,
    .lcp-history-line,
    .lcp-history-agent {
        white-space: nowrap !important;
    }
}

/* Mobile compact spacing fix (header -> table gap) */
@media (max-width: 768px) {
    .lcp-page-shell-overview .lcp-card-head.lcp-section-head,
    .lcp-page-shell-hunting .lcp-card-head.lcp-section-head,
    .lcp-page-shell-supervision .lcp-card-head.lcp-section-head,
    .lcp-history-card-head {
        padding: 8px 12px 4px !important;
        margin-bottom: 0 !important;
        border-bottom: 0 !important;
        min-height: 0 !important;
        gap: 6px !important;
    }

    .lcp-card-head.lcp-section-head + .lcp-table-wrap,
    .lcp-history-card-head + .lcp-table-wrap {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    .lcp-page-shell-overview .lcp-card-head .lcp-section-count,
    .lcp-page-shell-hunting .lcp-card-head .lcp-section-count,
    .lcp-page-shell-supervision .lcp-card-head .lcp-section-count {
        min-height: 20px !important;
        padding: 0 8px !important;
        font-size: 0.68rem !important;
        line-height: 1.2 !important;
    }

    .lcp-page-shell-overview .lcp-table th,
    .lcp-page-shell-hunting .lcp-table th,
    .lcp-page-shell-supervision .lcp-table th,
    .lcp-history-table th {
        padding-top: 6px !important;
        padding-bottom: 7px !important;
    }

    .lcp-page-shell-overview .lcp-table td,
    .lcp-page-shell-hunting .lcp-table td,
    .lcp-page-shell-supervision .lcp-table td,
    .lcp-history-table td {
        padding-top: 8px !important;
        padding-bottom: 8px !important;
    }

    .lcp-page-shell-overview #lcp-overview-table td[colspan],
    .lcp-page-shell-overview #lcp-calls-table td[colspan],
    .lcp-page-shell-hunting .lcp-table td[colspan],
    .lcp-page-shell-supervision .lcp-table td[colspan],
    .lcp-history-table td[colspan],
    .lcp-empty {
        padding: 8px 10px !important;
        min-height: 0 !important;
    }
}

/* Mobile hard fix: remove phantom gap without shrinking tables */
@media (max-width: 768px) {
    .lcp-page-shell-overview .lcp-grid {
        grid-template-columns: 1fr !important;
        align-items: start !important;
    }

    .lcp-page-shell-overview .lcp-surface-card-overview,
    .lcp-page-shell-overview .lcp-surface-card-live,
    .lcp-page-shell-overview > .lcp-surface-card-muted,
    .lcp-page-shell-hunting > .lcp-surface-card-hunting,
    .lcp-page-shell-hunting > .lcp-surface-card-muted {
        display: block !important;
        min-height: 0 !important;
        height: auto !important;
    }

    .lcp-page-shell-overview .lcp-surface-card-overview > .lcp-card-head,
    .lcp-page-shell-overview .lcp-surface-card-live > .lcp-card-head,
    .lcp-page-shell-overview > .lcp-surface-card-muted > .lcp-card-head,
    .lcp-page-shell-hunting > .lcp-surface-card-hunting > .lcp-card-head,
    .lcp-page-shell-hunting > .lcp-surface-card-muted > .lcp-card-head {
        margin: 0 !important;
        padding: 8px 12px 6px !important;
        min-height: 0 !important;
    }

    .lcp-page-shell-overview .lcp-surface-card-overview > .lcp-table-wrap,
    .lcp-page-shell-overview .lcp-surface-card-live > .lcp-table-wrap,
    .lcp-page-shell-overview > .lcp-surface-card-muted > .lcp-table-wrap,
    .lcp-page-shell-hunting > .lcp-surface-card-hunting > .lcp-table-wrap,
    .lcp-page-shell-hunting > .lcp-surface-card-muted > .lcp-table-wrap {
        margin: 0 !important;
        padding: 0 !important;
        min-height: 0 !important;
        max-height: none !important;
        height: auto !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
    }

    .lcp-page-shell-overview .lcp-table-overview,
    .lcp-page-shell-overview .lcp-table-calls,
    .lcp-page-shell-overview .lcp-table-events {
        display: table !important;
        width: 100% !important;
        min-width: 560px !important;
        margin: 0 !important;
        table-layout: auto !important;
    }

    .lcp-page-shell-overview .lcp-table-hunting-history,
    .lcp-page-shell-hunting .lcp-table-hunting,
    .lcp-page-shell-hunting .lcp-table-hunting-history {
        display: table !important;
        width: 100% !important;
        min-width: 760px !important;
        margin: 0 !important;
        table-layout: auto !important;
    }

    .lcp-page-shell-overview .lcp-table th,
    .lcp-page-shell-overview .lcp-table td,
    .lcp-page-shell-hunting .lcp-table th,
    .lcp-page-shell-hunting .lcp-table td {
        white-space: nowrap !important;
        word-break: normal !important;
        overflow-wrap: normal !important;
        padding-top: 8px !important;
        padding-bottom: 8px !important;
    }

    .lcp-page-shell-overview .lcp-table th,
    .lcp-page-shell-hunting .lcp-table th {
        position: static !important;
        top: auto !important;
    }

    #lcp-overview-table,
    #lcp-calls-table,
    #lcp-events-table,
    #lcp-overview-hunting-history,
    #lcp-hunting-history {
        display: table-row-group !important;
        width: auto !important;
        gap: 0 !important;
        padding: 0 !important;
    }

    #lcp-overview-table tr,
    #lcp-calls-table tr,
    #lcp-events-table tr,
    #lcp-overview-hunting-history tr,
    #lcp-hunting-history tr {
        display: table-row !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        box-shadow: none !important;
        background: transparent !important;
    }

    #lcp-overview-table td,
    #lcp-calls-table td,
    #lcp-events-table td,
    #lcp-overview-hunting-history td,
    #lcp-hunting-history td {
        display: table-cell !important;
        min-height: 0 !important;
        padding: 8px 10px !important;
        vertical-align: middle !important;
        border-radius: 0 !important;
    }

    #lcp-overview-table td::before,
    #lcp-calls-table td::before,
    #lcp-events-table td::before,
    #lcp-overview-hunting-history td::before,
    #lcp-hunting-history td::before {
        display: none !important;
        content: none !important;
    }

    #lcp-overview-table td[colspan],
    #lcp-calls-table td[colspan],
    #lcp-events-table td[colspan],
    #lcp-overview-hunting-history td[colspan],
    #lcp-hunting-history td[colspan] {
        text-align: center !important;
        white-space: normal !important;
        padding: 8px 10px !important;
    }
}

/* Mobile final fix: section header must only use content height */
@media (max-width: 768px) {
    .lcp-page-shell-overview .lcp-card-head.lcp-section-head,
    .lcp-page-shell-hunting .lcp-card-head.lcp-section-head,
    .lcp-page-shell-supervision .lcp-card-head.lcp-section-head {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: flex-start !important;
        justify-content: space-between !important;
        margin: 0 !important;
        padding: 8px 12px 6px !important;
        gap: 6px !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        align-content: flex-start !important;
    }

    .lcp-page-shell-overview .lcp-card-head.lcp-section-head > *,
    .lcp-page-shell-hunting .lcp-card-head.lcp-section-head > *,
    .lcp-page-shell-supervision .lcp-card-head.lcp-section-head > *,
    .lcp-page-shell-overview .lcp-card-head.lcp-section-head .lcp-section-title,
    .lcp-page-shell-hunting .lcp-card-head.lcp-section-head .lcp-section-title,
    .lcp-page-shell-supervision .lcp-card-head.lcp-section-head .lcp-section-title,
    .lcp-page-shell-overview .lcp-card-head.lcp-section-head .lcp-section-title > *,
    .lcp-page-shell-hunting .lcp-card-head.lcp-section-head .lcp-section-title > *,
    .lcp-page-shell-supervision .lcp-card-head.lcp-section-head .lcp-section-title > * {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        flex-grow: 0 !important;
        flex-basis: auto !important;
        align-self: auto !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    .lcp-page-shell-overview .lcp-card-head.lcp-section-head .lcp-section-title,
    .lcp-page-shell-hunting .lcp-card-head.lcp-section-head .lcp-section-title,
    .lcp-page-shell-supervision .lcp-card-head.lcp-section-head .lcp-section-title {
        display: block !important;
        gap: 0 !important;
    }

    .lcp-page-shell-overview .lcp-card-head.lcp-section-head .lcp-section-kicker,
    .lcp-page-shell-hunting .lcp-card-head.lcp-section-head .lcp-section-kicker,
    .lcp-page-shell-supervision .lcp-card-head.lcp-section-head .lcp-section-kicker,
    .lcp-page-shell-overview .lcp-card-head.lcp-section-head .lcp-section-count,
    .lcp-page-shell-hunting .lcp-card-head.lcp-section-head .lcp-section-count,
    .lcp-page-shell-supervision .lcp-card-head.lcp-section-head .lcp-section-count {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        flex-grow: 0 !important;
        line-height: 1.2 !important;
    }

    .lcp-page-shell-overview .lcp-card-head.lcp-section-head + .lcp-table-wrap,
    .lcp-page-shell-hunting .lcp-card-head.lcp-section-head + .lcp-table-wrap,
    .lcp-page-shell-supervision .lcp-card-head.lcp-section-head + .lcp-table-wrap {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
}

/* Mobile global tables: stacked cards (no horizontal scroll) */
@media (max-width: 768px) {
    .lcp-app #lcp-overview-table,
    .lcp-app #lcp-calls-table,
    .lcp-app #lcp-events-table,
    .lcp-app #lcp-overview-hunting-history,
    .lcp-app #lcp-hunting-history,
    .lcp-app #lcp-supervision-calls,
    .lcp-app #lcp-history-table {
        display: block !important;
        width: 100% !important;
        min-width: 0 !important;
        padding: 0 !important;
        gap: 0 !important;
    }

    .lcp-app #lcp-overview-table > tr,
    .lcp-app #lcp-calls-table > tr,
    .lcp-app #lcp-events-table > tr,
    .lcp-app #lcp-overview-hunting-history > tr,
    .lcp-app #lcp-hunting-history > tr,
    .lcp-app #lcp-supervision-calls > tr,
    .lcp-app #lcp-history-table > tr {
        display: block !important;
        width: 100% !important;
        grid-template-columns: none !important;
        margin: 0 0 10px !important;
        padding: 0 !important;
        border: 1px solid var(--lcp-line) !important;
        border-radius: 10px !important;
        background: #fff !important;
        box-shadow: none !important;
    }

    .lcp-app #lcp-overview-table > tr > td,
    .lcp-app #lcp-calls-table > tr > td,
    .lcp-app #lcp-events-table > tr > td,
    .lcp-app #lcp-overview-hunting-history > tr > td,
    .lcp-app #lcp-hunting-history > tr > td,
    .lcp-app #lcp-supervision-calls > tr > td,
    .lcp-app #lcp-history-table > tr > td {
        display: block !important;
        width: 100% !important;
        grid-template-columns: none !important;
        border: 0 !important;
        border-bottom: 1px solid var(--lcp-line) !important;
        border-radius: 0 !important;
        padding: 6px 10px !important;
        white-space: normal !important;
    }

    .lcp-app #lcp-overview-table > tr > td:last-child,
    .lcp-app #lcp-calls-table > tr > td:last-child,
    .lcp-app #lcp-events-table > tr > td:last-child,
    .lcp-app #lcp-overview-hunting-history > tr > td:last-child,
    .lcp-app #lcp-hunting-history > tr > td:last-child,
    .lcp-app #lcp-supervision-calls > tr > td:last-child,
    .lcp-app #lcp-history-table > tr > td:last-child {
        border-bottom: 0 !important;
    }

    .lcp-app .lcp-table-wrap,
    .lcp-app .lcp-page-shell-overview .lcp-table-wrap,
    .lcp-app .lcp-page-shell-hunting .lcp-table-wrap,
    .lcp-app .lcp-page-shell-supervision .lcp-table-wrap,
    .lcp-app .lcp-history-table-card .lcp-table-wrap {
        overflow-x: hidden !important;
        overflow-y: visible !important;
        -webkit-overflow-scrolling: auto !important;
    }

    .lcp-app .lcp-table,
    .lcp-app .lcp-history-table {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        table-layout: fixed !important;
        border-collapse: separate !important;
        border-spacing: 0 !important;
    }

    .lcp-app .lcp-table thead,
    .lcp-app .lcp-history-table thead {
        position: absolute !important;
        width: 1px !important;
        height: 1px !important;
        margin: -1px !important;
        padding: 0 !important;
        overflow: hidden !important;
        clip: rect(0, 0, 0, 0) !important;
        white-space: nowrap !important;
        border: 0 !important;
    }

    .lcp-app .lcp-table tbody,
    .lcp-app .lcp-history-table tbody {
        display: block !important;
        width: 100% !important;
    }

    .lcp-app .lcp-table tbody > tr,
    .lcp-app .lcp-history-table tbody > tr {
        display: block !important;
        margin: 0 0 10px !important;
        padding: 0 !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        border: 1px solid var(--lcp-line) !important;
        border-radius: 10px !important;
        background: #fff !important;
        box-shadow: none !important;
        overflow: hidden !important;
    }

    .lcp-app .lcp-table tbody > tr:last-child,
    .lcp-app .lcp-history-table tbody > tr:last-child {
        margin-bottom: 0 !important;
    }

    .lcp-app .lcp-table tbody > tr > td,
    .lcp-app .lcp-history-table tbody > tr > td {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 6px 10px !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        border: 0 !important;
        border-bottom: 1px solid var(--lcp-line) !important;
        border-radius: 0 !important;
        background: transparent !important;
        text-align: left !important;
        white-space: normal !important;
        word-break: normal !important;
        overflow-wrap: normal !important;
        line-height: 1.3 !important;
    }

    .lcp-app .lcp-table tbody > tr > td > *,
    .lcp-app .lcp-history-table tbody > tr > td > * {
        display: block !important;
        min-width: 0 !important;
        white-space: normal !important;
        word-break: normal !important;
        overflow-wrap: normal !important;
        line-height: 1.3 !important;
    }

    .lcp-app .lcp-table tbody > tr > td > * + *,
    .lcp-app .lcp-history-table tbody > tr > td > * + * {
        margin-top: 3px !important;
    }

    .lcp-app .lcp-table tbody > tr > td::before,
    .lcp-app .lcp-history-table tbody > tr > td::before {
        content: attr(data-label) " :" !important;
        display: block !important;
        margin: 0 0 2px !important;
        color: var(--lcp-muted) !important;
        font-size: 0.7rem !important;
        font-weight: 600 !important;
        line-height: 1.25 !important;
        letter-spacing: 0.02em !important;
        text-transform: uppercase !important;
        white-space: normal !important;
    }

    .lcp-app .lcp-table tbody > tr > td:last-child,
    .lcp-app .lcp-history-table tbody > tr > td:last-child {
        border-bottom: 0 !important;
    }

    .lcp-app .lcp-table tbody > tr > td[colspan],
    .lcp-app .lcp-history-table tbody > tr > td[colspan] {
        display: block !important;
        width: 100% !important;
        padding: 10px 12px !important;
        text-align: left !important;
    }

    .lcp-app .lcp-table tbody > tr > td[colspan]::before,
    .lcp-app .lcp-history-table tbody > tr > td[colspan]::before {
        content: none !important;
        display: none !important;
    }

    .lcp-app .lcp-table td small,
    .lcp-app .lcp-history-table td small,
    .lcp-app .lcp-supervision-primary,
    .lcp-app .lcp-supervision-secondary,
    .lcp-app .lcp-history-line,
    .lcp-app .lcp-history-agent {
        white-space: normal !important;
        word-break: normal !important;
        overflow-wrap: normal !important;
    }

    .lcp-app .lcp-call-chip,
    .lcp-app .lcp-direction-chip,
    .lcp-app .lcp-history-source,
    .lcp-app .lcp-history-status,
    .lcp-app .lcp-history-status-chip {
        display: inline-flex !important;
        align-items: center !important;
        width: fit-content !important;
        max-width: 100% !important;
        white-space: normal !important;
        word-break: normal !important;
        overflow-wrap: normal !important;
    }

    .lcp-app .lcp-history-line-agent {
        display: flex !important;
        flex-direction: column !important;
        gap: 2px !important;
    }

    .lcp-app .lcp-history-calling,
    .lcp-app .lcp-history-number-btn,
    .lcp-app .lcp-supervision-primary,
    .lcp-app .lcp-supervision-secondary,
    .lcp-app .lcp-history-file,
    .lcp-app .lcp-history-line,
    .lcp-app .lcp-history-agent {
        white-space: normal !important;
        word-break: normal !important;
        overflow-wrap: normal !important;
    }

    .lcp-app .lcp-supervision-actions {
        justify-content: flex-start !important;
        flex-wrap: wrap !important;
        gap: 6px !important;
        margin-top: 2px !important;
    }

    .lcp-app .lcp-supervision-actions .lcp-btn {
        width: auto !important;
        min-width: 0 !important;
        white-space: nowrap !important;
    }

    .lcp-app .lcp-history-mobile-main,
    .lcp-app .lcp-history-mobile-top,
    .lcp-app .lcp-history-mobile-title,
    .lcp-app .lcp-history-mobile-meta {
        display: block !important;
        width: 100% !important;
    }

    .lcp-app .lcp-history-mobile-top > * + *,
    .lcp-app .lcp-history-mobile-main > * + * {
        margin-top: 3px !important;
    }

    .lcp-app #lcp-hunting-history .lcp-history-date,
    .lcp-app #lcp-overview-hunting-history .lcp-history-date,
    .lcp-app #lcp-hunting-history .lcp-history-status,
    .lcp-app #lcp-overview-hunting-history .lcp-history-status {
        display: none !important;
    }
}

/* History mobile: header must not reserve empty vertical space */
@media (max-width: 768px) {
    .lcp-page-shell-history .lcp-history-table-card .lcp-history-card-head {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        align-content: flex-start !important;
        gap: 6px !important;
        margin: 0 !important;
        padding: 10px 12px 6px !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        border-bottom: 0 !important;
    }

    .lcp-page-shell-history .lcp-history-table-card .lcp-history-card-head > *,
    .lcp-page-shell-history .lcp-history-table-card .lcp-history-card-head .lcp-section-title,
    .lcp-page-shell-history .lcp-history-table-card .lcp-history-card-head .lcp-section-title > * {
        margin: 0 !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        flex: 0 0 auto !important;
        flex-grow: 0 !important;
        flex-basis: auto !important;
        align-self: auto !important;
    }

    .lcp-page-shell-history .lcp-history-table-card .lcp-history-card-head .lcp-section-title {
        display: block !important;
        gap: 0 !important;
        padding: 0 !important;
        margin-right: 0 !important;
    }

    .lcp-page-shell-history .lcp-history-table-card #lcp-history-search,
    .lcp-page-shell-history .lcp-history-table-card .lcp-history-table-search {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        flex: 0 0 auto !important;
        margin: 0 !important;
    }

    .lcp-page-shell-history .lcp-history-table-card .lcp-history-filter-bar {
        margin: 0 !important;
        padding: 0 !important;
        flex: 0 0 auto !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 6px !important;
    }

    .lcp-page-shell-history .lcp-history-table-card .lcp-history-card-head + .lcp-table-wrap {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
}
