.prod-dashboard { position: relative; }
.prod-risk-button { border: 0; cursor: pointer; font-family: inherit; }
.prod-risk[data-demo-card] { cursor: pointer; }
.prod-risk.is-selected { outline: 2px solid #ffcf3e; outline-offset: -2px; }
.demo-message { position: absolute; z-index: 4; right: 12px; bottom: 12px; max-width: min(320px, calc(100% - 24px)); margin: 0; padding: 10px 12px; border: 1px solid #bbdfca; border-radius: 8px; background: #f0fdf4; box-shadow: 0 4px 14px rgba(15, 23, 42, .12); color: #166534; font-size: 12px; line-height: 1.4; }
.demo-message[hidden] { display: none; }
.demo-layer { position: absolute; inset: 0; z-index: 5; visibility: hidden; transition: visibility 0s linear .3s; }
.demo-layer.is-open { visibility: visible; transition-delay: 0s; }
.demo-backdrop { position: absolute; inset: 0; background: rgba(15,23,42,.48); opacity: 0; transition: opacity .3s ease; }
.demo-layer.is-open .demo-backdrop { opacity: 1; }
.demo-panel { position: absolute; inset: 0 0 0 auto; width: min(100%, max(58%, 380px)); display: flex; flex-direction: column; background: #fff; color: #0f172a; box-shadow: -8px 0 24px #0f172a26; transform: translateX(100%); transition: transform .3s ease; font-size: 12px; line-height: 1.5; }
.demo-layer.is-open .demo-panel { transform: translateX(0); }
.demo-header { flex: none; padding: 15px 18px 12px; border-bottom: 1px solid #e2e8f0; }
.demo-header-top { display: flex; align-items: center; justify-content: space-between; color: #64748b; font-size: 9px; font-weight: 700; letter-spacing: .04em; }
.demo-header-top button { border: 0; background: none; font-size: 23px; line-height: 1; color: #475569; cursor: pointer; }
.demo-badges { display: flex; flex-wrap: wrap; gap: 5px; margin: 8px 0; }
.demo-badges span { padding: 3px 7px; border-radius: 4px; background: #f1f5f9; color: #475569; font-size: 10px; font-weight: 700; }
.demo-badges span:first-child { background: #fef2f2; color: #b91c1c; }
.demo-header h2 { margin: 0; color: #0f172a; font-size: 16px; line-height: 1.25; }
.demo-header p { margin: 5px 0 0; color: #64748b; font-size: 11px; }
.demo-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 4px 18px 16px; }
.demo-body section { margin-top: 12px; padding: 0; }
.demo-body h3 { margin: 0 0 7px; font-size: 13px; color: #0f172a; }
.demo-body p { margin: 0; color: #475569; }
.demo-resource { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 6px; padding: 9px; }
.demo-resource strong { display: block; overflow-wrap: anywhere; }
.demo-resource-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 6px; color: #475569; }
.demo-resource-row code { overflow-wrap: anywhere; }
.demo-steps { padding: 0; margin: 0; list-style: none; counter-reset: demo; }
.demo-steps li { position: relative; padding: 0 0 10px 30px; margin: 0 0 10px; border-bottom: 1px solid #e2e8f0; counter-increment: demo; }
.demo-steps li::before { content: counter(demo); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 21px; height: 21px; border-radius: 50%; background: #ffcf3e; font-weight: 700; }
.demo-steps strong { display: block; }
.demo-footer { flex: none; padding: 10px 18px; border-top: 1px solid #e2e8f0; background: #fff; }
.demo-footer div { display: flex; gap: 8px; }
.demo-footer button { padding: 8px; border: 1px solid #cbd5e1; border-radius: 6px; background: white; color: #0f172a; font: inherit; font-weight: 700; cursor: pointer; }
.demo-footer button:first-child { flex: 1; background: #ffcf3e; border-color: #ffcf3e; }
.demo-footer p { margin: 6px 0 0; color: #64748b; font-size: 10px; line-height: 1.35; }
.prod-dashboard button:focus-visible, .demo-body:focus-visible { outline: 3px solid #2563eb; outline-offset: 2px; }
@media (max-width: 760px) { .prod-dashboard { min-height: 480px; } .demo-panel { width: 100%; } .demo-header { padding: 12px 14px; } .demo-body { padding-inline: 14px; } .demo-footer { padding-inline: 14px; } }
@media (prefers-reduced-motion: reduce) { .demo-layer, .demo-backdrop, .demo-panel { transition: none; } }
.prod-risk[hidden] { display: none; }
.prod-dashboard-content { overflow-y: auto; }
.demo-backdrop { background: rgba(15, 23, 42, .35); transition-duration: .25s; }
.demo-panel { transition: transform .28s cubic-bezier(.4, 0, .2, 1); }
@media (prefers-reduced-motion: reduce) { .demo-backdrop, .demo-panel { transition: none; } }
/* Dashboard demo: the landing-page viewport has its own responsive layout. */
.landing-page .hero .prod-dashboard-wrap { width: 100%; height: auto; transform: none; }
.landing-page .hero .prod-dashboard { height: 580px; max-width: none; overflow: hidden; background: #f5f7fa; color: #0f172a; border-radius: 12px; font-size: 13px; }
.demo-shell { display: flex; flex: 1; min-height: 0; }
.demo-sidebar { width: 55px; flex: none; display: flex; align-items: center; flex-direction: column; gap: 12px; background: #0f172a; color: #aab8ca; padding: 14px 5px; }
.demo-sidebar img { width: 26px; height: 28px; object-fit: contain; margin-bottom: 12px; }
.demo-sidebar span { display: grid; place-items: center; width: 42px; height: 38px; font-size: 20px; }
.demo-sidebar .active { color: #ffcf3e; background: #263248; border-left: 3px solid #ffcf3e; border-radius: 6px; }
.demo-workspace { display: flex; flex: 1; flex-direction: column; min-width: 0; min-height: 0; }
.demo-topbar { flex: none; min-height: 53px; display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-bottom: 1px solid #dce3ed; background: white; color: #475569; font-size: 11px; }
.demo-domain,.demo-plan,.demo-avatar { border: 1px solid #dce3ed; background: #fff; padding: 5px 8px; border-radius: 20px; white-space: nowrap; }
.demo-verified { color: #15803d; background: #ecfdf3; padding: 4px 6px; border-radius: 5px; white-space: nowrap; }
.demo-topbar-spacer { flex: 1; }
.demo-avatar { background: #f1f5f9; font-weight: 700; }
.demo-main { flex: 1; min-height: 0; overflow-y: auto; padding: 16px; }
.demo-page-heading,.demo-actions-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.demo-page-heading h2 { margin: 0; color: #0f172a; font-size: 20px; line-height: 1.15; letter-spacing: -.03em; }
.demo-inactive { padding: 7px; color: #64748b; border: 1px solid #dce3ed; background: white; border-radius: 6px; font-size: 10px; white-space: nowrap; }
.demo-monitor,.demo-scans { display: flex; align-items: center; gap: 9px; margin-top: 12px; padding: 10px; background: white; border: 1px solid #dce3ed; border-radius: 9px; font-size: 11px; }
.demo-monitor strong,.demo-monitor small,.demo-scans strong,.demo-scans small { display: block; }
.demo-monitor small,.demo-scans small { color: #64748b; font-size: 10px; }
.demo-orange { color: #f59e0b; }.demo-monitor-label { margin-left: auto; padding: 6px; color: #9a5410; background: #fff7ed; border: 1px solid #fed7aa; border-radius: 6px; white-space: nowrap; }
.demo-scans > div { flex: 1; }.demo-scans strong { margin-top: 3px; }.demo-scan-action { text-align: right; }.demo-scan-action button { border: 0; border-radius: 5px; padding: 7px; background: #f1f5f9; color: #94a3b8; font: inherit; }.demo-scan-action small { margin-top: 3px; }
.demo-metrics { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 7px; margin-top: 12px; }
.demo-metric { position: relative; display: flex; align-items: center; gap: 7px; min-width: 0; min-height: 78px; padding: 8px; text-align: left; background: white; color: #0f172a; border: 1px solid #dce3ed; border-radius: 9px; font: inherit; }
button.demo-metric { cursor: pointer; }.demo-metric.is-active { border-color: #9aa9bc; }.demo-metric.is-active::after { content: ''; position: absolute; bottom: 0; left: 10px; right: 10px; height: 3px; background: #ffcf3e; }
.demo-metric i { display: grid; place-items: center; flex: none; width: 25px; height: 25px; font-style: normal; font-size: 18px; background: #f8fafc; border-radius: 5px; }.demo-metric strong,.demo-metric b,.demo-metric small { display: block; }.demo-metric strong { font-size: 22px; line-height: 1; }.demo-metric strong small { display: inline; font-size: 10px; }.demo-metric b { margin-top: 4px; font-size: 10px; line-height: 1.2; }.demo-metric small { color: #64748b; font-size: 9px; line-height: 1.25; }.demo-metric[data-demo-group="fix"] strong { color: #dc2626; }.demo-metric[data-demo-group="verify"] strong { color: #d97706; }.demo-metric[data-demo-group="harden"] strong { color: #2563eb; }
.demo-ring { flex: none; width: 31px; height: 31px; border: 4px solid #cbd5e1; border-top-color: #64748b; border-left-color: #64748b; border-bottom-color: #64748b; border-radius: 50%; }
.demo-actions-heading { margin-top: 18px; }.demo-actions-heading h3 { margin: 0; font-size: 15px; color: #0f172a; }.demo-actions-heading span { font-size: 10px; color: #64748b; }
.demo-tabs { display: flex; overflow-x: auto; border-bottom: 1px solid #dce3ed; margin-top: 8px; }.demo-tabs button { flex: none; border: 0; border-bottom: 3px solid transparent; background: transparent; padding: 8px 9px; color: #64748b; font: inherit; font-size: 11px; cursor: pointer; }.demo-tabs button.is-active { border-bottom-color: #ffcf3e; color: #0f172a; font-weight: 700; }.demo-tabs button span { margin-left: 3px; padding: 2px 5px; border-radius: 8px; background: #f1f5f9; }.demo-tabs button.is-active span { background: #ffcf3e; }
.demo-toolbar { display: flex; flex-wrap: wrap; gap: 8px; padding: 9px; margin-top: 10px; border: 1px solid #dce3ed; background: white; border-radius: 8px; }.demo-toolbar label { flex: 1 1 180px; }.demo-toolbar input { width: 100%; min-width: 0; padding: 7px; border: 1px solid #dce3ed; border-radius: 6px; color: #0f172a; font: inherit; font-size: 11px; }.demo-severity { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; font-size: 10px; }.demo-severity button { padding: 5px; border: 1px solid #dce3ed; border-radius: 5px; background: white; color: #475569; font: inherit; cursor: pointer; }.demo-severity button.is-active { background: #0f172a; color: white; border-color: #0f172a; }
.demo-card { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 9px; padding: 12px; border: 1px solid #dce3ed; border-left: 3px solid #dc2626; border-radius: 9px; background: white; cursor: pointer; }.demo-card--verify { border-left-color: #f59e0b; }.demo-card--harden { border-left-color: #2563eb; }.demo-card:hover,.demo-card.is-selected { border-color: #94a3b8; }.demo-card h4 { margin: 5px 0; color: #0f172a; font-size: 12px; }.demo-card p,.demo-card small { margin: 0; color: #64748b; font-size: 10px; overflow-wrap: anywhere; }.demo-card-badges { display: flex; gap: 6px; font-size: 10px; color: #b91c1c; }.demo-card-badges span+span { color: #475569; background: #f1f5f9; border-radius: 4px; padding: 1px 5px; }.demo-card button,.demo-empty button { flex: none; border: 0; border-bottom: 2px solid #ffcf3e; background: transparent; color: #0f172a; font: inherit; font-size: 10px; font-weight: 700; cursor: pointer; }.demo-empty { padding: 20px 10px; color: #64748b; text-align: center; font-size: 12px; }.demo-empty button { display: block; margin: 10px auto 0; }
.demo-disclaimer { margin: 6px 0 0; text-align: right; color: #64748b; font-size: 11px; }.demo-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.demo-shell button:hover:not(:disabled) { filter: brightness(.92); }.demo-shell button:focus-visible,.demo-toolbar input:focus-visible,.demo-main:focus-visible { outline: 2px solid #2563eb; outline-offset: 2px; }
@media (max-width: 1100px) { .demo-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 600px) { .landing-page .hero .prod-dashboard { height: 600px; min-height: 0; }.demo-sidebar { width: 42px; padding-inline: 2px; }.demo-sidebar span { width: 36px; }.demo-main { padding: 12px; }.demo-topbar { padding: 8px; }.demo-verified,.demo-plan { display: none; }.demo-page-heading { align-items: flex-start; }.demo-page-heading h2 { font-size: 18px; }.demo-inactive { white-space: normal; }.demo-monitor-label { display: none; }.demo-scans { flex-wrap: wrap; }.demo-scan-action { flex-basis: 100% !important; text-align: left; }.demo-card { align-items: flex-start; flex-direction: column; }.demo-panel { width: 100%; } }
/* Surface d’attaque : présentation confinée à la simulation. */
.demo-main[hidden], .demo-surface [hidden] { display: none !important; }
.demo-sidebar button { flex: none; display: grid; place-items: center; width: 42px; height: 38px; border: 0; background: transparent; color: #aab8ca; font: inherit; font-size: 20px; cursor: pointer; }
.demo-sidebar button.active { color: #ffcf3e; background: #263248; border-left: 3px solid #ffcf3e; border-radius: 6px; }
.demo-surface { color: #0f172a; }
.surface-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.surface-header h2,.surface-detail-title h2 { margin: 0; color: #0f172a; font-size: 20px; letter-spacing: -.03em; line-height: 1.15; }
.surface-header p,.surface-inventory > p,.surface-detail-title p { margin: 5px 0 0; color: #64748b; font-size: 11px; line-height: 1.4; }
.surface-secondary { flex: none; padding: 7px 8px; border: 1px solid #dce3ed; border-radius: 6px; background: white; color: #0f172a; font: inherit; font-size: 10px; font-weight: 700; cursor: pointer; }
.surface-kpis { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7px; margin-top: 13px; }
.surface-kpi { position: relative; display: flex; align-items: center; gap: 7px; min-width: 0; min-height: 78px; padding: 8px; border: 1px solid #dce3ed; border-radius: 9px; background: #fff; color: #0f172a; text-align: left; font: inherit; cursor: pointer; }
.surface-kpi > span { display: grid; place-items: center; flex: none; width: 25px; height: 25px; border-radius: 5px; background: #f1f5f9; font-size: 17px; }.surface-kpi > div { min-width: 0; }.surface-kpi strong,.surface-kpi b,.surface-kpi small { display: block; }.surface-kpi strong { font-size: 22px; line-height: 1; }.surface-kpi b { margin-top: 4px; font-size: 10px; line-height: 1.2; }.surface-kpi small { color: #64748b; font-size: 9px; line-height: 1.25; }.surface-kpi b span { color: #64748b; }.surface-kpi.is-active { border-color: #9aa9bc; }.surface-kpi.is-active::after { position: absolute; content: ''; left: 10px; right: 10px; bottom: 0; height: 3px; background: #ffcf3e; }
.surface-map-heading { display: flex; justify-content: space-between; align-items: center; margin: 17px 0 7px; }.surface-map-heading h3,.surface-inventory h3,.surface-detail-block h3 { margin: 0; color: #0f172a; font-size: 14px; }.surface-map-heading > span { color: #64748b; font-size: 10px; }
.surface-map-scroll { overflow-x: auto; border: 1px solid #dce3ed; border-radius: 10px; background-color: #f1f5f9; background-image: radial-gradient(#cbd5e1 0.8px, transparent .8px); background-size: 12px 12px; }.surface-map { min-width: 450px; padding: 13px; }.surface-map button { font: inherit; cursor: pointer; }.surface-map-root { display: flex; flex-direction: column; align-items: center; width: 48%; min-width: 190px; margin: 0 auto; padding: 10px; border: 1px solid #0f172a; border-radius: 8px; background: #0f172a; color: white; }.surface-map-root small { color: #cbd5e1; }.surface-map-stem { height: 16px; width: 1px; background: #a7b6c8; margin: auto; }.surface-map-children { display: flex; justify-content: space-between; }.surface-map-children > div { position: relative; flex: 1; padding: 16px 3px 0; border-top: 1px solid #a7b6c8; }.surface-map-children > div:first-child { border-top-color: transparent; }.surface-map-children > div:first-child::before { content: ''; position: absolute; left: 50%; right: 0; top: -1px; border-top: 1px solid #a7b6c8; }.surface-map-children > div:last-child { border-top-color: transparent; }.surface-map-children > div:last-child::before { content: ''; position: absolute; right: 50%; left: 0; top: -1px; border-top: 1px solid #a7b6c8; }.surface-map-children > div::after { content: ''; position: absolute; left: 50%; top: 0; height: 16px; border-left: 1px solid #a7b6c8; }.surface-map-children button { display: flex; flex-direction: column; width: 100%; min-height: 52px; padding: 7px; border: 1px solid #dce3ed; border-radius: 8px; background: white; color: #0f172a; text-align: left; }.surface-map button:hover { border-color: #64748b; }.surface-map small { margin-top: 3px; font-size: 9px; }.surface-map-children small { color: #64748b; }.surface-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #94a3b8; }.surface-dot.high { background: #f97316; }.surface-dot.medium { background: #eab308; }.surface-legend { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; color: #475569; font-size: 10px; }.surface-note { margin: 6px 0 0; color: #64748b; font-size: 10px; line-height: 1.4; }
.surface-inventory { margin-top: 20px; }.surface-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 9px; padding: 9px; border: 1px solid #dce3ed; border-radius: 8px; background: white; font-size: 10px; }.surface-toolbar > label:first-child { flex: 1 1 130px; }.surface-toolbar input,.surface-toolbar select { width: 100%; padding: 7px; border: 1px solid #dce3ed; border-radius: 6px; background: white; color: #0f172a; font: inherit; }.surface-toolbar select { width: auto; }.surface-types { display: flex; flex-wrap: wrap; gap: 4px; }.surface-types button { padding: 5px 7px; border: 1px solid #dce3ed; border-radius: 12px; background: white; color: #475569; font: inherit; cursor: pointer; }.surface-types button.is-active { background: #ffcf3e; border-color: #ffcf3e; color: #0f172a; }.surface-toolbar [data-surface-count] { margin-left: auto; color: #64748b; white-space: nowrap; }
.surface-table-wrap { overflow-x: auto; margin-top: 9px; border: 1px solid #dce3ed; border-radius: 9px; background: white; }.surface-table-wrap table { width: 100%; min-width: 530px; border-collapse: collapse; text-align: left; font-size: 10px; }.surface-table-wrap th { padding: 10px; background: #f8fafc; color: #64748b; font-size: 9px; text-transform: uppercase; }.surface-table-wrap td { padding: 10px; border-top: 1px solid #e2e8f0; color: #334155; }.surface-table-wrap td small { display: block; color: #64748b; }.surface-table-wrap code { padding: 2px 4px; border-radius: 4px; background: #f1f5f9; font-size: 10px; }.surface-badge { display: inline-block; padding: 3px 6px; border-radius: 5px; background: #f1f5f9; white-space: nowrap; }.surface-badge.high { background: #fff7ed; color: #9a3412; }.surface-badge.medium { background: #fefce8; color: #854d0e; }.surface-link,.surface-empty button { border: 0; background: transparent; color: #0f172a; text-decoration: underline; text-decoration-color: #ffcf3e; font: inherit; font-weight: 700; white-space: nowrap; cursor: pointer; }.surface-empty { padding: 20px; text-align: center; color: #64748b; }.surface-empty button { display: block; margin: 8px auto 0; }
.surface-detail-header { display: flex; justify-content: space-between; gap: 8px; }.surface-detail-title { margin: 16px 0; }.surface-detail-title small,.surface-detail-block small { color: #64748b; font-size: 10px; }.surface-detail-stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7px; }.surface-detail-stats div,.surface-detail-block { border: 1px solid #dce3ed; border-radius: 9px; background: white; padding: 10px; }.surface-detail-stats strong,.surface-detail-stats span { display: block; }.surface-detail-stats strong { font-size: 20px; }.surface-detail-stats span { color: #64748b; font-size: 10px; }.surface-detail-block { margin-top: 9px; }.surface-detail-block p,.surface-detail-block li { color: #475569; font-size: 11px; line-height: 1.5; }.surface-detail-block p { margin: 6px 0 0; }.surface-detail-block ul { margin: 6px 0 0; padding-left: 18px; }
.demo-surface button:focus-visible,.demo-surface input:focus-visible,.demo-surface select:focus-visible,.demo-sidebar button:focus-visible { outline: 2px solid #2563eb; outline-offset: 2px; }.surface-kpi:hover,.surface-secondary:hover,.surface-types button:hover { border-color: #94a3b8; }
@media (max-width: 600px) { .demo-sidebar button { width: 36px; }.surface-kpis { grid-template-columns: 1fr; }.surface-kpi { min-height: 62px; }.surface-header { flex-wrap: wrap; }.surface-detail-stats { grid-template-columns: 1fr; }.surface-detail-stats div { display: flex; align-items: center; gap: 10px; } }

.surface-kpi:hover::before, .surface-kpi:focus-visible::before { content: attr(data-tooltip); position: absolute; z-index: 3; left: 0; top: calc(100% + 5px); width: 200px; max-width: 90vw; padding: 8px; border-radius: 6px; background: #0f172a; color: white; font-size: 10px; font-weight: 400; line-height: 1.4; box-shadow: 0 3px 8px #0f172a33; }
