:root {
    color-scheme: dark;
    --bg: #0b1120;
    --panel: #131c2e;
    --panel2: #0f1728;
    --line: #26324a;
    --ink: #e2e8f0;
    --ink-soft: #94a3b8;
    --accent: #3b82f6;
    --accent2: #60a5fa;
    --vert: #4ade80;
    --jaune: #fbbf24;
    --rouge: #f87171;
    --violet: #a78bfa;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { height: 100%; height: 100dvh; margin: 0; }
body {
    background: var(--bg);
    color: var(--ink);
    overflow: hidden;
    font: 14px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
button, input { font: inherit; color: inherit; }
a { color: var(--accent2); text-decoration: none; }
a:hover { text-decoration: underline; }

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: #334155; border-radius: 4px; }
::-webkit-scrollbar-track { background: transparent; }

#app { display: flex; flex-direction: column; height: 100%; height: 100dvh; }

/* HEADER */
header {
    min-height: 52px;
    flex: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 16px;
    background: var(--panel);
    border-bottom: 1px solid var(--line);
}
header .brand {
    font-weight: 700;
    font-size: 15px;
    letter-spacing: -.01em;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
header .brand small {
    color: var(--ink-soft);
    font-weight: 400;
    margin-left: 8px;
    font-size: 12px;
}
header .nav {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: none;
}
.nav-btn {
    background: transparent;
    border: 1px solid transparent;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    color: var(--ink-soft);
    min-height: 38px;
    transition: all .15s ease;
}
.nav-btn:hover { color: #fff; background: var(--panel2); }
.nav-btn.active { background: var(--bg); border-color: var(--line); color: #fff; }
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: 6px; }
.btn-action {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 38px;
    transition: opacity .15s ease;
}
.btn-action:hover { opacity: 0.9; }

/* MAIN LAYOUT */
main { flex: 1; display: flex; overflow: hidden; position: relative; }

/* ASIDE (SIDEBAR) */
aside {
    width: 380px;
    flex: none;
    background: var(--panel2);
    border-right: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.search-box { padding: 12px; border-bottom: 1px solid var(--line); flex: none; }
.search-box input {
    width: 100%;
    padding: 8px 12px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    font-size: 13px;
}
.search-box input:focus { outline: none; border-color: var(--accent); }
.pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 10px 12px;
    border-bottom: 1px solid var(--line);
    flex: none;
}
.pill {
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    background: var(--panel);
    border: 1px solid var(--line);
    color: var(--ink-soft);
    min-height: 28px;
}
.pill.active { background: var(--accent); border-color: var(--accent); color: #fff; }

#liste {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.card {
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: var(--panel);
    cursor: pointer;
    text-align: left;
    width: 100%;
    transition: border-color .15s ease, background-color .15s ease;
}
.card:hover { border-color: #3b4a68; }
.card.active { border-color: var(--accent); background: #1c2440; }
.card .row1 { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; gap: 6px; }
.tagc {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--ink-soft);
    background: var(--bg);
    padding: 2px 6px;
    border-radius: 4px;
}
.tagc.waat { color: var(--accent2); background: rgba(59,130,246,0.15); border: 1px solid rgba(59,130,246,0.3); }
.tagc.zeplug { color: var(--jaune); background: rgba(251,191,36,0.15); border: 1px solid rgba(251,191,36,0.3); }
.tagc.syndic { color: var(--vert); background: rgba(74,222,128,0.15); border: 1px solid rgba(74,222,128,0.3); }

.card .date-badge { font-size: 11px; font-weight: 600; color: var(--ink-soft); font-family: monospace; }
.card .sender { font-weight: 700; font-size: 13px; color: #fff; margin-bottom: 2px; }
.card .subject { font-size: 12px; color: var(--ink); margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card .meta { font-size: 11px; color: var(--ink-soft); display: flex; justify-content: space-between; align-items: center; }
.card .pjs-count { color: var(--violet); font-weight: 600; font-size: 11px; }

#compte {
    flex: none;
    padding: 8px 12px;
    text-align: center;
    font-size: 11px;
    color: var(--ink-soft);
    border-top: 1px solid var(--line);
    background: var(--bg);
}

/* VIEWER PRINCIPAL */
#viewer {
    flex: 1;
    overflow-y: auto;
    background: var(--bg);
    padding: 24px 28px;
}
.dash { max-width: 920px; margin: 0 auto; }
.dash h2 { margin: 0 0 4px; font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.lead { color: var(--ink-soft); margin: 0 0 20px; font-size: 13px; }

/* BANNIÈRES & ALERTES TYPE MARION */
.rec-banner {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.35);
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 24px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.rec-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}
.rec-text { flex: 1; }
.rec-title { font-size: 14px; font-weight: 700; color: #fff; margin: 0 0 4px; }
.rec-sub { font-size: 13px; color: var(--ink-soft); margin: 0; line-height: 1.5; }

.bloc { margin-bottom: 32px; }
.bloc > h3 { font-size: 15px; font-weight: 700; margin: 0 0 12px; display: flex; align-items: center; gap: 8px; }
.bloc > h3 .count { font-weight: 400; color: var(--ink-soft); font-size: 12px; }

.box {
    padding: 14px 16px;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: var(--panel);
    margin-bottom: 12px;
}
.grid2 { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.conseil { border-left: 3px solid var(--accent); }
.conseil .qui {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--accent2);
    font-weight: 700;
    margin-bottom: 4px;
}

/* TABLEAU COMPARATIF TYPE MARION */
table.t { width: 100%; border-collapse: collapse; font-size: 13px; }
table.t th, table.t td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.t th {
    color: var(--ink-soft);
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .04em;
    background: var(--panel2);
}
table.t tr.section-header td {
    background: var(--panel2);
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    color: var(--accent2);
    padding: 6px 12px;
    border-bottom: 1px solid var(--line);
}
.dim { font-weight: 600; color: #fff; font-size: 13px; }
.sub { font-size: 11px; color: var(--ink-soft); margin-top: 2px; }

/* BADGES TYPE MARION */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}
.b-ok { background: rgba(74,222,128,.12); color: var(--vert); border: 1px solid rgba(74,222,128,.3); }
.b-urgent { background: rgba(251,191,36,.14); color: var(--jaune); border: 1px solid rgba(251,191,36,.4); }
.b-passe { background: rgba(248,113,113,.1); color: var(--rouge); border: 1px solid rgba(248,113,113,.25); }
.b-avenir { background: var(--panel2); color: var(--ink-soft); border: 1px solid var(--line); }
.b-violet { background: rgba(167,139,250,.12); color: var(--violet); border: 1px solid rgba(167,139,250,.35); }
.b-blue { background: rgba(59,130,246,.12); color: var(--accent2); border: 1px solid rgba(59,130,246,.35); }

/* PIÈCES JOINTES & BOUTONS */
.pjs-grid { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.pj-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    border-radius: 8px;
    background: var(--panel2);
    border: 1px solid var(--line);
    color: var(--ink);
    font-size: 12px;
    gap: 8px;
    transition: all .15s ease;
}
.pj-btn:hover { border-color: var(--accent); background: var(--panel); text-decoration: none; }
.pj-btn .title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; }
.pj-btn .size { font-family: monospace; font-size: 11px; color: var(--ink-soft); }

/* TOAST */
.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 10px 16px;
    border-radius: 8px;
    background: var(--panel);
    border: 1px solid var(--line);
    color: #fff;
    font-size: 13px;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.5);
    z-index: 100;
    transform: translateY(100px);
    opacity: 0;
    transition: all .2s ease;
}
.toast.show { transform: translateY(0); opacity: 1; }

/* RESPONSIVE MOBILE */
@media (max-width: 768px) {
    header .brand small { display: none; }
    header .hidden-sm { display: none; }
    .mobile-only { display: inline-flex !important; }
    aside, #viewer { position: absolute; inset: 0; width: 100%; transition: transform .2s ease; }
    #viewer { z-index: 2; transform: translateX(0); padding: 16px; }
    aside { z-index: 3; transform: translateX(-100%); }
    #app.list-open aside { transform: translateX(0); }
    .grid2 { grid-template-columns: 1fr; }
}

/* STRATÉGIE & SCRIPTS D'APPEL */
.script-box {
    background: #0f1728;
    border: 1px solid var(--line);
    border-left: 4px solid var(--accent);
    border-radius: 8px;
    padding: 14px 18px;
    margin: 12px 0;
    font-size: 13px;
    line-height: 1.6;
}
.script-box .script-quote {
    color: #e2e8f0;
    font-style: italic;
    background: rgba(15, 23, 42, 0.7);
    padding: 10px 14px;
    border-radius: 6px;
    border: 1px dashed var(--line);
    margin-top: 8px;
}
.action-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 14px;
    margin: 16px 0;
}
.action-card {
    background: var(--panel2);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.action-card.p0 { border-color: var(--rouge); border-top-width: 3px; }
.action-card.p1 { border-color: var(--jaune); border-top-width: 3px; }
.action-card.p2 { border-color: var(--accent); border-top-width: 3px; }
.action-btns {
    display: flex;
    gap: 8px;
    margin-top: 14px;
    flex-wrap: wrap;
}
.btn-tel {
    background: #10b981;
    color: #fff;
    padding: 8px 14px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}
.btn-tel:hover { background: #059669; text-decoration: none; }
.btn-mail {
    background: var(--accent);
    color: #fff;
    padding: 8px 14px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}
.btn-mail:hover { opacity: 0.9; text-decoration: none; }


/* ÉCRAN DE VERROUILLAGE SÉCURISÉ */
.lock-overlay {
    position: fixed;
    inset: 0;
    background: rgba(11, 17, 32, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}
.lock-overlay[hidden] {
    display: none !important;
}
.lock-box {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 32px 28px;
    max-width: 420px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}
.lock-icon {
    font-size: 40px;
    margin-bottom: 12px;
}
.lock-box h2 {
    margin: 0 0 8px 0;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
}
.lock-box p {
    margin: 0 0 20px 0;
    font-size: 13px;
    color: var(--ink-soft);
    line-height: 1.4;
}
#form-auth {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
#input-password {
    background: var(--panel2);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px 14px;
    color: #fff;
    font-size: 15px;
    text-align: center;
    outline: none;
    transition: border-color .15s ease;
}
#input-password:focus {
    border-color: var(--accent);
}
#btn-unlock {
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: opacity .15s ease;
}
#btn-unlock:hover {
    opacity: 0.9;
}
.auth-error {
    margin-top: 12px;
    color: var(--rouge);
    font-size: 12px;
    font-weight: 600;
}
.lock-hint {
    margin-top: 16px;
    font-size: 11px;
    color: var(--ink-soft);
    opacity: 0.8;
}
.lock-hint code {
    background: var(--panel2);
    padding: 2px 6px;
    border-radius: 4px;
    color: var(--accent2);
    font-family: monospace;
}

/* ==============================================================================
   BIBLIOTHÈQUE DES DOCUMENTS & PIÈCES JOINTES (ARCHITECTURE WUDANG R84)
   ============================================================================== */
.docs-hero {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.docs-hero-content {
    flex: 1;
    min-width: 260px;
}
.docs-stats-badge {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 12px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.docs-stats-badge .docs-num {
    font-size: 26px;
    font-weight: 800;
    color: var(--accent2);
    font-family: monospace;
    line-height: 1;
}
.docs-stats-badge .docs-lbl {
    font-size: 11px;
    color: var(--ink-soft);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: .05em;
    font-weight: 600;
}
.docs-toolbar {
    background: var(--panel2);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.docs-search input {
    width: 100%;
    padding: 10px 14px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    font-size: 13px;
    min-height: 44px;
    transition: border-color .15s ease;
}
.docs-search input:focus {
    outline: none;
    border-color: var(--accent);
}
.docs-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.docs-pills .pill {
    min-height: 32px;
    display: inline-flex;
    align-items: center;
}
.docs-category-section {
    margin-bottom: 32px;
}
.docs-category-header {
    margin-bottom: 14px;
}
.docs-category-title {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 4px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.docs-category-count {
    font-size: 11px;
    font-weight: 700;
    color: var(--accent2);
    background: rgba(59, 130, 246, 0.15);
    padding: 2px 8px;
    border-radius: 999px;
    border: 1px solid rgba(59, 130, 246, 0.3);
}
.docs-category-desc {
    font-size: 12px;
    color: var(--ink-soft);
    margin: 0;
    line-height: 1.4;
}
.docs-wudang-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
    gap: 14px;
    width: 100%;
}
.doc-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 14px;
    transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.doc-card:hover {
    border-color: var(--accent2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}
.doc-card.is-new {
    border-color: rgba(74, 222, 128, 0.45);
    background: linear-gradient(180deg, rgba(74, 222, 128, 0.06) 0%, var(--panel) 100%);
}
.doc-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.doc-date-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    font-family: monospace;
    padding: 4px 8px;
    border-radius: 6px;
    background: var(--panel2);
    border: 1px solid var(--line);
    color: var(--ink);
}
.doc-date-badge.highlight {
    background: rgba(74, 222, 128, 0.15);
    border-color: rgba(74, 222, 128, 0.4);
    color: var(--vert);
}
.doc-op-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.doc-op-waat {
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.35);
    color: var(--accent2);
}
.doc-op-zeplug {
    background: rgba(251, 191, 36, 0.15);
    border: 1px solid rgba(251, 191, 36, 0.35);
    color: var(--jaune);
}
.doc-op-syndic {
    background: rgba(74, 222, 128, 0.15);
    border: 1px solid rgba(74, 222, 128, 0.35);
    color: var(--vert);
}
.doc-op-cs {
    background: rgba(167, 139, 250, 0.15);
    border: 1px solid rgba(167, 139, 250, 0.35);
    color: var(--violet);
}
.doc-card-body {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.doc-icon {
    font-size: 28px;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 2px;
}
.doc-details {
    flex: 1;
    min-width: 0;
}
.doc-filename {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 6px 0;
    line-height: 1.4;
    word-break: break-word;
}
.doc-sender {
    font-size: 11px;
    color: var(--ink-soft);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.doc-meta-row {
    font-size: 11px;
    color: var(--ink-soft);
    font-family: monospace;
}
.doc-actions {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    margin-top: 4px;
}
.doc-btn-view {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 14px;
    border-radius: 8px;
    background: var(--accent);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: opacity .15s ease;
}
.doc-btn-view:hover {
    opacity: 0.9;
    text-decoration: none;
}
.doc-btn-mail {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 14px;
    border-radius: 8px;
    background: var(--panel2);
    border: 1px solid var(--line);
    color: var(--ink);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all .15s ease;
}
.doc-btn-mail:hover {
    background: var(--line);
    color: #fff;
}
.docs-empty-state {
    text-align: center;
    padding: 48px 20px;
    background: var(--panel);
    border: 1px dashed var(--line);
    border-radius: 12px;
    color: var(--ink-soft);
}
.docs-empty-state .icon {
    font-size: 36px;
    margin-bottom: 10px;
}

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

/* ==============================================================================
   SECTION BLINDAGE DES OFFRES (WAAT VS ZEPLUG)
   ============================================================================== */
.blindage-hero {
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.12) 0%, rgba(15, 23, 42, 0.6) 100%);
    border: 1px solid rgba(59, 130, 246, 0.35);
    border-radius: 14px;
    padding: 20px 24px;
    margin-bottom: 24px;
}
.blindage-hero-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}
.blindage-hero-top h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    color: #fff;
}
.blindage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
    gap: 16px;
    margin: 16px 0 28px;
}
.blindage-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
    position: relative;
    overflow: hidden;
}
.blindage-card.critical {
    border-left: 4px solid var(--rouge);
    background: linear-gradient(180deg, rgba(239, 68, 68, 0.05) 0%, var(--panel) 100%);
}
.blindage-card.warning {
    border-left: 4px solid var(--jaune);
    background: linear-gradient(180deg, rgba(251, 191, 36, 0.05) 0%, var(--panel) 100%);
}
.blindage-card.legal {
    border-left: 4px solid var(--violet);
    background: linear-gradient(180deg, rgba(167, 139, 250, 0.05) 0%, var(--panel) 100%);
}
.blindage-card.tech {
    border-left: 4px solid var(--accent);
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.05) 0%, var(--panel) 100%);
}
.blindage-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
}
.blindage-card-title {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 4px 0;
}
.blindage-problem {
    background: rgba(15, 23, 42, 0.6);
    border: 1px dashed var(--line);
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 12px;
    color: var(--ink-soft);
    line-height: 1.45;
}
.blindage-problem strong {
    color: #f87171;
}
.blindage-solution {
    background: rgba(74, 222, 128, 0.08);
    border: 1px solid rgba(74, 222, 128, 0.25);
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 12px;
    color: #e2e8f0;
    line-height: 1.45;
}
.blindage-solution strong {
    color: var(--vert);
}

.sommation-container {
    background: var(--panel2);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 18px;
    margin: 16px 0;
}
.sommation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}
.sommation-text-box {
    background: #090d16;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 14px;
    font-family: monospace;
    font-size: 12px;
    line-height: 1.6;
    color: #e2e8f0;
    white-space: pre-wrap;
    word-break: break-word;
    user-select: all;
}
.sommation-actions {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    flex-wrap: wrap;
}



