/* =========================================================
   ADELITA IA — DESIGN SYSTEM UNIFIE — 2026-09
   Couche finale commune à toutes les interfaces.
   ========================================================= */
:root {
    --ui-bg: #eef4fa;
    --ui-surface: #ffffff;
    --ui-soft: #f7faff;
    --ui-ink: #10233f;
    --ui-muted: #64748b;
    --ui-navy: #081a31;
    --ui-navy-2: #123b68;
    --ui-blue: #1769e0;
    --ui-blue-2: #248df2;
    --ui-cyan: #34bff5;
    --ui-border: #d9e5f1;
    --ui-border-strong: #c6d6e7;
    --ui-radius: 18px;
    --ui-radius-lg: 26px;
    --ui-shadow-sm: 0 8px 24px rgba(16,35,63,.07);
    --ui-shadow: 0 22px 65px rgba(16,35,63,.11);
}
html { color-scheme: light !important; }
body {
    margin: 0 !important;
    min-height: 100vh !important;
    padding: 0 0 48px !important;
    background:
        radial-gradient(circle at 8% 0%, rgba(52,191,245,.18), transparent 28%),
        radial-gradient(circle at 94% 4%, rgba(23,105,224,.12), transparent 28%),
        linear-gradient(145deg, #f8fbff 0%, var(--ui-bg) 52%, #e7f0f8 100%) !important;
    color: var(--ui-ink) !important;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    font-size: 15px !important;
    line-height: 1.55 !important;
    -webkit-font-smoothing: antialiased;
}
body, body main, body section, body article, body div, body p, body span,
body li, body label, body small, body strong, body td {
    color: var(--ui-ink) !important;
}
body p, body small, body .small, body .muted, body .text-muted,
body .subtitle, body .description, body .help-text {
    color: var(--ui-muted) !important;
}
body a { color: var(--ui-blue) !important; text-underline-offset: 3px; }
body a:hover { color: #0e51bd !important; }

body main.container, body main.app-shell, body .app-shell, body main.wrapper {
    width: min(1440px, calc(100% - 40px)) !important;
    max-width: 1440px !important;
    margin: 28px auto 52px !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
}
body > h1, body > h2, body > p, body > .card,
body > .alert-success, body > .alert-error, body > .app-alert,
body > form, body > table {
    width: min(1440px, calc(100% - 40px)) !important;
    max-width: 1440px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Navigation */
body nav.app-nav {
    width: min(1440px, calc(100% - 40px)) !important;
    max-width: 1440px !important;
    margin: 20px auto 0 !important;
    padding: 0 !important;
    background: rgba(255,255,255,.94) !important;
    border: 1px solid var(--ui-border) !important;
    border-radius: 18px !important;
    box-shadow: var(--ui-shadow-sm) !important;
    overflow: hidden !important;
    backdrop-filter: blur(18px) !important;
}
body main.container nav.app-nav, body .card nav.app-nav,
body .dashboard-shell nav.app-nav {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 26px !important;
}
body nav.app-nav .app-nav__inner {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 7px !important;
    padding: 10px !important;
}
body nav.app-nav .app-nav__inner::before {
    content: "ADELITA IA" !important;
    display: inline-flex !important;
    align-items: center !important;
    min-height: 38px !important;
    padding: 0 14px 0 34px !important;
    margin-right: 4px !important;
    border-right: 1px solid var(--ui-border) !important;
    background: radial-gradient(circle at 17px 50%, var(--ui-cyan) 0 4px, transparent 5px) !important;
    color: var(--ui-navy) !important;
    font-size: 13px !important;
    font-weight: 950 !important;
    letter-spacing: .08em !important;
    white-space: nowrap !important;
}
body nav.app-nav a.app-nav__link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 38px !important;
    width: auto !important;
    padding: 8px 12px !important;
    margin: 0 !important;
    border: 1px solid transparent !important;
    border-radius: 10px !important;
    background: transparent !important;
    color: #38506d !important;
    font-size: 13px !important;
    font-weight: 750 !important;
    line-height: 1.1 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    box-shadow: none !important;
    transform: none !important;
}
body nav.app-nav a.app-nav__link:hover {
    background: #eef6ff !important;
    border-color: #dbeafe !important;
    color: var(--ui-blue) !important;
}
body nav.app-nav a.app-nav__link.is-active {
    background: linear-gradient(135deg, var(--ui-blue), var(--ui-blue-2)) !important;
    border-color: transparent !important;
    color: #fff !important;
    box-shadow: 0 8px 18px rgba(23,105,224,.20) !important;
}
body nav.app-nav a.app-nav__link:last-of-type {
    margin-left: auto !important;
    color: #7b3340 !important;
}
body nav.app-nav a.app-nav__link:last-of-type:hover {
    background: #fff1f2 !important;
    border-color: #fecdd3 !important;
    color: #ad2438 !important;
}
body nav.app-nav form.app-nav__action {
    display: inline-flex !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}
body nav.app-nav .app-nav__danger {
    min-height: 38px !important;
    padding: 8px 12px !important;
    border-radius: 10px !important;
    background: #fff1f2 !important;
    color: #ad2438 !important;
    box-shadow: none !important;
}

/* Titres et surfaces */
body .page-hero {
    position: relative !important;
    overflow: hidden !important;
    margin: 0 0 24px !important;
    padding: 30px 34px !important;
    border: 1px solid rgba(255,255,255,.12) !important;
    border-radius: var(--ui-radius-lg) !important;
    background:
        radial-gradient(circle at 88% 10%, rgba(52,191,245,.26), transparent 28%),
        linear-gradient(135deg, var(--ui-navy) 0%, var(--ui-navy-2) 65%, #18568d 100%) !important;
    box-shadow: 0 22px 55px rgba(8,26,49,.22) !important;
}
body .page-hero::after {
    content: "" !important;
    position: absolute !important;
    right: -60px !important;
    bottom: -90px !important;
    width: 240px !important;
    height: 240px !important;
    border: 1px solid rgba(255,255,255,.13) !important;
    border-radius: 50% !important;
}
body .page-hero .page-eyebrow {
    display: block !important;
    margin-bottom: 9px !important;
    color: #8edcff !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    letter-spacing: .16em !important;
    text-transform: uppercase !important;
}
body h1, body h2, body h3, body h4, body h5, body h6 {
    color: var(--ui-ink) !important;
    font-family: inherit !important;
    letter-spacing: -.025em !important;
}
body h1 { font-size: clamp(30px,4vw,46px) !important; line-height: 1.06 !important; }
body h2 { margin: 0 0 18px !important; font-size: clamp(22px,2.6vw,32px) !important; line-height: 1.15 !important; }
body h3 { font-size: 19px !important; line-height: 1.25 !important; }
body .page-hero h1, body .page-hero h2,
body .dashboard-title h1, body .dashboard-title h2,
body .card > h1:first-of-type, body .dashboard-shell > h1:first-of-type {
    color: #fff !important;
}
body .page-hero h1 {
    margin: 0 !important;
    padding: 0 !important;
    background: none !important;
    box-shadow: none !important;
    font-size: clamp(30px,4vw,48px) !important;
}
body .page-hero p {
    max-width: 850px !important;
    margin: 12px 0 0 !important;
    color: #c8d9eb !important;
    font-size: 16px !important;
}
body .card, body section.card, body article.card, body .panel, body .widget {
    background: rgba(255,255,255,.96) !important;
    border: 1px solid var(--ui-border) !important;
    border-radius: var(--ui-radius-lg) !important;
    box-shadow: var(--ui-shadow) !important;
    color: var(--ui-ink) !important;
}
body .card, body section.card, body article.card {
    padding: 28px !important;
    margin-bottom: 24px !important;
}
body .dashboard-title, body .card > h1:first-of-type,
body .dashboard-shell > h1:first-of-type {
    border-radius: 20px !important;
    background: linear-gradient(135deg, var(--ui-navy), var(--ui-navy-2)) !important;
    color: #fff !important;
}

/* Tuiles */
body .grid, body .cards, body .agents-grid, body .dashboard-stats { gap: 18px !important; }
body .metric, body .stat-card .value {
    color: var(--ui-navy) !important;
    font-size: clamp(28px,3vw,38px) !important;
    font-weight: 900 !important;
}
body .stat-card, body .agent-card, body .agent,
body .project-card, body .project-tile, body .member-project-card,
body .project-item, body .project-row, body .adelita-project-tile {
    background:
        radial-gradient(circle at 100% 0%, rgba(52,191,245,.10), transparent 34%),
        linear-gradient(180deg, #fff 0%, #f8fbff 100%) !important;
    border: 1px solid var(--ui-border) !important;
    border-radius: 20px !important;
    box-shadow: var(--ui-shadow-sm) !important;
    color: var(--ui-ink) !important;
}
body .agent-card *, body .agent *, body .project-card *,
body .project-tile *, body .member-project-card *, body .project-item *,
body .project-row *, body .adelita-project-tile * {
    color: var(--ui-ink) !important;
}
body .agent-card p, body .agent p, body .project-card p,
body .project-tile p, body .member-project-card p, body .project-item p,
body .project-row p, body .adelita-project-tile p, body .adelita-project-tile small {
    color: var(--ui-muted) !important;
}

/* Formulaires et actions */
body form {
    max-width: 100% !important;
    padding: 20px !important;
    margin: 18px 0 !important;
    border: 1px solid var(--ui-border) !important;
    border-radius: var(--ui-radius) !important;
    background: var(--ui-soft) !important;
    box-shadow: none !important;
}
body label, body legend { color: var(--ui-ink) !important; font-weight: 800 !important; }
body input, body select, body textarea {
    width: 100% !important;
    min-height: 44px !important;
    padding: 11px 13px !important;
    border: 1px solid var(--ui-border-strong) !important;
    border-radius: 11px !important;
    background: #fff !important;
    color: var(--ui-ink) !important;
    box-shadow: 0 3px 10px rgba(16,35,63,.04) !important;
}
body input[type="checkbox"], body input[type="radio"] {
    width: auto !important;
    min-height: auto !important;
    box-shadow: none !important;
}
body input:focus, body select:focus, body textarea:focus {
    outline: none !important;
    border-color: var(--ui-blue) !important;
    box-shadow: 0 0 0 4px rgba(23,105,224,.12) !important;
}
body button, body .button, body .btn, body input[type="submit"] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 42px !important;
    padding: 10px 17px !important;
    border: 0 !important;
    border-radius: 11px !important;
    background: linear-gradient(135deg, var(--ui-blue), var(--ui-blue-2)) !important;
    color: #fff !important;
    font-weight: 850 !important;
    text-decoration: none !important;
    box-shadow: 0 9px 22px rgba(23,105,224,.20) !important;
}
body .btn-secondary, body .button-secondary,
body a.btn-secondary, body a.button-secondary {
    background: #fff !important;
    color: #334b68 !important;
    border: 1px solid var(--ui-border-strong) !important;
    box-shadow: var(--ui-shadow-sm) !important;
}
body .btn-danger, body .button-danger {
    background: linear-gradient(135deg,#d84c59,#b92f3d) !important;
    color: #fff !important;
}

/* Tableaux et statuts */
body table {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border: 1px solid var(--ui-border) !important;
    border-radius: 16px !important;
    background: #fff !important;
    color: var(--ui-ink) !important;
    box-shadow: var(--ui-shadow-sm) !important;
}
body th, body td {
    padding: 13px 14px !important;
    border: 0 !important;
    border-bottom: 1px solid #e7edf4 !important;
    color: var(--ui-ink) !important;
    vertical-align: top !important;
}
body th {
    background: #edf5fd !important;
    color: #244a75 !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    letter-spacing: .07em !important;
    text-transform: uppercase !important;
}
body tr:last-child td { border-bottom: 0 !important; }
body tr:hover td { background: #f8fbff !important; }
body .status, body .badge, body [class*="status-"] {
    border-radius: 999px !important;
    font-size: 11px !important;
    font-weight: 900 !important;
}
body .status-done, body .status-indexed, body .done {
    color: #0f6b43 !important; background: #e7f8f0 !important; border-color: #b9ead3 !important;
}
body .status-pending, body .status-uploaded, body .pending {
    color: #8b5307 !important; background: #fff5db !important; border-color: #f1dda4 !important;
}
body .status-running, body .status-indexing, body .running {
    color: #1359a5 !important; background: #eaf4ff !important; border-color: #bfddfb !important;
}
body .status-failed, body .failed {
    color: #a42e3b !important; background: #fff0f1 !important; border-color: #f3c6cc !important;
}
body .app-alert, body .alert-success, body .alert-error, body .error, body .success {
    padding: 14px 16px !important;
    margin: 16px 0 !important;
    border-radius: 13px !important;
    font-weight: 750 !important;
}
body .app-alert--success, body .alert-success, body .success {
    color: #0f6b43 !important; background: #e7f8f0 !important; border: 1px solid #b9ead3 !important;
}
body .alert-error, body .error {
    color: #a42e3b !important; background: #fff0f1 !important; border: 1px solid #f3c6cc !important;
}
body pre {
    padding: 18px !important;
    border: 1px solid #183b61 !important;
    border-radius: 14px !important;
    background: #0b1d33 !important;
    color: #e6f1fb !important;
    box-shadow: var(--ui-shadow-sm) !important;
}
body hr { border: 0 !important; border-top: 1px solid var(--ui-border) !important; margin: 26px 0 !important; }

@media (max-width: 980px) {
    body nav.app-nav .app-nav__inner::before {
        width: 100% !important;
        border-right: 0 !important;
        border-bottom: 1px solid var(--ui-border) !important;
    }
    body nav.app-nav a.app-nav__link:last-of-type { margin-left: 0 !important; }
    body .dashboard-stats, body .agents-grid, body .cards, body .grid,
    body .projects-grid, body .project-grid, body .adelita-project-tiles-grid {
        grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    }
}
@media (max-width: 680px) {
    body { padding-bottom: 24px !important; }
    body main.container, body main.app-shell, body .app-shell, body main.wrapper,
    body nav.app-nav, body > h1, body > h2, body > p, body > .card,
    body > form, body > table { width: calc(100% - 20px) !important; }
    body nav.app-nav .app-nav__inner {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 7px !important;
    }
    body nav.app-nav .app-nav__inner::before { grid-column: 1 / -1 !important; }
    body nav.app-nav a.app-nav__link { width: 100% !important; white-space: normal !important; }
    body .card, body section.card, body article.card, body .page-hero {
        padding: 20px !important;
        border-radius: 18px !important;
    }
    body .dashboard-stats, body .agents-grid, body .cards, body .grid,
    body .projects-grid, body .project-grid, body .adelita-project-tiles-grid {
        grid-template-columns: 1fr !important;
    }
    body table { display: block !important; overflow-x: auto !important; white-space: nowrap !important; }
}

/* Normalisation des titres locaux */
body h2,
body h3,
body h4 {
    padding: 0 !important;
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}
body .dashboard-title h1,
body .dashboard-title h2,
body .page-hero h1,
body .page-hero h2 {
    background: transparent !important;
}
body .card > h1:first-of-type,
body .dashboard-shell > h1:first-of-type {
    padding: 24px 28px !important;
}

/* Console de gouvernance */
body .console-shell {
    width: min(1440px, calc(100% - 40px)) !important;
    margin: 28px auto 56px !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}
body .console-shell .console-hero {
    padding: 36px 38px !important;
    background:
        radial-gradient(circle at 88% 8%, rgba(52,191,245,.27), transparent 30%),
        linear-gradient(135deg, var(--ui-navy), var(--ui-navy-2) 68%, #185b95) !important;
    border: 1px solid rgba(255,255,255,.12) !important;
    box-shadow: 0 22px 55px rgba(8,26,49,.22) !important;
}
body .console-shell .console-hero > h1:first-of-type {
    margin: 0 0 12px !important;
    padding: 0 !important;
    background: transparent !important;
    color: #fff !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}
body .console-shell .console-kicker {
    color: #8edcff !important;
}
body .console-shell .console-hero p {
    color: #c8d9eb !important;
}
body .console-shell .metric-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0,1fr)) !important;
    gap: 16px !important;
    margin: 0 0 28px !important;
}
body .console-shell .metric-card {
    position: relative !important;
    overflow: hidden !important;
    min-height: 118px !important;
    padding: 20px 22px !important;
    background: linear-gradient(180deg,#fff,#f8fbff) !important;
    border: 1px solid var(--ui-border) !important;
    border-radius: 18px !important;
    box-shadow: var(--ui-shadow-sm) !important;
}
body .console-shell .metric-card::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 auto 0 0 !important;
    width: 4px !important;
    background: linear-gradient(180deg,var(--ui-cyan),var(--ui-blue)) !important;
}
body .console-shell .metric-label {
    color: var(--ui-muted) !important;
    font-size: 12px !important;
    font-weight: 850 !important;
    letter-spacing: .06em !important;
    text-transform: uppercase !important;
}
body .console-shell .metric-value {
    margin-top: 8px !important;
    color: var(--ui-navy) !important;
    font-size: 32px !important;
    font-weight: 950 !important;
}
body .console-shell .console-section {
    margin-top: 0 !important;
    padding: 30px !important;
}
body .console-shell .console-section-header {
    max-width: none !important;
    margin: 0 0 22px !important;
    padding: 0 0 20px !important;
    border-bottom: 1px solid var(--ui-border) !important;
}
body .console-shell .console-section-header h2 {
    margin: 0 0 7px !important;
    padding: 0 !important;
    background: transparent !important;
    color: var(--ui-ink) !important;
    box-shadow: none !important;
}
body .console-shell .console-section-header p {
    margin: 0 !important;
}
body .console-shell .console-grid {
    display: grid !important;
    grid-template-columns: repeat(3,minmax(0,1fr)) !important;
    gap: 16px !important;
}
body .console-shell .console-card {
    display: flex !important;
    flex-direction: column !important;
    min-height: 270px !important;
    padding: 22px !important;
    background: var(--ui-soft) !important;
    border: 1px solid var(--ui-border) !important;
    border-radius: 18px !important;
    box-shadow: none !important;
}
body .console-shell .console-card-icon {
    display: grid !important;
    place-items: center !important;
    width: 48px !important;
    height: 48px !important;
    border-radius: 14px !important;
    background: #e7f3ff !important;
    font-size: 24px !important;
}
body .console-shell .console-card h3 {
    margin: 16px 0 8px !important;
    color: var(--ui-ink) !important;
}
body .console-shell .console-card p {
    flex: 1 !important;
    margin: 0 0 14px !important;
    color: var(--ui-muted) !important;
}
body .console-shell .console-card ul {
    margin: 0 0 18px !important;
    color: #425a75 !important;
}
body .console-shell .connector-grid {
    display: grid !important;
    grid-template-columns: repeat(4,minmax(0,1fr)) !important;
    gap: 14px !important;
}
body .console-shell .connector-card {
    padding: 17px !important;
    background: #fff !important;
    border: 1px solid var(--ui-border) !important;
    border-radius: 16px !important;
    box-shadow: var(--ui-shadow-sm) !important;
}
body .console-shell .connector-name {
    color: var(--ui-ink) !important;
}
body .console-shell .connector-detail {
    color: var(--ui-muted) !important;
}
body .console-shell .status-ready {
    color: #0f6b43 !important;
    background: #e7f8f0 !important;
    border-color: #b9ead3 !important;
}
body .console-shell .status-warning {
    color: #8b5307 !important;
    background: #fff5db !important;
    border-color: #f1dda4 !important;
}
body .console-shell .notice {
    color: #7a4b09 !important;
    background: #fff8e8 !important;
    border-color: #eed8a5 !important;
}
@media (max-width: 980px) {
    body .console-shell .metric-grid,
    body .console-shell .connector-grid {
        grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    }
    body .console-shell .console-grid {
        grid-template-columns: 1fr !important;
    }
}
@media (max-width: 620px) {
    body .console-shell {
        width: calc(100% - 20px) !important;
    }
    body .console-shell .metric-grid,
    body .console-shell .connector-grid {
        grid-template-columns: 1fr !important;
    }
    body .console-shell .console-hero,
    body .console-shell .console-section {
        padding: 22px !important;
    }
}

/* En-tête applicatif partagé : bandeau + navigation */
body .app-page-header {
    width: 100% !important;
    margin: 0 0 32px !important;
}
body .app-page-header .app-page-hero {
    position: relative !important;
    overflow: hidden !important;
    min-height: 188px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    padding: 34px 38px !important;
    border: 1px solid rgba(255,255,255,.12) !important;
    border-radius: 26px !important;
    background:
        radial-gradient(circle at 89% 8%, rgba(52,191,245,.25), transparent 30%),
        linear-gradient(135deg, var(--ui-navy) 0%, var(--ui-navy-2) 68%, #185b95 100%) !important;
    box-shadow: 0 22px 55px rgba(8,26,49,.22) !important;
    box-sizing: border-box !important;
}
body .app-page-header .app-page-hero::after {
    content: "" !important;
    position: absolute !important;
    right: -64px !important;
    bottom: -108px !important;
    width: 270px !important;
    height: 270px !important;
    border: 1px solid rgba(255,255,255,.12) !important;
    border-radius: 50% !important;
    pointer-events: none !important;
}
body .app-page-header .app-page-kicker {
    position: relative !important;
    z-index: 1 !important;
    margin: 0 0 6px !important;
    color: #8edcff !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
}
body .app-page-header .app-page-hero h1 {
    position: relative !important;
    z-index: 1 !important;
    max-width: 1050px !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #fff !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    font-size: clamp(34px, 4vw, 48px) !important;
    line-height: 1.08 !important;
}
body .app-page-header .app-page-hero p {
    position: relative !important;
    z-index: 1 !important;
    max-width: 1120px !important;
    margin: 12px 0 0 !important;
    color: #dbeafe !important;
    font-size: 15px !important;
}
body .app-page-header nav.app-nav,
body main.container .app-page-header nav.app-nav,
body main.app-shell .app-page-header nav.app-nav,
body .card .app-page-header nav.app-nav {
    width: 100% !important;
    max-width: 100% !important;
    margin: 22px 0 0 !important;
}
body .app-page-content,
body section.app-page-content {
    margin-top: 0 !important;
}
@media (max-width: 720px) {
    body .app-page-header {
        margin-bottom: 22px !important;
    }
    body .app-page-header .app-page-hero {
        min-height: 160px !important;
        padding: 24px 22px !important;
        border-radius: 20px !important;
    }
    body .app-page-header .app-page-hero h1 {
        font-size: clamp(28px, 9vw, 38px) !important;
    }
}

/* Notification membre : document de projet disponible */
body dialog.member-task-popup {
    width: min(560px, calc(100% - 28px)) !important;
    max-width: 560px !important;
    margin: auto !important;
    padding: 0 !important;
    overflow: hidden !important;
    color: var(--ui-ink) !important;
    background: #fff !important;
    border: 1px solid #cfe0f1 !important;
    border-radius: 24px !important;
    box-shadow: 0 30px 90px rgba(8,26,49,.30) !important;
}
body dialog.member-task-popup::backdrop {
    background: rgba(8,26,49,.58) !important;
    backdrop-filter: blur(5px) !important;
}
body .member-task-popup__icon {
    display: grid !important;
    place-items: center !important;
    width: 58px !important;
    height: 58px !important;
    margin: 30px 30px 0 !important;
    color: #fff !important;
    background: #159a67 !important;
    border-radius: 18px !important;
    font-size: 30px !important;
    font-weight: 900 !important;
    box-shadow: 0 12px 28px rgba(21,154,103,.24) !important;
}
body .member-task-popup__content {
    padding: 20px 30px 30px !important;
}
body .member-task-popup__eyebrow {
    margin-bottom: 5px !important;
    color: var(--ui-blue) !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
}
body .member-task-popup h2 {
    margin: 0 0 10px !important;
    color: var(--ui-navy) !important;
    font-size: 28px !important;
}
body .member-task-popup p {
    margin: 0 !important;
    color: #4d627b !important;
}
body .member-task-popup .member-task-popup__project {
    margin-top: 12px !important;
    padding: 11px 13px !important;
    color: #244362 !important;
    background: #f1f7fd !important;
    border: 1px solid #d8e7f5 !important;
    border-radius: 12px !important;
    font-weight: 750 !important;
}
body .member-task-popup__project:empty {
    display: none !important;
}
body .member-task-popup__actions {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    margin-top: 24px !important;
}
body .member-task-popup__actions a,
body .member-task-popup__actions button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 42px !important;
    width: auto !important;
    margin: 0 !important;
    padding: 9px 15px !important;
    border-radius: 11px !important;
    font-size: 13px !important;
    font-weight: 850 !important;
    line-height: 1.15 !important;
    text-decoration: none !important;
    box-shadow: none !important;
}
body .member-task-popup__primary {
    color: #fff !important;
    background: var(--ui-blue) !important;
    border: 1px solid var(--ui-blue) !important;
}
body .member-task-popup__secondary {
    color: var(--ui-blue) !important;
    background: #edf6ff !important;
    border: 1px solid #cfe2f6 !important;
}
body .member-task-popup__close {
    margin-left: auto !important;
    color: #52667d !important;
    background: #fff !important;
    border: 1px solid #d5e0eb !important;
}
@media (max-width: 560px) {
    body .member-task-popup__icon {
        margin: 22px 22px 0 !important;
    }
    body .member-task-popup__content {
        padding: 18px 22px 24px !important;
    }
    body .member-task-popup__actions a,
    body .member-task-popup__actions button {
        width: 100% !important;
        margin-left: 0 !important;
    }
}
