@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root { font-family: 'DM Sans', 'Trebuchet MS', sans-serif; color: #172b25; background: #f4f5ef; font-synthesis: none; text-rendering: optimizeLegibility; --ink: #172b25; --green: #17483a; --green-deep: #123c32; --green-bright: #b8df67; --muted: #718079; --paper: #fffefa; --red: #e65c4f; }
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; min-height: 100vh; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid #94c86c; outline-offset: 2px; }
[hidden] { display: none !important; }
.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; }
.app-shell { min-height: 100vh; display: grid; grid-template-columns: 244px minmax(0, 1fr); }
.sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 27px 16px 18px; color: #f3f6ef; background-color: var(--green-deep); background-image: linear-gradient(135deg, transparent 49.7%, rgba(255,255,255,.025) 49.8% 50.2%, transparent 50.3%), linear-gradient(45deg, transparent 49.7%, rgba(255,255,255,.025) 49.8% 50.2%, transparent 50.3%); background-size: 28px 28px; }
.brand { display: flex; align-items: center; gap: 10px; margin: 0 12px 52px; color: inherit; text-decoration: none; }
.brand-mark { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px 9px 9px 2px; background: var(--green-bright); color: var(--green-deep); font: 700 21px Georgia, serif; }
.brand-name { font: 800 17px Manrope, sans-serif; }.brand-name span { margin-left: 4px; color: var(--green-bright); }
.workspace-label,.section-kicker,.eyebrow,.page-footer,.request-id,.brief-state { font-family: 'DM Mono', monospace; letter-spacing: 0; }
.workspace-label { padding: 0 13px; margin-bottom: 11px; color: #91aa9e; font-size: 13px; }
.side-nav { display: grid; gap: 5px; }
.nav-item { width: 100%; height: 42px; display: flex; align-items: center; gap: 11px; border: 0; border-radius: 6px; padding: 0 11px; color: #c1cec5; text-align: left; background: transparent; font-size: 15px; transition: background .18s, color .18s; }
.nav-item:hover { background: rgba(255,255,255,.08); color: white; }.nav-item.is-active { color: white; background: rgba(255,255,255,.12); box-shadow: inset 2px 0 var(--green-bright); }
.nav-icon { width: 16px; color: var(--green-bright); font-size: 17px; text-align: center; }.nav-count { min-width: 21px; height: 20px; display: grid; place-items: center; margin-left: auto; border-radius: 4px; color: #c1cec5; background: rgba(255,255,255,.09); font: 14px 'DM Mono', monospace; }
.sidebar-bottom { display: flex; align-items: center; gap: 9px; margin-top: auto; padding: 15px 8px 2px; border-top: 1px solid rgba(255,255,255,.13); }.sidebar-bottom strong,.sidebar-bottom small { display: block; }.sidebar-bottom strong { font-size: 15px; }.sidebar-bottom small { margin-top: 3px; color: #9db0a5; font-size: 13px; }
.online-dot { flex: none; width: 7px; height: 7px; border-radius: 50%; background: #a9db67; box-shadow: 0 0 0 3px rgba(169,219,103,.12); }
.flag-sn { display: flex; width: 19px; height: 12px; overflow: hidden; margin-left: auto; border-radius: 2px; }.flag-sn i { flex: 1; background: #138b51; }.flag-sn i:nth-child(2) { background: #f3c64d; }.flag-sn i:nth-child(3) { background: #d84f44; }
.main-area { min-width: 0; padding: 0 42px; background-color: #f6f7f2; background-image: radial-gradient(#d9ded5 .55px, transparent .55px); background-size: 19px 19px; }
.topbar { height: 65px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #e2e6dd; }.breadcrumb { display: flex; align-items: center; gap: 10px; color: #89958e; font-size: 15px; }.breadcrumb strong { color: #35463e; }.crumb-separator { color: #bac3bb; }
.topbar-actions { display: flex; align-items: center; gap: 19px; }.language-switch { display: flex; align-items: center; gap: 7px; color: #87928c; font-size: 14px; }.language-switch select { border: 0; color: var(--ink); background: transparent; font-size: 14px; }.topbar-avatar { width: 29px; height: 29px; display: grid; place-items: center; border: 1px solid #dce2d9; border-radius: 50%; color: var(--green); background: #e8efdf; font: 13px 'DM Mono', monospace; }
.page-view { max-width: 1390px; margin: 0 auto; padding-top: 31px; animation: appear .35s ease both; }@keyframes appear { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 23px; }.eyebrow { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; color: #718379; font-size: 13px; }.eyebrow-line { width: 18px; height: 2px; background: var(--red); }
h1,h2,p { margin-top: 0; }h1 { margin-bottom: 5px; color: var(--ink); font: 700 29px/1.2 Manrope, sans-serif; }.title-period { color: var(--red); }.page-subtitle { margin-bottom: 0; color: #76837c; font-size: 15px; }
.request-id { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 4px; color: #8c9890; font-size: 13px; }.request-id-dot { width: 6px; height: 6px; border-radius: 50%; background: #c8cec7; }.request-id.is-active .request-id-dot { background: #e8b844; }
.workbench { display: grid; grid-template-columns: minmax(0, 1.24fr) minmax(280px, .76fr); gap: 18px; align-items: start; }.panel { border: 1px solid #e6e8e1; border-radius: 7px; background: var(--paper); box-shadow: 0 3px 12px rgba(27,50,38,.025); }
.conversation-panel { min-height: 566px; display: flex; flex-direction: column; overflow: hidden; }.panel-header { height: 62px; display: flex; align-items: center; gap: 10px; padding: 0 17px; border-bottom: 1px solid #edf0e9; }.assistant-avatar { position: relative; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px 9px 9px 2px; color: #f1f4e9; background: var(--green); font: 700 17px Georgia, serif; }.assistant-avatar i { position: absolute; right: -2px; bottom: -2px; width: 9px; height: 9px; border: 2px solid white; border-radius: 50%; background: #aed65f; }
.assistant-heading strong,.assistant-heading small { display: flex; align-items: center; }.assistant-heading strong { color: #22362d; font-size: 15px; }.assistant-heading small { gap: 6px; margin-top: 3px; color: #829087; font-size: 13px; }.assistant-heading .online-dot { width: 5px; height: 5px; box-shadow: none; }
.icon-button { width: 31px; height: 31px; display: grid; place-items: center; margin-left: auto; border: 1px solid #e6e9e2; border-radius: 5px; color: #66776d; background: #fff; font-size: 17px; }.icon-button:hover { border-color: #b8c7b5; background: #f3f6ef; }
.conversation { flex: 1; min-height: 270px; max-height: 385px; overflow: auto; padding: 19px 17px 8px; scroll-behavior: smooth; }.message-row { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 17px; animation: appear .22s ease both; }.user-row { flex-direction: row-reverse; }.message-avatar { flex: none; width: 23px; height: 23px; display: grid; place-items: center; border-radius: 7px 7px 7px 2px; color: white; background: #35624f; font: 700 15px Georgia, serif; }.user-row .message-avatar { border-radius: 50%; color: #51634f; background: #edf1df; font: 14px 'DM Mono', monospace; }.message-content { max-width: min(89%, 440px); }.user-row .message-content { text-align: right; }.message-meta { margin: 1px 0 5px; color: #89958d; font-size: 13px; }.message-meta time { margin-left: 5px; color: #adb6ae; }.user-row .message-meta { text-align: right; }.message-bubble { border: 1px solid #e9ece5; border-radius: 2px 9px 9px 9px; padding: 10px 12px; color: #405047; background: #fafbf7; font-size: 15px; line-height: 1.65; text-align: left; white-space: pre-wrap; overflow-wrap: anywhere; }.user-row .message-bubble { border-color: #e0ebda; border-radius: 9px 2px 9px 9px; color: #263f31; background: #eef4e8; }
.choice-list { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; }.choice-button { border: 1px solid #dce6d9; border-radius: 5px; padding: 7px 10px; color: #315441; background: white; font-size: 14px; }.choice-button:hover { border-color: #527d58; background: #f4f8ed; }
.composer { margin: 0 13px 12px; border: 1px solid #dfe5dd; border-radius: 6px; background: white; }.composer:focus-within { border-color: #9aae90; box-shadow: 0 0 0 3px rgba(114,153,95,.09); }.composer textarea { display: block; width: 100%; min-height: 52px; resize: vertical; border: 0; outline: 0; padding: 11px 12px 5px; color: #26372f; background: transparent; font-size: 15px; line-height: 1.5; }.composer textarea::placeholder { color: #a4aea6; }.composer-footer { display: flex; align-items: center; justify-content: space-between; padding: 4px 7px 7px 11px; }.composer-hint { color: #9aa59c; font-size: 13px; }.sparkle { margin-right: 4px; color: #c89c2e; }
.send-button,.primary-button { min-height: 32px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; border: 0; border-radius: 4px; padding: 0 12px; color: white; background: var(--green); font-size: 14px; font-weight: 600; transition: background .15s, transform .15s; }.send-button:hover,.primary-button:hover { background: #236248; transform: translateY(-1px); }.send-button:disabled { cursor: wait; opacity: .65; }.send-button span:last-child,.primary-button span { font-size: 14px; }.question-progress { display: flex; align-items: center; gap: 9px; padding: 0 15px 12px; color: #8a978e; font-size: 13px; }.progress-track { flex: 1; height: 3px; overflow: hidden; border-radius: 3px; background: #edf0e9; }.progress-track i { display: block; height: 100%; background: #6d9c5d; transition: width .25s; }
.brief-panel { display: grid; gap: 14px; }.brief-card { padding: 16px 17px 15px; }.brief-topline { display: flex; align-items: center; justify-content: space-between; }.section-kicker { color: #88948c; font-size: 12px; }.brief-state { border-radius: 3px; padding: 4px 6px; color: #8c978f; background: #f1f3ed; font-size: 12px; }.brief-state.is-progress { color: #896a23; background: #fbf2d9; }.brief-state.is-ready { color: #286041; background: #e9f2df; }.brief-service-icon { width: 34px; height: 34px; display: grid; place-items: center; margin: 22px 0 11px; border: 1px solid #e7ebdd; border-radius: 6px; color: #49805a; background: #f1f5e9; font-size: 17px; }.brief-card h2 { margin-bottom: 7px; color: #20352b; font: 700 17px/1.35 Manrope, sans-serif; }.brief-intro { max-width: 300px; margin-bottom: 0; color: #839087; font-size: 14px; line-height: 1.6; }.brief-divider { height: 1px; margin: 16px 0 13px; background: #edf0e9; }.brief-facts { display: grid; gap: 9px; }.fact-row { display: grid; grid-template-columns: 85px minmax(0, 1fr); gap: 9px; align-items: baseline; font-size: 13px; }.fact-label { color: #95a097; }.fact-value { overflow: hidden; color: #354a3e; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }.empty-fact { display: flex; justify-content: space-between; gap: 20px; }.empty-fact span { height: 6px; width: 55px; border-radius: 4px; background: #f0f2ed; }.empty-fact span:last-child { width: 91px; }.empty-fact.short span:last-child { width: 55px; }.brief-actions { margin-top: 15px; }.brief-actions .primary-button { width: 100%; }
.result-card { border: 1px solid #dfe7d9; border-radius: 7px; padding: 16px; background: #fffefa; box-shadow: 0 3px 12px rgba(27,50,38,.025); animation: appear .25s ease both; }.result-head { display: flex; align-items: center; justify-content: space-between; }.result-head h2 { margin: 5px 0 0; font: 700 15px Manrope, sans-serif; }.ready-check { width: 23px; height: 23px; display: grid; place-items: center; border-radius: 50%; color: #2f7044; background: #eaf3e1; font-size: 16px; }.ready-message { margin: 12px 0 13px; border-left: 2px solid #9fbe67; padding-left: 9px; color: #627368; font-size: 14px; line-height: 1.5; }.result-tabs { display: flex; gap: 13px; border-bottom: 1px solid #e9ede5; }.result-tab { position: relative; border: 0; padding: 8px 1px; color: #8c978f; background: transparent; font-size: 13px; }.result-tab.is-active { color: #34533f; font-weight: 700; }.result-tab.is-active::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: #6d9b54; content: ''; }.result-content { max-height: 220px; overflow: auto; padding: 11px 1px 5px; }.result-section { margin-bottom: 10px; }.result-section:last-child { margin-bottom: 0; }.result-section h3 { margin: 0 0 4px; color: #89968e; font: 12px 'DM Mono', monospace; }.result-section p { margin: 0; color: #3e4e45; font-size: 13px; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; }.json-content { max-height: 250px; overflow: auto; padding: 10px 0; }.json-content pre { margin: 0; color: #355344; font: 13px/1.6 'DM Mono', monospace; white-space: pre-wrap; overflow-wrap: anywhere; }.result-actions { display: flex; gap: 7px; margin-top: 8px; }.secondary-button { flex: 1; min-height: 31px; display: flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid #dfe6db; border-radius: 4px; color: #46634d; background: #f8faf5; font-size: 13px; font-weight: 600; }.secondary-button:hover { border-color: #b6c7ab; background: #f0f5e9; }.download-button { width: 32px; height: 31px; margin: 0; font-size: 16px; }.webhook-button { width: 100%; min-height: 31px; display: flex; align-items: center; justify-content: space-between; margin-top: 8px; border: 0; border-radius: 4px; padding: 0 10px; color: #f3f7ef; background: #294d3d; font-size: 13px; font-weight: 600; }.webhook-button:hover { background: #37664e; }.delivery-status { min-height: 0; margin: 7px 0 0; color: #718079; font-size: 13px; line-height: 1.5; }.delivery-status.is-success { color: #337348; }.delivery-status.is-error { color: #b4483e; }.page-footer { display: flex; justify-content: space-between; padding: 22px 1px 18px; color: #9aa59d; font-size: 12px; }
.requests-panel { overflow: hidden; }.requests-toolbar { display: flex; align-items: center; justify-content: space-between; padding: 13px 16px; border-bottom: 1px solid #edf0e9; color: #6c7a71; font-size: 14px; }.requests-toolbar strong { color: #293c31; }.request-table { width: 100%; border-collapse: collapse; text-align: left; }.request-table th { padding: 10px 14px; color: #8c978f; background: #fafbf7; font: 12px 'DM Mono', monospace; }.request-table td { padding: 13px 14px; border-top: 1px solid #edf0e9; color: #506057; font-size: 14px; vertical-align: middle; }.request-table tr:first-child td { border-top: 0; }.request-table .client-description { max-width: 280px; overflow: hidden; color: #829087; text-overflow: ellipsis; white-space: nowrap; }.status-pill { display: inline-flex; align-items: center; gap: 5px; border-radius: 3px; padding: 4px 6px; color: #836822; background: #faf1d7; font-size: 12px; }.status-pill.is-treated { color: #3f6f4d; background: #e9f2e4; }.row-actions { display: flex; align-items: center; gap: 6px; }.row-button { border: 1px solid #e3e8df; border-radius: 4px; padding: 5px 7px; color: #526a58; background: white; font-size: 12px; }.row-button:hover { border-color: #aebea8; background: #f5f8f1; }.empty-requests { padding: 55px 20px; text-align: center; }.empty-requests-mark { width: 42px; height: 42px; display: grid; place-items: center; margin: 0 auto 13px; border: 1px solid #e6ebdf; border-radius: 8px; color: #658268; background: #f2f6ec; font-size: 20px; }.empty-requests strong { display: block; color: #405148; font: 600 16px Manrope, sans-serif; }.empty-requests p { margin: 5px 0 0; color: #8b978e; font-size: 14px; }.requests-mobile { display: none; }
.integration-panel { max-width: 720px; padding: 22px; }.integration-icon { width: 37px; height: 37px; display: grid; place-items: center; margin-bottom: 18px; border-radius: 6px; color: #316448; background: #edf3e7; font-size: 19px; }.integration-copy h2 { margin: 6px 0 8px; color: #23392d; font: 700 19px Manrope, sans-serif; }.integration-copy p { max-width: 560px; margin-bottom: 21px; color: #748178; font-size: 15px; line-height: 1.7; }.integration-copy code { border-radius: 3px; padding: 2px 4px; color: #45624d; background: #f1f4ed; font: 13px 'DM Mono', monospace; }.webhook-form { padding-top: 16px; border-top: 1px solid #edf0e9; }.webhook-form label { display: block; margin-bottom: 7px; color: #405248; font-size: 14px; font-weight: 600; }.webhook-input-row { display: flex; gap: 7px; }.webhook-input-row input { flex: 1; min-width: 0; min-height: 37px; border: 1px solid #dfe5dc; border-radius: 4px; padding: 0 10px; color: #304438; background: #fff; font-size: 14px; }.webhook-input-row input::placeholder { color: #a3aca5; }.webhook-input-row .primary-button { min-height: 37px; }.form-note { margin: 8px 0 0; color: #8b978e; font-size: 13px; }.integration-footnote { display: flex; align-items: flex-start; gap: 8px; max-width: 720px; margin-top: 13px; color: #87938a; font-size: 13px; line-height: 1.5; }.lock-mark { color: #66836d; font-size: 14px; }
.toast { position: fixed; z-index: 5; right: 23px; bottom: 20px; max-width: min(370px, calc(100vw - 32px)); transform: translateY(12px); border: 1px solid #dae5d4; border-radius: 5px; padding: 10px 13px; color: #315541; background: #fffefa; box-shadow: 0 8px 24px rgba(20,50,37,.12); font-size: 14px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }.toast.is-visible { transform: translateY(0); opacity: 1; }
@media (max-width: 1040px) { .app-shell { grid-template-columns: 210px minmax(0, 1fr); }.main-area { padding: 0 25px; }.workbench { grid-template-columns: minmax(0, 1fr) minmax(255px, .8fr); gap: 12px; } }
@media (max-width: 760px) { .app-shell { display: block; padding-bottom: 58px; }.sidebar { position: fixed; z-index: 4; top: auto; right: 0; bottom: 0; left: 0; width: 100%; height: 58px; flex-direction: row; align-items: center; padding: 5px 9px; background: var(--green-deep); }.brand,.workspace-label,.sidebar-bottom { display: none; }.side-nav { width: 100%; display: grid; grid-template-columns: repeat(3,1fr); gap: 3px; }.nav-item { height: 45px; flex-direction: column; justify-content: center; gap: 2px; padding: 3px; font-size: 12px; text-align: center; }.nav-item.is-active { box-shadow: inset 0 2px var(--green-bright); }.nav-icon { height: 17px; font-size: 15px; }.nav-count { position: absolute; top: 4px; margin-left: 34px; }.main-area { padding: 0 15px; background-size: 17px 17px; }.topbar { height: 54px; }.breadcrumb { font-size: 14px; }.language-switch { gap: 4px; font-size: 13px; }.language-switch select { max-width: 82px; font-size: 13px; }.topbar-actions { gap: 10px; }.topbar-avatar { width: 27px; height: 27px; }.page-view { padding-top: 24px; }.page-heading { margin-bottom: 17px; }h1 { font-size: 25px; }.page-subtitle { max-width: 250px; font-size: 15px; line-height: 1.5; }.request-id { font-size: 11px; }.workbench { grid-template-columns: minmax(0,1fr); gap: 12px; }.conversation-panel { min-height: 510px; }.conversation { min-height: 235px; max-height: 340px; padding-right: 12px; padding-left: 12px; }.composer { margin-right: 9px; margin-left: 9px; }.composer-hint { max-width: 150px; font-size: 12px; }.brief-card { padding: 14px; }.brief-service-icon { margin-top: 16px; }.page-footer { padding: 17px 1px 14px; }.request-table-wrap { display: none; }.requests-mobile { display: grid; }.request-mobile-card { padding: 14px; border-top: 1px solid #edf0e9; }.request-mobile-card:first-child { border-top: 0; }.request-mobile-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }.request-mobile-top strong { color: #2b4034; font-size: 15px; }.request-mobile-card p { display: -webkit-box; overflow: hidden; margin: 8px 0 10px; color: #859188; font-size: 13px; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }.webhook-input-row { flex-direction: column; }.webhook-input-row .primary-button { width: 100%; }.integration-panel { padding: 17px; } }

/* Bannière accueil client */
.hero-banner img,
.banner img {
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    display: block !important;
    }