:root {
      --ink: #0b1930;
      --ink-2: #34445d;
      --muted: #6f7e93;
      --blue: #315ce8;
      --blue-dark: #2146be;
      --blue-08: #edf2ff;
      --blue-04: #f6f8ff;
      --mint: #159b78;
      --mint-08: #e9f8f3;
      --amber: #b87a16;
      --amber-08: #fff5e4;
      --red: #c7464a;
      --red-08: #fff0f0;
      --danger: #c7464a;
      --danger-08: #fff0f0;
      --paper: #ffffff;
      --canvas: #f4f7fc;
      --line: #e2e8f2;
      --line-2: #cfd9e8;
      --sidebar: #0d1e38;
      --shadow: 0 24px 60px rgba(23, 46, 86, .10);
      --shadow-soft: 0 12px 30px rgba(23, 46, 86, .07);
      --display: "Aptos Display", "Segoe UI Variable Display", "Segoe UI", sans-serif;
      --body: "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
      --mono: "Cascadia Code", Consolas, monospace;
}

/* Signature V2 — écrans satellites natifs (PowerForms, inbox, suivi et crédits IA). */
.signature-empty{display:flex;flex-direction:column;align-items:center;text-align:center;padding:42px 28px;gap:9px}.signature-empty.compact{padding:28px}.signature-empty h2{margin:5px 0 0;color:var(--ink);font-size:21px}.signature-empty p{max-width:560px;margin:0 0 12px;color:var(--muted);line-height:1.6}.signature-empty-icon,.signature-doc-icon,.public-form-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:15px;background:#edf2ff;color:var(--blue)}.signature-empty-icon.success{background:#e9f9f3;color:#16876a}.public-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.public-form-card{padding:0;overflow:hidden}.public-form-card>header{display:flex;align-items:center;gap:12px;padding:18px 20px;border-bottom:1px solid var(--line)}.public-form-card>header>span:nth-child(2){display:grid;gap:4px;min-width:0;flex:1}.public-form-card>header strong{color:var(--ink);font-size:15px}.public-form-card>header small{color:var(--muted)}.public-form-body{display:flex;gap:18px;padding:20px}.public-form-qr{flex:0 0 126px;border:1px solid var(--line);border-radius:14px;padding:9px;background:#fff}.public-form-qr svg{display:block;width:100%;height:auto}.public-form-links{display:grid;align-content:start;gap:10px;min-width:0;flex:1}.public-form-links>label{font-size:12px;font-weight:750;color:var(--muted);text-transform:uppercase;letter-spacing:.05em}.public-form-links details summary{cursor:pointer;color:var(--blue);font-weight:700;font-size:13px}.public-form-links details .copy-row{margin-top:9px}.public-form-disabled{display:grid;gap:6px;place-content:center;min-height:126px;color:var(--muted)}.public-form-disabled strong{color:var(--ink)}.public-form-disabled p{margin:0;line-height:1.5}.public-form-card>footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 20px;background:#f8faff;border-top:1px solid var(--line);color:var(--muted);font-size:13px}.signature-inbox-list,.signature-track-list{display:grid;gap:14px}.signature-inbox-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:16px;padding:20px}.signature-inbox-card h2{margin:8px 0 5px;color:var(--ink);font-size:18px}.signature-inbox-card p,.signature-inbox-card small{margin:0;color:var(--muted)}.signature-wait{color:var(--muted);font-size:13px;font-weight:650}.signature-tracking-section{display:grid;gap:14px;margin-top:22px}.signature-tracking-section>header{display:flex;align-items:end;justify-content:space-between;gap:14px}.signature-tracking-section>header>span{display:grid;gap:4px}.signature-tracking-section>header strong{font-size:18px;color:var(--ink)}.signature-tracking-section>header small{color:var(--muted)}.signature-tracking-section>header>b{display:grid;place-items:center;min-width:34px;height:30px;padding:0 10px;border-radius:999px;background:#edf2ff;color:var(--blue)}.signature-track-card{padding:0;overflow:hidden}.signature-track-card>header{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:17px 20px;border-bottom:1px solid var(--line)}.signature-track-card>header>span:first-child{display:grid;gap:4px}.signature-track-card>header strong{color:var(--ink)}.signature-track-card>header small{color:var(--muted)}.signature-track-actions{display:flex;align-items:center;gap:8px}.signature-track-actions form{margin:0}.signature-track-pipeline{display:grid;padding:8px 20px}.signature-track-pipeline>div{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid #edf1f7}.signature-track-pipeline>div:last-child{border-bottom:0}.signature-track-pipeline i{display:grid;place-items:center;width:28px;height:28px;border-radius:999px;background:#edf2ff;color:var(--blue);font-style:normal;font-weight:800}.signature-track-pipeline span{display:grid;gap:3px}.signature-track-pipeline small{color:var(--muted)}.ai-credit-balance{display:grid;grid-template-columns:minmax(220px,.75fr) minmax(0,1.6fr);gap:28px;padding:26px}.ai-credit-balance>div:first-child{display:grid;align-content:center;gap:6px}.ai-credit-balance>div:first-child>span{color:var(--muted);font-weight:700}.ai-credit-balance>div:first-child>strong{font-size:52px;line-height:1;color:var(--blue)}.ai-credit-balance>div:first-child>small{color:var(--muted);line-height:1.5}.ai-credit-breakdown{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.ai-credit-breakdown article{display:grid;gap:8px;padding:17px;border-radius:14px;background:#f7f9fd;border:1px solid var(--line)}.ai-credit-breakdown span{color:var(--muted);font-size:13px}.ai-credit-breakdown strong{font-size:24px;color:var(--ink)}.ai-usage-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:18px}.ai-usage-values{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.ai-usage-values span{display:grid;gap:5px}.ai-usage-values strong{font-size:20px;color:var(--ink)}.ai-usage-values small{color:var(--muted)}.ai-credit-shop{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:18px}.ai-credit-shop>span{display:grid;gap:5px}.ai-credit-shop small{color:var(--muted)}
@media(max-width:900px){.public-form-grid,.ai-usage-grid{grid-template-columns:1fr}.ai-credit-balance{grid-template-columns:1fr}.signature-inbox-card{grid-template-columns:auto minmax(0,1fr)}.signature-inbox-card>form,.signature-inbox-card>.signature-wait{grid-column:1/-1}.signature-inbox-card>form .btn{width:100%}.public-form-body{flex-direction:column}.public-form-qr{width:126px}.signature-track-card>header,.ai-credit-shop{align-items:stretch;flex-direction:column}.signature-track-actions{width:100%}.signature-track-actions>*{flex:1}.signature-track-actions .btn{width:100%}}
@media(max-width:560px){.ai-credit-breakdown,.ai-usage-values{grid-template-columns:1fr}.signature-track-pipeline>div{grid-template-columns:auto minmax(0,1fr)}.signature-track-pipeline .status{grid-column:2}.public-form-card>footer{align-items:stretch;flex-direction:column}.public-form-card>footer .btn{width:100%}}

    * { box-sizing: border-box; }
    .scrim[hidden], .product-menu[hidden] { display: none !important; }
    html { color-scheme: light; }
    body {
      margin: 0;
      min-width: 320px;
      min-height: 100vh;
      color: var(--ink);
      font-family: var(--body);
      background: var(--canvas);
      -webkit-font-smoothing: antialiased;
    }
    button, input, select, textarea { font: inherit; }
    button { color: inherit; }
    button, a { -webkit-tap-highlight-color: transparent; }
    a { text-decoration: none; }
    button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
      outline: 3px solid rgba(49, 92, 232, .22);
      outline-offset: 2px;
    }
    svg { display: block; }
    /* Les attributs portés par le sprite SVG caché ne sont pas hérités par les
       instances <use> dans tous les moteurs. Sans cette règle, les pictogrammes
       apparaissent comme des aplats noirs au lieu de traits fins. */
    svg use { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
    [hidden] { display: none !important; }

    .app { min-height: 100vh; display: grid; grid-template-columns: 254px minmax(0, 1fr); }
    .sidebar {
      position: fixed;
      inset: 0 auto 0 0;
      z-index: 30;
      width: 254px;
      overflow-y: auto;
      overscroll-behavior: contain;
      scrollbar-width: thin;
      scrollbar-color: rgba(174,187,209,.32) transparent;
      padding: 22px 16px 18px;
      display: flex;
      flex-direction: column;
      color: #fff;
      background:
        radial-gradient(circle at 20% -10%, rgba(74, 116, 255, .42), transparent 20rem),
        var(--sidebar);
      border-right: 1px solid rgba(255,255,255,.06);
    }
    .brand { display: flex; align-items: center; gap: 11px; min-height: 46px; padding: 0 8px; }
    .brand-mark {
      width: 37px; height: 37px; display: grid; place-items: center;
      border-radius: 12px 12px 12px 4px;
      background: linear-gradient(145deg, #5f7fff, #315ce8);
      box-shadow: 0 12px 26px rgba(49,92,232,.32);
    }
    .brand-copy strong { display: block; font: 730 17px/1 var(--display); letter-spacing: -.45px; }
    .brand-copy span { display: block; margin-top: 5px; color: #aebbd1; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; }
    .workspace-wrap { position: relative; }
    .workspace-switch {
      width: 100%; margin: 22px 0 18px; padding: 10px 11px;
      display: grid; grid-template-columns: 32px 1fr 18px; align-items: center; gap: 9px;
      color: #eef4ff; text-align: left; border: 1px solid rgba(255,255,255,.11);
      border-radius: 14px; background: rgba(255,255,255,.055); cursor: pointer;
    }
    .workspace-switch:hover { background: rgba(255,255,255,.09); }
    .workspace-icon { width: 32px; height: 32px; display: grid; place-items: center; color: #b9c9ff; border-radius: 10px; background: rgba(83,119,236,.18); }
    .workspace-switch strong { display: block; font-size: 12px; }
    .workspace-switch small { display: block; margin-top: 3px; color: #94a3bc; font-size: 10px; }
    .workspace-chevron { justify-self: end; transform: rotate(90deg); transition: transform .16s ease; }
    .workspace-switch[aria-expanded="true"] .workspace-chevron { transform: rotate(-90deg); }
    .workspace-switch[aria-expanded="true"] { background: rgba(255,255,255,.11); border-color: rgba(137,165,255,.28); }
    .product-menu { position: absolute; left: 0; right: 0; top: calc(100% - 11px); z-index: 45; padding: 7px; color: var(--ink); border: 1px solid rgba(199,211,229,.9); border-radius: 15px; background: rgba(255,255,255,.98); box-shadow: 0 22px 55px rgba(3,16,38,.34); backdrop-filter: blur(16px); animation: productMenuIn .18s ease both; }
    @keyframes productMenuIn { from { opacity: 0; transform: translateY(-5px) scale(.985); } to { opacity: 1; transform: none; } }
    .product-option { width: 100%; min-height: 54px; padding: 8px 9px; display: grid; grid-template-columns: 34px 1fr 18px; align-items: center; gap: 9px; color: var(--ink); text-align: left; border: 0; border-radius: 11px; background: transparent; cursor: pointer; }
    .product-option:hover { background: #f3f6fb; }
    .product-option.active { background: var(--blue-08); }
    .product-option-icon { width: 33px; height: 33px; display: grid; place-items: center; color: var(--blue); border-radius: 10px; background: var(--blue-08); }
    .product-option[data-product="signature"] .product-option-icon { color: #6352d7; background: #f0edff; }
    .product-option[data-product="mail"] .product-option-icon { color: var(--mint); background: var(--mint-08); }
    .product-option[data-product="accept"] .product-option-icon { color: #0f8465; background: #e8f8f2; }
    .product-option strong { display: block; font-size: 10px; }
    .product-option small { display: block; margin-top: 3px; color: var(--muted); font-size: 8px; }
    .product-option .selected-tick { color: var(--blue); opacity: 0; }
    .product-option.active .selected-tick { opacity: 1; }
    .nav-label { padding: 0 11px; margin: 5px 0 8px; color: #7f8ea7; font-size: 9px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
    .nav { display: grid; gap: 3px; }
    .nav-button {
      position: relative; width: 100%; min-height: 43px; padding: 0 11px;
      display: grid; grid-template-columns: 21px 1fr auto; align-items: center; gap: 11px;
      color: #aebbd0; text-align: left; border: 0; border-radius: 12px; background: transparent; cursor: pointer;
      transition: color .16s ease, background .16s ease, transform .16s ease;
    }
    .nav-button:hover { color: #fff; background: rgba(255,255,255,.065); transform: translateX(2px); }
    .nav-button.active { color: #fff; background: rgba(75,112,231,.19); }
    .nav-button.active::before { content: ""; position: absolute; left: -16px; width: 3px; height: 22px; border-radius: 0 4px 4px 0; background: #6c89f3; }
    .nav-button span { font-size: 12px; font-weight: 620; }
    .nav-count { min-width: 23px; padding: 3px 6px; color: #d7e0f1; font-size: 9px; text-align: center; border-radius: 20px; background: rgba(255,255,255,.1); }
    .sidebar-spacer { flex: 1; }
    .system-status { margin: 16px 2px 12px; padding: 13px; border: 1px solid rgba(255,255,255,.09); border-radius: 14px; background: rgba(255,255,255,.045); }
    .system-row { display: flex; align-items: center; gap: 8px; font-size: 10px; font-weight: 700; }
    .live-dot { width: 8px; height: 8px; border-radius: 50%; background: #4bd2a6; box-shadow: 0 0 0 5px rgba(75,210,166,.11); }
    .system-status p { margin: 8px 0 0; color: #8f9db5; font-size: 9.5px; line-height: 1.5; }
    .user-mini { padding: 11px 8px 2px; display: grid; grid-template-columns: 34px 1fr 20px; align-items: center; gap: 9px; border-top: 1px solid rgba(255,255,255,.08); }
    .avatar { width: 34px; height: 34px; display: grid; place-items: center; color: #dfe7ff; font-size: 11px; font-weight: 800; border-radius: 50%; background: #2e4670; }
    .user-mini strong { display: block; font-size: 10.5px; }
    .user-mini small { display: block; margin-top: 3px; color: #8695ae; font-size: 9px; }

    .shell { grid-column: 2; min-width: 0; }
    .topbar {
      position: sticky; top: 0; z-index: 20; height: 72px; padding: 0 34px;
      display: flex; align-items: center; gap: 18px;
      background: rgba(244,247,252,.9); border-bottom: 1px solid rgba(214,223,237,.75);
      backdrop-filter: blur(16px);
    }
    .icon-btn.mobile-menu { display: none; }
    .page-title { min-width: 190px; }
    .page-title strong { display: block; font: 730 17px/1.2 var(--display); letter-spacing: -.35px; }
    .page-title small { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; }
    .search { position: relative; width: min(380px, 34vw); margin-left: auto; }
    .search svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: #8c9aaf; }
    .search input { width: 100%; height: 40px; padding: 0 42px 0 39px; color: var(--ink); border: 1px solid var(--line); border-radius: 13px; background: rgba(255,255,255,.82); }
    .search input::placeholder { color: #93a0b3; }
    .key { position: absolute; right: 10px; top: 10px; padding: 3px 6px; color: #8996a9; font: 9px var(--mono); border: 1px solid var(--line); border-radius: 6px; background: #f8fafe; }
    .icon-btn { width: 40px; height: 40px; display: grid; place-items: center; color: var(--ink-2); border: 1px solid var(--line); border-radius: 13px; background: rgba(255,255,255,.82); cursor: pointer; }
    .icon-btn:hover { color: var(--blue); border-color: #cbd7fb; background: #fff; }
    .top-avatar { display: flex; align-items: center; gap: 9px; }
    .top-avatar .avatar { color: #fff; background: linear-gradient(145deg, #315ce8, #1e3eaa); }
    .top-avatar div:last-child { display: none; }

    .content { width: min(1440px, 100%); margin: 0 auto; padding: 30px 34px 52px; }
    .view { animation: viewIn .3s ease both; }
    @keyframes viewIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
    .view-head { margin-bottom: 24px; display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; }
    .view-head h1 { margin: 0; font: 730 clamp(26px, 3vw, 36px)/1.06 var(--display); letter-spacing: -1.25px; }
    .view-head p { max-width: 690px; margin: 9px 0 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
    .actions { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
    .btn { min-height: 42px; padding: 0 16px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 12px; font-weight: 720; border: 1px solid transparent; border-radius: 13px; cursor: pointer; transition: transform .16s, box-shadow .16s, background .16s; }
    .btn:hover { transform: translateY(-1px); }
    .btn.primary { color: #fff; background: var(--blue); box-shadow: 0 10px 22px rgba(49,92,232,.22); }
    .btn.primary:hover { background: var(--blue-dark); box-shadow: 0 13px 26px rgba(49,92,232,.28); }
    .btn.secondary { color: var(--ink); border-color: var(--line-2); background: #fff; }
    .btn.secondary:hover { border-color: #b8c7de; }
    .btn.quiet { color: var(--blue); background: var(--blue-08); }
    .btn.small { min-height: 34px; padding: 0 11px; font-size: 10px; border-radius: 10px; }

    .hero {
      position: relative; min-height: 292px; margin-bottom: 22px; padding: 34px;
      display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(350px, .75fr); gap: 30px; overflow: hidden;
      color: #fff; border-radius: 24px;
      background:
        radial-gradient(circle at 86% 15%, rgba(93,130,255,.42), transparent 18rem),
        linear-gradient(125deg, #0d203d, #122b51 66%, #173a68);
      box-shadow: var(--shadow);
    }
    .hero::after { content: ""; position: absolute; right: 33%; top: -60%; width: 1px; height: 220%; transform: rotate(24deg); background: rgba(255,255,255,.075); }
    .hero-copy { position: relative; z-index: 2; align-self: center; max-width: 660px; }
    .eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; color: #aebfff; font-size: 10px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
    .eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: #54d8ad; box-shadow: 0 0 0 5px rgba(84,216,173,.11); }
    .hero h1, .hero h2 { max-width: 660px; margin: 0; font: 740 clamp(31px, 4vw, 47px)/.99 var(--display); letter-spacing: -2px; }
    .hero h1 span, .hero h2 span { color: #aebfff; }
    .hero-copy > p { max-width: 600px; margin: 17px 0 24px; color: #c5d0df; font-size: 13px; line-height: 1.65; }
    .hero-actions { display: flex; gap: 9px; flex-wrap: wrap; }
    .hero .btn.secondary { color: #fff; border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.07); }
    .hero .btn.secondary:hover { background: rgba(255,255,255,.12); }

    .proof-lattice { position: relative; z-index: 2; align-self: center; min-height: 214px; }
    .proof-orbit { position: absolute; inset: 8px 16px; border: 1px solid rgba(179,198,255,.20); border-radius: 50%; transform: rotate(-8deg); }
    .proof-orbit::after { content: ""; position: absolute; inset: 22px 35px; border: 1px dashed rgba(179,198,255,.18); border-radius: 50%; }
    .proof-core { position: absolute; left: 50%; top: 50%; width: 104px; height: 104px; display: grid; place-items: center; transform: translate(-50%,-50%); border: 1px solid rgba(255,255,255,.18); border-radius: 30px; background: rgba(255,255,255,.09); backdrop-filter: blur(12px); box-shadow: 0 18px 45px rgba(0,0,0,.18); }
    .proof-core::before { content: ""; position: absolute; inset: 11px; border: 1px solid rgba(123,231,194,.28); border-radius: 23px; }
    .proof-core svg { color: #77e2bd; }
    .node { position: absolute; min-width: 118px; padding: 9px 11px; display: flex; align-items: center; gap: 8px; color: #e5ecf7; font-size: 10px; font-weight: 700; border: 1px solid rgba(255,255,255,.13); border-radius: 12px; background: rgba(10,28,54,.72); box-shadow: 0 9px 25px rgba(0,0,0,.14); backdrop-filter: blur(10px); }
    .node-icon { width: 25px; height: 25px; display: grid; place-items: center; color: #aebfff; border-radius: 8px; background: rgba(101,133,240,.16); }
    .node.n1 { left: 2px; top: 18px; }
    .node.n2 { right: 0; top: 34px; }
    .node.n3 { left: 4px; bottom: 24px; }
    .node.n4 { right: 5px; bottom: 9px; }

    .engine-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-bottom: 22px; }
    .engine-card { position: relative; min-height: 255px; overflow: hidden; display: grid; grid-template-columns: minmax(0,1fr) 190px; border: 1px solid var(--line); border-radius: 21px; background: var(--paper); box-shadow: var(--shadow-soft); }
    .engine-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--blue); }
    .engine-card.camera::before { background: var(--mint); }
    .engine-copy { position: relative; z-index: 2; padding: 25px 8px 24px 26px; }
    .engine-badge { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 19px; color: var(--blue); font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
    .camera .engine-badge { color: var(--mint); }
    .engine-card h2 { margin: 0; font: 730 23px/1.1 var(--display); letter-spacing: -.7px; }
    .engine-card p { margin: 10px 0 17px; color: var(--muted); font-size: 11.5px; line-height: 1.58; }
    .checkline { margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 7px 14px; list-style: none; }
    .checkline li { display: flex; align-items: center; gap: 6px; color: var(--ink-2); font-size: 10px; font-weight: 650; }
    .checkline svg { color: var(--mint); }
    .engine-visual { position: relative; min-height: 100%; display: grid; place-items: center; background: linear-gradient(140deg, var(--blue-04), #eef3ff); }
    .camera .engine-visual { background: linear-gradient(140deg, #f5fcf9, #eaf8f3); }
    .id-card-art { position: relative; width: 132px; height: 84px; padding: 13px; border: 1px solid #cbd7f7; border-radius: 13px; background: rgba(255,255,255,.9); box-shadow: 0 18px 36px rgba(49,92,232,.13); transform: rotate(-5deg); }
    .id-card-art::after { content: ""; position: absolute; right: 13px; top: 16px; width: 38px; height: 45px; border-radius: 11px 11px 8px 8px; background: linear-gradient(180deg,#dfe7fa,#c5d3f4); }
    .id-chip { width: 26px; height: 20px; margin: 9px 0 8px; border: 1px solid #a99043; border-radius: 5px; background: linear-gradient(135deg,#f2d779,#ceb054); }
    .id-line { width: 56px; height: 4px; margin-top: 5px; border-radius: 3px; background: #dce4f2; }
    .nfc-waves { position: absolute; right: 16px; top: 21px; color: var(--blue); transform: rotate(9deg); }
    .upload-stack { position: relative; width: 134px; height: 106px; }
    .upload-doc { position: absolute; width: 94px; height: 104px; padding: 14px; border: 1px solid #cfe5dc; border-radius: 13px; background: #fff; box-shadow: 0 18px 36px rgba(20,129,98,.13); }
    .upload-doc.back { left: 31px; top: -4px; transform: rotate(6deg); opacity: .72; }
    .upload-doc.front { left: 5px; top: 7px; transform: rotate(-4deg); }
    .upload-face { width: 32px; height: 32px; margin-bottom: 10px; border-radius: 10px; background: #d9eee7; }
    .scan-corners { position: absolute; right: 0; bottom: 3px; width: 45px; height: 45px; color: var(--mint); filter: drop-shadow(0 7px 14px rgba(21,155,120,.2)); }

    .dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(290px, .7fr); gap: 18px; }
    .panel { min-width: 0; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: var(--shadow-soft); }
    .panel-head { min-height: 66px; padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; gap: 14px; border-bottom: 1px solid var(--line); }
    .panel-head h2 { margin: 0; font: 710 15px/1.2 var(--display); letter-spacing: -.25px; }
    .panel-head p { margin: 4px 0 0; color: var(--muted); font-size: 10px; }
    .text-link { padding: 4px; color: var(--blue); font-size: 10px; font-weight: 750; border: 0; background: transparent; cursor: pointer; }
    .table-wrap { max-width: 100%; overflow-x: auto; }
    table { width: 100%; border-collapse: collapse; }
    th { padding: 11px 20px; color: var(--muted); font-size: 8.5px; font-weight: 800; letter-spacing: .08em; text-align: left; text-transform: uppercase; background: #fafbfd; }
    td { padding: 14px 20px; font-size: 10.5px; border-top: 1px solid var(--line); }
    tbody tr { transition: background .14s; }
    tbody tr:hover { background: #f8faff; }
    .person { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
    .person-link { width: fit-content; max-width: 100%; padding: 4px 7px 4px 4px; border-radius: 10px; color: inherit; text-decoration: none; transition: background .15s ease, box-shadow .15s ease; }
    .person-link:hover { background: var(--blue-08); }
    .person-link:focus-visible { outline: 0; box-shadow: 0 0 0 3px rgba(49,92,232,.2); }
    .person-link > span:nth-child(2) { min-width: 0; }
    .person-link-arrow { margin-left: auto; flex: 0 0 auto; color: var(--blue); opacity: .58; }
    .person-avatar { width: 31px; height: 31px; display: grid; place-items: center; color: var(--blue); font-size: 9px; font-weight: 800; border-radius: 10px; background: var(--blue-08); }
    .person strong { display: block; color: var(--ink); font-size: 10.5px; }
    .person small { display: block; margin-top: 2px; color: var(--muted); font-size: 8.5px; }
    .status { display: inline-flex; align-items: center; gap: 6px; padding: 5px 8px; font-size: 9px; font-weight: 750; white-space: nowrap; border-radius: 20px; }
    .status::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
    .status.ok { color: #0d8062; background: var(--mint-08); }
    .status.wait { color: #9d670e; background: var(--amber-08); }
    .status.fail { color: #b4363a; background: var(--red-08); }
    .method { display: flex; align-items: center; gap: 6px; color: var(--ink-2); white-space: nowrap; }
    .score { font-family: var(--mono); font-size: 9px; font-weight: 700; }
    .score.high { color: var(--mint); }
    .shield-panel { padding-bottom: 17px; }
    .protection-score { padding: 20px 20px 12px; display: grid; grid-template-columns: 85px 1fr; align-items: center; gap: 17px; }
    .score-ring { width: 85px; height: 85px; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(var(--mint) 0 94%, #e9edf3 94%); }
    .score-ring::before { content: ""; position: absolute; width: 67px; height: 67px; border-radius: 50%; background: #fff; }
    .score-ring strong { position: relative; z-index: 1; font: 750 20px var(--display); }
    .protection-score h3 { margin: 0; font: 700 13px var(--display); }
    .protection-score p { margin: 6px 0 0; color: var(--muted); font-size: 9.5px; line-height: 1.5; }
    .module-list { margin: 0 20px; border-top: 1px solid var(--line); }
    .module-row { min-height: 47px; display: grid; grid-template-columns: 31px 1fr auto; align-items: center; gap: 9px; border-bottom: 1px solid var(--line); }
    .module-row:last-child { border-bottom: 0; }
    .module-icon { width: 29px; height: 29px; display: grid; place-items: center; color: var(--blue); border-radius: 9px; background: var(--blue-08); }
    .module-row strong { display: block; font-size: 10px; }
    .module-row small { display: block; margin-top: 3px; color: var(--muted); font-size: 8.5px; }
    .module-state { color: var(--mint); font-size: 8.5px; font-weight: 800; }

    .address-panel { padding: 19px; }
    .address-card { margin-top: 10px; padding: 14px; display: grid; grid-template-columns: 37px 1fr auto; align-items: center; gap: 11px; border: 1px solid var(--line); border-radius: 13px; background: #fafbfd; }
    .address-card code { display: block; overflow-wrap: anywhere; color: var(--ink); font: 9px var(--mono); }
    .address-card small { display: block; margin-top: 4px; color: var(--muted); font-size: 8px; }
    .product-overview-note { margin-top: 15px; padding: 14px 16px; display: flex; align-items: center; gap: 11px; color: var(--ink-2); font-size: 9.5px; line-height: 1.5; border: 1px solid #d8e2f5; border-radius: 14px; background: var(--blue-04); }
    .product-overview-note svg { flex: none; color: var(--blue); }

    .stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; margin-bottom: 20px; }
    .stat-card { min-height: 116px; padding: 18px; border: 1px solid var(--line); border-radius: 17px; background: #fff; }
    .stat-top { display: flex; align-items: center; justify-content: space-between; color: var(--muted); }
    .stat-top span { font-size: 9.5px; font-weight: 650; }
    .stat-card strong { display: block; margin-top: 17px; font: 740 25px/1 var(--display); letter-spacing: -.7px; }
    .stat-card small { display: block; margin-top: 8px; color: var(--mint); font-size: 8.5px; font-weight: 700; }

    .wizard-shell { overflow: hidden; display: grid; grid-template-columns: 260px minmax(0,1fr); min-height: 660px; border: 1px solid var(--line); border-radius: 23px; background: #fff; box-shadow: var(--shadow); }
    .wizard-side { padding: 28px 23px; color: #fff; background: linear-gradient(160deg,#102441,#17345f); }
    .wizard-side h2 { margin: 0; font: 720 19px var(--display); letter-spacing: -.45px; }
    .wizard-side > p { margin: 9px 0 27px; color: #aebcd0; font-size: 10.5px; line-height: 1.55; }
    .steps { position: relative; display: grid; gap: 8px; }
    .steps::before { content: ""; position: absolute; left: 16px; top: 22px; bottom: 22px; width: 1px; background: rgba(255,255,255,.13); }
    .step-item { position: relative; z-index: 1; min-height: 50px; padding: 6px 6px; display: grid; grid-template-columns: 34px 1fr; align-items: center; gap: 10px; color: #8797b0; border-radius: 12px; }
    .step-index { width: 33px; height: 33px; display: grid; place-items: center; font: 800 9px var(--mono); border: 1px solid rgba(255,255,255,.16); border-radius: 50%; background: #142b4d; }
    .step-item strong { display: block; font-size: 10.5px; }
    .step-item small { display: block; margin-top: 3px; font-size: 8.5px; opacity: .75; }
    .step-item.active { color: #fff; background: rgba(255,255,255,.07); }
    .step-item.active .step-index { color: #fff; border-color: #6686ef; background: var(--blue); box-shadow: 0 0 0 5px rgba(82,119,240,.13); }
    .step-item.done { color: #b8c5d8; }
    .step-item.done .step-index { color: #fff; border-color: var(--mint); background: var(--mint); }
    .privacy-note { margin-top: 28px; padding: 14px; color: #a8b7cb; font-size: 9px; line-height: 1.55; border: 1px solid rgba(255,255,255,.1); border-radius: 13px; background: rgba(255,255,255,.045); }
    .privacy-note strong { display: flex; align-items: center; gap: 7px; margin-bottom: 6px; color: #fff; font-size: 9.5px; }
    .wizard-main { min-width: 0; display: flex; flex-direction: column; }
    .wizard-pane { flex: 1; padding: 34px 38px 24px; }
    .wizard-pane h2 { margin: 0; font: 730 27px/1.08 var(--display); letter-spacing: -.9px; }
    .wizard-pane > p { margin: 10px 0 25px; color: var(--muted); font-size: 11.5px; line-height: 1.6; }
    .mode-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
    .mode-card { position: relative; min-height: 250px; padding: 21px; text-align: left; border: 1px solid var(--line-2); border-radius: 18px; background: #fff; cursor: pointer; transition: border .18s, box-shadow .18s, transform .18s; }
    .mode-card:hover { transform: translateY(-2px); border-color: #b7c5ee; box-shadow: var(--shadow-soft); }
    .mode-card.selected { border: 2px solid var(--blue); box-shadow: 0 0 0 4px rgba(49,92,232,.07); }
    .mode-card.camera.selected { border-color: var(--mint); box-shadow: 0 0 0 4px rgba(21,155,120,.07); }
    .mode-check { position: absolute; right: 16px; top: 16px; width: 22px; height: 22px; display: grid; place-items: center; color: #fff; border: 1px solid var(--line-2); border-radius: 50%; background: #fff; }
    .mode-card.selected .mode-check { border-color: var(--blue); background: var(--blue); }
    .mode-card.camera.selected .mode-check { border-color: var(--mint); background: var(--mint); }
    .mode-art { width: 58px; height: 58px; display: grid; place-items: center; color: var(--blue); border-radius: 17px; background: var(--blue-08); }
    .mode-card.camera .mode-art { color: var(--mint); background: var(--mint-08); }
    .mode-card h3 { margin: 18px 0 8px; font: 710 16px var(--display); }
    .mode-card p { margin: 0; color: var(--muted); font-size: 10.5px; line-height: 1.55; }
    .mode-tags { margin-top: 15px; display: flex; flex-wrap: wrap; gap: 6px; }
    .tag { padding: 5px 7px; color: var(--ink-2); font-size: 8px; font-weight: 700; border-radius: 7px; background: #f1f4f9; }
    .smart-route { margin-top: 14px; padding: 14px 16px; display: flex; align-items: center; gap: 12px; border: 1px solid #dbe4fa; border-radius: 14px; background: var(--blue-04); }
    .smart-route > svg { flex: none; color: var(--blue); }
    .smart-route strong { display: block; font-size: 10.5px; }
    .smart-route p { margin: 4px 0 0; color: var(--muted); font-size: 9px; line-height: 1.45; }
    .upload-preview { margin-top: 14px; padding: 16px; border: 1px solid #cfe8df; border-radius: 15px; background: #f7fcfa; }
    .upload-preview-head { margin-bottom: 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
    .upload-preview-head strong { font-size: 10.5px; }
    .upload-preview-head span { color: var(--muted); font-size: 8.5px; }
    .drop-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
    .drop-zone { min-height: 83px; padding: 12px; display: grid; place-items: center; align-content: center; gap: 7px; color: var(--ink-2); border: 1px dashed #afcdc1; border-radius: 12px; background: rgba(255,255,255,.8); cursor: pointer; }
    .drop-zone:hover { color: var(--mint); border-color: var(--mint); background: #fff; }
    .drop-zone span { font-size: 9.5px; font-weight: 700; }
    .drop-zone small { color: var(--muted); font-size: 8px; font-weight: 500; }
    .toggle { position: relative; width: 39px; height: 22px; margin-left: auto; flex: none; border: 0; border-radius: 15px; background: var(--blue); cursor: pointer; }
    .toggle::after { content: ""; position: absolute; right: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 2px 5px rgba(0,0,0,.2); transition: transform .18s; }
    .toggle.off { background: #c8d1df; }
    .toggle.off::after { transform: translateX(-17px); }
    .form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
    .field { display: grid; gap: 6px; }
    .field.full { grid-column: 1 / -1; }
    .field label { color: var(--ink-2); font-size: 9.5px; font-weight: 700; }
    .field input, .field select { width: 100%; height: 44px; padding: 0 13px; color: var(--ink); border: 1px solid var(--line-2); border-radius: 12px; background: #fff; }
    .field input:focus, .field select:focus { border-color: var(--blue); }
    .channel-box { margin-top: 17px; padding: 17px; border: 1px solid var(--line); border-radius: 15px; background: #fafbfd; }
    .channel-box h3 { margin: 0 0 12px; font: 700 12px var(--display); }
    .channel-options { display: flex; gap: 9px; flex-wrap: wrap; }
    .choice-chip { min-height: 36px; padding: 0 12px; display: inline-flex; align-items: center; gap: 7px; color: var(--ink-2); font-size: 9.5px; font-weight: 650; border: 1px solid var(--line); border-radius: 11px; background: #fff; cursor: pointer; }
    .choice-chip.selected { color: var(--blue); border-color: #bdcaf5; background: var(--blue-08); }
    .control-list { display: grid; gap: 9px; }
    .control-item { min-height: 59px; padding: 11px 13px; display: grid; grid-template-columns: 35px 1fr auto; align-items: center; gap: 11px; border: 1px solid var(--line); border-radius: 13px; }
    .control-icon { width: 34px; height: 34px; display: grid; place-items: center; color: var(--blue); border-radius: 10px; background: var(--blue-08); }
    .control-item strong { display: block; font-size: 10.5px; }
    .control-item small { display: block; margin-top: 4px; color: var(--muted); font-size: 8.5px; }
    .control-lock { color: var(--mint); font-size: 8px; font-weight: 800; text-transform: uppercase; }
    .review-card { padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: #fafbfd; }
    .review-top { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
    .review-icon { width: 44px; height: 44px; display: grid; place-items: center; color: var(--mint); border-radius: 13px; background: var(--mint-08); }
    .review-top h3 { margin: 0; font: 710 14px var(--display); }
    .review-top p { margin: 4px 0 0; color: var(--muted); font-size: 9px; }
    .review-lines { display: grid; margin-top: 6px; }
    .review-line { min-height: 42px; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: 9.5px; border-bottom: 1px solid var(--line); }
    .review-line:last-child { border-bottom: 0; }
    .review-line span { color: var(--muted); }
    .review-line strong { text-align: right; }
    .wizard-actions { min-height: 75px; padding: 15px 38px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); background: #fafbfd; }
    .wizard-actions .right { display: flex; gap: 9px; margin-left: auto; }

    .toolbar { margin-bottom: 16px; padding: 12px; display: flex; align-items: center; gap: 9px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
    .toolbar .search { width: min(360px,100%); margin: 0; }
    .filter-btn { min-height: 38px; padding: 0 12px; display: flex; align-items: center; gap: 7px; color: var(--ink-2); font-size: 9.5px; font-weight: 700; border: 1px solid var(--line); border-radius: 11px; background: #fff; cursor: pointer; }
    .toolbar-spacer { flex: 1; }
    .data-panel { overflow: hidden; }
    .data-panel td { padding-top: 16px; padding-bottom: 16px; }

    .risk-hero { margin-bottom: 18px; padding: 26px; display: grid; grid-template-columns: 1fr 280px; gap: 25px; color: #fff; border-radius: 22px; background: linear-gradient(130deg,#122542,#17375f); box-shadow: var(--shadow); }
    .risk-hero h2 { margin: 0; font: 730 26px var(--display); letter-spacing: -.8px; }
    .risk-hero p { max-width: 660px; margin: 10px 0 0; color: #bcc9da; font-size: 11px; line-height: 1.6; }
    .risk-meter { align-self: center; }
    .risk-meter-top { display: flex; justify-content: space-between; font-size: 10px; }
    .risk-meter-top strong { color: #65dbb5; }
    .meter { height: 8px; margin-top: 11px; overflow: hidden; border-radius: 8px; background: rgba(255,255,255,.1); }
    .meter span { display: block; width: 96%; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#48cda2,#7ce4c3); }
    .risk-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; }
    .risk-card { min-height: 215px; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow-soft); }
    .risk-card-top { display: flex; align-items: center; justify-content: space-between; }
    .risk-card .module-icon { width: 39px; height: 39px; border-radius: 12px; }
    .risk-card h3 { margin: 17px 0 8px; font: 710 14px var(--display); }
    .risk-card p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.55; }
    .risk-card footer { margin-top: 17px; padding-top: 13px; display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 8.5px; border-top: 1px solid var(--line); }
    .risk-card footer strong { color: var(--mint); font-size: 9px; }

    .wl-hero {
      position: relative; min-height: 272px; margin-bottom: 18px; padding: 31px;
      display: grid; grid-template-columns: minmax(0,1fr) minmax(430px,.95fr); gap: 30px; overflow: hidden;
      color: #fff; border-radius: 23px;
      background: linear-gradient(125deg,#0e203c 0%,#18365f 63%,#214975 100%);
      box-shadow: var(--shadow);
    }
    .wl-hero::before { content: ""; position: absolute; width: 440px; height: 440px; right: -170px; top: -220px; border: 1px solid rgba(142,172,255,.17); border-radius: 50%; box-shadow: 0 0 0 70px rgba(127,159,249,.035), 0 0 0 140px rgba(127,159,249,.025); }
    .wl-copy { position: relative; z-index: 1; align-self: center; }
    .wl-copy h2 { max-width: 620px; margin: 0; font: 740 clamp(29px,3.4vw,42px)/1.02 var(--display); letter-spacing: -1.6px; }
    .wl-copy h2 span { color: #aebfff; }
    .wl-copy > p { max-width: 590px; margin: 15px 0 22px; color: #c2cede; font-size: 11.5px; line-height: 1.65; }
    .custody-flow { position: relative; z-index: 1; align-self: center; padding: 18px; border: 1px solid rgba(255,255,255,.12); border-radius: 18px; background: rgba(7,23,45,.34); backdrop-filter: blur(12px); }
    .custody-flow > strong { display: block; margin-bottom: 13px; color: #dce6f6; font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
    .flow-line { display: grid; grid-template-columns: 1fr 25px 1fr 25px 1fr; align-items: center; gap: 6px; }
    .flow-box { min-height: 74px; padding: 10px; display: grid; place-items: center; align-content: center; gap: 7px; color: #dce6f6; text-align: center; font-size: 8.5px; font-weight: 700; border: 1px solid rgba(255,255,255,.1); border-radius: 12px; background: rgba(255,255,255,.055); }
    .flow-box svg { color: #aebfff; }
    .flow-box.engine { border-color: rgba(101,212,173,.26); background: rgba(31,135,104,.12); }
    .flow-box.engine svg { color: #65d4ad; }
    .flow-arrow { color: #8194b2; }
    .flow-note { margin: 12px 0 0; color: #93a4bc; font-size: 8.5px; line-height: 1.5; }

    .wl-layout { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(330px,.72fr); gap: 17px; margin-bottom: 18px; }
    .portal-preview { overflow: hidden; }
    .preview-browser { margin: 19px; overflow: hidden; border: 1px solid var(--line-2); border-radius: 16px; background: #f5f7fb; box-shadow: inset 0 1px 0 #fff; }
    .browser-bar { height: 39px; padding: 0 12px; display: grid; grid-template-columns: 48px 1fr 48px; align-items: center; border-bottom: 1px solid var(--line); background: #fff; }
    .browser-dots { display: flex; gap: 4px; }
    .browser-dots i { width: 6px; height: 6px; border-radius: 50%; background: #d5dce7; }
    .browser-address { padding: 6px 10px; color: #718096; font: 8px var(--mono); text-align: center; border-radius: 7px; background: #f3f5f8; }
    .neutral-page { min-height: 384px; padding: 28px; background: #fbfcff; }
    .partner-brand { display: flex; align-items: center; gap: 8px; font: 730 12px var(--display); }
    .partner-mark { width: 28px; height: 28px; display: grid; place-items: center; color: #fff; border-radius: 9px 9px 9px 3px; background: #173f7a; }
    .neutral-progress { height: 4px; margin: 18px 0 25px; overflow: hidden; border-radius: 5px; background: #e7ebf2; }
    .neutral-progress span { display: block; width: 34%; height: 100%; border-radius: inherit; background: #315ce8; }
    .neutral-content { max-width: 600px; margin: 0 auto; }
    .neutral-content .micro { color: var(--blue); font-size: 8px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
    .neutral-content h3 { margin: 8px 0 7px; font: 730 20px/1.1 var(--display); letter-spacing: -.55px; }
    .neutral-content > p { margin: 0 0 15px; color: var(--muted); font-size: 9.5px; line-height: 1.55; }
    .partner-methods { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
    .partner-method { min-height: 125px; padding: 14px; text-align: left; border: 1px solid var(--line); border-radius: 13px; background: #fff; cursor: pointer; }
    .partner-method:hover { border-color: #b8c6ed; box-shadow: 0 9px 22px rgba(28,55,101,.07); }
    .partner-method.selected { border: 2px solid var(--blue); box-shadow: 0 0 0 4px rgba(49,92,232,.06); }
    .partner-method.camera.selected { border-color: var(--mint); box-shadow: 0 0 0 4px rgba(21,155,120,.06); }
    .partner-method-icon { width: 31px; height: 31px; display: grid; place-items: center; color: var(--blue); border-radius: 9px; background: var(--blue-08); }
    .partner-method.camera .partner-method-icon { color: var(--mint); background: var(--mint-08); }
    .partner-method strong { display: block; margin-top: 11px; font-size: 9.5px; }
    .partner-method small { display: block; margin-top: 4px; color: var(--muted); font-size: 8px; line-height: 1.4; }
    .neutral-footer { margin-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 8px; }
    .neutral-footer .btn { min-height: 34px; padding: 0 13px; font-size: 9px; }

    .portal-config { padding-bottom: 18px; }
    .config-section { margin: 0 19px; padding: 15px 0; border-bottom: 1px solid var(--line); }
    .config-section:last-of-type { border-bottom: 0; }
    .config-title { margin-bottom: 11px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
    .config-title strong { font-size: 10.5px; }
    .config-kv { min-height: 36px; display: grid; grid-template-columns: 95px 1fr; align-items: center; gap: 10px; font-size: 9px; }
    .config-kv span { color: var(--muted); }
    .config-kv code { overflow: hidden; text-overflow: ellipsis; font: 8.5px var(--mono); white-space: nowrap; }
    .storage-mode { padding: 13px; display: grid; grid-template-columns: 34px 1fr; gap: 10px; border: 1px solid #ccecdf; border-radius: 12px; background: var(--mint-08); }
    .storage-mode svg { color: var(--mint); }
    .storage-mode strong { display: block; color: #126c55; font-size: 9.5px; }
    .storage-mode p { margin: 4px 0 0; color: #52766b; font-size: 8.5px; line-height: 1.5; }
    .config-actions { padding: 5px 19px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

    .ownership-panel { margin-bottom: 18px; padding: 23px; }
    .ownership-panel h2 { margin: 0; font: 720 17px var(--display); }
    .ownership-panel > p { margin: 7px 0 20px; color: var(--muted); font-size: 9.5px; }
    .ownership-grid { display: grid; grid-template-columns: 1fr 52px 1fr; gap: 12px; align-items: stretch; }
    .owner-column { padding: 18px; border: 1px solid var(--line); border-radius: 15px; background: #fafbfd; }
    .owner-column.mailcerty { border-color: #d5def7; background: var(--blue-04); }
    .owner-title { display: flex; align-items: center; gap: 9px; margin-bottom: 14px; }
    .owner-title .module-icon { width: 34px; height: 34px; }
    .owner-title strong { display: block; font-size: 10.5px; }
    .owner-title small { display: block; margin-top: 3px; color: var(--muted); font-size: 8px; }
    .owner-list { margin: 0; padding: 0; display: grid; gap: 9px; list-style: none; }
    .owner-list li { display: grid; grid-template-columns: 15px 1fr; align-items: start; gap: 7px; color: var(--ink-2); font-size: 9px; line-height: 1.4; }
    .owner-list svg { margin-top: 1px; color: var(--mint); }
    .ownership-divider { position: relative; display: grid; place-items: center; }
    .ownership-divider::before { content: ""; position: absolute; top: 0; bottom: 0; width: 1px; background: var(--line); }
    .ownership-divider span { position: relative; z-index: 1; width: 38px; height: 38px; display: grid; place-items: center; color: var(--blue); border: 1px solid var(--line); border-radius: 50%; background: #fff; }

    .fraud-suite { padding: 22px; }
    .fraud-suite-head { margin-bottom: 17px; display: flex; align-items: flex-end; justify-content: space-between; gap: 15px; }
    .fraud-suite h2 { margin: 0; font: 720 17px var(--display); }
    .fraud-suite p { margin: 6px 0 0; color: var(--muted); font-size: 9.5px; }
    .fraud-controls { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 9px; }
    .fraud-control { min-height: 122px; padding: 14px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
    .fraud-control > svg { color: var(--blue); }
    .fraud-control strong { display: block; margin-top: 12px; font-size: 9.5px; }
    .fraud-control small { display: block; margin-top: 5px; color: var(--muted); font-size: 8px; line-height: 1.45; }
    .fraud-control .mini-state { display: inline-block; margin-top: 9px; color: var(--mint); font-size: 7.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }

    .vault-layout { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(300px,.75fr); gap: 17px; }
    .vault-hero { padding: 27px; display: grid; grid-template-columns: 1fr 180px; gap: 20px; min-height: 240px; background: linear-gradient(140deg,#fff,#f7f9ff); }
    .vault-hero h2 { margin: 0; font: 730 24px var(--display); letter-spacing: -.7px; }
    .vault-hero p { margin: 10px 0 19px; color: var(--muted); font-size: 10.5px; line-height: 1.6; }
    .storage-figure { align-self: center; justify-self: center; width: 145px; height: 145px; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(var(--blue) 0 34%, #e9eef7 34%); }
    .storage-figure::before { content: ""; position: absolute; width: 116px; height: 116px; border-radius: 50%; background: #fff; }
    .storage-figure div { position: relative; z-index: 1; text-align: center; }
    .storage-figure strong { display: block; font: 740 24px var(--display); }
    .storage-figure small { color: var(--muted); font-size: 9px; }
    .vault-list { margin-top: 17px; overflow: hidden; }
    .vault-item { min-height: 64px; padding: 12px 17px; display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 11px; border-bottom: 1px solid var(--line); }
    .vault-item:last-child { border-bottom: 0; }
    .vault-item strong { display: block; font-size: 10px; }
    .vault-item small { display: block; margin-top: 4px; color: var(--muted); font-size: 8.5px; }
    .vault-side { padding: 21px; }
    .vault-side h3 { margin: 0; font: 710 15px var(--display); }
    .vault-side > p { margin: 8px 0 18px; color: var(--muted); font-size: 9.5px; line-height: 1.5; }
    .storage-target { margin-top: 9px; padding: 13px; display: grid; grid-template-columns: 33px 1fr auto; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 12px; }
    .storage-target strong { display: block; font-size: 9.5px; }
    .storage-target small { display: block; margin-top: 3px; color: var(--muted); font-size: 8px; }

    .api-layout { display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: 17px; }
    .api-main { padding: 25px; }
    .api-main h2, .api-side h2 { margin: 0; font: 720 18px var(--display); }
    .api-main > p, .api-side > p { margin: 8px 0 20px; color: var(--muted); font-size: 10px; line-height: 1.55; }
    .endpoint { min-height: 52px; padding: 10px 0; display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 10px; border-top: 1px solid var(--line); }
    .verb { padding: 5px 6px; color: var(--mint); font: 800 8px var(--mono); text-align: center; border-radius: 7px; background: var(--mint-08); }
    .endpoint code { color: var(--ink); font: 9.5px var(--mono); }
    .endpoint small { color: var(--muted); font-size: 8.5px; }
    .api-side { padding: 25px; }
    .code-box { padding: 15px; overflow: auto; color: #dce6f6; font: 9px/1.7 var(--mono); border-radius: 13px; background: #10213d; }
    .code-blue { color: #8facff; }
    .code-green { color: #65d4ad; }
    .key-row { margin-top: 17px; padding: 13px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 1px solid var(--line); border-radius: 12px; }
    .key-row code { font: 8.5px var(--mono); }

    .settings-layout { display: grid; grid-template-columns: 210px minmax(0,1fr); gap: 17px; }
    .settings-nav { padding: 10px; align-self: start; }
    .settings-nav button { width: 100%; min-height: 40px; padding: 0 11px; color: var(--ink-2); font-size: 9.5px; font-weight: 650; text-align: left; border: 0; border-radius: 10px; background: transparent; cursor: pointer; }
    .settings-nav button.active { color: var(--blue); background: var(--blue-08); }
    .settings-main { padding: 25px; }
    .settings-main h2 { margin: 0; font: 720 18px var(--display); }
    .settings-main > p { margin: 7px 0 22px; color: var(--muted); font-size: 10px; }
    .setting-row { min-height: 68px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 15px; border-top: 1px solid var(--line); }
    .setting-row strong { display: block; font-size: 10.5px; }
    .setting-row small { display: block; max-width: 560px; margin-top: 4px; color: var(--muted); font-size: 9px; line-height: 1.45; }

    .modal-backdrop { position: fixed; inset: 0; z-index: 100; padding: 20px; display: grid; place-items: center; background: rgba(6,18,36,.52); backdrop-filter: blur(5px); }
    .modal { width: min(680px,100%); max-height: min(760px,calc(100vh - 40px)); overflow: auto; border: 1px solid rgba(255,255,255,.5); border-radius: 23px; background: #fff; box-shadow: 0 34px 90px rgba(6,18,36,.28); animation: modalIn .24s ease both; }
    @keyframes modalIn { from { opacity: 0; transform: translateY(10px) scale(.985); } to { opacity: 1; transform: none; } }
    .modal-head { padding: 20px 22px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
    .modal-head h2 { margin: 0; font: 720 17px var(--display); }
    .modal-body { padding: 22px; }
    .verdict { padding: 19px; display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 13px; border: 1px solid #ccecdf; border-radius: 15px; background: var(--mint-08); }
    .verdict > svg { color: var(--mint); }
    .verdict strong { display: block; font-size: 12px; }
    .verdict small { display: block; margin-top: 4px; color: #4d7468; font-size: 9px; }
    .verdict-score { color: var(--mint); font: 760 20px var(--display); }
    .evidence-grid { margin-top: 15px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
    .evidence { padding: 13px; border: 1px solid var(--line); border-radius: 12px; }
    .evidence span { display: block; color: var(--muted); font-size: 8.5px; }
    .evidence strong { display: block; margin-top: 6px; font-size: 10px; }
    .modal-actions { padding: 15px 22px; display: flex; justify-content: flex-end; gap: 9px; border-top: 1px solid var(--line); background: #fafbfd; }
    .toast { position: fixed; right: 24px; bottom: 24px; z-index: 120; max-width: 340px; padding: 13px 15px; display: flex; align-items: center; gap: 10px; color: #fff; font-size: 10px; font-weight: 650; border-radius: 13px; background: #10213d; box-shadow: 0 20px 45px rgba(8,24,48,.24); animation: toastIn .22s ease both; }
    @keyframes toastIn { from { opacity: 0; transform: translateY(10px); } }
    .toast svg { color: #65d4ad; }
    .scrim { display: none; }

    .product-view-head { align-items: center; padding: 7px 0 3px; }
    .page-eyebrow { margin-bottom: 10px; color: var(--blue); }
    .product-metrics { margin-top: 18px; }
    .notice-card { margin: 17px 0; padding: 18px 20px; display: grid; grid-template-columns: 42px 1fr; align-items: center; gap: 13px; border: 1px solid #cedafb; border-radius: 17px; background: linear-gradient(135deg,#f8faff,#eef3ff); box-shadow: var(--shadow-soft); }
    .notice-icon { width: 42px; height: 42px; display: grid; place-items: center; color: var(--blue); border-radius: 13px; background: #fff; box-shadow: 0 8px 20px rgba(49,92,232,.11); }
    .notice-card strong { display: block; font: 710 13px var(--display); }
    .notice-card p { margin: 5px 0 0; color: var(--muted); font-size: 10.5px; line-height: 1.55; }
    .list-toolbar { margin: 18px 0; padding: 12px; display: flex; align-items: center; gap: 9px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow-soft); }
    .list-search { position: relative; flex: 1; min-width: 220px; }
    .list-search svg { position: absolute; left: 13px; top: 50%; color: var(--muted); transform: translateY(-50%); }
    .list-toolbar input, .list-toolbar select { height: 40px; color: var(--ink); border: 1px solid var(--line-2); border-radius: 11px; background: #fbfcff; }
    .list-toolbar input { width: 100%; padding: 0 13px 0 39px; }
    .list-toolbar select { min-width: 165px; padding: 0 32px 0 12px; }
    .product-list-panel { margin-top: 18px; }
    .row-action { display: inline-flex; align-items: center; gap: 5px; color: var(--blue); font-size: 10px; font-weight: 750; white-space: nowrap; }
    .row-action-muted { color: var(--muted); font-size: 9px; font-weight: 700; }
    .detail-grid { margin: 18px 0; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
    .detail-card { min-width: 0; padding: 17px 18px; border: 1px solid var(--line); border-radius: 17px; background: #fff; box-shadow: var(--shadow-soft); }
    .detail-card span { display: block; color: var(--muted); font-size: 8.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
    .detail-card strong { display: block; margin-top: 9px; color: var(--ink); font: 680 12px/1.45 var(--display); overflow-wrap: anywhere; }
    .detail-card .mono-value { font: 650 9px/1.55 var(--mono); }
    .hub-sections { margin-top: 20px; display: grid; gap: 22px; }
    .hub-section-head { margin-bottom: 10px; }
    .hub-section-head h2 { margin: 0; font: 720 15px/1.25 var(--display); letter-spacing: -.2px; }
    .hub-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
    .hub-card { min-width: 0; padding: 17px; display: grid; grid-template-columns: 38px minmax(0,1fr) 18px; align-items: center; gap: 12px; color: inherit; border: 1px solid var(--line); border-radius: 17px; background: #fff; box-shadow: var(--shadow-soft); transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease; }
    .hub-card:hover { transform: translateY(-2px); border-color: #cbd7fb; box-shadow: 0 15px 34px rgba(35,63,119,.12); }
    .hub-card-icon { width: 38px; height: 38px; display: grid; place-items: center; color: var(--blue); border-radius: 12px; background: var(--blue-08); }
    .hub-card strong { display: block; color: var(--ink); font: 700 11px/1.3 var(--display); }
    .hub-card small { display: block; margin-top: 5px; color: var(--muted); font-size: 9px; line-height: 1.55; }
    .hub-card .mono-value { font: 600 8.5px/1.55 var(--mono); overflow-wrap: anywhere; }
    .hub-card-arrow { color: #8795aa; }
    .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; }

    @media (max-width: 1120px) {
      .hero { grid-template-columns: 1fr 320px; }
      .engine-card { grid-template-columns: 1fr 150px; }
      .stats-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
      .risk-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
      .wl-hero { grid-template-columns: 1fr; }
      .fraud-controls { grid-template-columns: repeat(2,minmax(0,1fr)); }
    }
    @media (max-width: 900px) {
      .app { display: block; }
      .sidebar { transform: translateX(-100%); transition: transform .22s ease; }
      .sidebar.open { transform: none; }
      .shell { width: 100%; }
      .icon-btn.mobile-menu { display: grid; }
      .topbar { padding: 0 20px; }
      .content { padding: 24px 20px 46px; }
      .scrim { position: fixed; inset: 0; z-index: 25; display: block; background: rgba(7,18,34,.45); }
      .hero { grid-template-columns: 1fr; }
      .proof-lattice { min-height: 180px; }
      .engine-grid, .dashboard-grid, .vault-layout, .api-layout, .wl-layout { grid-template-columns: minmax(0, 1fr); }
      .wizard-shell { grid-template-columns: 1fr; }
      .wizard-side { padding: 20px; }
      .wizard-side > p, .privacy-note { display: none; }
      .steps { grid-template-columns: repeat(4,1fr); gap: 5px; }
      .steps::before { left: 8%; right: 8%; top: 17px; bottom: auto; width: auto; height: 1px; }
      .step-item { min-height: 42px; padding: 3px; grid-template-columns: 33px; justify-content: center; }
      .step-item div:last-child { display: none; }
      .risk-hero { grid-template-columns: 1fr; }
    }
    @media (max-width: 680px) {
      .topbar { height: 64px; gap: 9px; }
      .topbar > .search, .top-avatar { display: none; }
      .page-title { min-width: 0; flex: 1; }
      .content { padding: 20px 14px 38px; }
      .view-head { align-items: flex-start; flex-direction: column; }
      .hero { min-height: 0; padding: 26px 21px; border-radius: 20px; }
      .hero h1, .hero h2 { font-size: 34px; }
      .proof-lattice { display: none; }
      .engine-card { min-height: 0; grid-template-columns: 1fr; }
      .engine-copy { padding: 23px; }
      .engine-visual { min-height: 150px; }
      .stats-grid, .risk-grid, .mode-grid, .form-grid, .evidence-grid, .settings-layout, .drop-grid, .partner-methods, .fraud-controls, .detail-grid { grid-template-columns: 1fr; }
      .hub-grid { grid-template-columns: 1fr; }
      .wl-hero { padding: 25px 21px; }
      .custody-flow { display: none; }
      .neutral-page { padding: 20px 15px; }
      .ownership-grid { grid-template-columns: 1fr; }
      .ownership-divider { min-height: 44px; }
      .ownership-divider::before { left: 0; right: 0; top: 50%; bottom: auto; width: auto; height: 1px; }
      .field.full { grid-column: auto; }
      .wizard-pane { padding: 25px 20px 20px; }
      .wizard-actions { padding: 13px 20px; }
      .toolbar { flex-wrap: wrap; }
      .toolbar .search { flex: 1 1 100%; }
      .vault-hero { grid-template-columns: 1fr; }
      .storage-figure { display: none; }
      .settings-nav { display: flex; overflow-x: auto; }
      .settings-nav button { min-width: max-content; }
      .modal-backdrop { padding: 9px; }
      .modal { max-height: calc(100vh - 18px); border-radius: 18px; }
      .verdict { grid-template-columns: 42px 1fr; }
      .verdict-score { grid-column: 2; }
    }
    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
    }

    /* Console applicative : extensions minimales au design de référence figé. */
    .nav-label-spaced { margin-top: 14px; }
    .user-mini > span:nth-child(2) { min-width: 0; }
    .user-mini > span:nth-child(2) strong,
    .user-mini > span:nth-child(2) small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .user-logout { margin-left: auto; color: rgba(255,255,255,.66); font-size: 8.5px; font-weight: 750; text-decoration: none; }
    .user-logout:hover,
    .user-logout:focus-visible { color: #fff; }
    .empty-state { padding: 30px 18px; text-align: center; }
    .empty-state strong { display: block; color: var(--ink); font-size: 11px; }
    .empty-state p { margin: 7px auto 0; max-width: 470px; color: var(--muted); font-size: 9px; line-height: 1.65; }
    .neutral-page { min-height: 100vh; padding: 28px; display: grid; place-items: center; background: var(--paper); }
    .neutral-card { width: min(520px,100%); padding: 34px; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--shadow); }
    .neutral-card h1 { margin: 0; font: 760 27px/1.15 var(--display); }
    .neutral-card p { margin: 12px 0 22px; color: var(--muted); line-height: 1.7; }

    @media (max-width: 680px) {
      .hero-actions { align-items: stretch; flex-direction: column; }
      .hero-actions .btn { justify-content: center; width: 100%; }
      .stats-grid { grid-template-columns: minmax(0,1fr); }
      .list-toolbar { align-items: stretch; flex-direction: column; }
      .list-search { min-width: 0; }
      .list-toolbar select { width: 100%; }
      .panel { min-width: 0; }
      .mobile-menu::before { content: ""; width: 18px; height: 13px; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; background: linear-gradient(currentColor,currentColor) center/100% 2px no-repeat; }
      .mobile-menu svg { display: none; }
      .product-list-panel .table-wrap { width: 100%; max-width: 100%; overflow: visible; }
      .product-list-panel table,
      .product-list-panel tbody { display: block; width: 100%; }
      .product-list-panel thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
      .product-list-panel tbody tr { padding: 15px 17px; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 10px 14px; border-top: 1px solid var(--line); }
      .product-list-panel tbody td { padding: 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 0; min-width: 0; }
      .product-list-panel tbody td:first-child { grid-column: 1 / -1; }
      .product-list-panel tbody td:nth-child(2),
      .product-list-panel tbody td:nth-child(3) { align-items: flex-start; flex-direction: column; justify-content: flex-start; gap: 6px; }
      .product-list-panel tbody td:nth-child(3) { color: var(--muted); font-size: 9px; }
      .product-list-panel tbody td:nth-child(4) { grid-column: 1 / -1; justify-content: flex-end; }
      .product-list-panel tbody td::before { content: attr(data-label); color: var(--muted); font-size: 8px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
      .product-list-panel tbody td:first-child::before,
      .product-list-panel tbody td:nth-child(4)::before { display: none; }
      .product-list-panel .person { min-width: 0; white-space: normal; }
      .product-list-panel .person > span:last-child { min-width: 0; }
      .product-list-panel .person strong,
      .product-list-panel .person small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    }

/* Assistant Identity natif — langage visuel du prototype validé. */
.notice-success{border-color:rgba(21,155,120,.22);background:linear-gradient(135deg,#f4fcf9,#fff)}
.api-secret-once{display:block;margin-top:10px;padding:12px 14px;border:1px dashed rgba(51,86,219,.32);border-radius:10px;background:#fff;color:#13243f;font-size:13px;line-height:1.5;overflow-wrap:anywhere;user-select:all}
.notice-error{border-color:rgba(199,70,74,.22);background:linear-gradient(135deg,#fff6f6,#fff)}
.notice-error .notice-icon{color:#c7464a;background:#fff0f0}
.resource-actions{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 22px}.resource-actions form{margin:0}.btn.danger{background:#fff;color:#b63237;border:1px solid #efc9cb}.btn.danger:hover{background:#fff5f5}
.wizard-shell{display:grid;grid-template-columns:270px minmax(0,1fr);overflow:hidden;background:#fff;border:1px solid #e1e8f3;border-radius:24px;box-shadow:0 20px 60px rgba(25,48,88,.09);margin:4px 0 28px}
.wizard-rail{position:relative;overflow:hidden;padding:34px 30px;color:#fff;background:radial-gradient(circle at 20% 4%,rgba(49,92,232,.58),transparent 34%),radial-gradient(circle at 100% 70%,rgba(21,155,120,.22),transparent 40%),#0d1e38}.wizard-rail:after{content:"";position:absolute;width:180px;height:180px;border:1px solid rgba(255,255,255,.09);border-radius:50%;right:-90px;bottom:-50px}.wizard-kicker{display:inline-flex;padding:7px 10px;border:1px solid rgba(255,255,255,.17);border-radius:999px;color:#bdccff;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.wizard-rail h2{margin:20px 0 30px;font-size:23px;line-height:1.2;letter-spacing:-.035em}.wizard-rail ol{list-style:none;padding:0;margin:0;display:grid;gap:19px}.wizard-rail li{display:flex;gap:12px;align-items:flex-start;color:#94a4bd}.wizard-rail li b{display:grid;place-items:center;width:29px;height:29px;border-radius:50%;border:1px solid rgba(255,255,255,.18);font-size:12px}.wizard-rail li span{font-size:13px;font-weight:800}.wizard-rail li small{display:block;margin-top:3px;color:#71839e;font-weight:500}.wizard-rail li.active,.wizard-rail li.done{color:#fff}.wizard-rail li.active b{background:#315ce8;border-color:#5d7bf0}.wizard-rail li.done b{background:#159b78;border-color:#4bc5a5}.wizard-rail p{position:absolute;left:30px;right:30px;bottom:28px;margin:0;color:#9eacc1;font-size:12px;line-height:1.55}
.wizard-main{padding:12px 34px 0}.form-section{display:grid;grid-template-columns:42px 1fr;column-gap:16px;padding:26px 0;border-bottom:1px solid #edf1f7}.section-number{grid-row:1/4;display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#edf2ff;color:#315ce8;font-size:12px;font-weight:900}.section-copy h2{margin:0;color:#0b1930;font-size:18px;letter-spacing:-.02em}.section-copy p{margin:6px 0 18px;color:#697792;font-size:13px;line-height:1.55}.mode-grid,.field-grid{grid-column:2;display:grid;gap:12px}.mode-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.mode-card{position:relative;min-height:126px;padding:16px;border:1px solid #dde5f1;border-radius:16px;background:#fbfcff;cursor:pointer;transition:.18s ease}.mode-card:hover{transform:translateY(-2px);border-color:#9db1ee;box-shadow:0 10px 24px rgba(42,74,142,.08)}.mode-card input{position:absolute;right:14px;top:14px;accent-color:#315ce8}.mode-card:has(input:checked){border-color:#315ce8;background:linear-gradient(145deg,#f3f6ff,#fff);box-shadow:0 0 0 3px rgba(49,92,232,.09)}.mode-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#e9efff;color:#315ce8}.mode-card strong{display:block;margin:13px 0 5px;color:#14233b;font-size:13px}.mode-card small{display:block;color:#72809a;font-size:11.5px;line-height:1.45}.field-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.field.full{grid-column:1/-1}.field span{display:block;margin:0 0 7px;color:#31415c;font-size:12px;font-weight:800}.field em{font-style:normal;color:#8995a9;font-weight:500}.field input,.field select,.field textarea{width:100%;border:1px solid #d9e2ef;border-radius:12px;background:#fff;padding:0 13px;color:#17263f;font:inherit;font-size:13px;outline:none}.field input,.field select{height:45px}.field textarea{min-height:110px;padding-top:11px;padding-bottom:11px;resize:vertical}.field input:focus,.field select:focus,.field textarea:focus{border-color:#315ce8;box-shadow:0 0 0 3px rgba(49,92,232,.1)}.wizard-footer{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:22px 0 28px}.wizard-footer>span{display:flex;align-items:center;gap:7px;color:#71809a;font-size:11.5px}.wizard-submit{min-height:44px}
.identity-mode-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.identity-mode-grid .mode-card{min-height:148px}.identity-mode-grid .mode-card.choice .mode-icon{background:#e9f8f3;color:#12866a}.identity-mode-grid .mode-card.is-disabled{cursor:not-allowed;opacity:.56;background:#f4f6fa}.identity-mode-grid .mode-card.is-disabled:hover{transform:none;border-color:#dde5f1;box-shadow:none}.form-hint{grid-column:2;margin:10px 0 0;color:#7b879b;font-size:11.5px;line-height:1.55}.form-hint-error{color:#b4233c;font-weight:750}
.contact-form-actions{display:flex;align-items:center;gap:10px}.contact-import-panel{margin:0 0 18px;padding:0;overflow:hidden}.contact-import-panel summary{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;cursor:pointer;list-style:none}.contact-import-panel summary::-webkit-details-marker{display:none}.contact-import-panel summary span{display:grid;gap:3px}.contact-import-panel summary small{color:#77849a;font-size:11.5px}.contact-import-panel[open] summary{border-bottom:1px solid #edf1f7}.contact-import-panel form{display:grid;grid-template-columns:minmax(220px,1fr) auto;align-items:end;gap:14px;padding:18px 20px}.contact-import-panel form p{grid-column:1/-1;margin:0;color:#77849a;font-size:11.5px}
.template-library{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.template-card{display:grid;grid-template-rows:auto 1fr auto;min-height:250px;padding:20px;border:1px solid #dce4f0;border-radius:19px;background:#fff;box-shadow:0 10px 28px rgba(30,55,105,.06)}.template-card header,.template-card footer{display:flex;align-items:center;justify-content:space-between;gap:10px}.template-kind{display:inline-flex;align-items:center;gap:8px;color:#315ce8;font-size:11px;font-weight:900;letter-spacing:.06em;text-transform:uppercase}.template-card.pdf .template-kind{color:#159b78}.template-card-body{align-self:center;padding:26px 0}.template-card-body h2{margin:0 0 8px;color:#101f38;font-size:20px}.template-card-body p{margin:0 0 12px;color:#687690;font-size:12.5px}.template-card-body small{color:#8a96aa;font-size:11px}.template-card footer{justify-content:flex-end}.template-card footer form{margin:0}.template-empty{display:flex;align-items:center;gap:20px;padding:26px}.template-empty-icon,.template-use-icon,.template-pdf-mark{display:grid;place-items:center;flex:0 0 auto;width:52px;height:52px;border-radius:16px;background:#eaf0ff;color:#315ce8}.template-empty>div{flex:1}.template-empty h2{margin:0 0 6px}.template-empty p{margin:0;color:#6b7890}.template-editor{overflow:hidden}.template-editor-head{display:grid;grid-template-columns:1fr minmax(260px,380px);align-items:end;gap:24px;padding:22px 24px;border-bottom:1px solid #e8edf5}.template-editor-head>div{display:grid;gap:4px}.template-editor-head>div span{color:#315ce8;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.template-editor-head>div strong{color:#5f6d84;font-size:12px}.template-toolbar{display:flex;gap:7px;padding:11px 24px;border-bottom:1px solid #e8edf5;background:#f8faff}.template-toolbar button{min-width:36px;height:34px;padding:0 11px;border:1px solid #d9e2f0;border-radius:9px;background:#fff;color:#243550;font:inherit;font-size:12px;font-weight:800;cursor:pointer}.template-toolbar button:hover,.template-toolbar button:focus-visible{border-color:#315ce8;color:#315ce8}.template-writing-surface{min-height:520px;padding:42px max(30px,10%);background:#fff;color:#17253c;font-size:14px;line-height:1.75;outline:none}.template-writing-surface:focus{box-shadow:inset 0 0 0 3px rgba(49,92,232,.12)}.template-writing-surface h1{font-size:28px}.template-writing-surface h2{margin-top:28px;font-size:19px}.template-editor>footer,.template-use-form>footer,.template-public-form>footer,.template-pdf-main>footer{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:18px 24px;border-top:1px solid #e8edf5}.template-editor>footer>span{display:flex;align-items:center;gap:8px;color:#71809a;font-size:11.5px}.template-editor>footer>div{display:flex;gap:9px}.template-use-grid,.template-pdf-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(300px,.7fr);gap:18px}.template-use-form,.template-public-form,.template-pdf-main,.template-pdf-actions{padding:0;overflow:hidden}.template-use-form>header,.template-public-form>header{display:flex;align-items:center;gap:14px;padding:22px 24px;border-bottom:1px solid #e8edf5}.template-use-form h2,.template-public-form h2,.template-pdf-main h2,.template-pdf-actions h2{margin:0 0 5px;color:#101f38}.template-use-form p,.template-public-form p,.template-pdf-main p,.template-pdf-actions p{margin:0;color:#6c7890;font-size:12.5px;line-height:1.55}.template-use-icon.mint{background:#e9f8f3;color:#159b78}.template-use-form>.field-grid,.template-public-form>.field,.template-public-form>.storage-check,.template-public-form>.copy-row{margin:20px 24px}.template-use-form>.notice-card{margin:0 24px 20px}.copy-row{display:grid;grid-template-columns:1fr auto;gap:8px}.copy-row input{min-width:0;height:43px;padding:0 12px;border:1px solid #d9e2ef;border-radius:11px;background:#f8faff;color:#44536c}.template-pdf-main{display:grid;grid-template-columns:auto 1fr;align-content:start;gap:18px;padding:28px}.template-pdf-main .field,.template-pdf-main footer{grid-column:1/-1}.template-pdf-main footer{padding:18px 0 0}.template-pdf-actions{padding:28px}.template-pdf-actions>form{margin-top:12px}.template-pdf-actions .btn{width:100%;justify-content:center}
@media(max-width:980px){.wizard-shell{grid-template-columns:1fr}.wizard-rail{padding:25px}.wizard-rail ol{grid-template-columns:repeat(3,1fr);gap:8px}.wizard-rail li{gap:8px}.wizard-rail p{position:static;margin-top:22px}.wizard-main{padding:8px 24px 0}}
@media(max-width:700px){.wizard-rail ol{grid-template-columns:1fr}.wizard-main{padding:4px 18px 0}.form-section{grid-template-columns:36px 1fr;column-gap:10px}.section-number{width:34px;height:34px}.mode-grid,.field-grid{grid-template-columns:1fr}.mode-card{min-height:112px}.wizard-footer{align-items:stretch;flex-direction:column}.wizard-submit{justify-content:center;width:100%}.resource-actions{display:grid}.resource-actions .btn,.resource-actions form,.resource-actions form .btn{width:100%;justify-content:center}.contact-form-actions,.contact-import-panel form{display:grid;grid-template-columns:1fr}.contact-form-actions .btn{width:100%;justify-content:center}}
@media(max-width:1050px){.template-library{grid-template-columns:repeat(2,minmax(0,1fr))}.template-use-grid,.template-pdf-grid{grid-template-columns:1fr}}
@media(max-width:700px){.template-library{grid-template-columns:1fr}.template-editor-head{grid-template-columns:1fr}.template-writing-surface{min-height:420px;padding:26px 20px}.template-toolbar{overflow-x:auto;padding:10px 16px}.template-editor>footer{align-items:stretch;flex-direction:column}.template-editor>footer>div{display:grid}.template-use-form>footer{align-items:stretch;flex-direction:column}.template-use-form>footer .btn{width:100%;justify-content:center}.template-pdf-main{grid-template-columns:1fr}.template-empty{align-items:flex-start;flex-direction:column}.template-empty .btn{width:100%;justify-content:center}}
.field textarea{width:100%;min-height:150px;resize:vertical;border:1px solid #d9e2ef;border-radius:12px;background:#fff;padding:13px;color:#17263f;font:inherit;font-size:13px;line-height:1.6;outline:none}.field textarea:focus{border-color:#315ce8;box-shadow:0 0 0 3px rgba(49,92,232,.1)}.compact-section .section-copy p{margin-bottom:12px}
.upload-zone{position:relative;display:grid;place-items:center;min-height:180px;padding:24px;text-align:center;border:1.5px dashed #afbee0;border-radius:18px;background:linear-gradient(145deg,#f7f9ff,#fff);cursor:pointer;transition:.18s ease}.upload-zone:hover{border-color:#315ce8;background:#f3f6ff}.upload-zone input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.upload-symbol{display:grid;place-items:center;width:52px;height:52px;margin-bottom:12px;border-radius:16px;background:#e8eeff;color:#315ce8}.upload-zone strong{color:#17263f;font-size:14px}.upload-zone small{margin-top:5px;color:#72809a;font-size:11.5px}.review-strip{grid-column:2;display:flex;align-items:center;gap:12px;padding:15px;border:1px solid #dce6f4;border-radius:14px;background:#f8fbff}.review-strip>span{display:grid;place-items:center;flex:0 0 38px;height:38px;border-radius:12px;color:#159b78;background:#e8f8f3}.review-strip p{margin:0}.review-strip strong,.review-strip small{display:block}.review-strip strong{font-size:12.5px;color:#22314a}.review-strip small{margin-top:4px;color:#72809a;font-size:11px}
@media(max-width:700px){.review-strip{grid-column:2}.upload-zone{min-height:150px}}

/* Lecture probatoire : progression claire et détails structurés. */
.progress-panel{overflow:hidden}
.technical-code{display:inline-flex;align-items:center;max-width:100%;padding:7px 10px;border:1px solid #e2e8f2;border-radius:999px;background:#f7f9fc;color:#74819a;font:750 9px/1.2 ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:.045em;overflow-wrap:anywhere}
.proof-progress{list-style:none;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;margin:0;padding:24px 28px 28px}
.proof-progress-step{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:12px;min-width:0;padding-right:20px;color:#8a96aa}
.proof-progress-step:not(:last-child)::after{content:"";position:absolute;left:35px;right:8px;top:14px;height:2px;background:#e5eaf2}
.proof-progress-marker{position:relative;z-index:1;display:grid;place-items:center;width:30px;height:30px;border:2px solid #dde4ef;border-radius:50%;background:#fff;color:#8a96aa;font-size:11px;font-weight:900}
.proof-progress-step strong,.proof-progress-step small{display:block}
.proof-progress-step strong{color:#40506a;font-size:11.5px;line-height:1.35}
.proof-progress-step small{margin-top:4px;color:#8995a9;font-size:10px;line-height:1.5}
.proof-progress-step.done .proof-progress-marker{border-color:#159b78;background:#159b78;color:#fff}
.proof-progress-step.done:not(:last-child)::after{background:#8ed8c4}
.proof-progress-step.current .proof-progress-marker{border-color:#315ce8;background:#eef2ff;color:#315ce8;box-shadow:0 0 0 5px rgba(49,92,232,.08)}
.proof-progress-step.current strong{color:#17356f}
.proof-progress-step.error .proof-progress-marker{border-color:#c7464a;background:#c7464a;color:#fff}
.proof-progress-step.error strong{color:#a72f33}
.collection-stack{display:grid;gap:18px;margin:18px 0 28px}
.collection-panel{overflow:hidden}
.collection-panel .table-wrap{margin:0}
.collection-panel table{margin:0}
@media(max-width:920px){.proof-progress{grid-template-columns:1fr;padding:20px 24px}.proof-progress-step{display:grid;grid-template-columns:30px minmax(0,1fr);gap:4px 13px;padding:0 0 20px}.proof-progress-step:not(:last-child)::after{left:14px;right:auto;top:30px;bottom:0;width:2px;height:auto}.proof-progress-step>span:last-child{grid-column:2}.proof-progress-step small{margin-top:3px}}
@media(max-width:680px){.progress-panel .panel-head{align-items:flex-start;flex-direction:column}.technical-code{border-radius:9px;white-space:normal}.proof-progress{padding:18px}.collection-panel .table-wrap{overflow-x:auto}.collection-panel table{min-width:600px}}

/* Webhooks Mail : configuration sûre et journal lisible. */
.webhook-secret-card{margin:18px 0;padding:18px 20px;display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,1.15fr);align-items:center;gap:18px;border:1px solid #b9e2d5;border-radius:17px;background:linear-gradient(135deg,#f1fbf8,#fff);box-shadow:var(--shadow-soft)}.webhook-secret-card strong,.webhook-secret-card small{display:block}.webhook-secret-card strong{color:#116b55;font-size:13px}.webhook-secret-card small{margin-top:5px;color:#628478;font-size:10px;line-height:1.5}.webhook-secret-card code{padding:12px;border:1px solid #cce9df;border-radius:11px;background:#fff;color:#143e34;font:650 9px/1.55 var(--mono);overflow-wrap:anywhere}
.webhook-layout{margin:18px 0;display:grid;grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr);gap:16px}.webhook-create-panel,.webhook-help-panel{overflow:hidden}.webhook-form{padding:20px 22px 23px}.webhook-form fieldset{margin:18px 0;padding:0;border:0}.webhook-form legend{margin-bottom:10px;color:#31415c;font-size:12px;font-weight:800}.webhook-events{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.webhook-events label{padding:12px;display:flex;align-items:flex-start;gap:9px;border:1px solid #e0e7f1;border-radius:12px;background:#fbfcff;cursor:pointer}.webhook-events input{margin-top:2px;accent-color:#315ce8}.webhook-events strong,.webhook-events small{display:block}.webhook-events strong{font-size:10.5px}.webhook-events small{margin-top:3px;color:#7b879b;font:600 8px/1.4 var(--mono)}.webhook-help-panel>p{margin:0;padding:0 20px 22px;color:#6f7c91;font-size:10.5px;line-height:1.65}.webhook-code{margin:18px 20px;padding:15px;display:grid;gap:7px;border-radius:14px;background:#0d1e38;color:#dce5f6}.webhook-code span{color:#8fa1bd;font-size:8px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}.webhook-code code{font:600 9px/1.5 var(--mono);overflow-wrap:anywhere}.webhook-endpoints-panel,.webhook-deliveries-panel{margin-top:18px;overflow:hidden}.webhook-endpoints-panel td strong,.webhook-endpoints-panel td small,.webhook-deliveries-panel td strong,.webhook-deliveries-panel td small{display:block}.webhook-endpoints-panel td small,.webhook-deliveries-panel td small{margin-top:4px;color:#8793a7;font:600 8px/1.4 var(--mono)}.webhook-url{display:block;max-width:440px;overflow-wrap:anywhere}.webhook-actions{display:flex;gap:7px}.webhook-actions form{margin:0}.webhook-actions .btn{min-height:34px;padding:0 11px;font-size:9px}
@media(max-width:980px){.webhook-layout{grid-template-columns:1fr}.webhook-secret-card{grid-template-columns:1fr}}@media(max-width:700px){.webhook-events{grid-template-columns:1fr}.webhook-endpoints-panel .table-wrap,.webhook-deliveries-panel .table-wrap{overflow:visible}.webhook-endpoints-panel table,.webhook-endpoints-panel tbody,.webhook-deliveries-panel table,.webhook-deliveries-panel tbody{display:block;width:100%}.webhook-endpoints-panel thead,.webhook-deliveries-panel thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.webhook-endpoints-panel tbody tr,.webhook-deliveries-panel tbody tr{padding:15px 17px;display:grid;gap:12px;border-top:1px solid var(--line)}.webhook-endpoints-panel tbody td,.webhook-deliveries-panel tbody td{padding:0;display:grid;grid-template-columns:92px minmax(0,1fr);align-items:start;gap:10px;border:0;overflow-wrap:anywhere}.webhook-endpoints-panel tbody td::before,.webhook-deliveries-panel tbody td::before{content:attr(data-label);color:var(--muted);font-size:8px;font-weight:800;letter-spacing:.07em;text-transform:uppercase}.webhook-endpoints-panel tbody td:first-child,.webhook-deliveries-panel tbody td:first-child{grid-template-columns:1fr}.webhook-endpoints-panel tbody td:first-child::before,.webhook-deliveries-panel tbody td:first-child::before{display:none}.webhook-actions{flex-direction:row;flex-wrap:wrap}}
.api-support-grid{margin-top:18px;display:grid;grid-template-columns:1.15fr .85fr;gap:16px}.api-support-grid .panel{overflow:hidden}.api-link-card{padding:20px 22px;display:grid;gap:10px}.api-link-card code{padding:9px 11px;border:1px solid #e1e8f4;border-radius:10px;background:#f8faff;color:#2448bd;font:700 10px var(--mono)}.api-link-card .btn{margin-top:4px;justify-self:start}.field-help{margin:0;color:var(--muted);font-size:10px;line-height:1.55}
.connector-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.connector-card{padding:20px}.connector-head{display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:12px}.connector-head strong,.connector-head small{display:block}.connector-head small{margin-top:4px;color:var(--muted);font-size:9px}.connector-mark{width:44px;height:44px;display:grid;place-items:center;border-radius:14px;background:linear-gradient(145deg,#315ce8,#6c89ed);color:#fff;font-size:17px;font-weight:900}.connector-primary{margin-top:22px}.connector-details{margin:18px 0;display:grid;grid-template-columns:1fr 1fr;gap:9px}.connector-details span{padding:11px;border:1px solid #e4eaf3;border-radius:11px;color:var(--muted);font-size:8px;text-transform:uppercase;letter-spacing:.05em}.connector-details strong{display:block;margin-top:5px;color:var(--ink);font-size:9.5px;text-transform:none;letter-spacing:0;overflow-wrap:anywhere}.connector-details .connector-error{grid-column:1/-1;border-color:#f2d0d0;background:#fff7f7}.connector-details .connector-error strong{color:#a93434}.connector-form{margin:14px 0;padding-top:14px;border-top:1px solid var(--line)}.connector-deliveries{margin-top:18px;overflow:hidden}
.module-market-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.module-market-card{padding:19px;display:flex;flex-direction:column}.module-market-card header{display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:10px}.module-market-card header strong,.module-market-card header small{display:block}.module-market-card header small{margin-top:4px;color:var(--muted);font-size:8px}.module-market-icon{width:40px;height:40px;display:grid;place-items:center;border-radius:13px;background:var(--blue-08);color:var(--blue)}.module-market-card>p{min-height:48px;margin:18px 0;color:var(--muted);font-size:10.5px;line-height:1.55}.module-market-meta{display:flex;gap:8px}.module-market-meta span{flex:1;padding:9px;border-radius:10px;background:#f7f9fd;color:var(--muted);font-size:8px}.module-market-meta strong{display:block;margin-top:3px;color:var(--ink);font-size:9px}.module-market-actions{margin-top:16px;display:flex;gap:8px;flex-wrap:wrap}
@media(max-width:1000px){.module-market-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.api-support-grid{grid-template-columns:1fr}}@media(max-width:720px){.connector-grid,.module-market-grid{grid-template-columns:1fr}.connector-details{grid-template-columns:1fr}.connector-details .connector-error{grid-column:auto}}
.console-pagination{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:18px;color:#687792;font-size:13px}.console-pagination>div{display:flex;gap:8px}
.support-session-banner{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 16px;padding:13px 16px;border:1px solid #f0cf88;border-radius:15px;background:#fff8e7;color:#6f4b08;font-size:12px;box-shadow:0 8px 24px rgba(83,58,10,.07)}.support-session-banner strong{display:block;margin-bottom:2px;color:#533706}.support-session-banner .btn{flex:0 0 auto;min-height:36px;background:#fff;border-color:#e4c16f;color:#60420a}
@media(max-width:700px){.support-session-banner{align-items:stretch;flex-direction:column}.support-session-banner .btn{justify-content:center}}
.brand-logo-preview{display:flex;align-items:center;gap:14px;margin-top:10px}.brand-logo-preview img{display:block;max-width:180px;max-height:64px;padding:8px;border:1px solid var(--line);border-radius:12px;background:#fff}.brand-logo-preview label{display:flex;align-items:center;gap:8px;font-size:13px}
.wizard-main>fieldset{min-width:0;margin:0;padding:0;border:0}

/* Éditeur Signature natif — wizard validé, document au centre et options occasionnelles isolées. */
.signature-editor{margin:4px 0 30px;scroll-margin-top:86px}.editor-flow{display:grid;grid-template-columns:max-content minmax(36px,1fr) max-content minmax(36px,1fr) max-content;align-items:center;margin:0 0 18px;padding:14px 18px;border:1px solid var(--line);border-radius:17px;background:#fff;box-shadow:var(--shadow-soft)}.editor-flow>span{height:2px;margin:0 14px;background:#e5eaf3}.editor-flow-step{display:flex;align-items:center;gap:10px;padding:4px;border:0;background:none;color:#8995a8;text-align:left;cursor:pointer}.editor-flow-step i{display:grid;place-items:center;width:29px;height:29px;border-radius:50%;background:#edf1f7;color:#78859a;font-size:11px;font-style:normal;font-weight:900}.editor-flow-step strong,.editor-flow-step span,.editor-flow-step small{display:block}.editor-flow-step span{font-size:11px;font-weight:850}.editor-flow-step small{margin-top:2px;color:#9aa5b7;font-size:8.5px;font-weight:550}.editor-flow-step.active{color:var(--ink)}.editor-flow-step.active i{background:var(--blue);color:#fff;box-shadow:0 7px 16px rgba(49,92,232,.22)}.editor-flow-step.done i{background:var(--mint);color:#fff}.editor-flow-step.done+span{background:#a5decf}
.editor-screen{display:none;grid-template-columns:188px minmax(480px,1fr) 246px;gap:14px;align-items:start}.editor-screen.active{display:grid}.editor-screen[data-editor-screen="2"],.editor-screen[data-editor-screen="3"]{grid-template-columns:minmax(0,1fr) 300px}.editor-toolbox,.editor-properties,.editor-document,.editor-form-main,.editor-explain,.editor-summary{overflow:hidden}.editor-toolbox>header,.editor-properties>header{padding:16px 16px 13px;border-bottom:1px solid var(--line)}.editor-toolbox>header span,.editor-toolbox>header strong,.editor-properties>header span,.editor-properties>header strong{display:block}.editor-toolbox>header span,.editor-properties>header span{color:var(--blue);font-size:8px;font-weight:900;letter-spacing:.1em;text-transform:uppercase}.editor-toolbox>header strong,.editor-properties>header strong{margin-top:4px;font-size:11px}.editor-field-list{display:grid;grid-template-columns:1fr 1fr;gap:7px;padding:13px}.editor-field-choice{min-height:68px;padding:8px 5px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:7px;border:1px solid #e0e7f1;border-radius:12px;background:#fbfcff;cursor:pointer}.editor-field-choice:hover{border-color:#9fb2ec;background:#f4f7ff}.editor-field-choice i{display:grid;place-items:center;width:28px;height:28px;border-radius:9px;background:#eaf0ff;color:var(--blue);font-style:normal;font-size:11px;font-weight:900}.editor-field-choice span{font-size:9px;font-weight:800}.editor-help{margin:0;padding:13px 15px;border-top:1px solid var(--line);color:var(--muted);font-size:9px;line-height:1.55}
.editor-analysis{margin:12px 12px 0;padding:11px;border:1px solid #cbd7f7;border-radius:12px;background:#f5f8ff}.editor-analysis>button{width:100%;padding:0;display:flex;align-items:center;gap:7px;border:0;background:none;color:#244bc2;font-size:9.5px;font-weight:900;cursor:pointer}.editor-analysis>button:disabled{opacity:.55}.editor-analysis>p{margin:6px 0 0;color:#71809a;font-size:8.5px;line-height:1.4}.editor-analysis>div{display:grid;gap:6px;margin-top:9px}.editor-suggestion-row{width:100%;padding:8px;display:flex;align-items:center;justify-content:space-between;gap:6px;border:1px solid #dfe6f3;border-radius:9px;background:#fff;text-align:left;cursor:pointer}.editor-suggestion-row strong,.editor-suggestion-row small{display:block}.editor-suggestion-row strong{font-size:8.5px}.editor-suggestion-row small{max-width:105px;margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#8390a4;font-size:7.5px}.editor-suggestion-row b{color:var(--blue);font-size:7.5px}.editor-suggestion-row:disabled{opacity:.55}
.editor-document-head{min-height:62px;padding:0 15px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line)}.editor-document-head>div{display:flex;align-items:center;gap:9px}.editor-file-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#edf2ff;color:var(--blue)}.editor-document-head strong,.editor-document-head small{display:block}.editor-document-head strong{max-width:360px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.editor-document-head small{margin-top:3px;color:var(--muted);font-size:8.5px}.editor-zoom button{width:30px;height:30px;border:0;border-radius:8px;background:#f0f3f8;color:var(--ink);cursor:pointer}.editor-zoom output{min-width:43px;color:var(--muted);text-align:center;font-size:9px;font-weight:750}.editor-pdf-stage{min-height:650px;max-height:calc(100vh - 285px);padding:22px;overflow:auto;background:#e9eef6}.editor-pdf-page{position:relative;margin:0 auto 20px;background:#fff;box-shadow:0 12px 30px rgba(19,38,72,.14)}.editor-pdf-page canvas{display:block}.editor-pdf-overlay{position:absolute;inset:0}.editor-field-overlay{position:absolute;min-width:18px;min-height:15px;padding:0 5px;display:flex;align-items:center;justify-content:center;border:1.5px dashed #315ce8;border-radius:6px;background:rgba(237,242,255,.9);color:#2448bc;cursor:move;touch-action:none}.editor-field-overlay>span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:8px;font-weight:850;pointer-events:none}.editor-field-overlay.selected{border-style:solid;box-shadow:0 0 0 3px rgba(49,92,232,.16)}.editor-resize-handle{position:absolute;right:-5px;bottom:-5px;width:10px;height:10px;border:2px solid #fff;border-radius:3px;background:var(--blue);cursor:nwse-resize}.editor-pdf-loading,.editor-pdf-error{min-height:360px;display:grid;place-items:center;align-content:center;gap:12px;color:var(--muted);text-align:center;font-size:11px}.editor-pdf-loading>span{width:34px;height:34px;border:3px solid #cdd8ef;border-top-color:var(--blue);border-radius:50%;animation:editorSpin .8s linear infinite}.editor-pdf-error a{color:var(--blue);font-weight:800}@keyframes editorSpin{to{transform:rotate(360deg)}}
.editor-empty-property{padding:45px 18px;color:#8b97aa;text-align:center}.editor-empty-property svg{margin:0 auto;color:#9baccc}.editor-empty-property p{margin:12px 0 0;font-size:9.5px;line-height:1.6}.editor-properties #editorPropertyForm{padding:14px}.editor-properties .field{margin-bottom:12px}.editor-properties .field span{font-size:9px}.editor-properties .field input,.editor-properties .field select{height:38px;border-radius:9px;font-size:10px}.editor-properties .field textarea{min-height:78px;border-radius:9px;font-size:10px}.editor-properties .storage-check{margin:8px 0 12px;font-size:9.5px}.editor-property-more{margin:13px 0;padding-top:12px;border-top:1px solid var(--line)}.editor-property-more summary{margin-bottom:12px;color:var(--blue);font-size:9.5px;font-weight:850;cursor:pointer}.editor-delete-field{width:100%;margin-top:5px;color:var(--red)}
.editor-section-head{padding:25px 26px 20px;border-bottom:1px solid var(--line)}.editor-section-head>span{color:var(--blue);font-size:9px;font-weight:900;letter-spacing:.1em;text-transform:uppercase}.editor-section-head h2{margin:5px 0 4px;font-size:20px;letter-spacing:-.03em}.editor-section-head p{margin:0;color:var(--muted);font-size:11px}.editor-recipient-list{display:grid;gap:12px;padding:20px 26px 13px}.editor-form-main>[data-add-recipient]{margin:0 26px 22px}.editor-recipient-card{overflow:hidden;border:1px solid #dde5f0;border-radius:15px;background:#fbfcff}.editor-recipient-card>header{min-height:48px;padding:0 14px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e5eaf2;background:#fff}.editor-recipient-card>header span{display:flex;align-items:center;gap:9px}.editor-recipient-card>header i{display:grid;place-items:center;width:26px;height:26px;border-radius:8px;background:#edf2ff;color:var(--blue);font-size:10px;font-style:normal;font-weight:900}.editor-recipient-card>header strong{font-size:10.5px}.editor-row-remove{border:0;background:none;color:#8b97a9;font-size:9px;font-weight:800;cursor:pointer}.editor-row-remove:disabled{opacity:.35}.editor-recipient-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:14px}.editor-recipient-grid .field span{font-size:9px}.editor-recipient-grid .field input,.editor-recipient-grid .field select{height:39px;border-radius:10px;font-size:10px}.editor-same-level{grid-column:1/-1;margin:0;font-size:9.5px}.editor-observers{margin:0 26px 24px;padding:14px;border:1px solid #e0e7f1;border-radius:14px}.editor-observers summary{font-size:10px;font-weight:850;cursor:pointer}.editor-observer-row{display:grid;grid-template-columns:1fr 1fr 36px;gap:8px;margin-top:11px}.editor-observer-row .control{height:39px;padding:0 10px;border:1px solid #d9e2ef;border-radius:10px;font-size:10px}.editor-observer-row button{border:0;border-radius:9px;background:#f3f5f9;color:#8d98aa;cursor:pointer}.editor-explain,.editor-summary{position:sticky;top:85px;padding:23px}.editor-explain-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:#edf2ff;color:var(--blue)}.editor-explain h2,.editor-summary h2{margin:16px 0;font-size:15px}.editor-explain ul{list-style:none;margin:0;padding:0;display:grid;gap:13px}.editor-explain li{padding-bottom:13px;border-bottom:1px solid var(--line)}.editor-explain li:last-child{border:0}.editor-explain b,.editor-explain span{display:block}.editor-explain b{font-size:10px}.editor-explain span{margin-top:4px;color:var(--muted);font-size:9px;line-height:1.5}
.editor-contact-picker{position:relative;grid-column:1/-1}.editor-contact-picker>label{display:block;margin-bottom:6px;color:var(--ink);font-size:9px;font-weight:800}.editor-contact-picker>input{width:100%;height:39px;padding:0 12px;border:1px solid #cad6e6;border-radius:10px;background:#fff;color:var(--ink);font:inherit;font-size:10px}.editor-contact-picker>input:focus{outline:3px solid rgba(47,94,231,.13);border-color:var(--blue)}.editor-contact-results{position:absolute;z-index:15;top:66px;right:0;left:0;max-height:220px;overflow:auto;padding:6px;border:1px solid #d8e1ef;border-radius:12px;background:#fff;box-shadow:0 18px 42px rgba(18,40,76,.18)}.editor-contact-results button{display:flex;width:100%;padding:9px 10px;border:0;border-radius:9px;background:transparent;text-align:left;cursor:pointer;flex-direction:column}.editor-contact-results button:hover,.editor-contact-results button:focus{background:#f1f5ff;outline:none}.editor-contact-results strong,.editor-contact-results small{display:block}.editor-contact-results strong{color:var(--ink);font-size:9.5px}.editor-contact-results small,.editor-contact-empty{margin-top:2px;color:var(--muted);font-size:8.5px}.editor-contact-empty{display:block;padding:10px}
.contact-duplicate-box{margin-top:16px;padding:13px;border:1px solid #f3cf85;border-radius:13px;background:#fffaf0}.contact-duplicate-box.is-hidden{display:none}.contact-duplicate-box>strong{display:block;margin-bottom:8px;color:#8b5a00;font-size:10px}.contact-duplicate-box [data-contact-duplicate-list]{display:grid;gap:6px;margin-bottom:10px}.contact-duplicate-box a{display:flex;justify-content:space-between;gap:12px;padding:9px 10px;border:1px solid #eadfbf;border-radius:9px;background:#fff;text-decoration:none}.contact-duplicate-box a span,.contact-duplicate-box a small{font-size:9px}.contact-duplicate-box a span{color:var(--ink);font-weight:800}.contact-duplicate-box a small{color:var(--muted)}
.editor-workflow-apply{display:grid;grid-template-columns:minmax(220px,1fr) auto auto;align-items:end;gap:10px;margin:20px 26px 0;padding:13px;border:1px solid #dbe5f3;border-radius:13px;background:#f8faff}.editor-workflow-apply .field{margin:0}.editor-workflow-apply>a{align-self:center;color:var(--blue);font-size:9px;font-weight:800;text-decoration:none}.workflow-library{display:grid;gap:18px}.workflow-library-head{display:flex;align-items:end;justify-content:space-between;gap:20px;padding:22px 24px;border:1px solid var(--line);border-radius:18px;background:#fff}.workflow-library-head span{color:var(--blue);font-size:9px;font-weight:900;letter-spacing:.1em;text-transform:uppercase}.workflow-library-head h2{margin:5px 0 3px;font-size:20px}.workflow-library-head p{margin:0;color:var(--muted);font-size:10px}.workflow-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.workflow-card{padding:20px}.workflow-card>header{display:flex;gap:11px;align-items:center}.workflow-card>header>span:last-child{min-width:0}.workflow-card>header strong,.workflow-card>header small{display:block}.workflow-card>header strong{font-size:13px}.workflow-card>header small{margin-top:3px;color:var(--muted);font-size:8.5px}.workflow-icon{display:grid;place-items:center;flex:0 0 42px;height:42px;border-radius:13px;background:#edf2ff;color:var(--blue)}.workflow-card>p{min-height:32px;margin:14px 0;color:var(--muted);font-size:9.5px;line-height:1.55}.workflow-card ol{display:grid;gap:8px;margin:0;padding:0;list-style:none}.workflow-card li{display:flex;align-items:center;gap:9px;padding:8px;border-radius:10px;background:#f7f9fd}.workflow-card li>i{display:grid;place-items:center;width:23px;height:23px;border-radius:8px;background:#fff;color:var(--blue);font-size:8px;font-style:normal;font-weight:900}.workflow-card li b,.workflow-card li small{display:block}.workflow-card li b{font-size:9px}.workflow-card li small{margin-top:2px;color:var(--muted);font-size:8px}.workflow-card>footer{display:flex;justify-content:flex-end;margin-top:16px}.workflow-empty{padding:40px;text-align:center}.workflow-empty svg{color:var(--blue)}.workflow-empty h2{margin:12px 0 6px}.workflow-empty p{margin:0 0 18px;color:var(--muted)}
.workflow-builder{overflow:hidden}.workflow-builder-head{display:grid;grid-template-columns:minmax(220px,.75fr) minmax(400px,1.25fr);gap:28px;padding:25px;border-bottom:1px solid var(--line)}.workflow-builder-head>div:first-child>span{color:var(--blue);font-size:9px;font-weight:900;letter-spacing:.1em;text-transform:uppercase}.workflow-builder-head h2{margin:6px 0 5px;font-size:20px}.workflow-builder-head p{margin:0;color:var(--muted);font-size:10px;line-height:1.55}.workflow-meta-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.workflow-builder-body{padding:24px}.workflow-builder-title{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:14px}.workflow-builder-title strong,.workflow-builder-title small{display:block}.workflow-builder-title strong{font-size:13px}.workflow-builder-title small{margin-top:3px;color:var(--muted);font-size:9px}.workflow-builder [data-workflow-list]{display:grid;gap:10px}.workflow-step-card{display:grid;grid-template-columns:34px 1fr auto;align-items:start;gap:12px;padding:14px;border:1px solid #dbe4f0;border-radius:14px;background:#fbfcff}.workflow-step-card>i{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:#eaf0ff;color:var(--blue);font-size:10px;font-style:normal;font-weight:900}.workflow-step-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:10px}.workflow-step-body details{margin-top:10px;padding-top:10px;border-top:1px solid var(--line)}.workflow-step-body summary{cursor:pointer;color:var(--muted);font-size:9px;font-weight:800}.workflow-step-body details .workflow-step-grid{margin-top:10px}.workflow-step-actions{display:flex;gap:4px}.workflow-step-actions button{min-width:30px;height:30px;border:1px solid #d6e0ed;border-radius:8px;background:#fff;color:var(--muted);font-size:9px;font-weight:800;cursor:pointer}.workflow-step-actions button:last-child{padding:0 9px;color:var(--danger)}.workflow-step-actions button:disabled{opacity:.35;cursor:default}.workflow-builder-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 24px;border-top:1px solid var(--line);background:#fbfcff}.workflow-builder-footer>span{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:9px}.workflow-builder-footer>div{display:flex;gap:8px}
.editor-delivery{margin:20px 26px;padding:14px;display:flex;align-items:center;gap:11px;border:1px solid #bfd0fb;border-radius:13px;background:#f5f8ff;color:var(--blue)}.editor-delivery span{min-width:0}.editor-delivery strong,.editor-delivery small{display:block}.editor-delivery strong{color:var(--ink);font-size:11px}.editor-delivery small{margin-top:3px;color:var(--muted);font-size:9px}.editor-delivery b{margin-left:auto;color:var(--mint);font-size:8.5px;text-transform:uppercase}.editor-options-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;padding:0 26px}.editor-options-grid+.field,.editor-options-grid+.field+.field{margin:15px 26px 0}.editor-advanced{margin:18px 26px 25px;padding:14px;border:1px solid var(--line);border-radius:14px}.editor-advanced summary{font-size:10px;font-weight:850;cursor:pointer}.editor-advanced .editor-options-grid{margin-top:14px;padding:0}.editor-advanced .storage-check{align-self:center;font-size:9.5px}.editor-review-row{display:flex;gap:10px;padding:12px 0;border-bottom:1px solid var(--line)}.editor-review-row i{display:grid;place-items:center;flex:0 0 23px;height:23px;border-radius:8px;background:var(--mint-08);color:var(--mint);font-size:9px;font-style:normal;font-weight:900}.editor-review-row strong,.editor-review-row small{display:block}.editor-review-row strong{font-size:10px}.editor-review-row small{margin-top:3px;color:var(--muted);font-size:8.5px;line-height:1.45}.editor-legal{margin:17px 0 0;color:#8490a4;font-size:8.5px;line-height:1.6}
.editor-template-save{display:grid;grid-template-columns:minmax(180px,1fr) minmax(220px,1fr) auto;align-items:end;gap:12px;margin-top:15px;padding-top:15px;border-top:1px solid var(--line)}.editor-template-save>span{align-self:center}.editor-template-save strong,.editor-template-save small{display:block}.editor-template-save strong{font-size:10px;color:var(--ink)}.editor-template-save small{margin-top:3px;color:var(--muted);font-size:8.5px;line-height:1.45}.editor-template-save .field{margin:0}.editor-template-save .btn{min-height:42px;white-space:nowrap}
.editor-footer{position:sticky;z-index:8;bottom:12px;margin-top:14px;padding:12px 14px;display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid rgba(207,217,232,.92);border-radius:16px;background:rgba(255,255,255,.96);box-shadow:0 14px 40px rgba(21,42,78,.14);backdrop-filter:blur(14px)}.editor-footer>span{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:9px}.editor-footer>div{display:flex;gap:8px}.editor-footer .btn{min-height:39px}
.editor-footer .editor-footer-source{border-color:#b9c9f5;background:#eef3ff;color:#234fce;text-decoration:none}.editor-footer .editor-footer-source:hover,.editor-footer .editor-footer-source:focus-visible{border-color:#315ce8;background:#e3ebff;outline:none}
@media(max-width:1250px){.editor-screen{grid-template-columns:170px minmax(430px,1fr) 220px}.editor-pdf-stage{max-height:720px}.editor-field-list{grid-template-columns:1fr}}
@media(max-width:1050px){.editor-screen{grid-template-columns:155px minmax(430px,1fr)}.editor-properties{grid-column:1/-1;position:static}.editor-properties #editorPropertyForm{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.editor-properties .editor-property-more{grid-column:1/-1}.editor-empty-property{padding:25px}.editor-screen[data-editor-screen="2"],.editor-screen[data-editor-screen="3"]{grid-template-columns:1fr}.editor-explain,.editor-summary{position:static}}
@media(max-width:760px){.editor-flow{grid-template-columns:1fr 24px 1fr 24px 1fr;padding:10px}.editor-flow-step{justify-content:center}.editor-flow-step span{display:none}.editor-flow>span{margin:0 4px}.editor-screen{grid-template-columns:1fr}.editor-toolbox{order:2}.editor-field-list{grid-template-columns:repeat(3,1fr)}.editor-document{order:1}.editor-properties{order:3}.editor-pdf-stage{min-height:420px;max-height:630px;padding:12px}.editor-properties #editorPropertyForm{grid-template-columns:1fr}.editor-recipient-grid,.editor-options-grid{grid-template-columns:1fr}.editor-section-head,.editor-recipient-list{padding-left:17px;padding-right:17px}.editor-form-main>[data-add-recipient],.editor-observers,.editor-delivery,.editor-options-grid+.field,.editor-options-grid+.field+.field,.editor-advanced{margin-left:17px;margin-right:17px}.editor-options-grid{padding:0 17px}.editor-template-save{grid-template-columns:1fr;align-items:stretch}.editor-footer{align-items:stretch;flex-direction:column}.editor-footer>span{justify-content:center}.editor-footer>div{display:grid;grid-template-columns:1fr 1fr}.editor-footer .btn{width:100%;padding:0 10px}.editor-observer-row{grid-template-columns:1fr 36px}.editor-observer-row input:first-child{grid-column:1/-1}.editor-field-overlay>span{font-size:7px}}
@media(max-width:760px){.editor-workflow-apply{grid-template-columns:1fr;margin-left:17px;margin-right:17px}.workflow-library-head,.workflow-builder-footer{align-items:stretch;flex-direction:column}.workflow-library-head .btn{width:100%}.workflow-grid{grid-template-columns:1fr}.workflow-builder-head{grid-template-columns:1fr;padding:18px}.workflow-meta-fields,.workflow-step-grid{grid-template-columns:1fr}.workflow-builder-body{padding:17px}.workflow-builder-title{align-items:stretch;flex-direction:column}.workflow-step-card{grid-template-columns:32px 1fr}.workflow-step-actions{grid-column:1/-1;justify-content:flex-end}.workflow-builder-footer>div{display:grid;grid-template-columns:1fr;width:100%}.workflow-builder-footer .btn{width:100%}}
.batch-library{display:grid;gap:18px}.batch-library-head{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:22px 24px;border:1px solid var(--line);border-radius:18px;background:#fff}.batch-library-head>div>span{color:var(--blue);font-size:9px;font-weight:900;letter-spacing:.1em;text-transform:uppercase}.batch-library-head h2{margin:5px 0 4px;font-size:20px}.batch-library-head p{margin:0;color:var(--muted);font-size:10px;line-height:1.55}.batch-security{display:flex;align-items:center;gap:8px;flex:0 0 auto;padding:9px 11px;border-radius:10px;background:var(--mint-08);color:var(--mint);font-size:9px;font-weight:850}.batch-source-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.batch-source-card{min-height:240px;padding:19px;display:grid;grid-template-rows:auto 1fr auto}.batch-source-card>header{display:flex;align-items:center;justify-content:space-between}.batch-source-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:var(--blue-08);color:var(--blue)}.batch-source-icon.mint{background:var(--mint-08);color:var(--mint)}.batch-source-card>div{align-self:center;padding:20px 0}.batch-source-card>div>span{color:var(--blue);font-size:8.5px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.batch-source-card h2{margin:6px 0 6px;font-size:17px}.batch-source-card p,.batch-source-card small{display:block;margin:0;color:var(--muted);font-size:9.5px;line-height:1.5}.batch-source-card small{margin-top:8px;color:var(--danger)}.batch-source-card footer{display:flex;justify-content:flex-end}.batch-source-card.is-blocked{background:#fbfcfe}.batch-empty{padding:40px;text-align:center}.batch-empty>svg{color:var(--blue)}.batch-empty h2{margin:12px 0 6px}.batch-empty p{margin:0 0 18px;color:var(--muted)}.batch-empty>div{display:flex;justify-content:center;gap:9px}.batch-wizard{overflow:hidden}.batch-wizard-source{display:flex;align-items:center;gap:12px;padding:18px 24px;border-bottom:1px solid var(--line);background:#fbfcff}.batch-wizard-source>span:nth-child(2){min-width:0}.batch-wizard-source small,.batch-wizard-source strong{display:block}.batch-wizard-source small{color:var(--blue);font-size:8px;font-weight:900;text-transform:uppercase}.batch-wizard-source strong{margin-top:3px;font-size:12px}.batch-wizard-source>a{margin-left:auto;color:var(--blue);font-size:9px;font-weight:850;text-decoration:none}.batch-step{display:grid;grid-template-columns:38px minmax(180px,.55fr) minmax(380px,1.45fr);gap:16px;padding:24px;border-bottom:1px solid var(--line)}.batch-step>i{display:grid;place-items:center;width:36px;height:36px;border-radius:11px;background:var(--blue-08);color:var(--blue);font-size:11px;font-style:normal;font-weight:900}.batch-step-copy h2{margin:2px 0 6px;font-size:15px}.batch-step-copy p{margin:0;color:var(--muted);font-size:9.5px;line-height:1.6}.batch-input-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(230px,.8fr);gap:12px}.batch-input-grid .full{grid-column:1/-1}.batch-field-help,.batch-file-field small{display:block;margin-top:6px;color:var(--muted);font-size:8.5px}.batch-file-field input{height:auto;min-height:45px;padding:8px}.batch-format-card{padding:13px;border:1px solid var(--line);border-radius:13px;background:#f8faff}.batch-format-card strong,.batch-format-card code,.batch-format-card span{display:block}.batch-format-card strong{font-size:9px}.batch-format-card code{margin:8px 0;color:var(--blue);font-size:8px}.batch-format-card span{color:var(--muted);font-size:8px;line-height:1.45}.batch-contact-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:290px;overflow:auto}.batch-contact-list label{display:flex;align-items:center;gap:9px;padding:11px;border:1px solid var(--line);border-radius:11px;background:#fbfcff;cursor:pointer}.batch-contact-list label:has(input:checked){border-color:#9db1ee;background:#f3f6ff}.batch-contact-list input{accent-color:var(--blue)}.batch-contact-list strong,.batch-contact-list small{display:block}.batch-contact-list strong{font-size:9.5px}.batch-contact-list small{margin-top:3px;color:var(--muted);font-size:7.8px}.batch-contact-empty{display:flex;align-items:center;justify-content:space-between;padding:14px;border:1px dashed var(--line-2);border-radius:12px;color:var(--muted);font-size:9px}.batch-contact-empty a{color:var(--blue);font-weight:850}.batch-review{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.batch-review>span{padding:13px;border:1px solid var(--line);border-radius:12px;background:#fbfcff;color:var(--blue)}.batch-review strong,.batch-review small{display:block}.batch-review strong{margin-top:8px;color:var(--ink);font-size:9.5px}.batch-review small{margin-top:3px;color:var(--muted);font-size:8px}.batch-wizard-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 24px;background:#fbfcff}.batch-wizard-footer>span{color:var(--muted);font-size:9px}.batch-wizard-footer>div{display:flex;gap:8px}.batch-wizard button:disabled{opacity:.45;cursor:not-allowed}
@media(max-width:1050px){.batch-source-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.batch-step{grid-template-columns:38px 1fr}.batch-step>.batch-step-copy{grid-column:2}.batch-step>.batch-input-grid,.batch-step>.batch-contact-list,.batch-step>.batch-contact-empty,.batch-step>.batch-review{grid-column:2}}
@media(max-width:700px){.batch-library-head,.batch-wizard-footer{align-items:stretch;flex-direction:column}.batch-security{justify-content:center}.batch-source-grid,.batch-contact-list,.batch-input-grid,.batch-review{grid-template-columns:1fr}.batch-input-grid .full{grid-column:auto}.batch-step{grid-template-columns:32px 1fr;padding:18px 16px;gap:12px}.batch-step>i{width:32px;height:32px}.batch-step>.batch-step-copy,.batch-step>.batch-input-grid,.batch-step>.batch-contact-list,.batch-step>.batch-contact-empty,.batch-step>.batch-review{grid-column:2}.batch-wizard-footer>div,.batch-empty>div{display:grid;grid-template-columns:1fr;width:100%}.batch-wizard-footer .btn,.batch-empty .btn{width:100%}.batch-contact-empty{align-items:flex-start;flex-direction:column}}
.signature-vault-summary{margin-bottom:18px;padding:18px 21px}.signature-vault-summary header,.signature-vault-summary footer{display:flex;align-items:center;justify-content:space-between;gap:15px}.signature-vault-summary strong,.signature-vault-summary small{display:block}.signature-vault-summary strong{font-size:12px}.signature-vault-summary small{margin-top:4px;color:var(--muted);font-size:9px}.signature-vault-summary header>b{color:var(--blue);font-size:12px}.vault-quota-track{height:8px;margin:15px 0;border-radius:99px;background:#e8edf5;overflow:hidden}.vault-quota-track>span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--blue),var(--mint))}.signature-vault-summary footer{color:var(--muted);font-size:8.5px}.signature-vault-panel{overflow:hidden}.signature-vault-panel td>strong,.signature-vault-panel td>small{display:block}.signature-vault-panel td>small{margin-top:4px;color:var(--muted);font-size:8px}.signature-vault-panel .vault-row-actions{min-width:260px;flex-wrap:wrap}.signature-vault-panel .vault-row-actions form{margin:0}.signature-vault-panel .vault-row-actions .btn{min-height:32px;padding:0 9px;font-size:8px}
@media(max-width:900px){.signature-vault-panel .table-wrap{overflow:visible}.signature-vault-panel table,.signature-vault-panel tbody{display:block}.signature-vault-panel thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.signature-vault-panel tr{display:grid;gap:10px;padding:16px;border-top:1px solid var(--line)}.signature-vault-panel td{padding:0;display:grid;grid-template-columns:105px minmax(0,1fr);gap:9px;border:0}.signature-vault-panel td::before{content:attr(data-label);color:var(--muted);font-size:8px;font-weight:850;text-transform:uppercase}.signature-vault-panel td:first-child{grid-template-columns:1fr}.signature-vault-panel td:first-child::before{display:none}.signature-vault-panel .vault-row-actions{min-width:0;justify-content:flex-start}}
@media(prefers-reduced-motion:reduce){.editor-pdf-loading>span{animation:none;border-top-color:#cdd8ef}}

/* Création Signature : les trois sources historiques restent visibles dans un départ unique. */
.signature-source-picker{margin-bottom:18px;padding:22px;border:1px solid var(--line);border-radius:19px;background:#fff;box-shadow:var(--shadow-sm)}.signature-source-picker>header>span{color:var(--blue);font-size:9px;font-weight:900;letter-spacing:.11em;text-transform:uppercase}.signature-source-picker>header h2{margin:6px 0 4px;font-size:21px;letter-spacing:-.035em}.signature-source-picker>header p{margin:0;color:var(--muted);font-size:11px}.signature-source-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:18px}.signature-source-card{min-height:92px;padding:15px;display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:12px;border:1px solid #dfe6f1;border-radius:15px;background:#fbfcff;color:var(--ink);text-decoration:none;transition:border-color .18s,transform .18s,box-shadow .18s}.signature-source-card:hover,.signature-source-card:focus-visible{border-color:#9eb4ef;box-shadow:0 12px 28px rgba(31,68,145,.10);transform:translateY(-1px);outline:none}.signature-source-card.active{border-color:#b8c9f6;background:#f5f8ff}.signature-source-card>i{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:#eaf0ff;color:var(--blue);font-style:normal}.signature-source-card strong,.signature-source-card small{display:block}.signature-source-card strong{font-size:11px}.signature-source-card small{margin-top:4px;color:var(--muted);font-size:8.5px;line-height:1.45}.signature-source-card>b{color:var(--blue);font-size:8.5px}

/* Éditeur d’enveloppe : navigation entre originaux sans perdre le PDF agrégé. */
.editor-envelope{margin-bottom:14px;overflow:hidden;border:1px solid #d9e3f2;border-radius:16px;background:#fff}.editor-envelope>header{min-height:56px;padding:11px 15px;display:flex;align-items:center;justify-content:space-between;gap:15px;background:#f7f9fd;border-bottom:1px solid #e4eaf3}.editor-envelope>header strong,.editor-envelope>header small{display:block}.editor-envelope>header strong{font-size:10.5px}.editor-envelope>header small{margin-top:3px;color:var(--muted);font-size:8.5px}.editor-envelope>header>b{padding:6px 9px;border-radius:20px;background:#eaf0ff;color:var(--blue);font-size:8.5px}.editor-envelope>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:10px}.editor-envelope button{min-width:0;padding:10px;display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:9px;border:1px solid #e2e8f1;border-radius:11px;background:#fff;text-align:left;cursor:pointer}.editor-envelope button:hover,.editor-envelope button:focus-visible{border-color:#9eb4ef;background:#f8faff;outline:none}.editor-envelope button>i{display:grid;place-items:center;width:27px;height:27px;border-radius:8px;background:#edf2ff;color:var(--blue);font-size:8.5px;font-style:normal;font-weight:900}.editor-envelope button strong,.editor-envelope button small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.editor-envelope button strong{font-size:9px}.editor-envelope button small{margin-top:3px;color:var(--muted);font-size:7.5px}.editor-envelope button>b{color:var(--blue);font-size:7.5px;white-space:nowrap}.editor-analysis>button+button{margin-top:8px;padding-top:8px;border-top:1px solid #dce5f7}
@media(max-width:760px){.signature-source-grid,.editor-envelope>div{grid-template-columns:1fr}.signature-source-card{grid-template-columns:38px minmax(0,1fr) auto}.editor-envelope button{grid-template-columns:26px minmax(0,1fr)}.editor-envelope button>b{display:none}}

/* Parité éditeur V1 : analyse distincte, signature de l’émetteur, routage et paraphe multipage. */
.editor-analysis>[data-analysis-status]{padding-top:7px;border-top:1px solid #dce5f7;color:#536683}.editor-sender{margin:14px 0 0;overflow:hidden}.editor-sender>summary{min-height:62px;padding:0 18px;display:flex;align-items:center;justify-content:space-between;gap:16px;cursor:pointer;list-style:none}.editor-sender>summary::-webkit-details-marker{display:none}.editor-sender>summary span,.editor-sender>summary strong,.editor-sender>summary small{display:block}.editor-sender>summary strong{font-size:11px}.editor-sender>summary small{margin-top:4px;color:var(--muted);font-size:8.5px}.editor-sender>summary>b{padding:6px 9px;border-radius:999px;background:#edf2ff;color:var(--blue);font-size:8px}.editor-sender-body{padding:0 18px 18px;border-top:1px solid var(--line)}.editor-sender-current{margin:16px 0 0;padding:10px;display:flex;align-items:center;gap:12px;border:1px solid #cde8df;border-radius:11px;background:#f4fbf8}.editor-sender-current img{max-width:220px;max-height:56px;padding:4px;border:1px solid #dfe7ef;border-radius:8px;background:#fff}.editor-sender-current span{color:#397461;font-size:8.5px}.editor-sender-grid{display:grid;grid-template-columns:minmax(300px,1fr) 270px;gap:16px;margin-top:16px}.editor-sender-pad{position:relative;min-height:170px;overflow:hidden;border:1px dashed #aebbd0;border-radius:14px;background:#fff}.editor-sender-pad canvas{display:block;width:100%;height:170px;touch-action:none;cursor:crosshair}.editor-sender-pad>span{position:absolute;inset:0;display:grid;place-items:center;color:#9aa6b8;font-size:10px;pointer-events:none}.editor-sender-copy{display:flex;align-items:flex-start;flex-direction:column;gap:8px}.editor-sender-copy>strong{font-size:11px}.editor-sender-copy>p{margin:0 0 4px;color:var(--muted);font-size:8.5px;line-height:1.5}.editor-sender-copy .btn{min-height:36px;width:100%;justify-content:center;font-size:9px}.editor-sender-copy>[data-sender-status]{color:#4b5d79;font-size:8.5px}.editor-recipient-condition{grid-column:1/-1;padding:11px 12px;border:1px solid #dfe6f1;border-radius:11px;background:#fff}.editor-recipient-condition summary{color:var(--blue);font-size:9px;font-weight:850;cursor:pointer}.editor-recipient-condition>p,.editor-condition-value>p{margin:9px 0 0;color:var(--muted);font-size:8.5px}.editor-recipient-condition>.field{margin-top:11px}.editor-condition-value>.field{margin-top:9px}.editor-analysis-backdrop{position:fixed;inset:0;z-index:1500;background:rgba(10,22,42,.42);backdrop-filter:blur(2px)}.editor-analysis-drawer{position:fixed;z-index:1501;top:0;right:0;width:min(560px,94vw);height:100vh;display:grid;grid-template-rows:auto minmax(0,1fr);background:#f7f9fd;box-shadow:-20px 0 65px rgba(16,34,70,.22)}.editor-analysis-drawer>header{min-height:82px;padding:17px 20px;display:flex;align-items:center;justify-content:space-between;gap:18px;border-bottom:1px solid #dfe6f1;background:#fff}.editor-analysis-drawer>header span,.editor-analysis-drawer>header strong,.editor-analysis-drawer>header small{display:block}.editor-analysis-drawer>header strong{font-size:15px}.editor-analysis-drawer>header small{margin-top:4px;color:var(--muted);font-size:8.5px}.editor-analysis-drawer>header button{width:36px;height:36px;border:1px solid #dce4f0;border-radius:10px;background:#fff;color:#60708a;font-size:19px;cursor:pointer}.editor-analysis-content{padding:20px;overflow:auto;display:grid;align-content:start;gap:14px}.editor-analysis-content>section{padding:16px;border:1px solid #dfe6f1;border-radius:14px;background:#fff}.editor-analysis-content>section>span{display:block;margin-bottom:10px;color:var(--blue);font-size:8px;font-weight:900;letter-spacing:.1em;text-transform:uppercase}.editor-analysis-content>section>p{margin:0;color:#34455f;font-size:10px;line-height:1.65}.editor-analysis-content section>div{display:grid;gap:8px}.editor-analysis-content article{padding:11px 12px;border:1px solid #e3e8f0;border-radius:10px;background:#fbfcff}.editor-analysis-content article strong{display:block;font-size:9.5px}.editor-analysis-content article p,.editor-analysis-content article blockquote{margin:5px 0 0;color:#5b6980;font-size:8.5px;line-height:1.55}.editor-analysis-content article blockquote{padding-left:9px;border-left:2px solid #9eacc2}.editor-analysis-content article[data-risk-level="attention"]{border-left:3px solid #e58b27}.editor-analysis-content article[data-risk-level="critique"]{border-left:3px solid #c94a59}.editor-analysis-note{margin:0;padding:11px 13px;border-radius:10px;background:#edf2ff;color:#546787;font-size:8.5px;line-height:1.55}.editor-drawer-open{overflow:hidden}
@media(max-width:760px){.editor-sender-grid{grid-template-columns:1fr}.editor-sender-current{align-items:flex-start;flex-direction:column}.editor-analysis-drawer{width:100vw}.editor-analysis-content{padding:14px}}

/* Suivi Signature natif — participants, échanges et artefacts sans retour à la V1. */
.signature-tracking{display:grid;gap:18px;margin:18px 0 30px}.tracking-participants{overflow:hidden;scroll-margin-top:90px}.tracking-recipient-list{display:grid;gap:10px;padding:18px 20px 22px}.tracking-recipient-card{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:13px;padding:14px 15px;border:1px solid #e0e7f1;border-radius:15px;background:#fbfcff}.tracking-recipient-index{display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:#eaf0ff;color:var(--blue);font-size:11px;font-weight:900}.tracking-recipient-person strong,.tracking-recipient-person span,.tracking-recipient-person small,.tracking-recipient-meta span,.tracking-recipient-meta small{display:block}.tracking-recipient-person strong{font-size:11px}.tracking-recipient-person span{margin-top:3px;color:#51617b;font-size:9px}.tracking-recipient-person small{margin-top:2px;color:#8a96a9;font-size:8.5px}.tracking-recipient-meta{text-align:right}.tracking-recipient-meta>span{margin-bottom:6px;color:#76839a;font-size:8.5px;font-weight:800}.tracking-recipient-meta>small{margin-top:5px;color:#8a96a9;font-size:8px}.tracking-recipient-edit{grid-column:2/-1;margin-top:3px;padding-top:11px;border-top:1px solid #e4e9f1}.tracking-recipient-edit summary{color:var(--blue);font-size:9px;font-weight:850;cursor:pointer}.tracking-recipient-edit form{padding-top:13px}.tracking-recipient-form{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.tracking-recipient-form .field span{font-size:8.5px}.tracking-recipient-form .field input,.tracking-recipient-form .field select{height:38px;border-radius:9px;font-size:9.5px}.tracking-recipient-edit form>p{margin:10px 0;color:#7b879b;font-size:8.5px;line-height:1.5}.tracking-recipient-edit .btn{min-height:36px;font-size:9px}.tracking-columns{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);gap:18px;align-items:start}.tracking-thread,.tracking-artifacts,.tracking-versions{overflow:hidden}.tracking-thread-list{max-height:440px;padding:16px 20px;display:grid;gap:10px;overflow:auto}.tracking-comment{max-width:86%;padding:12px 14px;border:1px solid #e1e7f0;border-radius:4px 14px 14px;background:#fbfcff}.tracking-comment.sender{margin-left:auto;border-color:#cbd7f8;border-radius:14px 4px 14px 14px;background:#f2f5ff}.tracking-comment>div{display:flex;justify-content:space-between;gap:12px}.tracking-comment strong{font-size:9px}.tracking-comment time{color:#919bad;font-size:7.5px}.tracking-comment p{margin:6px 0 0;color:#46556e;font-size:9.5px;line-height:1.55}.tracking-comment-form{padding:16px 20px 20px;border-top:1px solid var(--line)}.tracking-comment-form .field textarea{min-height:82px;border-radius:10px;font-size:10px}.tracking-comment-form .btn{margin-top:10px}.tracking-side-stack{display:grid;gap:18px}.tracking-resource-list{display:grid;padding:10px 15px 16px}.tracking-resource-list>a,.tracking-resource-list>div:not(.tracking-empty){min-width:0;padding:11px 4px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line);color:inherit;text-decoration:none}.tracking-resource-list>a:last-child,.tracking-resource-list>div:last-child{border-bottom:0}.tracking-resource-list span{min-width:0}.tracking-resource-list strong,.tracking-resource-list small,.tracking-resource-list code{display:block}.tracking-resource-list strong{font-size:9.5px}.tracking-resource-list small{margin-top:4px;color:#8591a5;font-size:8px}.tracking-resource-list code{margin-top:5px;color:#76839a;font:650 7.5px/1.4 var(--mono)}.tracking-resource-list a>b{color:var(--blue);font-size:8.5px}.tracking-empty{padding:18px;color:#8995a8;text-align:center;font-size:9px}
.tracking-notification-state{grid-column:2/-1;display:flex;align-items:center;flex-wrap:wrap;gap:7px;padding-top:9px;border-top:1px solid #e7ebf2}.tracking-notification-state>small{color:#8995a8;font-size:7.5px}.delivery-chip{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border:1px solid #dce4ef;border-radius:999px;background:#fff;color:#69768b;font-size:7.5px;font-weight:750}.delivery-chip strong{color:#24344d;font-size:7.5px}.delivery-chip.ok{border-color:#bce7d8;background:#f2fbf7;color:#14785a}.delivery-chip.fail{border-color:#f1c6ca;background:#fff5f6;color:#a62e3b}.delivery-chip.wait{border-color:#d9e1f7;background:#f5f7ff;color:#425caa}.final-delivery-list .status{flex:0 0 auto}
@media(max-width:980px){.tracking-columns{grid-template-columns:1fr}.tracking-recipient-form{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:660px){.tracking-recipient-list{padding:13px}.tracking-recipient-card{grid-template-columns:34px minmax(0,1fr);align-items:start;padding:12px}.tracking-recipient-meta{grid-column:2;text-align:left}.tracking-recipient-meta .status{display:inline-flex}.tracking-recipient-edit,.tracking-notification-state{grid-column:1/-1}.tracking-recipient-form{grid-template-columns:1fr}.tracking-comment{max-width:96%}.tracking-thread-list,.tracking-comment-form{padding-left:14px;padding-right:14px}}
.in-person-pairing-card{padding:24px;display:grid;grid-template-columns:minmax(0,1fr) 210px;align-items:center;gap:28px;overflow:hidden;border-color:#bcd0fb;background:radial-gradient(circle at 100% 0,rgba(49,92,232,.12),transparent 36%),linear-gradient(145deg,#f5f8ff,#fff)}.in-person-pairing-copy>span{color:var(--mint);font-size:9px;font-weight:900;letter-spacing:.09em;text-transform:uppercase}.in-person-pairing-copy h2{margin:6px 0 8px;font-size:21px}.in-person-pairing-copy>p{max-width:650px;margin:0;color:#65738a;font-size:10.5px;line-height:1.6}.in-person-code{display:inline-flex;align-items:center;gap:11px;margin:16px 0;padding:10px 13px;border:1px solid #cfdaf5;border-radius:12px;background:#fff}.in-person-code small{color:#8290a5;font-size:8px;text-transform:uppercase}.in-person-code strong{color:#153568;font:850 13px/1.2 var(--mono);letter-spacing:.12em}.in-person-pairing-copy>.resource-actions{margin:0 0 10px}.in-person-pairing-copy>small{color:#8894a7;font-size:8.5px}.in-person-qr{display:grid;place-items:center;min-height:190px;padding:12px;border:1px solid #d7e0f1;border-radius:18px;background:#fff;box-shadow:0 13px 35px rgba(25,48,88,.1)}.in-person-qr img{display:block;width:166px;height:166px}.in-person-start .field{max-width:440px}.in-person-start form>p{margin:10px 0}.tracking-recipient-edit+.tracking-recipient-edit{margin-top:-2px}
.in-person-flow-head{margin-bottom:12px;padding:12px 14px;border:1px solid #dbe4f5;border-radius:12px;background:#f6f8ff}.in-person-flow-head strong{display:block;color:#18345e;font-size:10px}.in-person-flow-head p{margin:4px 0 0!important;color:#6f7d93!important;font-size:8.5px!important}.in-person-methods{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0;padding:0;border:0}.in-person-methods legend{grid-column:1/-1;margin-bottom:2px;color:#53627a;font-size:8.5px;font-weight:850}.in-person-method{position:relative;display:grid;grid-template-columns:18px minmax(0,1fr) auto;align-items:start;gap:8px;padding:11px;border:1px solid #dde5f1;border-radius:12px;background:#fff;cursor:pointer;transition:border-color .16s ease,box-shadow .16s ease,background .16s ease}.in-person-method:has(input:checked){border-color:#6685ed;background:#f5f7ff;box-shadow:0 0 0 2px rgba(49,92,232,.08)}.in-person-method input{width:15px;height:15px;margin:1px 0 0;accent-color:var(--blue)}.in-person-method b,.in-person-method small{display:block}.in-person-method b{color:#182b4b;font-size:9px}.in-person-method small{margin-top:3px;color:#7c889b;font-size:7.8px;line-height:1.45}.in-person-method em{padding:4px 6px;border-radius:7px;background:#edf2ff;color:var(--blue);font-size:7px;font-style:normal;font-weight:850}.in-person-flow-action{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:12px}.in-person-flow-action p{max-width:560px;margin:0!important}.in-person-flow-action .btn{flex:0 0 auto}
@media(max-width:760px){.in-person-pairing-card{grid-template-columns:1fr;padding:18px}.in-person-qr{order:-1;justify-self:center;width:190px}.in-person-pairing-copy>.resource-actions{display:grid}.in-person-pairing-copy>.resource-actions .btn,.in-person-pairing-copy>.resource-actions form{width:100%}.in-person-methods{grid-template-columns:1fr}.in-person-flow-action{align-items:stretch;flex-direction:column}.in-person-flow-action .btn{width:100%}}

/* Compositeur Mail : sélecteur de pièces jointes cohérent avec les contrôles premium. */
.mail-attachment-field input[type=file]{min-height:48px;padding:6px 8px;border:1px dashed #c9d6ea;border-radius:12px;background:#f8faff;color:#60708a;font-size:12px;cursor:pointer}.mail-attachment-field input[type=file]::file-selector-button{height:34px;margin-right:12px;padding:0 14px;border:0;border-radius:9px;background:#e9efff;color:#2852d7;font:800 11px/1 inherit;cursor:pointer}.mail-attachment-field input[type=file]:hover,.mail-attachment-field input[type=file]:focus-visible{border-color:#315ce8;background:#f4f7ff;outline:3px solid rgba(49,92,232,.12);outline-offset:1px}.mail-attachment-field small{display:block;margin-top:7px;color:#738198;line-height:1.45}

/* Attestation Identity renforcée : récupération exceptionnelle, jamais une galerie biométrique. */
.enhanced-attestation-panel{margin-top:20px}.enhanced-attestation-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr);gap:24px;padding:0 24px 24px}.enhanced-attestation-copy>strong{font-size:17px;color:var(--ink)}.enhanced-attestation-copy p{margin:8px 0 12px;color:var(--muted);line-height:1.65}.enhanced-attestation-copy ul{margin:0;padding-left:20px;color:var(--muted);line-height:1.8}.enhanced-attestation-action{padding:18px;border:1px solid var(--line);border-radius:16px;background:var(--canvas)}.enhanced-step-up{display:grid;gap:14px}.enhanced-step-up .btn,.enhanced-attestation-action .btn{width:100%;justify-content:center}.secure-download-ready{margin:0 0 14px;color:var(--mint);font-weight:700;line-height:1.5}@media(max-width:820px){.enhanced-attestation-grid{grid-template-columns:1fr;padding:0 16px 18px}.enhanced-attestation-panel .panel-head{align-items:flex-start}}

/* Coffre Identity : actions courtes, gel juridique dans un vrai dialogue. */
.identity-vault-panel{overflow:hidden}.identity-vault-panel td strong,.identity-vault-panel td small{display:block}.identity-vault-panel td small{margin-top:5px;color:var(--muted);font-size:9px}.vault-row-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px}.vault-row-actions .btn{min-height:34px;padding:0 12px;font-size:9px}.console-dialog{width:min(92vw,520px);padding:0;border:0;border-radius:22px;background:var(--paper);color:var(--ink);box-shadow:0 30px 90px rgba(6,24,54,.3)}.console-dialog::backdrop{background:rgba(8,22,45,.56);backdrop-filter:blur(5px)}.console-dialog form{padding:24px}.console-dialog header{display:flex;align-items:flex-start;gap:13px;margin-bottom:20px}.dialog-icon{display:grid;place-items:center;flex:0 0 44px;height:44px;border-radius:14px;background:var(--blue-08);color:var(--blue)}.console-dialog h2{margin:1px 0 4px;font-size:19px}.console-dialog header p{margin:0;color:var(--muted);font-size:11px}.console-dialog textarea{min-height:110px}.dialog-warning{margin:14px 0 20px;padding:12px 13px;border-radius:12px;background:var(--amber-08);color:#765013;font-size:10px;line-height:1.55}.console-dialog footer{display:flex;justify-content:flex-end;gap:9px}@media(max-width:700px){.identity-vault-panel .table-wrap{overflow:visible}.identity-vault-panel table,.identity-vault-panel tbody{display:block}.identity-vault-panel thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.identity-vault-panel tr{display:grid;gap:12px;padding:16px;border-top:1px solid var(--line)}.identity-vault-panel td{padding:0;display:grid;grid-template-columns:95px minmax(0,1fr);gap:10px;border:0}.identity-vault-panel td::before{content:attr(data-label);color:var(--muted);font-size:8px;font-weight:850;text-transform:uppercase;letter-spacing:.07em}.identity-vault-panel td:first-child{grid-template-columns:1fr}.identity-vault-panel td:first-child::before{display:none}.vault-row-actions{justify-content:flex-start}.console-dialog form{padding:19px}.console-dialog footer{display:grid;grid-template-columns:1fr}.console-dialog footer .btn{width:100%}}

/* CLM natif : densité maîtrisée, échéances visibles et formulaires sans retour V1. */
.contract-filter-panel{margin-bottom:18px;padding:20px 22px}.contract-filter-grid{display:grid;grid-template-columns:minmax(230px,1.5fr) repeat(4,minmax(130px,.75fr));align-items:end;gap:12px}.contract-filter-grid .field>span{font-size:9px}.contract-filter-grid .field input,.contract-filter-grid .field select{height:41px;border-radius:10px;font-size:10px}.contract-search .field__control{position:relative}.contract-search .field__control svg{position:absolute;left:12px;top:13px;color:#7f8ba0}.contract-search .field__control input{padding-left:37px}.contract-due-toggle{min-height:58px;padding:10px 12px;display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:12px;background:#fafcff;cursor:pointer}.contract-due-toggle input{accent-color:var(--blue)}.contract-due-toggle strong,.contract-due-toggle small{display:block}.contract-due-toggle strong{font-size:9px}.contract-due-toggle small{margin-top:3px;color:var(--muted);font-size:7.5px}.contract-filter-actions{display:flex;align-items:center;gap:8px}.contract-alerts,.contract-list-panel{margin-bottom:18px;overflow:hidden}.contract-obligation-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:0 20px 20px}.contract-obligation-strip>a{min-width:0;padding:12px;display:grid;grid-template-columns:8px minmax(0,1fr) 14px;align-items:center;gap:10px;border:1px solid var(--line);border-radius:12px;color:inherit;text-decoration:none;background:#fbfcff}.contract-obligation-strip>a:hover{border-color:#aebff0;background:#f5f7ff}.contract-obligation-mark{width:7px;height:28px;border-radius:99px;background:var(--amber)}.contract-obligation-mark.late{background:var(--danger)}.contract-obligation-strip strong,.contract-obligation-strip small{display:block}.contract-obligation-strip strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:9.5px}.contract-obligation-strip small{margin-top:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted);font-size:8px}.contract-obligation-strip svg{color:var(--blue)}.contract-list-panel td>strong,.contract-list-panel td>small{display:block}.contract-list-panel td>small{margin-top:4px;color:var(--muted);font-size:8px}.contract-days.late{color:var(--danger)}.contract-days.soon{color:#a66a0a}
.contract-detail-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;align-items:start;gap:18px;margin-bottom:30px}.contract-detail-main,.contract-detail-side{display:grid;gap:18px}.contract-form-panel,.contract-obligations{overflow:hidden}.contract-form{padding:20px 22px 0}.contract-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.contract-form-grid .contract-span-2{grid-column:1/-1}.contract-form-grid .field input,.contract-form-grid .field select{height:43px}.field-suffix{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;border:1px solid #d9e2ef;border-radius:12px;background:#fff;overflow:hidden}.field-suffix input{border:0!important;border-radius:0!important}.field-suffix span{padding:0 13px;color:var(--muted);font-size:9px;font-weight:750}.contract-form-footer{margin:20px -22px 0;padding:16px 22px;display:flex;align-items:center;justify-content:space-between;gap:18px;border-top:1px solid var(--line);background:#fbfcff}.contract-form-footer p{max-width:550px;margin:0;color:var(--muted);font-size:8.5px;line-height:1.5}.contract-obligation-form{padding:18px 20px;display:grid;grid-template-columns:minmax(220px,1.4fr) minmax(140px,.65fr) minmax(180px,.8fr) auto;align-items:end;gap:10px;border-bottom:1px solid var(--line);background:#fbfcff}.contract-obligation-form .field>span{font-size:8.5px}.contract-obligation-form .field input,.contract-obligation-form .field select{height:39px;border-radius:9px;font-size:9.5px}.contract-obligation-list{display:grid;padding:9px 20px 18px}.contract-obligation-row{display:grid;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid var(--line)}.contract-obligation-row:last-child{border-bottom:0}.contract-obligation-state{display:grid;place-items:center;width:28px;height:28px;border-radius:9px;background:var(--blue-08);color:var(--blue);font-size:11px;font-weight:900}.contract-obligation-row.late .contract-obligation-state{background:var(--danger-08);color:var(--danger)}.contract-obligation-row.done{opacity:.64}.contract-obligation-row.done .contract-obligation-state{background:var(--mint-08);color:var(--mint)}.contract-obligation-row>div>strong,.contract-obligation-row>div>small{display:block}.contract-obligation-row>div>strong{font-size:10px}.contract-obligation-row>div>small{margin-top:4px;color:var(--muted);font-size:8px}.contract-obligation-actions{display:flex;align-items:center;gap:6px}.contract-obligation-actions form{margin:0}.contract-obligation-actions .btn{min-height:34px;padding:0 10px;font-size:8.5px}.danger-text{color:var(--danger)!important}.contract-calendar-card,.contract-proof-card,.contract-analysis-card{padding:20px}.contract-side-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:13px;background:var(--blue-08);color:var(--blue)}.contract-detail-side h2{margin:15px 0 7px;font-size:14px}.contract-calendar-card>strong{display:block;margin-bottom:8px;color:#163d9f;font-size:23px;letter-spacing:-.03em}.contract-detail-side p{margin:0 0 13px;color:var(--muted);font-size:9.5px;line-height:1.6}.contract-detail-side .btn{width:100%;justify-content:center}.contract-analysis-card small{display:block;color:#8793a6;font-size:8px;line-height:1.5}
@media(max-width:1180px){.contract-filter-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.contract-search{grid-column:span 2}.contract-obligation-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.contract-detail-layout{grid-template-columns:1fr}.contract-detail-side{grid-template-columns:repeat(3,minmax(0,1fr))}.contract-obligation-form{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.contract-filter-grid,.contract-obligation-strip,.contract-form-grid,.contract-detail-side,.contract-obligation-form{grid-template-columns:1fr}.contract-search,.contract-form-grid .contract-span-2{grid-column:auto}.contract-filter-actions{display:grid;grid-template-columns:1fr 1fr}.contract-filter-actions .btn{width:100%}.contract-list-panel .table-wrap{overflow:visible}.contract-list-panel table,.contract-list-panel tbody{display:block}.contract-list-panel thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.contract-list-panel tr{display:grid;gap:11px;padding:16px;border-top:1px solid var(--line)}.contract-list-panel td{padding:0;display:grid;grid-template-columns:115px minmax(0,1fr);gap:9px;border:0}.contract-list-panel td::before{content:attr(data-label);color:var(--muted);font-size:8px;font-weight:850;text-transform:uppercase}.contract-list-panel td:first-child{grid-template-columns:1fr}.contract-list-panel td:first-child::before{display:none}.contract-form{padding:17px 16px 0}.contract-form-footer{margin:18px -16px 0;padding:15px 16px;align-items:stretch;flex-direction:column}.contract-form-footer .btn{width:100%}.contract-obligation-form{padding:16px}.contract-obligation-form .btn{width:100%}.contract-obligation-row{grid-template-columns:28px minmax(0,1fr)}.contract-obligation-actions{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr}.contract-obligation-actions .btn,.contract-obligation-actions form{width:100%}}

/* Rapports Signature : même périmètre pour l'écran, le CSV et les envois programmés. */
.report-filter-panel{margin-bottom:18px;padding:18px 20px;display:flex;align-items:flex-end;justify-content:space-between;gap:20px}.report-filters{display:grid;grid-template-columns:200px 250px auto;align-items:end;gap:11px}.report-filters .field>span{font-size:8.5px}.report-filters select{height:40px;border-radius:10px;font-size:9.5px}.report-filter-panel>p{max-width:370px;margin:0;display:flex;align-items:center;gap:8px;color:var(--muted);font-size:8.5px;line-height:1.5}.report-filter-panel>p svg{flex:0 0 auto;color:var(--mint)}.report-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr);gap:18px;margin-bottom:18px}.report-status-panel,.report-quality-panel,.report-month-panel,.report-schedule-panel{overflow:hidden}.report-stack{height:13px;margin:2px 22px 15px;display:flex;border-radius:99px;overflow:hidden;background:#edf1f6}.report-stack span{height:100%}.report-stack .draft,.report-legend .draft{background:#9aa7bd}.report-stack .sent,.report-legend .sent{background:#e5a238}.report-stack .done,.report-legend .done{background:#159b78}.report-stack .declined,.report-legend .declined{background:#c7464a}.report-stack .expired,.report-legend .expired{background:#60718c}.report-legend{padding:0 22px 22px;display:flex;align-items:center;flex-wrap:wrap;gap:10px 16px}.report-legend>span{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:8.5px}.report-legend i{width:7px;height:7px;border-radius:50%}.report-legend strong{color:var(--ink);font-size:8.5px}.report-quality-list{display:grid;grid-template-columns:repeat(3,1fr);padding:0 20px 21px}.report-quality-list>span{padding:5px 14px;border-left:1px solid var(--line)}.report-quality-list>span:first-child{padding-left:0;border-left:0}.report-quality-list small,.report-quality-list strong{display:block}.report-quality-list small{min-height:28px;color:var(--muted);font-size:8px;line-height:1.4}.report-quality-list strong{margin-top:7px;color:#173d9f;font-size:20px}.report-month-panel{margin-bottom:18px}.report-bars{height:230px;padding:18px 25px 22px;display:grid;grid-template-columns:repeat(12,minmax(18px,1fr));align-items:end;gap:12px}.report-bar{height:100%;display:grid;grid-template-rows:18px minmax(0,1fr) 14px;justify-items:center;gap:5px}.report-bar-value{color:var(--muted);font-size:8px}.report-bar-track{position:relative;width:min(28px,72%);height:100%;display:flex;align-items:flex-end;border-radius:8px;background:#eff3f8;overflow:hidden}.report-bar-track i{display:block;width:100%;border-radius:8px 8px 0 0;background:linear-gradient(180deg,#5e7ff0,#315ce8)}.report-bar small{color:#8591a5;font-size:7.5px}.report-schedule-panel{margin-bottom:28px}.report-schedule-panel td strong{font-size:9.5px}.report-schedule-panel td form{margin:0}.report-schedule-panel td .btn{min-height:32px;padding:0 9px;font-size:8px}.report-schedule-form{padding:18px 20px;display:grid;grid-template-columns:minmax(240px,1fr) 190px auto;align-items:end;gap:11px;border-top:1px solid var(--line);background:#fbfcff}.report-schedule-form .field>span{font-size:8.5px}.report-schedule-form input,.report-schedule-form select{height:40px;border-radius:10px;font-size:9.5px}
@media(max-width:980px){.report-filter-panel{align-items:flex-start;flex-direction:column}.report-filters{width:100%;grid-template-columns:1fr 1fr auto}.report-grid{grid-template-columns:1fr}}
@media(max-width:700px){.report-filters,.report-schedule-form{grid-template-columns:1fr}.report-filters .btn,.report-schedule-form .btn{width:100%}.report-bars{height:210px;padding-left:14px;padding-right:14px;gap:5px}.report-bar-track{width:70%}.report-quality-list{grid-template-columns:1fr}.report-quality-list>span{padding:11px 0;border-top:1px solid var(--line);border-left:0}.report-quality-list>span:first-child{border-top:0}.report-quality-list small{min-height:0}.report-schedule-panel .table-wrap{overflow:visible}.report-schedule-panel table,.report-schedule-panel tbody{display:block}.report-schedule-panel thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.report-schedule-panel tr{display:grid;gap:10px;padding:15px 17px;border-top:1px solid var(--line)}.report-schedule-panel td{padding:0;display:grid;grid-template-columns:105px minmax(0,1fr);gap:9px;border:0}.report-schedule-panel td::before{content:attr(data-label);color:var(--muted);font-size:8px;font-weight:850;text-transform:uppercase}}

/* Rédaction contractuelle V2 */
.ai-console-flow{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:20px;align-items:start}.ai-console-flow .panel{margin:0}.ai-request-panel{position:sticky;top:84px}.step-kicker{display:block;margin-bottom:7px;color:var(--blue);font-size:11px;font-weight:800;letter-spacing:.11em;text-transform:uppercase}.ai-input-grid{display:grid;gap:16px}.ai-instructions-field textarea{min-height:178px;resize:vertical;line-height:1.55}.field-help{display:block;margin-top:7px;color:var(--muted);font-size:12px}.ai-request-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:17px}.ai-cost-copy{color:var(--muted);font-size:12px;line-height:1.45}.ai-request-actions [data-recording="1"]{border-color:#b73642;background:#fff1f2;color:#9d2532}.ai-draft-panel{min-width:0}.ai-variable-card{margin:16px 0;padding:16px;border:1px solid var(--line);border-radius:14px;background:#f8faff}.ai-variable-card>div:first-child p{margin:4px 0 14px;color:var(--muted);font-size:13px}.ai-variable-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.ai-editor-toolbar{display:flex;gap:6px;align-items:center;flex-wrap:wrap;padding:9px;border:1px solid var(--line);border-bottom:0;border-radius:13px 13px 0 0;background:#f8faff}.ai-editor-toolbar button{min-height:34px;padding:0 11px;border:1px solid transparent;border-radius:8px;background:transparent;color:var(--ink);font:inherit;font-size:12px;cursor:pointer}.ai-editor-toolbar button:hover,.ai-editor-toolbar button:focus-visible{border-color:var(--line-2);background:#fff}.ai-editor-toolbar>span{width:1px;height:22px;background:var(--line)}.ai-writing-surface{min-height:520px;max-height:760px;overflow:auto;padding:32px;border:1px solid var(--line);border-radius:0 0 13px 13px;background:#fff;color:#17263c;font-family:Georgia,'Times New Roman',serif;font-size:15px;line-height:1.72;outline:none}.ai-writing-surface:focus{border-color:var(--blue);box-shadow:0 0 0 3px var(--blue-08)}.ai-writing-surface h1{text-align:center;font-size:26px}.ai-writing-surface h2{margin:27px 0 8px;font-size:18px}.ai-writing-surface h3{margin:20px 0 7px;font-size:16px}.ai-writing-surface p{margin:0 0 12px}.ai-writing-surface table{width:100%;border-collapse:collapse}.ai-writing-surface td,.ai-writing-surface th{padding:8px;border:1px solid #d8e0eb}.ai-draft-actions{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-top:16px;padding-top:16px;border-top:1px solid var(--line)}.ai-draft-actions strong{display:block;font-size:13px}.ai-draft-actions p{margin:3px 0 0;color:var(--muted);font-size:12px}.ai-empty-panel{min-height:360px;display:grid;place-items:center}.ai-empty-panel .empty-state{max-width:420px}
@media(max-width:1050px){.ai-console-flow{grid-template-columns:1fr}.ai-request-panel{position:static}.ai-writing-surface{min-height:430px}}@media(max-width:620px){.ai-variable-grid{grid-template-columns:1fr}.ai-writing-surface{padding:20px;min-height:360px}.ai-draft-actions{align-items:stretch;flex-direction:column}.ai-draft-actions .btn{width:100%;justify-content:center}.ai-editor-toolbar>span{display:none}}

/* Équipe, espaces et partages : RBAC natif sans densifier la navigation. */
.team-layout,.share-layout{grid-template-columns:minmax(0,1.35fr) minmax(290px,.65fr);align-items:start;margin-top:18px}.settings-card{padding:21px}.settings-card-wide{min-width:0}.stack-form{display:grid;gap:13px}.stack-form>label,.inline-create-form label,.form-grid label{display:grid;gap:6px;color:var(--ink);font-size:9px;font-weight:800}.stack-form input,.stack-form select,.inline-create-form input,.inline-access-form select,.form-grid select{width:100%;height:42px;padding:0 12px;border:1px solid #d9e2ef;border-radius:11px;background:#fff;color:var(--ink);font:inherit;font-size:10px}.stack-form input:focus,.stack-form select:focus,.inline-create-form input:focus,.inline-access-form select:focus,.form-grid select:focus{border-color:var(--blue);outline:3px solid var(--blue-08)}.access-list{display:grid}.access-row{min-width:0;padding:13px 0;display:flex;align-items:center;gap:11px;border-top:1px solid var(--line)}.access-row:first-child{border-top:0}.access-copy{min-width:0;flex:1}.access-copy strong,.access-copy small{display:block}.access-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}.access-copy small{margin-top:4px;color:var(--muted);font-size:8.5px}.inline-access-form{display:flex;align-items:center;gap:7px}.inline-access-form select{min-width:145px}.access-row form{margin:0}.access-row .btn{min-height:34px;padding:0 10px;font-size:8.5px}.full-width{width:100%;justify-content:center}.team-groups{margin-top:22px}.hub-section-head p{margin:5px 0 0;color:var(--muted);font-size:9px}.group-grid,.workspace-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.member-picker{max-height:210px;margin:0;padding:12px;overflow:auto;border:1px solid var(--line);border-radius:12px;background:#fbfcff}.member-picker legend{padding:0 5px;color:var(--muted);font-size:8px;font-weight:850;text-transform:uppercase}.check-row{padding:7px 3px;display:flex!important;grid-template-columns:none!important;align-items:center;gap:8px!important;color:var(--ink)!important;font-size:9px!important;font-weight:650!important}.check-row input{width:15px!important;height:15px!important;padding:0!important;accent-color:var(--blue)}.create-group-card{border-style:dashed}.workspace-create{margin:18px 0}.inline-create-form{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px}.workspace-card{padding:20px;overflow:hidden}.workspace-card.active-workspace{border-color:#b8c7f5;box-shadow:0 12px 35px rgba(49,92,232,.1)}.workspace-title-line{display:flex;align-items:center;gap:8px}.workspace-title-line h2{margin:0}.workspace-rename{margin:14px 0;padding-top:14px;border-top:1px solid var(--line)}.compact-access-list{margin-top:7px}.access-add-form{margin-top:15px;padding:15px;border:1px solid var(--line);border-radius:14px;background:#fbfcff}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.readonly-panel{margin-top:14px;padding:14px;border-radius:12px;background:#f6f8fc;color:var(--muted)}.readonly-panel strong{display:block;color:var(--ink);font-size:10px}.readonly-panel p{margin:5px 0 0;font-size:9px;line-height:1.5}.share-layout{margin-bottom:24px}
@media(max-width:960px){.team-layout,.share-layout,.group-grid,.workspace-grid{grid-template-columns:1fr}.settings-layout{grid-template-columns:1fr}}
@media(max-width:640px){.settings-card,.workspace-card{padding:16px}.access-row{align-items:flex-start;flex-wrap:wrap}.team-member-row .access-copy{flex-basis:calc(100% - 50px)}.inline-access-form{width:100%;display:grid;grid-template-columns:1fr auto}.access-row>form:last-child{margin-left:auto}.inline-create-form,.form-grid{grid-template-columns:1fr}.inline-create-form .btn,.stack-form .btn{width:100%;justify-content:center}}

/* Réglages Console V2 — une rubrique par écran, mêmes repères sur les trois produits. */
.account-settings-layout{display:grid;grid-template-columns:215px minmax(0,1fr);align-items:start;gap:18px;margin-top:18px}.account-settings-nav{position:sticky;top:76px;padding:9px}.account-settings-nav a{min-height:42px;padding:0 11px;display:flex;align-items:center;justify-content:space-between;gap:9px;color:var(--ink-2);border-radius:11px;font-size:9.5px;font-weight:720;transition:background .15s ease,color .15s ease}.account-settings-nav a:hover,.account-settings-nav a.active{color:var(--blue);background:var(--blue-08)}.account-settings-nav svg{color:#93a0b4}.account-settings-content{min-width:0;display:grid;gap:17px}.account-settings-content .settings-card{margin:0}.account-settings-content textarea{width:100%;padding:11px 12px;resize:vertical;border:1px solid #d9e2ef;border-radius:11px;background:#fff;color:var(--ink);font:500 9.5px/1.6 var(--body)}.account-settings-content textarea:focus{border-color:var(--blue);outline:3px solid var(--blue-08)}.account-settings-content label small,.field-help{display:block;color:var(--muted);font-size:8px;line-height:1.55}.form-actions{display:flex;justify-content:flex-end}.settings-two-column{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px;align-items:start}.security-confirmed{margin:3px 0 15px;padding:14px;display:flex;align-items:flex-start;gap:11px;border:1px solid #cde8de;border-radius:13px;background:var(--mint-08)}.security-confirmed.muted-state{border-color:var(--line);background:#f8faff}.security-confirmed p{margin:0}.security-confirmed strong,.security-confirmed small{display:block}.security-confirmed strong{font-size:10px}.security-confirmed small{margin-top:4px;color:var(--muted);font-size:8.5px;line-height:1.5}.totp-setup{margin:3px 0 14px;padding:15px;border:1px solid #ccd8fa;border-radius:13px;background:#f7f9ff}.totp-setup>span{display:block;color:var(--muted);font-size:8px;font-weight:850;text-transform:uppercase}.totp-setup>code{display:block;margin:8px 0;color:#183e9e;font:750 12px/1.6 var(--mono);letter-spacing:.08em;overflow-wrap:anywhere}.totp-setup details{border-top:1px solid #dbe3f8;padding-top:9px}.totp-setup summary{cursor:pointer;color:var(--blue);font-size:8.5px;font-weight:750}.totp-setup p{margin:8px 0 0;overflow-wrap:anywhere;font-size:8px}.account-device-summary{padding:16px 18px;display:flex;align-items:center;gap:12px}.account-device-summary>span:nth-child(2){min-width:0;flex:1}.account-device-summary strong,.account-device-summary small{display:block}.account-device-summary strong{font-size:10px}.account-device-summary small{margin-top:4px;color:var(--muted);font-size:8.5px}.color-grid{display:grid;grid-template-columns:150px 150px minmax(220px,1fr);align-items:end;gap:13px}.color-grid>label{display:grid;gap:7px;color:var(--ink);font-size:9px;font-weight:800}.color-grid input[type=color]{width:100%;height:44px;padding:4px;border:1px solid #d9e2ef;border-radius:11px;background:#fff}.brand-preview{min-height:64px;padding:12px 15px;display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid var(--line);border-radius:14px;background:#f9fbff}.brand-preview span{font-size:10px;font-weight:800}.brand-preview b{padding:8px 12px;color:#fff;border-radius:9px;background:var(--brand-accent);font-size:8.5px}.current-logo{padding:13px;display:flex;align-items:center;justify-content:space-between;gap:14px;border:1px solid var(--line);border-radius:13px;background:#fbfcff}.current-logo img{max-width:180px;max-height:55px;object-fit:contain}.email-template-stack{display:grid;gap:17px}.sticky-save{position:sticky;bottom:14px;z-index:3;padding:11px;display:flex;justify-content:flex-end;border:1px solid rgba(217,226,239,.9);border-radius:14px;background:rgba(255,255,255,.92);box-shadow:0 12px 36px rgba(34,57,104,.12);backdrop-filter:blur(12px)}.sso-layout{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)}.copy-fields{display:grid;gap:11px}.copy-fields label{display:grid;gap:6px;color:var(--muted);font-size:8px;font-weight:850;text-transform:uppercase}.copy-fields input{width:100%;height:42px;padding:0 11px;border:1px solid var(--line);border-radius:10px;background:#f7f9fc;color:var(--ink);font:600 8px var(--mono)}.toggle-line{padding:12px;display:flex!important;grid-template-columns:none!important;align-items:flex-start;gap:10px!important;border:1px solid var(--line);border-radius:12px;background:#fbfcff}.toggle-line input{width:17px!important;height:17px!important;margin-top:1px;padding:0!important;accent-color:var(--blue)}.toggle-line span{min-width:0}.toggle-line strong,.toggle-line small{display:block}.toggle-line strong{font-size:9.5px}.toggle-line small{margin-top:3px;color:var(--muted);font-size:8px;line-height:1.45}.audit-panel .audit-meta{max-width:380px;color:var(--muted);font-size:8px;overflow-wrap:anywhere}.proof-access-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.proof-access-card{padding:20px;display:flex;min-height:230px;flex-direction:column;align-items:flex-start}.proof-access-step{width:32px;height:32px;display:grid;place-items:center;color:var(--blue);border-radius:10px;background:var(--blue-08);font:850 10px var(--display)}.proof-access-card h2{margin:15px 0 7px;font-size:13px}.proof-access-card p{margin:0 0 16px;color:var(--muted);font-size:9px;line-height:1.6}.proof-access-card .btn,.proof-access-card .status{margin-top:auto}.data-export-card{display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:14px}.data-export-card h2{margin:0 0 5px;font-size:13px}.data-export-card p{margin:0;color:var(--muted);font-size:9px;line-height:1.55}.danger-panel{border-color:#efcaca;background:#fffafa}.danger-form{max-width:480px}.danger-form .btn{justify-self:start}
@media(max-width:1000px){.account-settings-layout{grid-template-columns:1fr}.account-settings-nav{position:static;display:flex;overflow-x:auto;scrollbar-width:thin}.account-settings-nav a{min-width:max-content}.settings-two-column,.sso-layout,.proof-access-grid{grid-template-columns:1fr}.color-grid{grid-template-columns:1fr 1fr}.brand-preview{grid-column:1/-1}}
@media(max-width:640px){.account-settings-layout{gap:14px}.account-settings-content .settings-card{padding:16px}.account-device-summary,.data-export-card{align-items:stretch;grid-template-columns:1fr;flex-direction:column}.account-device-summary .btn,.data-export-card .btn{width:100%;justify-content:center}.color-grid{grid-template-columns:1fr}.brand-preview{grid-column:auto}.current-logo{align-items:flex-start;flex-direction:column}.sticky-save{bottom:8px}.sticky-save .btn,.danger-form .btn{width:100%;justify-content:center}.audit-panel .table-wrap{overflow:auto}}

/* Applications officielles — distribution lisible, sans APK direct ni faux statut public. */
.apps-access-card{margin:0 0 20px;padding:15px 17px;display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:13px;border:1px solid var(--line);border-radius:15px;background:#fff;box-shadow:0 10px 30px rgba(31,58,112,.06)}.apps-access-card.ok{border-color:#cce9dd;background:linear-gradient(135deg,#fbfffd,#f5fcf9)}.apps-access-card.wait{border-color:#e4d9a9;background:linear-gradient(135deg,#fffef9,#fffbeb)}.apps-access-card.fail{border-color:#efcece;background:linear-gradient(135deg,#fffafa,#fff)}.apps-access-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:12px;color:var(--blue);background:var(--blue-08)}.apps-access-card.ok .apps-access-icon{color:#19875f;background:#e7f7f1}.apps-access-card.wait .apps-access-icon{color:#9b6e00;background:#fff2c8}.apps-access-card.fail .apps-access-icon{color:#ba3d3d;background:#fdeaea}.apps-access-card strong,.apps-access-card small{display:block}.apps-access-card strong{font:800 10.5px/1.35 var(--display)}.apps-access-card small{margin-top:3px;color:var(--muted);font-size:8.7px;line-height:1.5}.apps-section{margin-top:8px}.apps-section-head{margin-bottom:16px;display:flex;align-items:flex-end;justify-content:space-between;gap:20px}.apps-section-head>div>span{color:var(--blue);font-size:8px;font-weight:850;letter-spacing:.13em;text-transform:uppercase}.apps-section-head h2{margin:5px 0 4px;font:800 17px/1.2 var(--display);letter-spacing:-.025em}.apps-section-head p{max-width:640px;margin:0;color:var(--muted);font-size:9px;line-height:1.6}.apps-security-seal{padding:8px 11px;display:flex;align-items:center;gap:7px;white-space:nowrap;border:1px solid #cbd8fa;border-radius:999px;background:#f7f9ff;color:#244bb9;font-size:8px;font-weight:800}.apps-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.app-download-card{position:relative;min-width:0;display:grid;grid-template-columns:minmax(0,1fr) 154px;overflow:hidden;border:1px solid var(--line);border-radius:20px;background:#fff;box-shadow:0 16px 44px rgba(34,57,104,.08)}.app-download-card:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:linear-gradient(180deg,#315ce8,#7b99f5)}.app-download-main{min-width:0;padding:23px 16px 18px 23px}.app-product-line{display:flex;align-items:center;gap:11px}.app-product-icon{width:44px;height:44px;display:grid;place-items:center;flex:0 0 auto;color:#fff;border-radius:14px;background:linear-gradient(145deg,#315ce8,#274abf);box-shadow:0 9px 22px rgba(49,92,232,.23)}.app-product-icon.identity{background:linear-gradient(145deg,#284cba,#1b8f78)}.app-product-line small,.app-product-line strong{display:block}.app-product-line small{color:var(--muted);font-size:7.8px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}.app-product-line strong{margin-top:2px;font:800 13px/1.2 var(--display)}.app-download-main>p{margin:17px 0 13px;color:var(--ink-2);font-size:9px;line-height:1.6}.app-feature-list{margin:0;padding:0;display:grid;gap:7px;list-style:none}.app-feature-list li{display:flex;align-items:center;gap:7px;color:var(--ink-2);font-size:8.5px}.app-feature-list svg{color:#1a946b}.app-release-line{margin-top:17px;padding-top:13px;display:flex;align-items:center;flex-wrap:wrap;gap:8px;border-top:1px solid var(--line)}.app-release-line>span:last-child{color:var(--muted);font:650 7.8px var(--mono)}.app-download-qr-wrap{padding:20px 18px;display:flex;flex-direction:column;align-items:center;justify-content:center;border-left:1px solid var(--line);background:linear-gradient(180deg,#f9fbff,#f5f8fe)}.app-download-qr{width:120px;aspect-ratio:1;display:grid;place-items:center;overflow:hidden;border:8px solid #fff;border-radius:15px;background:#fff;color:var(--muted);box-shadow:0 7px 20px rgba(24,51,105,.11);font-size:9px;font-weight:800}.app-download-qr svg,.app-download-qr img{width:100%;height:100%;display:block}.app-download-qr.unavailable{border:1px dashed #c8d3e5;background:#f5f7fb}.app-store-button{width:100%;margin-top:12px;justify-content:center;text-align:center}.app-package{max-width:130px;margin-top:8px;color:#7e8ba2;font:600 7px/1.4 var(--mono);text-align:center;overflow-wrap:anywhere}.app-channel-note{grid-column:1/-1;padding:11px 16px 11px 22px;display:flex;align-items:flex-start;gap:9px;border-top:1px solid #eadba3;background:#fffbec;color:#7a5b06}.app-channel-note>svg{margin-top:1px;flex:0 0 auto}.app-channel-note strong,.app-channel-note small{display:block}.app-channel-note strong{font-size:8.5px}.app-channel-note small{margin-top:2px;color:#806f38;font-size:7.8px;line-height:1.45}.apps-help{margin-top:18px}.apps-steps{margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));list-style:none}.apps-steps li{padding:17px 20px;display:flex;align-items:flex-start;gap:11px;border-right:1px solid var(--line)}.apps-steps li:last-child{border-right:0}.apps-steps li>span{width:27px;height:27px;display:grid;place-items:center;flex:0 0 auto;border-radius:9px;background:var(--blue-08);color:var(--blue);font:850 9px var(--display)}.apps-steps strong,.apps-steps small{display:block}.apps-steps strong{font-size:9.5px}.apps-steps small{margin-top:4px;color:var(--muted);font-size:8px;line-height:1.5}
@media(max-width:1120px){.apps-grid{grid-template-columns:1fr}.app-download-card{grid-template-columns:minmax(0,1fr) 170px}}
@media(max-width:700px){.apps-access-card{grid-template-columns:38px minmax(0,1fr)}.apps-access-card .btn{grid-column:1/-1;width:100%;justify-content:center}.apps-section-head{align-items:flex-start;flex-direction:column}.apps-security-seal{align-self:flex-start}.app-download-card{grid-template-columns:1fr}.app-download-main{padding:20px 19px}.app-download-qr-wrap{border-top:1px solid var(--line);border-left:0}.app-download-qr{width:148px}.app-store-button{max-width:270px}.apps-steps{grid-template-columns:1fr}.apps-steps li{border-right:0;border-bottom:1px solid var(--line)}.apps-steps li:last-child{border-bottom:0}}

/* Information temporaire visible par tous les clients pendant la bascule V2. */
.client-migration-banner{margin:0 auto 14px;max-width:1180px;padding:12px 15px;display:flex;align-items:flex-start;gap:11px;border:1px solid #d8c57b;border-radius:14px;background:linear-gradient(135deg,#fffdf5,#fff8dc);color:#725500;box-shadow:0 9px 28px rgba(98,76,15,.08)}.client-migration-icon{width:34px;height:34px;display:grid;place-items:center;flex:0 0 auto;border-radius:10px;background:#fff0b9;color:#8b6700}.client-migration-banner strong,.client-migration-banner small{display:block}.client-migration-banner strong{font-size:9.5px}.client-migration-banner small{margin-top:3px;color:#766536;font-size:8.3px;line-height:1.5}@media(max-width:640px){.client-migration-banner{margin-bottom:11px;padding:11px 12px}.client-migration-banner small{font-size:8px}}
.console-flash{margin:0 auto 16px;max-width:1180px;padding:13px 15px;display:flex;align-items:flex-start;gap:11px;border:1px solid #bfe2d6;border-radius:14px;background:#f1fbf7;color:#256956;box-shadow:0 9px 26px rgba(23,93,72,.08)}.console-flash.error{border-color:#efc1c8;background:#fff4f5;color:#9b2f40}.console-flash-icon{width:34px;height:34px;display:grid;place-items:center;flex:0 0 auto;border-radius:10px;background:#dff5ed;color:#148263}.console-flash.error .console-flash-icon{background:#ffe1e5;color:#b42d42}.console-flash>span:nth-child(2){min-width:0;flex:1}.console-flash strong,.console-flash small{display:block}.console-flash strong{font-size:10px}.console-flash small{margin-top:3px;font-size:9px;line-height:1.5}
.console-flash-close{width:32px;height:32px;margin:-2px -3px -2px 0;display:grid;place-items:center;flex:0 0 auto;border:0;border-radius:9px;background:transparent;color:currentColor;cursor:pointer}.console-flash-close:hover,.console-flash-close:focus-visible{background:rgba(17,62,115,.08);outline:none}.console-flash-close:focus-visible{box-shadow:0 0 0 3px rgba(49,92,232,.18)}
.editor-party-picker{padding:13px;border-bottom:1px solid var(--line);background:#f8faff}.editor-party-picker>span{display:block;margin-bottom:8px;color:#60718d;font-size:8px;font-weight:900;letter-spacing:.09em;text-transform:uppercase}.editor-party-picker>div{display:grid;gap:6px}.editor-party-button{min-height:38px;padding:6px 8px;display:flex;align-items:center;gap:8px;border:1px solid #dce4f1;border-radius:10px;background:#fff;color:#33445f;text-align:left;cursor:pointer}.editor-party-button i{width:24px;height:24px;display:grid;place-items:center;flex:0 0 auto;border-radius:7px;background:#edf2ff;color:#315ce8;font-size:8px;font-style:normal;font-weight:900}.editor-party-button span{min-width:0;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:8.5px;font-weight:850}.editor-party-button.active{border-color:#315ce8;background:#edf2ff;color:#153fc6;box-shadow:0 0 0 2px rgba(49,92,232,.1)}.editor-party-picker>p{margin:9px 0 0;color:#687995;font-size:8px;line-height:1.45}.editor-field-choice.active{border-color:#315ce8;background:#edf2ff;color:#153fc6;box-shadow:0 0 0 2px rgba(49,92,232,.1)}.editor-pdf-stage.is-placing .editor-pdf-overlay{cursor:crosshair}.editor-pdf-page:last-child{margin-bottom:130px}.editor-send-feedback{margin:16px 26px 22px;padding:14px 15px;display:grid;grid-template-columns:34px 1fr;align-items:start;gap:11px;border:1px solid #efbdc5;border-radius:13px;background:#fff4f5;color:#982f40}.editor-send-feedback[hidden]{display:none}.editor-send-feedback>span{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:#ffe0e5;color:#b52e43}.editor-send-feedback strong{display:block;font-size:10.5px}.editor-send-feedback ul{margin:7px 0 0;padding-left:17px;display:grid;gap:4px;color:#7e3440;font-size:9px;line-height:1.45}.editor-send-feedback.success{border-color:#bce1d5;background:#f1fbf7;color:#246a56}.editor-send-feedback.success>span{background:#dff5ed;color:#148263}.editor-send-feedback.success ul{color:#38715f}
@media(max-width:760px){.console-flash{padding:11px 12px}.editor-party-picker>div{grid-template-columns:repeat(2,minmax(0,1fr))}.editor-party-button{min-width:0}.editor-send-feedback{margin-left:17px;margin-right:17px}.editor-pdf-page:last-child{margin-bottom:155px}}

/* Parcours Express — présentation raccordée au moteur MailCerty. */
.page-signature-express .product-view-head{display:none}.page-signature-express .content{padding:18px 22px 34px}.page-signature-express .client-migration-banner{display:none}.page-signature-express .view{max-width:1600px;margin:auto}.express-shell{display:grid;grid-template-columns:250px minmax(540px,1fr) 310px;gap:18px;align-items:start}.express-rail,.express-workspace,.express-price{border:1px solid #e0e7f2;border-radius:22px;background:#fff;box-shadow:0 18px 48px rgba(35,62,117,.09)}.express-rail{position:sticky;top:82px;padding:22px 18px}.express-brand{display:flex;align-items:center;gap:11px;padding-bottom:18px;border-bottom:1px solid #e8edf5}.express-brand>span{width:40px;height:40px;display:grid;place-items:center;border-radius:12px;background:#315ce8;color:#fff}.express-brand strong,.express-brand small{display:block}.express-brand strong{font-size:13px}.express-brand small{margin-top:3px;color:#7a8aa5;font-size:8px}.express-intro{padding:24px 4px 18px}.express-intro>span,.express-head>div>span,.express-price-top>span,.express-price-body>small{color:#315ce8;font-size:8px;font-weight:900;letter-spacing:.12em}.express-intro h2{margin:8px 0;color:#10203b;font-size:22px;line-height:1.12}.express-intro p{margin:0;color:#74839d;font-size:10px;line-height:1.55}.express-steps{margin:0;padding:0;display:grid;gap:7px;list-style:none}.express-steps li{padding:10px;display:flex;align-items:center;gap:10px;border-radius:12px;color:#677792}.express-steps li>i{width:29px;height:29px;display:grid;place-items:center;flex:none;border:1px solid #dce4f0;border-radius:9px;background:#f8faff;font-style:normal;font-size:9px;font-weight:900}.express-steps li strong,.express-steps li small{display:block}.express-steps li strong{font-size:10px}.express-steps li small{margin-top:2px;font-size:7.5px}.express-steps li.active{background:#edf2ff;color:#1645d1}.express-steps li.active>i{border-color:#315ce8;background:#315ce8;color:#fff}.express-proof{margin-top:20px;padding:13px;display:flex;gap:9px;border-radius:13px;background:#f2faf7;color:#168264}.express-proof p{margin:0}.express-proof strong,.express-proof small{display:block}.express-proof strong{font-size:9px}.express-proof small{margin-top:4px;color:#5f8177;font-size:7.5px;line-height:1.45}.express-workspace{min-height:690px;overflow:hidden}.express-head{padding:34px 36px 25px;display:flex;justify-content:space-between;gap:20px;border-bottom:1px solid #e9eef6}.express-head>div>span{display:flex;align-items:center;gap:7px}.express-head>div>span i{width:7px;height:7px;border-radius:50%;background:#45d3aa}.express-head h1{margin:10px 0 7px;color:#10203b;font-size:30px;line-height:1.08}.express-head p{margin:0;color:#6f7f99;font-size:11px;line-height:1.55}.express-head>b{height:30px;padding:0 11px;display:grid;place-items:center;border-radius:999px;background:#f1f4fa;color:#6e7e98;font-size:9px}.express-choices{padding:28px 32px 15px;display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.express-choice{min-height:150px;padding:17px;position:relative;display:flex;flex-direction:column;align-items:flex-start;border:1px solid #dfe6f1;border-radius:16px;background:#fff;color:#263752;text-decoration:none;text-align:left;cursor:pointer}.express-choice:hover,.express-choice:focus-visible{border-color:#8fa9f7;box-shadow:0 8px 22px rgba(49,92,232,.1);outline:none}.express-choice.selected{border-color:#315ce8;background:#f7f9ff;box-shadow:0 0 0 2px rgba(49,92,232,.08)}.express-choice>span{width:38px;height:38px;display:grid;place-items:center;border-radius:11px;background:#edf2ff;color:#315ce8;font-size:17px}.express-choice>strong{margin-top:15px;font-size:12px}.express-choice>small{margin-top:5px;color:#7787a0;font-size:8px;line-height:1.45}.express-choice>i{position:absolute;top:14px;right:14px;width:19px;height:19px;display:grid;place-items:center;border-radius:50%;background:#315ce8;color:#fff;font-size:9px;font-style:normal}.express-choice>b{margin-top:auto;color:#315ce8;font-size:9px}.express-upload{margin:0 32px 30px;border:1px solid #dfe6f1;border-radius:17px;overflow:hidden}.express-upload>label{min-height:235px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#fbfcff;cursor:pointer}.express-upload input[type=file]{position:absolute;width:1px;height:1px;opacity:0}.express-upload label>span{width:48px;height:48px;display:grid;place-items:center;border-radius:14px;background:#edf2ff;color:#315ce8}.express-upload label>strong{margin-top:14px;font-size:13px}.express-upload label>small{margin-top:4px;color:#7b8aa2;font-size:9px}.express-upload label>b{margin-top:15px;padding:10px 16px;border:1px solid #d5deec;border-radius:10px;background:#fff;color:#244dc6;font-size:9px}.express-upload footer{padding:13px 15px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #e8edf5;background:#fff}.express-upload footer>span{display:flex;align-items:center;gap:7px;color:#71819a;font-size:8px}.express-resume{margin:32px;padding:20px;display:grid;grid-template-columns:46px 1fr auto;align-items:center;gap:14px;border:1px solid #a9bdf8;border-radius:16px;background:#f6f8ff}.express-resume>span{width:46px;height:46px;display:grid;place-items:center;border-radius:13px;background:#315ce8;color:#fff}.express-resume strong,.express-resume small{display:block}.express-resume strong{font-size:13px}.express-resume small{margin-top:5px;color:#6d7d96;font-size:9px}.express-price{position:sticky;top:82px;overflow:hidden}.express-price-top{min-height:260px;padding:28px;position:relative;background:linear-gradient(145deg,#0d2855,#183b75);color:#fff}.express-price-top>span{color:#91afff}.express-price-top h2{margin:14px 0 10px;font-size:27px;line-height:1.08}.express-price-top p{max-width:220px;color:#c0cdeb;font-size:10px;line-height:1.55}.express-price-top>i{position:absolute;right:22px;bottom:22px;width:62px;height:62px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.17);border-radius:19px;background:rgba(255,255,255,.08);font-style:normal}.express-price-body{padding:24px}.express-price-body>strong{margin:8px 0 20px;display:block;color:#10203b;font-size:26px}.express-price-body>strong i{display:block;color:#7b8aa2;font-size:8px;font-style:normal}.express-price-body ul{margin:0;padding:0;display:grid;gap:0;list-style:none}.express-price-body li{padding:10px 0;display:flex;justify-content:space-between;gap:8px;border-bottom:1px solid #edf0f5;color:#5d6d87;font-size:8px}.express-price-body li b{color:#183b75}.express-price-body>p{margin:19px 0 0;padding:13px;border-radius:12px;background:#f2f6fd;color:#667792;font-size:8px;line-height:1.5}.express-price-body>p strong{display:block;color:#17345f}.page-signature-express .view-head+.notice-card{margin-top:0}@media(max-width:1250px){.express-shell{grid-template-columns:220px 1fr}.express-price{grid-column:1/-1;position:static;display:grid;grid-template-columns:280px 1fr}.express-price-top{min-height:auto}.express-price-body{display:grid;grid-template-columns:180px 1fr;gap:0 25px}.express-price-body>small,.express-price-body>strong{grid-column:1}.express-price-body ul,.express-price-body>p{grid-column:2}.express-price-body ul{grid-row:1/4}.express-price-body>p{align-self:end}}@media(max-width:860px){.page-signature-express .content{padding:10px}.express-shell{grid-template-columns:1fr}.express-rail{position:static}.express-intro,.express-proof{display:none}.express-steps{grid-template-columns:repeat(5,1fr)}.express-steps li{padding:6px;justify-content:center}.express-steps li span{display:none}.express-workspace{min-height:0}.express-choices{grid-template-columns:1fr}.express-price{display:block}.express-price-body{display:block}.express-price-body ul,.express-price-body>p{display:grid}.express-head,.express-choices{padding-left:18px;padding-right:18px}.express-upload{margin-left:18px;margin-right:18px}}@media(max-width:560px){.express-head h1{font-size:24px}.express-head>b{display:none}.express-upload footer{align-items:stretch;flex-direction:column}.express-upload footer>span{justify-content:center}.express-upload footer .btn{width:100%}.express-resume{margin:18px;grid-template-columns:42px 1fr}.express-resume .btn{grid-column:1/-1}.express-price-top{min-height:220px}}

/* MailCerty : lecture guidée, iconographie SVG et adresses copiables. */
.mail-onboard{display:flex;flex-direction:column}.mail-onboard-grid{align-items:start}.mail-onboard-row{display:flex;align-items:center;gap:16px;flex-wrap:wrap;padding:18px 0;border-bottom:1px solid var(--line)}.mail-onboard-row:first-child{padding-top:6px}.mail-onboard-row:last-child{border-bottom:0;padding-bottom:2px}.mail-onboard-ico{width:38px;height:38px;flex:0 0 auto;border-radius:11px;display:grid;place-items:center;background:linear-gradient(145deg,var(--blue-08),var(--mint-08));color:var(--blue);box-shadow:inset 0 0 0 1px rgba(49,92,232,.08)}.mail-onboard-txt{flex:1;min-width:210px}.mail-onboard-txt strong{display:block;font-size:13.5px;color:var(--ink)}.mail-onboard-txt small{display:block;margin-top:3px;color:var(--muted);font-size:12.5px;line-height:1.5}.mail-onboard-addr{display:flex;align-items:center;gap:8px;flex-wrap:wrap;max-width:100%}.mail-onboard-addr code{max-width:100%;font-family:var(--mono);font-size:12px;background:var(--blue-08);border:1px solid var(--line);border-radius:9px;padding:8px 10px;color:var(--ink-2);overflow-wrap:anywhere}.panel-head-icon{width:36px;height:36px;display:grid;place-items:center;border-radius:10px;background:var(--blue-08);color:var(--blue)}.mail-quota-mini{display:flex;flex-direction:column;align-items:flex-start;gap:12px}.mail-quota-mini>strong{font-size:28px;font-weight:800;color:var(--ink);letter-spacing:-.5px}.mail-quota-mini>strong small{font-size:14px;color:var(--muted);font-weight:600}.mail-quota-note{font-size:12.5px;color:var(--muted);line-height:1.55;margin:0}.mail-addr-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.mail-addr-card{display:flex;flex-direction:column;gap:13px;min-width:0}.mail-addr-head{display:flex;align-items:center;gap:12px}.mail-addr-head h2{font-size:15px;margin:0;color:var(--ink)}.mail-addr-desc{font-size:12.5px;color:var(--ink-2);line-height:1.6;margin:0}.mail-quota-form{margin-top:8px}@media(max-width:820px){.mail-addr-grid{grid-template-columns:1fr}.mail-onboard-row{align-items:flex-start}.mail-onboard-addr{width:100%;padding-left:54px}}@media(max-width:560px){.mail-onboard-addr{padding-left:0}.mail-onboard-addr code{width:100%}}

/* MailCerty V2 — finition visuelle, strictement sans incidence métier. */
.product-mail .panel{border-color:#dbe4f0;box-shadow:0 14px 38px rgba(29,54,102,.075)}
.product-mail .product-view-head{margin-bottom:27px}.product-mail .product-view-head h1{letter-spacing:-1.45px}.product-mail .page-eyebrow{color:#2f5ee5}
.product-mail .product-metrics{gap:14px}.product-mail .product-metrics .stat-card{position:relative;overflow:hidden;background:linear-gradient(155deg,#fff 0%,#fbfcff 100%)}.product-mail .product-metrics .stat-card:after{content:"";position:absolute;inset:auto 18px 0;height:2px;border-radius:2px;background:linear-gradient(90deg,#315ce8,#74d9bc);opacity:.55}.product-mail .product-metrics .stat-card strong{font-size:27px}
.product-mail .mail-onboard-grid{grid-template-columns:minmax(0,1.72fr) minmax(280px,.58fr);gap:20px}.product-mail .mail-onboard-panel,.product-mail .mail-quota-panel{overflow:hidden}.product-mail .mail-onboard{display:grid;gap:9px;padding:12px 16px 17px}.product-mail .mail-onboard-row{min-width:0;padding:13px 14px;display:grid;grid-template-columns:42px minmax(190px,1fr) minmax(230px,.82fr);align-items:center;gap:13px;border:1px solid #e1e8f2;border-radius:14px;background:linear-gradient(145deg,#fbfcff,#fff);transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}.product-mail .mail-onboard-row:first-child,.product-mail .mail-onboard-row:last-child{padding:13px 14px}.product-mail .mail-onboard-row:hover{border-color:#cbd7f7;box-shadow:0 9px 22px rgba(38,69,132,.07);transform:translateY(-1px)}.product-mail .mail-onboard-ico{width:40px;height:40px;border-radius:12px;background:linear-gradient(145deg,#e9efff,#edf9f5)}.product-mail .mail-onboard-txt{min-width:0}.product-mail .mail-onboard-txt strong{font-size:12.5px;line-height:1.3}.product-mail .mail-onboard-txt small{font-size:10px;line-height:1.45}.product-mail .mail-onboard-addr{min-width:0;justify-content:flex-end;flex-wrap:nowrap}.product-mail .mail-onboard-addr code{min-width:0;max-width:100%;padding:9px 11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-color:#d9e3f2;background:#f3f6fc;color:#31425e;font-size:9px}.product-mail .mail-onboard-addr code.is-empty{color:#8996aa;font-family:var(--body);font-weight:750;text-align:center}.product-mail .mail-onboard-addr .btn{flex:0 0 auto}
.product-mail .mail-quota-mini{padding:23px 21px 22px;gap:14px}.product-mail .mail-quota-mini>strong{font:780 34px/1 var(--display);letter-spacing:-1.3px}.product-mail .mail-quota-mini>strong small{font-size:14px;letter-spacing:0}.mail-quota-meter{width:100%;height:7px;overflow:hidden;border-radius:999px;background:#edf1f7;box-shadow:inset 0 1px 2px rgba(20,42,80,.08)}.mail-quota-meter i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#315ce8,#27ac87)}.product-mail .mail-quota-note{font-size:10px}.product-mail .mail-quota-panel .btn{margin-top:auto}
.product-mail.page-mail-addresses .resource-actions{padding:11px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;border:1px solid #dfe6f1;border-radius:16px;background:#fff;box-shadow:var(--shadow-soft)}.product-mail.page-mail-addresses .resource-actions form,.product-mail.page-mail-addresses .resource-actions .btn{width:100%}.product-mail.page-mail-addresses .resource-actions .btn{min-height:42px;padding:0 12px;font-size:12px}.product-mail .mail-addr-grid{gap:17px}.product-mail .mail-addr-card{position:relative;min-height:244px;padding:23px;gap:15px;overflow:hidden;background:linear-gradient(150deg,#fff 0%,#fbfcff 100%)}.product-mail .mail-addr-card:before{content:"";position:absolute;inset:0 auto 0 0;width:3px;background:#315ce8}.product-mail .mail-addr-card-copy:before{background:#5477e8}.product-mail .mail-addr-card-confidential:before{background:#159b78}.product-mail .mail-addr-card-acknowledged:before{background:#7a61d1}.product-mail .mail-addr-head>span:last-child{min-width:0}.product-mail .mail-addr-head h2{margin-top:5px;font:760 18px/1.3 var(--display);letter-spacing:-.25px}.mail-mode-badge{display:block;color:#4d63a0;font-size:10.5px;font-weight:850;letter-spacing:.1em;text-transform:uppercase}.product-mail .mail-addr-desc{font-size:14px;line-height:1.58;color:#43536d}.mail-address-block{margin-top:auto;padding-top:16px;border-top:1px solid #e8edf4}.mail-address-block>small{display:block;margin-bottom:9px;color:#71809a;font-size:10.5px;font-weight:850;letter-spacing:.08em;text-transform:uppercase}.product-mail .mail-address-block .mail-onboard-addr{justify-content:flex-start}.product-mail .mail-address-block code{flex:1;font-size:12.5px;line-height:1.35}.product-mail .mail-address-block .btn{min-height:42px;font-size:12px}
.product-mail .mail-wizard,.product-mail .mail-settings-wizard{position:relative;grid-template-columns:282px minmax(0,1fr);border-radius:25px;border-color:#d9e3f0;box-shadow:0 24px 68px rgba(22,46,91,.11)}.product-mail .mail-wizard:before,.product-mail .mail-settings-wizard:before{content:"";position:absolute;z-index:2;inset:0 auto 0 0;width:3px;background:linear-gradient(180deg,#4e74ef,#43c6a1)}.product-mail .wizard-rail{padding:35px 30px;background:radial-gradient(circle at 14% 3%,rgba(56,96,231,.72),transparent 34%),radial-gradient(circle at 105% 80%,rgba(27,169,133,.25),transparent 42%),#0c203d}.product-mail .wizard-rail h2{max-width:210px;margin-bottom:34px}.product-mail .wizard-rail li{position:relative}.product-mail .wizard-rail li:not(:last-child):after{content:"";position:absolute;left:14px;top:31px;width:1px;height:19px;background:rgba(167,184,213,.23)}.product-mail .wizard-main{padding:10px 36px 0}.product-mail .form-section{padding:29px 0}.product-mail .section-number{border:1px solid #dbe4fb;background:#f0f4ff}.product-mail .section-copy h2{font:760 18px/1.25 var(--display)}.product-mail .mode-card{overflow:hidden;border-color:#dce5f1;background:linear-gradient(145deg,#fbfcff,#fff)}.product-mail .mode-card:before{content:"";position:absolute;inset:0 auto 0 0;width:3px;background:#d5deed;transition:background .18s ease}.product-mail .mode-card:has(input:checked):before{background:linear-gradient(180deg,#315ce8,#20a27e)}.product-mail .mode-card:has(input:checked){border-color:#7895ef;background:linear-gradient(145deg,#f3f6ff,#fff);box-shadow:0 10px 25px rgba(49,92,232,.10)}.product-mail .field input,.product-mail .field select,.product-mail .field textarea{border-color:#d3deed}.product-mail .field input:hover,.product-mail .field select:hover,.product-mail .field textarea:hover{border-color:#b9c8dd}.product-mail .wizard-footer{position:sticky;bottom:0;z-index:2;margin:0 -5px;padding:17px 5px 22px;background:linear-gradient(180deg,rgba(255,255,255,.82),#fff 32%)}
.product-mail .mail-wizard .mode-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.product-mail .mail-wizard .mode-card{min-height:120px}.product-mail .mail-wizard .mode-card.is-disabled{cursor:not-allowed;opacity:.58;background:#f5f7fb}.product-mail .mail-wizard .mode-card.is-disabled:hover{transform:none;border-color:#dce5f1;box-shadow:none}.mail-identity-fields{grid-column:1/-1;display:grid;grid-template-columns:minmax(210px,.9fr) repeat(2,minmax(0,1fr));gap:14px;align-items:end;padding:17px;border:1px solid #dbe3ef;border-radius:15px;background:#f8fafd;transition:border-color .18s,background .18s,box-shadow .18s}.mail-identity-fields.is-active{border-color:#7895ef;background:linear-gradient(135deg,#f2f6ff,#f8fffc);box-shadow:0 0 0 3px rgba(49,92,232,.07)}.mail-identity-copy span,.mail-identity-copy strong,.mail-identity-copy small{display:block}.mail-identity-copy span{color:#315ce8;font-size:9px;font-weight:900;letter-spacing:.09em;text-transform:uppercase}.mail-identity-copy strong{margin:6px 0 5px;color:#14233b;font-size:13px}.mail-identity-copy small{color:#6f7e96;font-size:10.5px;line-height:1.45}.mail-identity-fields .field>small{display:block;margin-top:6px;color:#75839a;font-size:10.5px;line-height:1.4}
.product-mail.page-mail-proofs .list-toolbar{padding:10px;border-color:#dbe4f1}.product-mail.page-mail-proofs .product-list-panel{overflow:hidden}.product-mail.page-mail-proofs .product-list-panel tbody tr{transition:background .14s ease}.product-mail.page-mail-proofs .product-list-panel tbody tr:hover{background:#f7f9ff}.product-mail.page-mail-proofs .product-list-panel .person-avatar{background:linear-gradient(145deg,#e8efff,#eaf8f4);color:#315ce8}.product-mail.page-mail-proofs .product-list-panel .person strong{font-size:10.5px}.product-mail.page-mail-proofs .product-list-panel .person small{font-family:var(--mono);font-size:7.5px}
.product-mail.page-mail-proof-detail .product-metrics{grid-template-columns:1fr;margin-bottom:17px}.product-mail.page-mail-proof-detail .product-metrics .stat-card{min-height:94px;padding:19px 21px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;border-color:#bfe6d9;background:linear-gradient(135deg,#f4fcf9,#fff)}.product-mail.page-mail-proof-detail .product-metrics .stat-top{grid-column:1/-1}.product-mail.page-mail-proof-detail .product-metrics .stat-card strong{margin-top:9px;color:#0f7559;font-size:25px}.product-mail.page-mail-proof-detail .product-metrics .stat-card small{grid-column:2;grid-row:2;margin:9px 0 0;padding:7px 10px;border-radius:999px;background:#e5f7f1;color:#0d7a5d}.product-mail.page-mail-proof-detail .detail-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:13px}.product-mail.page-mail-proof-detail .detail-card{position:relative;min-height:94px;padding:18px 19px;overflow:hidden;background:linear-gradient(150deg,#fff,#fbfcff)}.product-mail.page-mail-proof-detail .detail-card:nth-child(1),.product-mail.page-mail-proof-detail .detail-card:nth-child(2){grid-column:span 3}.product-mail.page-mail-proof-detail .detail-card:nth-child(n+3){grid-column:span 2}.product-mail.page-mail-proof-detail .detail-card:before{content:"";position:absolute;inset:0 auto 0 0;width:3px;background:linear-gradient(180deg,#315ce8,#55c8a7)}.product-mail.page-mail-proof-detail .detail-card>span{color:#718099;font-size:8px;letter-spacing:.08em}.product-mail.page-mail-proof-detail .detail-card>strong{margin-top:10px;color:#14243d;font-size:10.5px;line-height:1.5}.product-mail.page-mail-proof-detail .detail-card .mono-value{font-size:8px;overflow-wrap:anywhere}.product-mail.page-mail-proof-detail .resource-actions{margin-top:4px;padding:11px;border:1px solid #dde6f1;border-radius:15px;background:#fff;box-shadow:var(--shadow-soft)}.product-mail.page-mail-proof-detail .collection-stack{gap:15px;margin-top:17px}.product-mail.page-mail-proof-detail .collection-panel{overflow:hidden}.product-mail.page-mail-proof-detail .collection-panel .panel-head{background:linear-gradient(180deg,#fff,#fbfcff)}.product-mail.page-mail-proof-detail .collection-panel tbody tr{transition:background .14s ease}.product-mail.page-mail-proof-detail .collection-panel tbody tr:hover{background:#f7f9ff}.product-mail.page-mail-proof-detail .collection-panel td.mono-value{max-width:500px;color:#51617a;font-size:8px;overflow-wrap:anywhere}
.product-mail .mail-api-panel{overflow:hidden}.product-mail .mail-api-rotation{padding:18px 20px 20px;display:flex;align-items:center;justify-content:flex-end;background:linear-gradient(180deg,#fff,#fbfcff)}.product-mail .mail-api-rotation .btn{min-width:190px}.product-mail .api-secret-once{font-size:10px;background:#fbfffd}
.product-mail .mail-panel-form{padding:21px 22px 23px}.product-mail .mail-quota-form .btn{margin-top:16px}.product-mail .mail-quota-request-panel{overflow:hidden}
.product-mail .webhook-secret-card{border-radius:16px;box-shadow:0 12px 32px rgba(25,94,75,.07)}.product-mail .webhook-help-panel{position:sticky;top:91px}.product-mail .webhook-events label{transition:border-color .15s ease,background .15s ease,box-shadow .15s ease}.product-mail .webhook-events label:hover{border-color:#b9c8e7;background:#fff}.product-mail .webhook-events label:has(input:checked){border-color:#9eb3ee;background:#f3f6ff;box-shadow:0 0 0 2px rgba(49,92,232,.06)}.product-mail .webhook-code{border:1px solid rgba(130,161,216,.15);box-shadow:inset 0 1px 0 rgba(255,255,255,.04)}.product-mail .webhook-endpoints-panel tbody tr,.product-mail .webhook-deliveries-panel tbody tr{transition:background .14s ease}.product-mail .webhook-endpoints-panel tbody tr:hover,.product-mail .webhook-deliveries-panel tbody tr:hover{background:#f8faff}
@media(max-width:1120px){.product-mail .mail-onboard-grid{grid-template-columns:1fr}.product-mail .mail-quota-panel .mail-quota-mini{display:grid;grid-template-columns:auto minmax(180px,1fr) auto;align-items:center}.product-mail .mail-quota-note{grid-column:1/-1}.product-mail .mail-quota-panel .btn{grid-column:3;grid-row:1}.product-mail.page-mail-addresses .resource-actions{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:980px){.product-mail .mail-wizard,.product-mail .mail-settings-wizard{grid-template-columns:1fr}.product-mail .wizard-main{padding:8px 25px 0}.product-mail .webhook-help-panel{position:static}}
@media(max-width:760px){.product-mail .mail-onboard-row{grid-template-columns:42px minmax(0,1fr)}.product-mail .mail-onboard-addr{grid-column:2;justify-content:flex-start}.product-mail .mail-onboard-addr code{flex:1}.product-mail .mail-quota-panel .mail-quota-mini{display:flex;align-items:stretch}.product-mail .mail-quota-panel .btn{width:100%}.product-mail.page-mail-addresses .resource-actions{grid-template-columns:1fr}.product-mail .mail-addr-card{min-height:0}.product-mail .mail-address-block .mail-onboard-addr{grid-column:auto}.product-mail .wizard-main{padding:5px 18px 0}.product-mail .form-section{grid-template-columns:38px minmax(0,1fr);column-gap:10px}.product-mail .section-number{width:34px;height:34px}.product-mail .mail-api-rotation{padding:15px}.product-mail .mail-api-rotation .btn{width:100%}.mail-identity-fields{grid-template-columns:1fr}.product-mail .mail-wizard .mode-grid{grid-template-columns:1fr}}
@media(max-width:820px){.product-mail.page-mail-proof-detail .detail-grid{grid-template-columns:1fr 1fr}.product-mail.page-mail-proof-detail .detail-card:nth-child(n){grid-column:span 1}.product-mail.page-mail-proof-detail .detail-card:last-child:nth-child(odd){grid-column:1/-1}}
@media(max-width:520px){.product-mail .mail-onboard{padding:10px}.product-mail .mail-onboard-row{padding:12px!important}.product-mail .mail-onboard-addr{grid-column:1/-1}.product-mail .mail-onboard-addr .btn{width:100%}.product-mail .mail-addr-card{padding:17px}.product-mail .form-section{grid-template-columns:1fr}.product-mail .section-number{grid-row:auto;margin-bottom:10px}.product-mail .mode-grid,.product-mail .field-grid{grid-column:1}.product-mail .section-copy p{margin-bottom:14px}.product-mail .wizard-footer{align-items:stretch;flex-direction:column}.product-mail .wizard-footer .btn{width:100%}}
@media(max-width:520px){.product-mail.page-mail-proof-detail .product-metrics .stat-card{grid-template-columns:1fr}.product-mail.page-mail-proof-detail .product-metrics .stat-card small{grid-column:1;grid-row:auto;justify-self:start}.product-mail.page-mail-proof-detail .detail-grid{grid-template-columns:1fr}.product-mail.page-mail-proof-detail .detail-card:nth-child(n){grid-column:1}.product-mail.page-mail-proof-detail .resource-actions{align-items:stretch;flex-direction:column}.product-mail.page-mail-proof-detail .resource-actions .btn{width:100%}}

/* Mail — vue d’ensemble : zones autonomes, rythme vertical et lecture confortable. */
.product-mail.page-overview .hero{margin-bottom:26px}
.product-mail.page-overview .stats-grid{gap:18px;margin-bottom:28px}
.product-mail.page-overview .stats-grid .stat-card{min-height:128px;padding:21px 22px 19px;display:grid;grid-template-rows:auto 1fr auto;align-items:start;border:1px solid #d8e2ef;border-radius:18px;background:#fff;box-shadow:0 12px 32px rgba(27,52,100,.065)}
.product-mail.page-overview .stats-grid .stat-top{width:100%;align-items:center;margin:0 0 12px}
.product-mail.page-overview .stats-grid .stat-top span{font-size:10.5px;line-height:1.35}
.product-mail.page-overview .stats-grid .stat-top svg{width:30px;height:30px;padding:7px;border-radius:9px;background:#eef3ff;color:#315ce8}
.product-mail.page-overview .stats-grid .stat-card strong{align-self:center;margin:0;font-size:27px;line-height:1.05;letter-spacing:-.65px}
.product-mail.page-overview .stats-grid .stat-card small{align-self:end;margin-top:8px;font-size:10px;line-height:1.4}
.product-mail.page-overview .mail-onboard-grid{align-items:stretch;gap:22px;margin-bottom:30px}
.product-mail.page-overview .mail-onboard-panel,.product-mail.page-overview .mail-quota-panel{height:100%;border:1px solid #d8e2ef;border-radius:20px;background:#fff;box-shadow:0 16px 42px rgba(27,52,100,.075)}
.product-mail.page-overview .mail-onboard-panel .panel-head,.product-mail.page-overview .mail-quota-panel .panel-head{min-height:78px;padding:20px 22px;align-items:center;background:#fbfcff}
.product-mail.page-overview .mail-onboard-panel .panel-head h2,.product-mail.page-overview .mail-quota-panel .panel-head h2{font-size:16px;line-height:1.25}
.product-mail.page-overview .mail-onboard-panel .panel-head p,.product-mail.page-overview .mail-quota-panel .panel-head p{max-width:680px;margin-top:6px;font-size:11px;line-height:1.5}
.product-mail.page-overview .mail-onboard{gap:13px;padding:18px 18px 20px}
.product-mail.page-overview .mail-onboard-row{min-height:82px;padding:16px 17px;grid-template-columns:44px minmax(220px,1fr) minmax(220px,.72fr);gap:15px;border-color:#d7e1ee;border-radius:15px;background:#fff;box-shadow:0 6px 18px rgba(27,52,100,.045)}
.product-mail.page-overview .mail-onboard-row:first-child,.product-mail.page-overview .mail-onboard-row:last-child{padding:16px 17px}
.product-mail.page-overview .mail-onboard-row:hover{border-color:#bfcdf0;box-shadow:0 10px 24px rgba(38,69,132,.075)}
.product-mail.page-overview .mail-onboard-ico{width:42px;height:42px}
.product-mail.page-overview .mail-onboard-txt{display:flex;min-width:0;flex-direction:column;justify-content:center}
.product-mail.page-overview .mail-onboard-txt strong{font-size:13.5px;line-height:1.35}
.product-mail.page-overview .mail-onboard-txt small{margin-top:5px;font-size:11px;line-height:1.5}
.product-mail.page-overview .mail-onboard-addr{align-self:center}
.product-mail.page-overview .mail-onboard-addr code{min-height:36px;padding:10px 12px;display:flex;align-items:center;justify-content:center;font-size:10px}
.product-mail.page-overview .mail-quota-panel{display:flex;flex-direction:column}
.product-mail.page-overview .mail-quota-mini{flex:1;padding:28px 24px;justify-content:center;gap:18px}
.product-mail.page-overview .mail-quota-mini>strong{font-size:38px;line-height:1.05}
.product-mail.page-overview .mail-quota-note{font-size:11px;line-height:1.65}
.product-mail.page-overview .mail-quota-panel .btn{width:100%;justify-content:center}
.product-mail.page-overview .mail-activity-grid{align-items:stretch;gap:22px;margin-top:0}
.product-mail.page-overview .mail-activity-grid>.panel{overflow:hidden;border:1px solid #d8e2ef;border-radius:20px;background:#fff;box-shadow:0 16px 42px rgba(27,52,100,.075)}
.product-mail.page-overview .mail-activity-grid .panel-head{min-height:76px;padding:20px 22px;align-items:center;background:#fbfcff}
.product-mail.page-overview .mail-activity-grid .panel-head h2{font-size:16px}
.product-mail.page-overview .mail-activity-grid .panel-head p{font-size:11px;line-height:1.45}
.product-mail.page-overview .mail-activity-grid .empty-state{min-height:148px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center}
.product-mail.page-overview .mail-activity-grid .module-list{padding:8px 18px 16px}
.product-mail.page-overview .mail-activity-grid .module-row{min-height:62px;padding:12px 0;align-items:center}
@media(max-width:1120px){.product-mail.page-overview .stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.product-mail.page-overview .mail-onboard-row{grid-template-columns:44px minmax(0,1fr)}.product-mail.page-overview .mail-onboard-addr{grid-column:2;justify-content:flex-start}.product-mail.page-overview .mail-onboard-addr code{flex:1}}
@media(max-width:760px){.product-mail.page-overview .hero{margin-bottom:20px}.product-mail.page-overview .stats-grid{gap:14px;margin-bottom:22px}.product-mail.page-overview .mail-onboard-grid{gap:18px;margin-bottom:22px}.product-mail.page-overview .mail-onboard-row{min-height:0;padding:15px!important}.product-mail.page-overview .mail-onboard-addr{grid-column:1/-1}.product-mail.page-overview .mail-activity-grid{gap:18px}.product-mail.page-overview .mail-onboard-panel .panel-head,.product-mail.page-overview .mail-quota-panel .panel-head,.product-mail.page-overview .mail-activity-grid .panel-head{min-height:0;padding:18px;align-items:flex-start}}
@media(max-width:520px){.product-mail.page-overview .stats-grid{grid-template-columns:1fr}.product-mail.page-overview .stats-grid .stat-card{min-height:116px}.product-mail.page-overview .mail-onboard{padding:14px}.product-mail.page-overview .mail-quota-mini{padding:22px 19px}.product-mail.page-overview .mail-activity-grid .module-list{padding:6px 15px 14px}}

/* Signature — langage visuel homogène sur les écrans produit. */
.product-signature .product-view-head{margin-bottom:27px}
.product-signature .product-view-head h1{letter-spacing:-1.35px}
.product-signature .product-view-head>div:first-child>p{max-width:760px;line-height:1.55}
.product-signature .product-metrics{gap:18px;margin-bottom:24px}
.product-signature .product-metrics .stat-card{min-height:122px;padding:20px 21px 18px;border:1px solid #d9e3ef;border-radius:18px;background:#fff;box-shadow:0 12px 32px rgba(27,52,100,.06)}
.product-signature .product-metrics .stat-top{align-items:center;margin-bottom:12px}
.product-signature .product-metrics .stat-card strong{font-size:26px;line-height:1.05;letter-spacing:-.6px}
.product-signature .product-metrics .stat-card small{margin-top:9px;line-height:1.45}
.product-signature .list-toolbar{margin-bottom:20px;padding:11px;border:1px solid #dbe4f0;border-radius:17px;background:#fff;box-shadow:0 10px 28px rgba(27,52,100,.05)}
.product-signature .product-list-panel,.product-signature .collection-panel{overflow:hidden;border:1px solid #d9e3ef;border-radius:20px;background:#fff;box-shadow:0 16px 42px rgba(27,52,100,.07)}
.product-signature .product-list-panel .panel-head,.product-signature .collection-panel .panel-head{min-height:76px;padding:19px 21px;background:#fbfcff}
.product-signature .product-list-panel tbody tr,.product-signature .collection-panel tbody tr{transition:background .15s ease}
.product-signature .product-list-panel tbody tr:hover,.product-signature .collection-panel tbody tr:hover{background:#f7f9ff}
.product-signature .hub-sections{gap:28px;margin-top:25px}
.product-signature .hub-section-head{margin-bottom:13px}
.product-signature .hub-section-head h2{font-size:17px}
.product-signature .hub-grid{gap:16px}
.product-signature .hub-card{min-height:96px;padding:19px;border-color:#d9e3ef;border-radius:18px;background:#fff;box-shadow:0 11px 30px rgba(27,52,100,.06)}
.product-signature .hub-card strong{font-size:12.5px}
.product-signature .hub-card small{font-size:10px;line-height:1.5}
.product-signature .hub-card-icon{width:42px;height:42px}

/* Nouveau document — trois portes d’entrée explicites et réellement séparées. */
.product-signature.page-signature-create .signature-source-picker{position:relative;margin-bottom:27px;padding:0;overflow:hidden;border:1px solid #d7e2ef;border-radius:22px;background:#fff;box-shadow:0 18px 48px rgba(26,51,98,.08)}
.product-signature.page-signature-create .signature-source-picker>header{padding:25px 27px 21px;border-bottom:1px solid #e4eaf2;background:linear-gradient(135deg,#f8faff 0%,#fff 72%)}
.product-signature.page-signature-create .signature-source-picker>header>span{font-size:9.5px;letter-spacing:.13em}
.product-signature.page-signature-create .signature-source-picker>header h2{margin:8px 0 7px;font-size:23px;line-height:1.2}
.product-signature.page-signature-create .signature-source-picker>header p{max-width:760px;font-size:12px;line-height:1.55}
.product-signature.page-signature-create .signature-source-grid{gap:18px;margin:0;padding:22px}
.product-signature.page-signature-create .signature-source-card{position:relative;min-height:166px;padding:21px;display:grid;grid-template-columns:52px minmax(0,1fr);grid-template-rows:1fr auto;align-items:start;gap:16px;overflow:hidden;border:1px solid #d8e2ef;border-radius:18px;background:#fff;box-shadow:0 10px 28px rgba(27,52,100,.055)}
.product-signature.page-signature-create .signature-source-card:before{content:"";position:absolute;inset:0 0 auto;height:3px;background:#315ce8;opacity:.85}
.product-signature.page-signature-create .signature-source-card:nth-child(2):before{background:#6a5bd5}
.product-signature.page-signature-create .signature-source-card:nth-child(3):before{background:#18a27c}
.product-signature.page-signature-create .signature-source-card:hover,.product-signature.page-signature-create .signature-source-card:focus-visible{border-color:#a9bcee;box-shadow:0 17px 38px rgba(31,68,145,.12);transform:translateY(-3px)}
.product-signature.page-signature-create .signature-source-card.active{border-color:#9fb4ef;background:linear-gradient(145deg,#f5f8ff,#fff);box-shadow:0 14px 36px rgba(49,92,232,.11)}
.product-signature.page-signature-create .signature-source-card>i{width:52px;height:52px;border-radius:15px;background:#edf2ff}
.product-signature.page-signature-create .signature-source-card:nth-child(2)>i{background:#f0edff;color:#6758ce}
.product-signature.page-signature-create .signature-source-card:nth-child(3)>i{background:#e9f8f3;color:#168d6d}
.product-signature.page-signature-create .signature-source-card>span{align-self:center;min-width:0}
.product-signature.page-signature-create .signature-source-card strong{font-size:14px;line-height:1.35}
.product-signature.page-signature-create .signature-source-card small{margin-top:7px;font-size:11px;line-height:1.55}
.product-signature.page-signature-create .signature-source-card>b{grid-column:1/-1;min-height:38px;padding:0 14px;display:inline-flex;align-items:center;justify-content:center;justify-self:stretch;border:1px solid #ccd8ed;border-radius:11px;background:#f8faff;color:#315ce8;font-size:10.5px;line-height:1}
.product-signature.page-signature-create .signature-source-card.active>b{border-color:#315ce8;background:#315ce8;color:#fff}
.product-signature.page-signature-create .signature-wizard{margin-top:0;border-color:#d7e2ef;border-radius:25px;box-shadow:0 24px 68px rgba(22,46,91,.11)}
.product-signature.page-signature-create .signature-wizard .wizard-rail{padding:37px 31px;background:radial-gradient(circle at 8% 2%,rgba(56,96,231,.78),transparent 34%),radial-gradient(circle at 104% 80%,rgba(27,169,133,.23),transparent 40%),#0b203d}
.product-signature.page-signature-create .signature-wizard .wizard-main{padding:12px 38px 0}
.product-signature.page-signature-create .signature-wizard .form-section{padding:30px 0}
.product-signature.page-signature-create .signature-wizard .upload-zone{min-height:205px;border-color:#aebfe2;background:linear-gradient(145deg,#f6f9ff,#fff)}
.product-signature.page-signature-create .signature-wizard .upload-zone:hover{border-color:#315ce8;box-shadow:0 12px 30px rgba(49,92,232,.08)}
.product-signature.page-signature-create .signature-wizard .review-strip{padding:17px;background:#f8fbff}

/* Vue d’ensemble Signature — mêmes respirations que les écrans opérationnels. */
.product-signature.page-overview .hero{margin-bottom:26px}
.product-signature.page-overview .stats-grid{gap:18px;margin-bottom:28px}
.product-signature.page-overview .stats-grid .stat-card{min-height:126px;padding:21px 22px 19px;display:grid;grid-template-rows:auto 1fr auto;border:1px solid #d8e2ef;border-radius:18px;background:#fff;box-shadow:0 12px 32px rgba(27,52,100,.065)}
.product-signature.page-overview .stats-grid .stat-top{align-items:center;margin-bottom:11px}
.product-signature.page-overview .stats-grid .stat-top svg{width:30px;height:30px;padding:7px;border-radius:9px;background:#eef3ff;color:#315ce8}
.product-signature.page-overview .stats-grid .stat-card strong{align-self:center;font-size:27px}
.product-signature.page-overview .dashboard-grid{align-items:stretch;gap:22px}
.product-signature.page-overview .dashboard-grid>.panel{overflow:hidden;border:1px solid #d8e2ef;border-radius:20px;background:#fff;box-shadow:0 16px 42px rgba(27,52,100,.075)}
.product-signature.page-overview .dashboard-grid .panel-head{min-height:76px;padding:20px 22px;background:#fbfcff}

@media(max-width:1120px){.product-signature.page-signature-create .signature-source-grid{grid-template-columns:1fr}.product-signature.page-signature-create .signature-source-card{min-height:120px;grid-template-columns:52px minmax(0,1fr) auto;grid-template-rows:1fr}.product-signature.page-signature-create .signature-source-card>b{grid-column:auto;align-self:center;min-width:100px}.product-signature.page-overview .stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.product-signature .product-view-head{margin-bottom:22px}.product-signature .product-metrics{gap:14px}.product-signature.page-signature-create .signature-source-picker>header{padding:21px 19px 18px}.product-signature.page-signature-create .signature-source-grid{gap:14px;padding:16px}.product-signature.page-signature-create .signature-source-card{min-height:0;padding:18px;grid-template-columns:46px minmax(0,1fr);grid-template-rows:1fr auto}.product-signature.page-signature-create .signature-source-card>i{width:46px;height:46px}.product-signature.page-signature-create .signature-source-card>b{grid-column:1/-1;width:100%}.product-signature.page-signature-create .signature-wizard .wizard-main{padding:8px 19px 0}.product-signature.page-signature-create .signature-wizard .form-section{padding:25px 0}.product-signature.page-overview .dashboard-grid{gap:18px}}
@media(max-width:520px){.product-signature.page-overview .stats-grid{grid-template-columns:1fr}.product-signature.page-overview .stats-grid .stat-card{min-height:116px}.product-signature .hub-card{min-height:88px;padding:16px}}

/* Signature — atelier de rédaction : fonctions V1 restaurées dans le langage V2. */
.product-signature .ai-console-flow{gap:22px;margin-bottom:30px}
.product-signature .ai-console-flow.is-empty{grid-template-columns:minmax(0,1.12fr) minmax(320px,.88fr)}
.product-signature .ai-console-flow.has-draft{grid-template-columns:minmax(330px,.62fr) minmax(0,1.38fr)}
.product-signature .ai-request-panel,.product-signature .ai-draft-panel,.product-signature .ai-empty-panel{overflow:visible;border:1px solid #d7e2ef;border-radius:21px;background:#fff;box-shadow:0 18px 48px rgba(27,52,100,.075)}
.product-signature .ai-request-panel .panel-head,.product-signature .ai-draft-panel .panel-head{padding:22px 24px;border-bottom:1px solid #e4eaf2;border-radius:21px 21px 0 0;background:linear-gradient(135deg,#f8faff 0%,#fff 74%)}
.product-signature .ai-request-panel form,.product-signature .ai-draft-panel form{padding:22px 24px 24px}
.product-signature .ai-console-flow.has-draft .ai-request-panel{top:82px}
.product-signature .ai-console-flow.has-draft .ai-instructions-field textarea{min-height:138px}
.product-signature .ai-prompt-presets{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-top:11px}
.product-signature .ai-prompt-presets>span{margin-right:2px;color:#7a879a;font-size:9px;font-weight:850;letter-spacing:.06em;text-transform:uppercase}
.product-signature .ai-prompt-presets button{min-height:30px;padding:0 10px;border:1px solid #d9e2f1;border-radius:999px;background:#f8faff;color:#405474;font:750 9px/1 inherit;cursor:pointer;transition:border-color .15s ease,background .15s ease,color .15s ease}
.product-signature .ai-prompt-presets button:hover,.product-signature .ai-prompt-presets button:focus-visible{border-color:#9fb4ed;background:#eef3ff;color:#244ecf;outline:none}
.product-signature .ai-mic-button{gap:8px}
.product-signature .ai-mic-button[data-recording="1"] svg{animation:ai-mic-pulse 1.1s ease-in-out infinite}
.product-signature .ai-mic-status{min-height:18px;margin:10px 0 0;padding-left:1px;color:#687890;font-size:9px;line-height:1.45}
@keyframes ai-mic-pulse{50%{opacity:.34;transform:scale(.88)}}
.product-signature .ai-empty-panel{min-height:0;padding:27px;display:block;background:radial-gradient(circle at 100% 0,rgba(49,92,232,.11),transparent 38%),linear-gradient(155deg,#f7f9ff,#fff 62%)}
.product-signature .ai-empty-panel>span{color:#315ce8;font-size:9px;font-weight:900;letter-spacing:.13em;text-transform:uppercase}
.product-signature .ai-empty-panel ol{display:grid;gap:15px;margin:23px 0 0;padding:0;list-style:none}
.product-signature .ai-empty-panel li{display:grid;grid-template-columns:38px minmax(0,1fr);gap:12px;align-items:start}
.product-signature .ai-empty-panel li>b{display:grid;place-items:center;width:36px;height:36px;border:1px solid #cbd8f3;border-radius:12px;background:#fff;color:#315ce8;font-size:10px;box-shadow:0 7px 18px rgba(27,52,100,.06)}
.product-signature .ai-empty-panel li strong{display:block;margin:1px 0 4px;font-size:11px}
.product-signature .ai-empty-panel li p{margin:0;color:#718097;font-size:9.5px;line-height:1.55}
.product-signature .ai-variable-card{padding:18px;border-radius:16px;background:#f8faff}
.product-signature .ai-company-lookup{margin-top:15px;padding-top:15px;display:grid;grid-template-columns:minmax(200px,1fr) auto;align-items:end;gap:10px;border-top:1px solid #dfe6f1}
.product-signature .ai-company-lookup>[data-ai-company-status]{grid-column:1/-1;min-height:15px;color:#66768f;font-size:9px}
.product-signature .ai-token-tools{position:relative;display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:10px 11px;border:1px solid #dbe4f0;border-bottom:0;background:#fbfcff}
.product-signature .ai-token-tools>span{color:#77859a;font-size:9px}
.product-signature .ai-token-picker{position:relative}
.product-signature .ai-token-menu{position:absolute;z-index:30;top:calc(100% + 7px);left:0;width:min(440px,80vw);max-height:390px;padding:12px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;overflow:auto;border:1px solid #ccd8ea;border-radius:15px;background:#fff;box-shadow:0 22px 60px rgba(15,39,78,.2)}
.product-signature .ai-token-menu[hidden],.product-signature .ai-token-guide[hidden],.product-signature .ai-token-autocomplete[hidden]{display:none}
.product-signature .ai-token-menu>strong{grid-column:1/-1;margin-top:7px;padding-top:8px;border-top:1px solid #edf0f5;color:#7a879a;font-size:8px;letter-spacing:.08em;text-transform:uppercase}
.product-signature .ai-token-menu>strong:first-child{margin-top:0;padding-top:0;border-top:0}
.product-signature .ai-token-menu button{padding:9px 10px;display:grid;gap:3px;text-align:left;border:1px solid #e0e7f1;border-radius:10px;background:#fbfcff;color:#243a5c;cursor:pointer}
.product-signature .ai-token-menu button:hover{border-color:#a8bbed;background:#f2f5ff}
.product-signature .ai-token-menu b{font-size:9px}.product-signature .ai-token-menu small{color:#7c899d;font-size:8px}
.product-signature .ai-token-guide{padding:12px;border:1px solid #dbe4f0;border-bottom:0;background:#f8faff}
.product-signature .ai-token-guide section{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-bottom:8px}.product-signature .ai-token-guide section:last-child{margin-bottom:0}
.product-signature .ai-token-guide strong{min-width:95px;color:#687890;font-size:8px;text-transform:uppercase}.product-signature .ai-token-guide button{padding:5px 7px;border:1px solid #d5dff0;border-radius:7px;background:#fff;color:#315ce8;font:750 8px/1 inherit;cursor:pointer}
.product-signature .ai-token-autocomplete{position:absolute;z-index:40;right:32px;width:230px;max-height:250px;padding:7px;display:grid;gap:4px;overflow:auto;border:1px solid #cbd7e9;border-radius:12px;background:#fff;box-shadow:0 18px 45px rgba(18,43,85,.18)}
.product-signature .ai-token-autocomplete button{padding:8px 9px;text-align:left;border:0;border-radius:8px;background:#fff;color:#315ce8;font:750 9px/1 inherit;cursor:pointer}.product-signature .ai-token-autocomplete button:hover{background:#eef3ff}
.product-signature .ai-writing-surface{min-height:600px;padding:42px 48px;border-color:#dbe4f0;border-radius:0 0 14px 14px;box-shadow:inset 0 1px 0 rgba(255,255,255,.8)}
.product-signature .ai-draft-actions>div:last-child{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}
@media(prefers-reduced-motion:reduce){.product-signature .ai-mic-button[data-recording="1"] svg{animation:none}}
@media(max-width:1120px){.product-signature .ai-console-flow.is-empty,.product-signature .ai-console-flow.has-draft{grid-template-columns:1fr}.product-signature .ai-request-panel{position:static}.product-signature .ai-writing-surface{min-height:520px}}
@media(max-width:680px){.product-signature .ai-request-panel .panel-head,.product-signature .ai-draft-panel .panel-head,.product-signature .ai-request-panel form,.product-signature .ai-draft-panel form{padding-left:17px;padding-right:17px}.product-signature .ai-company-lookup{grid-template-columns:1fr}.product-signature .ai-company-lookup .btn{width:100%;justify-content:center}.product-signature .ai-token-menu{grid-template-columns:1fr;width:min(340px,86vw)}.product-signature .ai-writing-surface{min-height:430px;padding:25px 21px}.product-signature .ai-draft-actions>div:last-child{width:100%;display:grid}.product-signature .ai-draft-actions .btn{width:100%}}

/* Signature — barre d’édition V1 réintroduite sans alourdir le wizard V2. */
.editor-selection-toolbar{position:relative;z-index:6;min-height:48px;padding:7px 10px;display:flex;align-items:center;gap:7px;flex-wrap:wrap;border-bottom:1px solid #dce4ef;background:#f8faff}
.editor-selection-toolbar>div{display:flex;align-items:center;gap:4px}
.editor-selection-toolbar button,.editor-align-menu>summary{min-height:31px;padding:0 9px;display:inline-flex;align-items:center;justify-content:center;gap:5px;border:1px solid #d8e1ef;border-radius:8px;background:#fff;color:#40516b;font:750 8.5px/1 inherit;cursor:pointer;white-space:nowrap}
.editor-selection-toolbar button:hover:not(:disabled),.editor-selection-toolbar button:focus-visible,.editor-align-menu>summary:hover,.editor-align-menu>summary:focus-visible{border-color:#a8b9e9;background:#eef3ff;color:#2852d7;outline:none}
.editor-selection-toolbar button:disabled{opacity:.42;cursor:not-allowed}
.editor-selection-toolbar button.danger:not(:disabled){color:#a43b48}
.editor-selection-toolbar [data-editor-grid].active,.editor-selection-toolbar [data-editor-grid][aria-pressed="true"]{border-color:#315ce8;background:#315ce8;color:#fff}
.editor-history-tools{padding-right:7px;border-right:1px solid #dce4ef}
.editor-selection-status{margin-left:auto;color:#77859a;font-size:8px;line-height:1.35;text-align:right}
.editor-align-menu{position:relative}.editor-align-menu>summary{list-style:none}.editor-align-menu>summary::-webkit-details-marker{display:none}.editor-align-menu[open]>summary{border-color:#a8b9e9;background:#eef3ff;color:#2852d7}
.editor-align-menu>div{position:absolute;z-index:20;top:calc(100% + 7px);left:0;width:260px;padding:8px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;border:1px solid #ccd8ea;border-radius:12px;background:#fff;box-shadow:0 18px 45px rgba(17,42,82,.18)}
.editor-align-menu>div button{min-width:0;white-space:normal}.editor-align-menu>div button:nth-last-child(-n+2){grid-column:span 3}
.editor-field-overlay.selected{border-style:solid;background:rgba(232,239,255,.94);box-shadow:0 0 0 3px rgba(49,92,232,.13)}
.editor-field-overlay.primary{border-color:#153fd0;box-shadow:0 0 0 3px rgba(49,92,232,.22),0 7px 18px rgba(24,60,139,.16)}
.editor-field-choice[draggable="true"]{position:relative;cursor:grab;user-select:none}.editor-field-choice[draggable="true"]:active{cursor:grabbing}.editor-field-choice[draggable="true"]::after{content:'⋮⋮';margin-left:auto;color:#99a9c1;font-size:12px;letter-spacing:-3px;transform:rotate(90deg)}
.editor-pdf-overlay.is-drop-target{box-shadow:inset 0 0 0 3px rgba(49,92,232,.42);background:rgba(49,92,232,.055)}
.ai-placeholder-choice{margin-top:14px;padding:14px 16px;display:flex;align-items:flex-start;gap:12px;border:1px solid #dce5f4;border-radius:14px;background:#f8faff;color:var(--ink)}.ai-placeholder-choice input{width:18px;height:18px;margin:2px 0 0;flex:0 0 auto;accent-color:var(--blue)}.ai-placeholder-choice span,.ai-placeholder-choice strong,.ai-placeholder-choice small{display:block}.ai-placeholder-choice strong{font-size:10px}.ai-placeholder-choice small{margin-top:4px;color:var(--muted);font-size:8.5px;line-height:1.5}
.editor-pdf-stage.grid-on .editor-pdf-overlay{background-image:linear-gradient(to right,rgba(49,92,232,.1) 1px,transparent 1px),linear-gradient(to bottom,rgba(49,92,232,.1) 1px,transparent 1px);background-size:2.5% 2.5%}
@media(max-width:1050px){.editor-selection-status{order:4;width:100%;margin-left:0;text-align:left}.editor-select-page{margin-left:auto}}
@media(max-width:680px){.editor-selection-toolbar{padding:8px;gap:6px}.editor-selection-toolbar>div{flex-wrap:wrap}.editor-selection-toolbar button span{display:none}.editor-clipboard-tools{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));width:100%}.editor-clipboard-tools button{width:100%}.editor-align-menu>div{left:auto;right:0;width:min(280px,86vw)}.editor-select-page{width:100%;margin-left:0}.editor-selection-status{text-align:center}}
.editor-analysis-drawer{grid-template-rows:auto auto minmax(0,1fr)}.editor-ai-assistant{display:grid;gap:11px;margin:14px 20px 0;padding:15px;border:1px solid #cddafe;border-radius:14px;background:linear-gradient(145deg,#f8faff,#eef3ff)}.editor-ai-assistant>span{color:var(--blue);font-size:8px;font-weight:900;letter-spacing:.1em;text-transform:uppercase}.editor-ai-assistant>p,.editor-ai-assistant>small{margin:0;color:#657594;font-size:8.5px;line-height:1.5}.editor-ai-assistant label{display:grid;gap:6px;color:#42526d;font-size:8px;font-weight:850}.editor-ai-assistant textarea{width:100%;resize:vertical;border:1px solid #cbd5e8;border-radius:11px;padding:10px;font:inherit;color:#14223b;background:#fff}.editor-ai-prompts{display:flex;gap:6px;flex-wrap:wrap}.editor-ai-prompts button{border:1px solid #c8d5f7;border-radius:999px;background:#fff;color:#315bce;padding:6px 9px;font-size:8px;font-weight:800;cursor:pointer}.editor-ai-answer{display:grid;gap:9px;padding:12px;border-radius:11px;background:#fff;border:1px solid #d8e1f5}.editor-ai-answer[hidden]{display:none}.editor-ai-answer p,.editor-ai-answer ul,.editor-ai-answer blockquote{margin:0;color:#34455f;font-size:8.5px;line-height:1.55}.editor-ai-answer ul{padding-left:18px}.editor-ai-answer blockquote{padding:7px 9px;border-left:3px solid #3563e9;background:#f7f9ff;color:#52617e}
@media(max-width:760px){.editor-ai-assistant{margin:10px 14px 0}}
.editor-toolbox .editor-analysis{display:grid;gap:8px;margin-top:14px;padding:12px;background:#f5f8ff}.editor-toolbox .editor-analysis>button{min-height:42px;margin:0;padding:9px 11px;justify-content:flex-start;border:1px solid #d7e1f3;border-radius:10px;background:#fff;line-height:1.25;text-align:left;transition:border-color .16s ease,background .16s ease,transform .16s ease}.editor-toolbox .editor-analysis>button+button{margin-top:0;padding-top:9px;border-top:1px solid #d7e1f3}.editor-toolbox .editor-analysis>button:hover,.editor-toolbox .editor-analysis>button:focus-visible{border-color:#8fa8ef;background:#f8faff;outline:none;transform:translateY(-1px)}.editor-toolbox .editor-analysis>[data-open-assistant]{border-color:#aac0ff;background:#eaf0ff;color:#173fc6}.editor-toolbox .editor-analysis>p{margin:3px 3px 0;padding-top:8px;line-height:1.5}.editor-toolbox .editor-analysis>[data-analysis-status]{padding-top:9px}
@media(max-width:760px){.editor-toolbox .editor-analysis{gap:9px}.editor-toolbox .editor-analysis>button{min-height:46px;padding:11px 12px}}

/* Assistant documentaire R61 — espace de travail central, lisible et responsive. */
.editor-analysis-backdrop{background:rgba(13,27,54,.52);backdrop-filter:blur(6px)}
.editor-analysis-drawer{top:50%;right:auto;left:50%;width:min(1040px,calc(100vw - 64px));height:min(760px,calc(100vh - 64px));overflow:hidden;grid-template-rows:auto auto minmax(0,1fr);transform:translate(-50%,-50%);border:1px solid rgba(210,220,238,.9);border-radius:22px;background:#f6f8fc;box-shadow:0 34px 90px rgba(12,31,69,.3)}
.editor-analysis-drawer>header{min-height:78px;padding:18px 26px;border-bottom:1px solid #e3e8f1;background:#fff}
.editor-analysis-drawer>header strong{font-size:16px;letter-spacing:-.02em}
.editor-analysis-drawer>header small{margin-top:5px;font-size:9.5px}
.editor-analysis-drawer>header button{width:40px;height:40px;border-radius:12px;transition:border-color .16s ease,background .16s ease,color .16s ease}
.editor-analysis-drawer>header button:hover,.editor-analysis-drawer>header button:focus-visible{border-color:#aebff2;background:#f3f6ff;color:#214dcc;outline:none}
.editor-analysis-tabs{display:flex;align-items:flex-end;gap:8px;min-height:59px;padding:10px 26px 0;border-bottom:1px solid #dfe6f1;background:#fff}
.editor-analysis-tabs button{position:relative;min-height:44px;padding:0 16px;border:0;border-radius:11px 11px 0 0;background:transparent;color:#6b7890;font:800 10px/1 var(--font);cursor:pointer;transition:background .16s ease,color .16s ease}
.editor-analysis-tabs button::after{content:"";position:absolute;right:15px;bottom:-1px;left:15px;height:3px;border-radius:3px 3px 0 0;background:transparent}
.editor-analysis-tabs button:hover,.editor-analysis-tabs button:focus-visible{background:#f5f7fc;color:#244fc9;outline:none}
.editor-analysis-tabs button[aria-selected="true"]{background:#eef3ff;color:#173fc6}
.editor-analysis-tabs button[aria-selected="true"]::after{background:#315ce8}
.editor-ai-assistant{min-height:0;margin:0;padding:30px clamp(24px,6vw,72px) 34px;overflow:auto;align-content:start;gap:18px;border:0;border-radius:0;background:radial-gradient(circle at 100% 0,rgba(49,92,232,.08),transparent 34%),#f7f9fd}
.editor-ai-assistant[hidden],.editor-analysis-content[hidden]{display:none!important}
.editor-ai-intro{max-width:700px}
.editor-ai-intro>span{display:block;color:#315ce8;font-size:8.5px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}
.editor-ai-intro>h2{margin:8px 0 0;color:#101f38;font-size:25px;line-height:1.15;letter-spacing:-.035em}
.editor-ai-intro>p{max-width:630px;margin:9px 0 0;color:#627089;font-size:11px;line-height:1.65}
.editor-ai-prompts{gap:8px}
.editor-ai-prompts button{min-height:34px;padding:7px 12px;border-color:#cdd9f7;border-radius:10px;color:#244fc9;font-size:9px;transition:border-color .16s ease,background .16s ease,transform .16s ease}
.editor-ai-prompts button:hover,.editor-ai-prompts button:focus-visible{border-color:#8da7ed;background:#f3f6ff;outline:none;transform:translateY(-1px)}
.editor-ai-assistant label{gap:8px;color:#33435e;font-size:9px}
.editor-ai-assistant textarea{min-height:112px;padding:15px 16px;border-color:#bdcbe2;border-radius:14px;color:#17253c;font-size:11px;line-height:1.55;box-shadow:0 7px 22px rgba(27,54,107,.05);transition:border-color .16s ease,box-shadow .16s ease}
.editor-ai-assistant textarea:focus{border-color:#6384e9;outline:none;box-shadow:0 0 0 4px rgba(49,92,232,.13),0 10px 28px rgba(27,54,107,.07)}
.editor-ai-submit{display:flex;align-items:center;gap:14px}
.editor-ai-submit .btn{flex:0 0 auto;min-width:220px;min-height:46px;font-size:10px}
.editor-ai-submit>small{color:#738098;font-size:8.5px;line-height:1.5}
.editor-ai-answer{gap:12px;padding:18px;border-color:#cad8fa;border-radius:14px;box-shadow:0 10px 28px rgba(26,57,126,.07)}
.editor-ai-answer p,.editor-ai-answer ul,.editor-ai-answer blockquote{font-size:10px;line-height:1.65}
.editor-ai-answer strong{color:#1d3152;font-size:9.5px}
.editor-analysis-content{min-height:0;padding:24px 26px 30px;overflow:auto;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-content:start;gap:16px;background:#f6f8fc}
.editor-analysis-content>section{padding:20px;border-radius:16px}
.editor-analysis-content>.editor-analysis-summary{grid-column:1/-1}
.editor-analysis-content>section>span{margin-bottom:12px;font-size:8.5px}
.editor-analysis-content>section>p{font-size:10.5px;line-height:1.7}
.editor-analysis-content article{padding:13px 14px;border-radius:11px}
.editor-analysis-content article strong{font-size:10px}
.editor-analysis-content article p,.editor-analysis-content article blockquote{font-size:9px;line-height:1.6}
.editor-analysis-note{grid-column:1/-1;padding:12px 15px;font-size:9px}
@media(max-width:760px){.editor-analysis-drawer{inset:0;width:100vw;height:100dvh;transform:none;border:0;border-radius:0}.editor-analysis-drawer:not([hidden]){animation:none!important}.editor-analysis-drawer>header{min-height:70px;padding:14px 16px}.editor-analysis-drawer>header strong{font-size:14px}.editor-analysis-drawer>header small{font-size:8px}.editor-analysis-tabs{min-height:54px;padding:8px 12px 0;gap:4px}.editor-analysis-tabs button{flex:1;min-width:0;padding:0 8px;font-size:8.5px}.editor-ai-assistant{padding:24px 18px 28px;gap:16px}.editor-ai-intro>h2{font-size:22px}.editor-ai-intro>p{font-size:10px}.editor-ai-prompts{display:grid;grid-template-columns:1fr}.editor-ai-prompts button{width:100%;text-align:left}.editor-ai-submit{align-items:stretch;flex-direction:column}.editor-ai-submit .btn{width:100%;min-width:0}.editor-analysis-content{grid-template-columns:1fr;padding:16px}.editor-analysis-content>.editor-analysis-summary,.editor-analysis-note{grid-column:1}}
@media(prefers-reduced-motion:no-preference){.editor-analysis-drawer:not([hidden]){animation:editor-assistant-in .18s ease-out both}}@keyframes editor-assistant-in{from{opacity:0;transform:translate(-50%,-48%) scale(.985)}to{opacity:1;transform:translate(-50%,-50%) scale(1)}}

/* Éditeur R65 — le PDF défile dans son lecteur sans allonger toute la page. */
.editor-pdf-stage{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#a9b7ca #e2e8f1;scroll-snap-type:y proximity}
.editor-pdf-stage::-webkit-scrollbar{width:10px}
.editor-pdf-stage::-webkit-scrollbar-track{background:#e2e8f1}
.editor-pdf-stage::-webkit-scrollbar-thumb{border:2px solid #e2e8f1;border-radius:999px;background:#9eacc0}
.editor-pdf-page{scroll-margin-top:16px;scroll-snap-align:start}
@media(min-width:1051px){.editor-screen[data-editor-screen="1"].active{height:clamp(610px,calc(100dvh - 250px),760px);min-height:0;align-items:stretch}.editor-screen[data-editor-screen="1"]>.editor-toolbox,.editor-screen[data-editor-screen="1"]>.editor-document,.editor-screen[data-editor-screen="1"]>.editor-properties{height:100%;min-height:0}.editor-screen[data-editor-screen="1"]>.editor-toolbox,.editor-screen[data-editor-screen="1"]>.editor-properties{overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#c0cada transparent}.editor-screen[data-editor-screen="1"]>.editor-document{display:grid;grid-template-rows:auto auto minmax(0,1fr)}.editor-screen[data-editor-screen="1"] .editor-pdf-stage{height:100%;min-height:0;max-height:none}}
@media(min-width:761px) and (max-width:1050px){.editor-toolbox{max-height:680px;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain}.editor-pdf-stage{min-height:520px;max-height:680px}}

/* Express dans l'éditeur complet : rappel commercial compact, sans modifier le moteur. */
.editor-express-notice{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;gap:16px;align-items:center;margin:0 0 18px;padding:14px 14px 14px 18px;border:1px solid #cbd8ff;border-radius:16px;background:linear-gradient(110deg,#f4f7ff,#fff);box-shadow:0 12px 32px rgba(37,74,174,.08);transition:opacity .22s ease,transform .22s ease}
.editor-express-notice>span{padding:7px 10px;border-radius:999px;background:#e6ecff;color:#214bcc;font-size:8px;font-weight:900;letter-spacing:.1em;text-transform:uppercase}
.editor-express-notice p{margin:0;color:#52627e;font-size:10px;line-height:1.5}
.editor-express-notice b{white-space:nowrap;color:#102246;font-size:12px}
.editor-express-notice.is-dismissing{opacity:0;transform:translateY(8px);pointer-events:none}
.editor-express-notice-close{width:30px;height:30px;display:grid;place-items:center;padding:0;border:0;border-radius:9px;background:transparent;color:#6d7b94;cursor:pointer}.editor-express-notice-close:hover,.editor-express-notice-close:focus-visible{background:#e8eeff;color:#214bcc;outline:none}.editor-express-notice-close:focus-visible{box-shadow:0 0 0 3px rgba(49,92,232,.18)}

/* Signature V2 — repères visuels par intervenant. La couleur encode une attribution,
   elle ne remplace jamais le nom ni le numéro du destinataire. */
.editor-party-button{position:relative;overflow:hidden;border-color:color-mix(in srgb,var(--party-color,#315ce8) 22%,#dce4f1);}
.editor-party-button::before{content:"";position:absolute;inset:0 auto 0 0;width:3px;background:var(--party-color,#315ce8);opacity:.72}
.editor-party-button i{background:var(--party-tint,#edf2ff);color:var(--party-color,#315ce8)}
.editor-party-button.active{border-color:var(--party-color,#315ce8);background:var(--party-tint,#edf2ff);color:var(--party-color,#153fc6);box-shadow:0 0 0 2px color-mix(in srgb,var(--party-color,#315ce8) 14%,transparent)}
.editor-field-overlay{border-color:var(--party-color,#315ce8);background:color-mix(in srgb,var(--party-tint,#edf2ff) 92%,#fff);color:var(--party-color,#2448bc)}
.editor-field-overlay.selected{border-color:var(--party-color,#315ce8);background:color-mix(in srgb,var(--party-tint,#edf2ff) 96%,#fff);box-shadow:0 0 0 3px color-mix(in srgb,var(--party-color,#315ce8) 16%,transparent)}
.editor-field-overlay.primary{border-color:var(--party-color,#153fd0);box-shadow:0 0 0 3px color-mix(in srgb,var(--party-color,#315ce8) 22%,transparent),0 7px 18px rgba(24,60,139,.16)}
.editor-resize-handle{background:var(--party-color,#315ce8)}
.editor-recipient-card{border-color:color-mix(in srgb,var(--party-color,#315ce8) 22%,#dde5f0)}
.editor-recipient-card>header{box-shadow:inset 4px 0 0 var(--party-color,#315ce8)}
.editor-recipient-title{min-width:0}
.editor-recipient-title>i{background:var(--party-tint,#edf2ff)!important;color:var(--party-color,#315ce8)!important}
.editor-recipient-title>span{min-width:0;display:block!important}
.editor-recipient-title strong,.editor-recipient-title small{display:block!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.editor-recipient-title small{max-width:540px;margin-top:2px;color:#7a879b;font-size:8.5px}
.editor-flow-step{border-radius:11px;transition:background .16s ease,color .16s ease}
.editor-flow-step:hover,.editor-flow-step:focus-visible{background:#f4f7ff;outline:none}
.editor-flow-step[aria-current="step"]{color:var(--ink)}
@media(max-width:760px){.editor-recipient-title small{max-width:190px}.editor-party-button::before{width:2px}}
@media(max-width:720px){.editor-express-notice{grid-template-columns:minmax(0,1fr) auto;gap:8px 12px}.editor-express-notice>span,.editor-express-notice b{justify-self:start}.editor-express-notice p{grid-column:1/-1}.editor-express-notice b{grid-column:1}.editor-express-notice-close{grid-column:2;grid-row:1;align-self:start}}

/* Signature V2 R84 — wizard 7 étapes. Le moteur et les contrôles existants restent inchangés. */
.signature-editor{--wizard-blue:#315ce8;--wizard-navy:#102342;--wizard-soft:#f5f8fd;display:flex;min-height:0;flex-direction:column}
.editor-flow-seven{position:sticky;z-index:9;top:0;grid-template-columns:repeat(6,max-content minmax(12px,1fr)) max-content;margin-bottom:14px;padding:10px 14px;border-radius:15px}
.editor-flow-seven>span{min-width:12px;margin:0 7px}
.editor-flow-seven .editor-flow-step{min-width:0;padding:6px 7px}
.editor-flow-seven .editor-flow-step i{width:27px;height:27px;flex:none}
.editor-flow-seven .editor-flow-step span{font-size:9px;white-space:nowrap}
.editor-flow-seven .editor-flow-step small{font-size:7px}
.editor-screen-simple.active{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:14px;min-height:0;align-items:stretch}
.editor-stage-main,.editor-stage-aside{min-height:0;overflow:auto}
.editor-stage-main{padding:clamp(24px,3.4vw,46px)}
.editor-stage-heading{max-width:780px;margin-bottom:28px}
.editor-stage-heading>span,.editor-stage-kicker{display:block;color:var(--wizard-blue);font-size:8.5px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}
.editor-stage-heading h2,.editor-final-stage h2{margin:9px 0 0;color:var(--wizard-navy);font-size:clamp(23px,2.3vw,34px);line-height:1.08;letter-spacing:-.04em}
.editor-stage-heading p,.editor-final-stage>p{max-width:700px;margin:11px 0 0;color:#6a7890;font-size:11px;line-height:1.65}
.editor-stage-aside{padding:30px 27px;background:linear-gradient(145deg,#122a51,#173b70);color:#fff}
.editor-stage-aside>span{display:grid;place-items:center;width:42px;height:42px;border:1px solid rgba(255,255,255,.22);border-radius:13px;background:rgba(255,255,255,.09);font-size:10px;font-weight:900}
.editor-stage-aside h2{margin:24px 0 0;font-size:19px;line-height:1.2;letter-spacing:-.025em}
.editor-stage-aside p{margin:11px 0 0;color:#c8d5e9;font-size:10px;line-height:1.65}
.editor-stage-aside ul{margin:24px 0 0;padding:0;display:grid;gap:12px;list-style:none}
.editor-stage-aside li{position:relative;padding-left:24px;color:#e5edf8;font-size:9px;font-weight:750;line-height:1.4}
.editor-stage-aside li::before{content:"✓";position:absolute;left:0;top:-2px;display:grid;place-items:center;width:17px;height:17px;border-radius:50%;background:#48c6a3;color:#082d28;font-size:8px;font-weight:900}
.editor-stage-aside button{width:100%;min-height:40px;margin-top:9px;border:1px solid rgba(255,255,255,.22);border-radius:10px;background:rgba(255,255,255,.08);color:#fff;font:800 9px/1 var(--font);cursor:pointer}
.editor-stage-aside button:hover,.editor-stage-aside button:focus-visible{background:#fff;color:#173b70;outline:none}
.editor-document-ready{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:15px;align-items:center;padding:19px;border:1px solid #dfe7f3;border-radius:16px;background:#fbfcff}
.editor-document-ready-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:#eaf0ff;color:var(--wizard-blue)}
.editor-document-ready strong,.editor-document-ready small{display:block}.editor-document-ready strong{color:#162844;font-size:13px}.editor-document-ready small{margin-top:5px;color:#7a879a;font-size:9px;line-height:1.45}
.editor-document-ready>a,.editor-source-actions>a{padding:10px 13px;border:1px solid #ced9ec;border-radius:10px;background:#fff;color:#2853ce;font-size:8.5px;font-weight:850;text-decoration:none}
.editor-source-actions{margin-top:18px;padding:15px 17px;display:flex;align-items:center;gap:8px;border:1px dashed #cfdaea;border-radius:14px;background:#f8faff}
.editor-source-actions>span{min-width:200px;margin-right:auto}.editor-source-actions strong,.editor-source-actions small{display:block}.editor-source-actions strong{font-size:9.5px}.editor-source-actions small{margin-top:3px;color:#7a879a;font-size:8px}
.editor-source-actions>a.editor-edit-source{border-color:#315ce8;background:#315ce8;color:#fff;box-shadow:0 8px 20px rgba(49,92,232,.18)}
.product-signature .ai-console-flow.has-draft.is-source-edit{grid-template-columns:minmax(0,1fr)}.ai-console-flow.is-source-edit .ai-draft-panel{grid-column:1}.editable-source-reset{margin:18px 0 0;padding:15px 17px;display:flex;align-items:flex-start;gap:12px;border:1px solid #e8c86d;border-radius:14px;background:#fff9e8;color:#463811}.editable-source-reset input{width:18px;height:18px;margin-top:1px;accent-color:#315ce8}.editable-source-reset span,.editable-source-reset strong,.editable-source-reset small{display:block}.editable-source-reset strong{font-size:10px}.editable-source-reset small{margin-top:4px;color:#75643a;font-size:8.5px;line-height:1.5}
.editor-screen[data-editor-screen="1"] .editor-envelope{margin-top:17px}
.editor-screen[data-editor-screen="2"]{grid-template-columns:minmax(0,1fr) 280px}
.editor-screen[data-editor-screen="2"] .editor-form-main{overflow:auto}
.editor-screen[data-editor-screen="3"]{grid-template-columns:210px minmax(520px,1fr) 255px}
.editor-security-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:20px}
.editor-security-grid>.field{min-height:154px;padding:18px;border:1px solid #dfe7f3;border-radius:15px;background:#fbfcff;align-content:start}
.editor-security-grid>.field>small{margin-top:9px;color:#7b889c;font-size:8px;line-height:1.5}
.editor-document-profile{display:block;margin-top:18px;padding:16px 18px;border:1px solid #d9e4f7;border-radius:15px;background:linear-gradient(135deg,#f8fbff,#f2f6ff)}
.editor-document-profile>span,.editor-document-profile>small{display:block}.editor-document-profile>span{margin-bottom:8px;color:#152746;font-size:10px;font-weight:850}.editor-document-profile>span em{color:#8290a5;font-size:8px;font-style:normal;font-weight:650}.editor-document-profile>small{margin-top:8px;color:#6f7e95;font-size:8.5px;line-height:1.5}
.editor-security-grid>[data-identity-method][hidden]{display:none}
.editor-security-summary{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;margin-top:14px;padding:13px 15px;border:1px solid #bfe3d9;border-radius:13px;background:#f2fbf8;color:#1a6b58}
.editor-security-summary strong,.editor-security-summary span,.editor-security-summary b{display:block}.editor-security-summary strong{font-size:10px}.editor-security-summary span{color:#52677b;font-size:9px}.editor-security-summary b{font-size:8px;text-transform:uppercase;letter-spacing:.04em}.editor-security-summary.is-warning{border-color:#f0d18a;background:#fff9e9;color:#8a5c00}
.editor-screen[data-editor-screen="4"] .editor-stage-main{padding:28px 34px}.editor-screen[data-editor-screen="4"] .editor-stage-heading{margin-bottom:15px}.editor-screen[data-editor-screen="4"] .editor-delivery{margin:12px 0}.editor-screen[data-editor-screen="4"] .editor-document-profile{margin-top:12px;padding:13px 15px}.editor-screen[data-editor-screen="4"] .editor-security-grid{margin-top:12px}.editor-screen[data-editor-screen="4"] .editor-security-grid>.field{min-height:137px;padding:15px}.editor-screen[data-editor-screen="4"] .editor-security-summary{margin-top:10px;padding:11px 13px}
.editor-options-primary{padding:0!important;margin:0 0 17px}
.editor-invite-field{margin-top:14px}
.editor-option-group{margin-top:13px;border:1px solid #dee6f2;border-radius:14px;background:#fbfcff;overflow:hidden}
.editor-option-group>summary{min-height:70px;padding:14px 17px;display:flex;align-items:center;justify-content:space-between;gap:14px;list-style:none;cursor:pointer}
.editor-option-group>summary::-webkit-details-marker{display:none}.editor-option-group>summary span,.editor-option-group>summary strong,.editor-option-group>summary small{display:block}.editor-option-group>summary strong{font-size:10px}.editor-option-group>summary small{margin-top:4px;color:#7b889c;font-size:8.5px}.editor-option-group>summary b{color:#315ce8;font-size:8px;text-transform:uppercase;letter-spacing:.08em}
.editor-option-group[open]>summary{border-bottom:1px solid #e2e8f1;background:#f5f8ff}.editor-option-group>.editor-options-grid{padding:17px}.editor-option-group>.editor-template-save{margin:0;padding:17px;border:0;border-radius:0}
.editor-circuit-options{align-items:stretch}.editor-option-check{min-height:104px;margin:0!important;padding:15px!important;display:flex!important;align-items:flex-start!important;gap:11px!important;border:1px solid #dfe7f3;border-radius:13px;background:#fff}.editor-option-check:has(input:checked){border-color:#aabcf3;background:#f4f7ff;box-shadow:0 0 0 2px rgba(49,92,232,.07)}.editor-option-check input{flex:none;margin-top:2px}.editor-option-check>span{min-width:0}.editor-option-check strong,.editor-option-check small{display:block}.editor-option-check strong{color:#172a48;font-size:9.5px}.editor-option-check small,.editor-watermark-option>small{margin-top:5px;color:#74839a;font-size:8px;line-height:1.5}.editor-watermark-option{min-height:104px;padding:15px;border:1px solid #dfe7f3;border-radius:13px;background:#fff}.editor-watermark-option>span{margin-bottom:7px}
.editor-retention-note{margin-top:16px;padding:13px 15px;display:flex;align-items:flex-start;gap:10px;border-radius:12px;background:#f1f5fb;color:#52627b}.editor-retention-note svg{flex:none;color:#315ce8}.editor-retention-note strong,.editor-retention-note small{display:block}.editor-retention-note strong{font-size:9px}.editor-retention-note small{margin-top:3px;font-size:8px;line-height:1.5}
.editor-review-list,.editor-final-review{display:grid;gap:10px}
.editor-review-row{min-height:70px;padding:12px 14px;display:grid;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:12px;border:1px solid #e0e7f1;border-radius:13px;background:#fbfcff}
.editor-review-row>i{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#e7f8f2;color:#138067;font-style:normal;font-size:10px;font-weight:900}
.editor-review-row.is-warning{border-color:#edd58f;background:#fffaf0}.editor-review-row.is-warning>i{background:#fff0bf;color:#9b6b00}.editor-review-row.is-warning>button{border-color:#e6c86c;color:#805b00;background:#fffdf7}
.editor-review-row strong,.editor-review-row small{display:block}.editor-review-row strong{color:#182a46;font-size:10px}.editor-review-row small{margin-top:4px;color:#738199;font-size:8.5px;line-height:1.45}
.editor-review-row>button{min-height:32px;padding:0 11px;border:1px solid #d1dced;border-radius:9px;background:#fff;color:#3155c4;font:800 8px/1 var(--font);cursor:pointer}
.editor-final-stage{text-align:center}.editor-final-stage>p{margin-right:auto;margin-left:auto}.editor-final-icon{display:grid;place-items:center;width:64px;height:64px;margin:0 auto 18px;border-radius:19px;background:#eaf0ff;color:#315ce8}.editor-final-stage .editor-stage-kicker{text-align:center}.editor-final-review{max-width:760px;margin:28px auto 0;text-align:left}.editor-final-stage .editor-send-feedback{max-width:760px;margin:18px auto 0;text-align:left}.editor-final-stage .editor-legal{max-width:720px;margin:17px auto 0;color:#7b8799;font-size:8px;line-height:1.55}
.signature-editor>.editor-footer{margin-top:12px;flex:none}
.signature-editor>.editor-sender:not([open]){display:none}
.signature-editor>.editor-sender[open]:not([hidden]){position:fixed;z-index:70;top:50%;left:50%;width:min(900px,calc(100vw - 48px));max-height:calc(100dvh - 70px);margin:0;overflow:auto;transform:translate(-50%,-50%);border-color:#cbd7ea;box-shadow:0 32px 100px rgba(10,28,63,.38)}
.signature-editor>.editor-sender[open]>summary{position:sticky;z-index:2;top:0;background:#fff;cursor:pointer}.signature-editor>.editor-sender[open]>summary::after{content:"Fermer ×";margin-left:auto;padding-left:14px;color:#3155ca;font-size:8px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}
@media(min-width:1051px){.signature-editor>.editor-screen.active{height:clamp(560px,calc(100dvh - 270px),730px)}.signature-editor>.editor-screen[data-editor-screen="3"].active{height:clamp(620px,calc(100dvh - 250px),780px);align-items:stretch}.signature-editor>.editor-screen[data-editor-screen="3"]>.editor-toolbox,.signature-editor>.editor-screen[data-editor-screen="3"]>.editor-document,.signature-editor>.editor-screen[data-editor-screen="3"]>.editor-properties{height:100%;min-height:0}.signature-editor>.editor-screen[data-editor-screen="3"]>.editor-toolbox,.signature-editor>.editor-screen[data-editor-screen="3"]>.editor-properties{overflow-x:hidden;overflow-y:auto}.signature-editor>.editor-screen[data-editor-screen="3"]>.editor-document{display:grid;grid-template-rows:auto auto minmax(0,1fr)}.signature-editor>.editor-screen[data-editor-screen="3"] .editor-pdf-stage{height:100%;min-height:0;max-height:none}}
@media(max-width:1180px){.editor-flow-seven .editor-flow-step span{display:none}.editor-flow-seven{grid-template-columns:repeat(6,29px minmax(8px,1fr)) 29px;justify-content:center}.editor-flow-seven .editor-flow-step{padding:2px}.editor-security-grid{grid-template-columns:1fr}.editor-security-grid>.field{min-height:0}.editor-security-summary{grid-template-columns:1fr}.editor-security-summary b{justify-self:start}}
@media(max-width:900px){.editor-screen-simple.active,.editor-screen[data-editor-screen="2"]{grid-template-columns:1fr}.editor-stage-aside{display:none}.editor-stage-main{padding:24px}.editor-screen[data-editor-screen="3"]{grid-template-columns:180px minmax(440px,1fr)}.editor-screen[data-editor-screen="3"]>.editor-properties{grid-column:1/-1}.editor-source-actions{align-items:stretch;flex-direction:column}.editor-source-actions>span{min-width:0;margin:0 0 4px}.editor-source-actions>a{text-align:center}}
@media(max-width:760px){.editor-flow-seven{position:static;grid-template-columns:repeat(7,1fr);gap:4px;padding:8px}.editor-flow-seven>span{display:none}.editor-flow-seven .editor-flow-step{justify-content:center}.editor-flow-seven .editor-flow-step i{width:29px;height:29px}.editor-screen[data-editor-screen="3"]{grid-template-columns:1fr}.editor-document-ready{grid-template-columns:auto minmax(0,1fr)}.editor-document-ready>a{grid-column:1/-1;text-align:center}.editor-stage-main{padding:20px 17px}.editor-stage-heading{margin-bottom:20px}.editor-stage-heading h2,.editor-final-stage h2{font-size:24px}.editor-review-row{grid-template-columns:28px minmax(0,1fr)}.editor-review-row>button{grid-column:2;justify-self:start}.editor-security-grid{grid-template-columns:1fr}.editor-option-group>.editor-template-save{grid-template-columns:1fr}.signature-editor>.editor-screen.active{height:auto}.signature-editor>.editor-footer{bottom:0;margin-right:-4px;margin-left:-4px;border-radius:14px 14px 0 0}}

/* Signature wizard: concise help remains collapsed to preserve the seven-step flow. */
.editor-context-help{margin:16px 0 0;border:1px solid #dfe7f5;border-radius:14px;background:#f8faff}
.editor-context-help>summary{padding:12px 14px;display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;color:#173260;font-size:10px;font-weight:850;list-style:none}
.editor-context-help>summary::-webkit-details-marker{display:none}
.editor-context-help>summary::after{content:'+';display:grid;place-items:center;flex:0 0 auto;width:22px;height:22px;border-radius:8px;background:#e8efff;color:var(--blue);font-size:15px;line-height:1}
.editor-context-help[open]>summary::after{content:'−'}
.editor-context-help>div{padding:0 14px 14px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.editor-context-help>div span{padding:10px 11px;border:1px solid #e4eaf4;border-radius:11px;background:#fff;color:#52627c;font-size:9px;line-height:1.45}
.editor-context-help>div b{display:block;margin-bottom:3px;color:#142747;font-size:9px}
.editor-context-help-toolbox{margin:0 12px 12px}
.editor-context-help-toolbox>div{grid-template-columns:1fr}
.editor-context-help:focus-within{border-color:#9eb5f2;box-shadow:0 0 0 3px rgba(49,94,234,.09)}
@media(max-width:700px){.editor-context-help>div{grid-template-columns:1fr}}

/* Signature — empreinte finale fidèle et outils contextuels allégés. */
.editor-party-picker>div{display:block}
.editor-party-select{width:100%;height:42px;padding:0 34px 0 12px;border:1px solid color-mix(in srgb,var(--party-color,#315ce8) 32%,#d8e1ef);border-radius:11px;background:var(--party-tint,#edf2ff);color:var(--party-color,#183fbc);font:800 9px/1 var(--font);outline:none;cursor:pointer}
.editor-party-select:focus{border-color:var(--party-color,#315ce8);box-shadow:0 0 0 3px color-mix(in srgb,var(--party-color,#315ce8) 14%,transparent)}
.editor-toolbox-more{margin:0 12px 12px;border:1px solid #dfe7f3;border-radius:12px;background:#fbfcff}
.editor-toolbox-more>summary{min-height:40px;padding:0 12px;display:flex;align-items:center;justify-content:space-between;color:#29456f;font-size:8.5px;font-weight:850;list-style:none;cursor:pointer}
.editor-toolbox-more>summary::-webkit-details-marker{display:none}.editor-toolbox-more>summary::after{content:'+';color:#315ce8;font-size:14px}.editor-toolbox-more[open]>summary::after{content:'−'}
.editor-toolbox-more>div{padding:0 8px 8px;display:grid;gap:5px}
.editor-toolbox-more button{min-height:34px;padding:0 9px;text-align:left;border:1px solid #dce5f1;border-radius:9px;background:#fff;color:#40516b;font:750 8px/1.2 var(--font);cursor:pointer}
.editor-toolbox-more button:hover,.editor-toolbox-more button:focus-visible{border-color:#9db2ee;background:#f2f6ff;color:#244dcc;outline:none}
.editor-analysis-state{padding:0 14px 13px;color:#73819a;font-size:8px;line-height:1.45}
.editor-analysis-state p{margin:3px 0}.editor-analysis-state [data-suggestion-list]:not([hidden]){margin-top:8px}
.editor-smart-tools{padding-left:7px;border-left:1px solid #dce4ef}
.editor-smart-tools button:first-child{border-color:#aebff2;background:#f4f7ff;color:#254fcf}
.editor-smart-tools svg{flex:none}
.editor-edit-source-compact{min-height:31px;padding:0 10px;display:inline-flex;align-items:center;border-radius:8px!important;font-size:8.5px!important}

/* Le bouton occupe exactement le rectangle enregistré. Le libellé et les
   poignées restent hors de l'empreinte visuelle finale. */
.editor-field-overlay{min-width:0;min-height:0;padding:0;overflow:visible;border:0;background:transparent!important;color:var(--party-color,#2448bc)}
.editor-field-overlay::before{content:'';position:absolute;inset:-3px;border:1.5px dashed var(--party-color,#315ce8);border-radius:5px;background:transparent;pointer-events:none}
.editor-field-overlay>.editor-field-final-preview{position:absolute;inset:0;box-sizing:border-box;display:flex;align-items:center;justify-content:center;max-width:none;overflow:hidden;padding:2px 4px;border:1px solid color-mix(in srgb,var(--party-color,#315ce8) 26%,#d8e1ee);border-radius:3px;background:rgba(255,255,255,.82);color:#1c2a40;font:600 clamp(6px,.62vw,9px)/1.1 Arial,sans-serif;text-overflow:ellipsis;white-space:nowrap;pointer-events:none}
.editor-field-overlay[data-field-type="signature"] .editor-field-final-preview{justify-content:flex-start;padding-left:8%;color:#17253b;font-family:"Segoe Script","Brush Script MT",cursive;font-size:clamp(7px,.88vw,13px);font-style:italic}
.editor-field-overlay[data-field-type="signature"] .editor-field-final-preview::after{content:'';position:absolute;right:8%;bottom:20%;left:8%;height:1px;background:color-mix(in srgb,var(--party-color,#315ce8) 45%,transparent)}
.editor-field-overlay[data-field-type="initials"] .editor-field-final-preview{font-weight:850;letter-spacing:.04em}
.editor-field-overlay[data-field-type="checkbox"] .editor-field-final-preview{padding:0;font-size:clamp(7px,1vw,14px);font-weight:900}
.editor-field-overlay>.editor-field-tag{position:absolute;z-index:3;left:-4px;bottom:calc(100% + 7px);min-width:max-content;max-width:230px;padding:5px 7px;display:none;border-radius:7px;background:var(--party-color,#315ce8);color:#fff;text-align:left;box-shadow:0 7px 18px rgba(18,42,88,.2);pointer-events:none}
.editor-field-tag b,.editor-field-tag small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.editor-field-tag b{font-size:7.5px}.editor-field-tag small{margin-top:2px;color:rgba(255,255,255,.78);font-size:6.5px;font-weight:650}
.editor-field-overlay.selected::before{border-style:solid;box-shadow:0 0 0 3px color-mix(in srgb,var(--party-color,#315ce8) 16%,transparent)}
.editor-field-overlay.primary::before{border-width:2px;box-shadow:0 0 0 3px color-mix(in srgb,var(--party-color,#315ce8) 22%,transparent),0 7px 18px rgba(24,60,139,.16)}
.editor-field-overlay.primary>.editor-field-tag{display:block}
.editor-field-overlay.selected,.editor-field-overlay.primary{border:0;box-shadow:none!important}
.editor-resize-handle{z-index:4;right:-7px;bottom:-7px;width:12px;height:12px}

@media(max-width:1440px){.editor-screen[data-editor-screen="3"]{grid-template-columns:170px minmax(390px,1fr) 220px}.editor-smart-tools{order:5;width:100%;padding:6px 0 0;border-top:1px solid #e3e9f2;border-left:0}.editor-selection-status{order:6}}
@media(max-width:760px){.editor-party-picker>div{display:block}.editor-smart-tools{display:grid!important;grid-template-columns:1fr 1fr}.editor-smart-tools button{width:100%}.editor-field-overlay>.editor-field-tag{bottom:calc(100% + 6px);max-width:190px}.editor-edit-source-compact{width:auto!important}}

/* Le panneau tarifaire bascule sous le wizard avant que les trois colonnes ne débordent. */
@media(max-width:1500px) and (min-width:861px){
  .express-shell{grid-template-columns:220px minmax(0,1fr)}
  .express-price{grid-column:1/-1;position:static;display:grid;grid-template-columns:280px minmax(0,1fr)}
  .express-price-top{min-height:auto}
  .express-price-body{display:grid;grid-template-columns:180px minmax(0,1fr);gap:0 25px}
  .express-workspace.has-draft{min-height:520px}
}

/* Express invité : parcours plein écran, sans exposer le panel d'un compte inexistant. */
.express-guest-mode .app{display:block}
.express-guest-mode .sidebar,.express-guest-mode .scrim,.express-guest-mode .topbar .search,.express-guest-mode .topbar>a.icon-btn,.express-guest-mode .top-avatar{display:none!important}
.express-guest-mode .shell{width:100%}
.express-guest-mode .topbar{height:72px;padding:0 30px;border-bottom-color:#e3e9f3;background:rgba(255,255,255,.94)}
.express-guest-mode .topbar .page-title strong{font-size:15px}
.express-guest-mode .topbar .page-title small{font-size:9px}
.express-guest-mode .content{width:min(1660px,100%);padding-top:24px}
.express-guest-mode .mobile-menu{display:none!important}

/* Signature R96 — éditeur immersif validé, borné à la page d'édition. */
body.immersive-signature-editor{overflow:hidden;background:#f3f6fb}
body.immersive-signature-editor .app{display:block;min-height:100dvh}
body.immersive-signature-editor .sidebar,body.immersive-signature-editor .scrim,body.immersive-signature-editor .shell>.topbar,body.immersive-signature-editor .client-migration-banner{display:none!important}
body.immersive-signature-editor .shell{width:100%;min-height:100dvh}
body.immersive-signature-editor .content{width:100%;max-width:none;min-height:100dvh;padding:0}
body.immersive-signature-editor .content>.view{width:100%;height:100dvh;margin:0;padding:0;animation:none;transform:none}
body.immersive-signature-editor .content>.view>.view-head{display:none!important}
body.immersive-signature-editor [hidden]{display:none!important}
/* Une confirmation ne doit jamais pousser l'editeur plein ecran sous le viewport. */
body.immersive-signature-editor .console-flash{display:none!important}
body.immersive-signature-editor .content>.view>.notice-card{position:fixed;right:22px;bottom:88px;z-index:140;width:min(430px,calc(100vw - 44px));margin:0;padding:14px 16px;border-radius:15px;box-shadow:0 18px 48px rgba(16,35,66,.2);pointer-events:none;animation:immersiveNoticeIn .22s ease both}
body.immersive-signature-editor .content>.view>.notice-card.notice-success.is-dismissing{opacity:0;transform:translateY(8px);transition:opacity .18s ease,transform .18s ease}
@media(prefers-reduced-motion:reduce){body.immersive-signature-editor .content>.view>.notice-card{animation:none}body.immersive-signature-editor .content>.view>.notice-card.notice-success.is-dismissing{transition:none}}
@keyframes immersiveNoticeIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
body.immersive-signature-editor .signature-editor{position:relative;width:100%;height:100dvh;margin:0;display:grid;grid-template-rows:68px 64px minmax(0,1fr) 72px;overflow:hidden;background:#f3f6fb;color:#102342}
.editor-immersive-topbar{grid-row:1;min-width:0;padding:0 22px;display:grid;grid-template-columns:auto auto minmax(180px,1fr) auto;align-items:center;gap:18px;border-bottom:1px solid #e0e6ef;background:#fff;box-shadow:0 2px 14px rgba(15,36,70,.035)}
.editor-immersive-back{display:grid;place-items:center;width:36px;height:36px;border:1px solid #dfe6f0;border-radius:11px;background:#fff;color:#1f3558;text-decoration:none;font-size:18px;transition:.16s ease}.editor-immersive-back:hover,.editor-immersive-back:focus-visible{border-color:#9eb3ef;background:#f2f6ff;color:#315ce8;outline:none}
.editor-immersive-brand{display:flex;align-items:center;gap:10px}.editor-immersive-brand>i{display:grid;place-items:center;width:36px;height:36px;border-radius:11px;background:#315ce8;color:#fff;font-size:14px;font-style:normal;font-weight:900;box-shadow:0 9px 24px rgba(49,92,232,.22)}
.editor-immersive-brand span,.editor-immersive-brand strong,.editor-immersive-brand small,.editor-immersive-title strong,.editor-immersive-title small{display:block}.editor-immersive-brand strong{font-size:11px;letter-spacing:-.01em}.editor-immersive-brand small{margin-top:2px;color:#7d8ba1;font-size:7.5px;text-transform:uppercase;letter-spacing:.08em}
.editor-immersive-title{min-width:0;padding-left:18px;border-left:1px solid #e4e9f1}.editor-immersive-title strong,.editor-immersive-title small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.editor-immersive-title strong{font-size:11px}.editor-immersive-title small{margin-top:3px;color:#73839b;font-size:8px}
.editor-immersive-actions{display:flex;align-items:center;gap:14px}.editor-immersive-actions span{display:flex;align-items:center;gap:7px;color:#697991;font-size:8.5px}.editor-immersive-actions span i{width:7px;height:7px;border-radius:50%;background:#22a782;box-shadow:0 0 0 4px #e6f7f1}.editor-immersive-actions a{min-height:34px;padding:0 13px;display:inline-flex;align-items:center;border:1px solid #dce4ef;border-radius:10px;background:#fff;color:#2b4369;text-decoration:none;font-size:8.5px;font-weight:850}
body.immersive-signature-editor .editor-flow-ten{grid-row:2;position:static;z-index:6;margin:0;padding:8px 18px;display:flex;align-items:center;gap:4px;overflow-x:auto;border:0;border-bottom:1px solid #e1e7f0;border-radius:0;background:rgba(255,255,255,.97);box-shadow:none;scrollbar-width:none}body.immersive-signature-editor .editor-flow-ten::-webkit-scrollbar{display:none}
body.immersive-signature-editor .editor-flow-ten>span{min-width:10px;flex:1 1 22px;height:1px;margin:0 2px;background:#dfe5ef}body.immersive-signature-editor .editor-flow-ten .editor-flow-step{min-width:72px;padding:5px 6px;flex:0 0 auto;gap:7px;border-radius:10px}body.immersive-signature-editor .editor-flow-ten .editor-flow-step i{width:25px;height:25px;font-size:8px}body.immersive-signature-editor .editor-flow-ten .editor-flow-step span{font-size:8px;white-space:nowrap}body.immersive-signature-editor .editor-flow-ten .editor-flow-step small{font-size:6.6px}
body.immersive-signature-editor .signature-editor>.editor-screen.active{grid-row:3;width:100%;height:100%;min-height:0;margin:0;padding:18px clamp(18px,3vw,46px);overflow:hidden}
body.immersive-signature-editor .editor-screen-simple.active{grid-template-columns:minmax(0,1fr) 270px;gap:16px;align-items:stretch}body.immersive-signature-editor .editor-screen-simple>.panel{height:100%;min-height:0;border:1px solid #dfe6ef;border-radius:18px;box-shadow:0 14px 40px rgba(21,42,78,.07)}
body.immersive-signature-editor .editor-screen-simple .editor-stage-main,body.immersive-signature-editor .editor-screen[data-editor-screen="2"] .editor-form-main{padding:clamp(24px,3vw,42px);overflow:auto;scrollbar-width:thin;scrollbar-color:#bbc7d7 transparent}
body.immersive-signature-editor .editor-screen[data-editor-screen="2"].active{grid-template-columns:minmax(0,1fr) 270px;gap:16px;align-items:stretch}body.immersive-signature-editor .editor-screen[data-editor-screen="2"]>.panel{height:100%;min-height:0;border-radius:18px}body.immersive-signature-editor .editor-stage-heading h2{font-size:clamp(26px,2.4vw,38px)}body.immersive-signature-editor .editor-stage-heading p{font-size:10px}
/* Signature R97 — échelle typographique de la maquette validée. */
body.immersive-signature-editor .signature-editor{font-family:"Segoe UI Variable Text","Segoe UI",system-ui,sans-serif;font-size:15px}
body.immersive-signature-editor .editor-immersive-brand strong{font:730 15px/1.1 var(--display);letter-spacing:-.025em}
body.immersive-signature-editor .editor-immersive-brand small{font-size:10px}
body.immersive-signature-editor .editor-immersive-title strong{font:720 14px/1.15 var(--display)}
body.immersive-signature-editor .editor-immersive-title small{font-size:10.5px}
body.immersive-signature-editor .editor-immersive-actions span,body.immersive-signature-editor .editor-immersive-actions a{font-size:11.5px}
body.immersive-signature-editor .editor-flow-ten .editor-flow-step{min-width:82px;gap:8px}
body.immersive-signature-editor .editor-flow-ten .editor-flow-step i{width:28px;height:28px;font-size:10px}
body.immersive-signature-editor .editor-flow-ten .editor-flow-step span{font-size:10.5px;font-weight:760}
body.immersive-signature-editor .editor-flow-ten .editor-flow-step small{font-size:8.5px;line-height:1.25}
body.immersive-signature-editor .editor-stage-heading>span,body.immersive-signature-editor .editor-section-head>span{font-size:11px;letter-spacing:.12em}
body.immersive-signature-editor .editor-stage-heading h2,body.immersive-signature-editor .editor-section-head h2{font:740 clamp(32px,3vw,46px)/1.06 var(--display);letter-spacing:-.045em}
body.immersive-signature-editor .editor-stage-heading p,body.immersive-signature-editor .editor-section-head p{max-width:760px;font-size:15px;line-height:1.6}
body.immersive-signature-editor .editor-section-head{padding:34px 36px 27px}
body.immersive-signature-editor .editor-section-head h2{margin:9px 0 8px}
body.immersive-signature-editor .editor-recipient-list{gap:16px;padding:22px 36px 16px}
body.immersive-signature-editor .editor-recipient-card>header{min-height:60px;padding:0 18px}
body.immersive-signature-editor .editor-recipient-card>header i{width:32px;height:32px;font-size:12px}
body.immersive-signature-editor .editor-recipient-card>header strong{font:720 14px/1.2 var(--display)}
body.immersive-signature-editor .editor-recipient-title small{font-size:11.5px;color:#74839a}
body.immersive-signature-editor .editor-row-remove{font-size:11.5px}
body.immersive-signature-editor .editor-recipient-grid{gap:15px;padding:18px}
body.immersive-signature-editor .editor-recipient-grid .field span,body.immersive-signature-editor .editor-contact-picker>label{font-size:12px}
body.immersive-signature-editor .editor-recipient-grid .field input,body.immersive-signature-editor .editor-recipient-grid .field select,body.immersive-signature-editor .editor-contact-picker>input{height:46px;font-size:14px}
body.immersive-signature-editor .editor-contact-results{top:72px;padding:8px}
body.immersive-signature-editor .editor-contact-results button{padding:12px 13px}
body.immersive-signature-editor .editor-contact-results strong{font-size:13.5px}
body.immersive-signature-editor .editor-contact-results small,body.immersive-signature-editor .editor-contact-empty{font-size:11.5px}
body.immersive-signature-editor .editor-explain h2,body.immersive-signature-editor .editor-summary h2{font:720 20px/1.2 var(--display)}
body.immersive-signature-editor .editor-explain b{font-size:13px}
body.immersive-signature-editor .editor-explain span{font-size:11.5px}
body.immersive-signature-editor .editor-route-mode button{font-size:12px}
body.immersive-signature-editor .editor-route-row strong{font-size:13px}
body.immersive-signature-editor .editor-route-row small{font-size:11px}
body.immersive-signature-editor .editor-route-lock,body.immersive-signature-editor .editor-workflow-apply>a{font-size:11px}
body.immersive-signature-editor .editor-security-grid>.field>span,body.immersive-signature-editor .editor-options-grid .field>span{font-size:12px}
body.immersive-signature-editor .editor-security-grid>.field>small{font-size:11px}
body.immersive-signature-editor .editor-security-summary strong{font-size:13px}
body.immersive-signature-editor .editor-security-summary span{font-size:11.5px}
body.immersive-signature-editor .editor-security-summary b{font-size:10px}
body.immersive-signature-editor .editor-review-row strong{font-size:13px}
body.immersive-signature-editor .editor-review-row small{font-size:11.5px}
body.immersive-signature-editor .editor-review-row>button{font-size:10.5px}
body.immersive-signature-editor .editor-screen-simple .field>span,body.immersive-signature-editor .editor-screen[data-editor-screen="5"] .field>span{font-size:12.5px;font-weight:760}
body.immersive-signature-editor .editor-screen-simple .field>small,body.immersive-signature-editor .editor-screen[data-editor-screen="5"] .field>small{font-size:11.5px;line-height:1.5}
body.immersive-signature-editor .editor-screen-simple .field input,body.immersive-signature-editor .editor-screen-simple .field select,body.immersive-signature-editor .editor-screen-simple .field textarea{font-size:14px}
body.immersive-signature-editor .editor-option-group>summary strong{font:720 14px/1.2 var(--display)}
body.immersive-signature-editor .editor-option-group>summary small{font-size:11.5px;line-height:1.45}
body.immersive-signature-editor .editor-option-group>summary b{font-size:10.5px}
body.immersive-signature-editor .editor-option-check strong{font-size:13px;line-height:1.3}
body.immersive-signature-editor .editor-option-check small,body.immersive-signature-editor .editor-watermark-option>small{font-size:11.5px;line-height:1.5}
body.immersive-signature-editor .editor-template-save strong{font-size:13px}
body.immersive-signature-editor .editor-template-save small{font-size:11.5px}
body.immersive-signature-editor .editor-context-help>summary{font-size:13px}
body.immersive-signature-editor .editor-context-help>div span{font-size:11.5px;line-height:1.5}
body.immersive-signature-editor .editor-context-help>div b{font-size:12.5px}
body.immersive-signature-editor .editor-retention-note strong{font-size:13px}
body.immersive-signature-editor .editor-retention-note small{font-size:11.5px;line-height:1.5}
body.immersive-signature-editor .editor-delivery strong{font-size:13px}
body.immersive-signature-editor .editor-delivery small{font-size:11.5px}
body.immersive-signature-editor .editor-delivery b{font-size:10.5px}
body.immersive-signature-editor .editor-save-state{font-size:11.5px}
body.immersive-signature-editor .signature-editor>.editor-footer .btn{font-size:13px}
body.immersive-signature-editor a.editor-edit-source-compact{min-height:38px;padding:0 14px;border:1px solid #315ce8!important;background:#315ce8;color:#fff;font-size:12px!important;font-weight:800;text-decoration:none;box-shadow:0 8px 20px rgba(49,92,232,.18)}
body.immersive-signature-editor a.editor-edit-source-compact:hover,body.immersive-signature-editor a.editor-edit-source-compact:focus-visible{background:#244dd3;color:#fff;outline:3px solid rgba(49,92,232,.18);outline-offset:2px}
body.immersive-signature-editor .editor-footer .editor-footer-source{border-color:#315ce8;background:#eef3ff;color:#234fce;font-weight:800}
/* L'étape Champs est la seule vue dense : trois colonnes et un lecteur autonome. */
body.immersive-signature-editor .editor-screen[data-editor-screen="3"].active{grid-template-columns:220px minmax(520px,1fr) 270px;gap:12px;padding:12px 16px;align-items:stretch}body.immersive-signature-editor .editor-screen[data-editor-screen="3"]>.panel{height:100%;min-height:0;border-radius:14px}body.immersive-signature-editor .editor-screen[data-editor-screen="3"]>.editor-toolbox,body.immersive-signature-editor .editor-screen[data-editor-screen="3"]>.editor-properties{overflow-x:hidden;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#b7c4d6 transparent}body.immersive-signature-editor .editor-screen[data-editor-screen="3"]>.editor-document{display:grid;grid-template-rows:auto auto minmax(0,1fr);overflow:hidden}body.immersive-signature-editor .editor-screen[data-editor-screen="3"] .editor-pdf-stage{height:100%;min-height:0;max-height:none;padding:20px;overflow:auto}body.immersive-signature-editor .editor-toolbox>header,body.immersive-signature-editor .editor-properties>header{position:sticky;z-index:3;top:0;background:#fff}
.editor-route-mode{max-width:530px;margin:0 0 20px;padding:4px;display:grid;grid-template-columns:1fr 1fr;border:1px solid #dfe6f0;border-radius:12px;background:#f4f7fb}.editor-route-mode button{min-height:40px;border:0;border-radius:9px;background:transparent;color:#687991;font:800 9px/1 var(--font);cursor:pointer}.editor-route-mode button.active{background:#fff;color:#234fce;box-shadow:0 5px 15px rgba(20,43,84,.09)}
.editor-route-preview{display:grid;gap:9px}.editor-route-row{min-height:66px;padding:10px 12px;display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:12px;border:1px solid color-mix(in srgb,var(--party-color,#315ce8) 22%,#dfe6f0);border-radius:13px;background:#fff;box-shadow:inset 3px 0 0 var(--party-color,#315ce8)}.editor-route-row>i{display:grid;place-items:center;width:31px;height:31px;border-radius:9px;background:var(--party-tint,#edf2ff);color:var(--party-color,#315ce8);font-size:9px;font-style:normal;font-weight:900}.editor-route-row>span,.editor-route-row strong,.editor-route-row small{display:block;min-width:0}.editor-route-row strong{font-size:10px}.editor-route-row small{margin-top:4px;overflow:hidden;color:#75849a;font-size:8px;text-overflow:ellipsis;white-space:nowrap}.editor-route-row>div{display:flex;gap:5px}.editor-route-row button{width:32px;height:32px;border:1px solid #dce4ef;border-radius:9px;background:#fff;color:#3155c9;font-weight:900;cursor:pointer}.editor-route-row button:disabled{cursor:not-allowed;opacity:.35}.editor-route-lock{margin:3px 0 0;padding:10px 12px;border-radius:10px;background:#fff7df;color:#795b14;font-size:8px;line-height:1.5}
.editor-workflow-apply{margin-top:18px;padding:15px;display:grid;grid-template-columns:minmax(240px,1fr) auto auto;align-items:end;gap:10px;border:1px solid #e0e7f1;border-radius:14px;background:#f9fbfe}.editor-workflow-apply>a{min-height:39px;display:flex;align-items:center;color:#3155c9;font-size:8.5px;font-weight:800;text-decoration:none}
body.immersive-signature-editor .signature-editor>.editor-footer{grid-row:4;position:static;z-index:12;margin:0;padding:11px 22px;border:0;border-top:1px solid #dfe6ef;border-radius:0;background:#fff;box-shadow:0 -8px 24px rgba(20,42,78,.06)}body.immersive-signature-editor .signature-editor>.editor-footer .btn{min-height:42px}
body.immersive-signature-editor .editor-express-notice{position:fixed;z-index:30;right:20px;bottom:82px;width:min(520px,calc(100vw - 40px));margin:0;padding:10px 13px;border-radius:12px;box-shadow:0 18px 50px rgba(21,42,78,.16)}body.immersive-signature-editor .signature-editor>.editor-sender[open]:not([hidden]){grid-row:auto}
@media(max-width:1180px){body.immersive-signature-editor .editor-flow-ten .editor-flow-step span{display:none}body.immersive-signature-editor .editor-flow-ten .editor-flow-step{min-width:30px;padding:4px}body.immersive-signature-editor .editor-screen[data-editor-screen="3"].active{grid-template-columns:180px minmax(430px,1fr) 220px}}
@media(max-width:900px){body.immersive-signature-editor{overflow:auto}body.immersive-signature-editor .content>.view{height:auto;min-height:100dvh}body.immersive-signature-editor .signature-editor{height:auto;min-height:100dvh;grid-template-rows:62px 58px auto auto;overflow:visible}.editor-immersive-topbar{padding:0 13px;grid-template-columns:auto auto minmax(0,1fr)}.editor-immersive-title{padding-left:10px}.editor-immersive-actions{display:none}body.immersive-signature-editor .signature-editor>.editor-screen.active{height:auto;min-height:calc(100dvh - 192px);padding:12px;overflow:visible}body.immersive-signature-editor .editor-screen-simple.active,body.immersive-signature-editor .editor-screen[data-editor-screen="2"].active{grid-template-columns:1fr}body.immersive-signature-editor .editor-stage-aside{display:none}body.immersive-signature-editor .editor-screen[data-editor-screen="3"].active{grid-template-columns:190px minmax(480px,1fr);overflow:auto}body.immersive-signature-editor .editor-screen[data-editor-screen="3"]>.editor-properties{grid-column:1/-1;max-height:420px}body.immersive-signature-editor .signature-editor>.editor-footer{position:sticky;bottom:0}.editor-workflow-apply{grid-template-columns:1fr}}
@media(max-width:620px){body.immersive-signature-editor .content>.view>.notice-card{right:12px;left:12px;bottom:88px;width:auto;padding:12px 13px}.editor-immersive-brand span,.editor-immersive-title small{display:none}.editor-immersive-title{border-left:0}.editor-immersive-title strong{font-size:12px}body.immersive-signature-editor .editor-flow-ten{padding:7px 9px;justify-content:flex-start}body.immersive-signature-editor .editor-flow-ten>span{min-width:8px;flex:0 0 8px}body.immersive-signature-editor .editor-screen[data-editor-screen="3"].active{display:flex;min-width:0;flex-direction:column;overflow:visible}body.immersive-signature-editor .editor-screen[data-editor-screen="3"]>.editor-toolbox{order:2;max-height:none}body.immersive-signature-editor .editor-screen[data-editor-screen="3"]>.editor-document{order:1;min-height:560px}body.immersive-signature-editor .editor-screen[data-editor-screen="3"]>.editor-properties{order:3;max-height:none}body.immersive-signature-editor .editor-screen-simple .editor-stage-main,body.immersive-signature-editor .editor-screen[data-editor-screen="2"] .editor-form-main{padding:21px 16px}body.immersive-signature-editor .editor-section-head{padding:24px 18px 19px}body.immersive-signature-editor .editor-stage-heading h2,body.immersive-signature-editor .editor-section-head h2{font-size:30px}body.immersive-signature-editor .editor-stage-heading p,body.immersive-signature-editor .editor-section-head p{font-size:14px}body.immersive-signature-editor .editor-recipient-list{padding:17px}body.immersive-signature-editor .signature-editor>.editor-footer{min-height:76px;padding:9px}.editor-footer-source,.editor-save-state{display:none!important}.editor-smart-tools{min-width:0}.editor-smart-tools button{min-width:0;padding:0 6px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}
/* Express temporary access: recoverable tracking without turning the guest into a permanent account. */
.express-access-state{margin:24px 32px 0;padding:15px 17px;display:flex;align-items:center;gap:12px;border:1px solid #d9e4f8;border-radius:14px;background:#f7faff}.express-access-state>span{width:36px;height:36px;display:grid;place-items:center;flex:none;border-radius:11px;background:#e8efff;color:#315ce8}.express-access-state strong,.express-access-state small{display:block}.express-access-state strong{font-size:11px;color:#142744}.express-access-state small{margin-top:4px;color:#6c7d98;font-size:8.5px;line-height:1.5}.express-document-list{margin:20px 32px 30px;display:grid;gap:10px}.express-document-list article{padding:15px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:13px;border:1px solid #e1e8f3;border-radius:14px}.express-document-list strong,.express-document-list small{display:block}.express-document-list strong{font-size:11px;color:#152845}.express-document-list small{margin-top:4px;color:#7a8aa4;font-size:8px}.express-status{padding:6px 9px;border-radius:999px;background:#edf2ff;color:#315ce8;font-size:7px;font-weight:900;text-transform:uppercase;letter-spacing:.06em}.express-status--completed{background:#e8f8f2;color:#118062}.express-status--canceled{background:#fff0f1;color:#b33b4b}.express-document-actions{display:flex;gap:7px}.express-document-actions .btn{min-height:34px;padding:0 12px;font-size:8px}.editor-add-sender{margin-right:8px}@media(max-width:760px){.express-access-state,.express-document-list{margin-left:18px;margin-right:18px}.express-document-list article{grid-template-columns:1fr}.express-document-actions{flex-wrap:wrap}}
.contact-identity-section{align-items:start}.contact-identity-card{grid-column:2/-1;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:18px;align-items:center;padding:20px;border:1px solid #d9e2f0;border-radius:18px;background:#f8faff}.contact-identity-card.is-verified{border-color:#a9e3d2;background:#f2fbf8}.contact-identity-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:15px;color:#315ce8;background:#edf2ff}.contact-identity-card.is-verified .contact-identity-icon{color:#12866e;background:#ddf7ef}.contact-identity-card b{font-size:16px;color:#10213d}.contact-identity-card p{margin:5px 0;color:#50627e}.contact-identity-card small{color:#71819a}.contact-identity-actions{display:flex;gap:8px;align-items:center}.contact-identity-note{grid-column:2/-1;margin:0;color:#50627e;font-size:13px}.contact-identity-linker{grid-column:2/-1;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:end}.editor-identity-badge{display:inline-flex;width:max-content;margin-top:5px;padding:4px 8px;border-radius:999px;background:#e6f8f2;color:#117d67;font-size:11px;font-weight:800;font-style:normal}.editor-contact-results button small{display:block}.editor-contact-results button small:last-child{color:#61738f}@media(max-width:800px){.contact-identity-card,.contact-identity-linker{grid-column:1/-1;grid-template-columns:1fr}.contact-identity-actions{flex-wrap:wrap}.contact-identity-icon{display:none}.contact-identity-note{grid-column:1/-1}}

/* Signature R99 — placement respirant, propriétés contextuelles en fenêtre. */
body.immersive-signature-editor .editor-screen[data-editor-screen="3"].active{grid-template-columns:250px minmax(540px,1fr);gap:14px}
body.immersive-signature-editor .editor-screen[data-editor-screen="3"]>.editor-toolbox{overflow-y:auto}
.editor-field-group>header{padding:14px 15px 5px;display:flex;align-items:center;justify-content:space-between;gap:8px}.editor-field-group>header strong{color:#172a48;font:750 12px/1.2 var(--display)}.editor-field-group>header small{color:#7d8aa0;font-size:10px}
.editor-field-group .editor-field-list,.editor-field-more .editor-field-list{grid-template-columns:1fr;gap:7px;padding:9px 12px 13px}
.editor-field-choice{min-height:46px;padding:7px 10px;display:flex;align-items:center;justify-content:flex-start;flex-direction:row;gap:10px;border-radius:11px;background:#fff;text-align:left}
.editor-field-choice i{width:31px;height:31px;flex:none;border-radius:9px;font-size:11px}.editor-field-choice span{font-size:11.5px}.editor-field-choice[draggable="true"]::after{transform:none}
.editor-field-more{margin:0 12px 12px;border:1px solid #dfe7f3;border-radius:12px;background:#fbfcff}.editor-field-more>summary{min-height:43px;padding:0 11px;display:flex;align-items:center;gap:8px;color:#29456f;font-size:11px;font-weight:800;list-style:none;cursor:pointer}.editor-field-more>summary::-webkit-details-marker{display:none}.editor-field-more>summary::after{content:'+';margin-left:auto;color:#315ce8;font-size:17px}.editor-field-more[open]>summary::after{content:'−'}.editor-field-more>summary span{display:grid;place-items:center;width:21px;height:21px;border-radius:7px;background:#eaf0ff;color:#315ce8;font-size:9px}.editor-field-more[open]>summary{border-bottom:1px solid #e3e9f2}
.editor-party-picker>span{font-size:10px}.editor-party-picker>p{font-size:10.5px;line-height:1.5}.editor-party-select{height:44px;font-size:11.5px}
.editor-drag-guide{margin:0 12px 12px;padding:11px;display:grid;grid-template-columns:72px minmax(0,1fr);align-items:center;gap:10px;border:1px solid #dbe4f4;border-radius:12px;background:linear-gradient(135deg,#f9fbff,#f1f5ff)}.editor-drag-guide>span{position:relative;height:48px;border:1px solid #d7e0ef;border-radius:9px;background:#fff;overflow:hidden}.editor-drag-guide>span i{position:absolute;z-index:2;top:8px;left:7px;padding:4px 6px;border-radius:6px;background:#315ce8;color:#fff;font-size:7px;font-style:normal;font-weight:850;animation:editorDragHint 2.6s ease-in-out infinite}.editor-drag-guide>span b{position:absolute;z-index:1;top:16px;left:38px;color:#7890bd;font-size:12px}.editor-drag-guide>span em{position:absolute;right:7px;bottom:7px;width:24px;height:15px;border:1px dashed #9db1df;border-radius:4px;background:#edf2ff}.editor-drag-guide p,.editor-drag-guide strong,.editor-drag-guide small{display:block;margin:0}.editor-drag-guide strong{font-size:10.5px;color:#183052}.editor-drag-guide small{margin-top:4px;color:#6f7f98;font-size:9px;line-height:1.4}
@keyframes editorDragHint{0%,24%,100%{transform:translate(0,0)}55%,75%{transform:translate(34px,18px) scale(.75)}}
@media(prefers-reduced-motion:reduce){.editor-drag-guide>span i{animation:none;transform:translate(34px,18px) scale(.75)}}
.editor-field-configure{position:absolute;z-index:6;top:-12px;right:-12px;width:27px;height:27px;display:none;place-items:center;border:2px solid #fff;border-radius:8px;background:var(--party-color,#315ce8);color:#fff;font:900 13px/1 Arial,sans-serif;box-shadow:0 6px 16px rgba(18,42,88,.24);cursor:pointer}.editor-field-overlay.primary>.editor-field-configure,.editor-field-overlay:hover>.editor-field-configure,.editor-field-overlay:focus-within>.editor-field-configure{display:grid}.editor-field-configure:focus-visible{outline:3px solid color-mix(in srgb,var(--party-color,#315ce8) 28%,transparent);outline-offset:2px}
.editor-field-modal[hidden]{display:none!important}.editor-field-modal{position:fixed;z-index:130;inset:0;padding:24px;display:grid;place-items:center}.editor-field-modal-backdrop{position:absolute;inset:0;width:100%;height:100%;border:0;background:rgba(8,23,49,.48);backdrop-filter:blur(5px);cursor:default}.editor-field-modal>.editor-properties{position:relative;z-index:1;width:min(680px,100%);max-height:min(820px,calc(100dvh - 48px));display:grid;grid-template-rows:auto minmax(0,1fr);overflow:hidden;border:1px solid rgba(255,255,255,.65);border-radius:22px;background:#fff;box-shadow:0 34px 100px rgba(7,25,58,.32)}
.editor-field-modal .editor-properties>header{position:static!important;padding:19px 22px;display:flex;align-items:center;justify-content:space-between;gap:16px;background:#f7f9fd;border-bottom:1px solid #e0e7f1}.editor-field-modal .editor-properties>header span,.editor-field-modal .editor-properties>header small,.editor-field-modal .editor-properties>header strong{display:block}.editor-field-modal .editor-properties>header small{color:#315ce8;font-size:10px;font-weight:900;letter-spacing:.1em;text-transform:uppercase}.editor-field-modal .editor-properties>header strong{margin-top:5px;color:#132744;font:750 21px/1.1 var(--display);letter-spacing:-.025em}.editor-field-modal .editor-properties>header>button{width:38px;height:38px;border:1px solid #d9e2ef;border-radius:11px;background:#fff;color:#42536d;font-size:23px;line-height:1;cursor:pointer}
.editor-field-modal #editorPropertyForm{padding:22px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;overflow:auto}.editor-field-modal #editorPropertyForm[hidden]{display:none}.editor-field-modal .field{margin:0}.editor-field-modal .field span{font-size:12px}.editor-field-modal .field input,.editor-field-modal .field select{height:44px;font-size:13px}.editor-field-modal .field textarea{min-height:96px;font-size:13px}.editor-field-modal .storage-check{margin:0;align-self:end;min-height:44px;font-size:12px}.editor-field-modal [data-property-block="payment"],.editor-field-modal [data-property-block="computed"],.editor-field-modal .editor-property-more,.editor-field-modal #editorPropertyForm>footer{grid-column:1/-1}.editor-field-modal [data-property-block="payment"],.editor-field-modal [data-property-block="computed"]{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.editor-field-modal [data-property-block][hidden]{display:none!important}.editor-field-modal .editor-property-more{margin:2px 0 0;padding:14px;border:1px solid #e0e7f1;border-radius:13px;background:#fafcff}.editor-field-modal .editor-property-more summary{margin:0;color:#3155c9;font-size:12px}.editor-field-modal .editor-property-more[open] summary{margin-bottom:14px}.editor-field-modal .editor-property-more .field{margin-top:11px}.editor-field-modal #editorPropertyForm>footer{padding-top:16px;display:flex;justify-content:space-between;gap:10px;border-top:1px solid #e2e8f1}.editor-field-modal .editor-delete-field{width:auto;margin:0;color:var(--red)}
@media(max-width:1180px){body.immersive-signature-editor .editor-screen[data-editor-screen="3"].active{grid-template-columns:210px minmax(460px,1fr)}}
@media(max-width:760px){body.immersive-signature-editor .editor-screen[data-editor-screen="3"].active{display:flex}.editor-field-group .editor-field-list,.editor-field-more .editor-field-list{grid-template-columns:repeat(2,minmax(0,1fr))}.editor-field-modal{padding:9px}.editor-field-modal>.editor-properties{max-height:calc(100dvh - 18px);border-radius:17px}.editor-field-modal #editorPropertyForm{grid-template-columns:1fr;padding:16px}.editor-field-modal [data-property-block="payment"],.editor-field-modal [data-property-block="computed"]{grid-template-columns:1fr}.editor-field-modal #editorPropertyForm>*{grid-column:1}.editor-field-configure{display:grid}}

/* Signature R101 — titres compacts, aides internes réellement lisibles. */
body.immersive-signature-editor .editor-stage-heading h2,
body.immersive-signature-editor .editor-section-head h2{
  font-size:clamp(29px,2.25vw,38px);
  line-height:1.08;
}
body.immersive-signature-editor .editor-stage-heading p,
body.immersive-signature-editor .editor-section-head p{
  font-size:14px;
  line-height:1.5;
}
body.immersive-signature-editor .editor-screen[data-editor-screen="2"] .editor-form-main{
  padding:0;
}
body.immersive-signature-editor .editor-screen[data-editor-screen="2"] .editor-section-head{
  padding:24px 32px 19px;
}
body.immersive-signature-editor .editor-screen[data-editor-screen="2"] .editor-section-head h2{
  margin:7px 0 6px;
}
body.immersive-signature-editor .editor-screen[data-editor-screen="2"] .editor-recipient-list{
  gap:12px;
  padding:15px 32px 11px;
}
body.immersive-signature-editor .editor-screen[data-editor-screen="2"] .editor-recipient-card>header{
  min-height:52px;
}
body.immersive-signature-editor .editor-screen[data-editor-screen="2"] .editor-recipient-title small{
  font-size:12.5px;
  line-height:1.35;
}
body.immersive-signature-editor .editor-screen[data-editor-screen="2"] .editor-recipient-grid{
  gap:12px 15px;
  padding:14px 18px;
}
body.immersive-signature-editor .editor-screen[data-editor-screen="2"] .editor-recipient-grid .field span,
body.immersive-signature-editor .editor-screen[data-editor-screen="2"] .editor-contact-picker>label{
  font-size:12.5px;
}
body.immersive-signature-editor .editor-screen[data-editor-screen="2"] .editor-recipient-grid .field input,
body.immersive-signature-editor .editor-screen[data-editor-screen="2"] .editor-recipient-grid .field select,
body.immersive-signature-editor .editor-screen[data-editor-screen="2"] .editor-contact-picker>input{
  height:44px;
}
body.immersive-signature-editor .editor-screen[data-editor-screen="2"] .editor-form-main>[data-add-recipient]{
  margin:0 32px 12px;
}
body.immersive-signature-editor .editor-screen[data-editor-screen="2"] .editor-observers{
  margin:0 32px 12px;
  padding:12px 14px;
}
body.immersive-signature-editor .editor-screen[data-editor-screen="2"] .editor-context-help{
  margin:12px 32px 18px;
}
body.immersive-signature-editor .editor-screen[data-editor-screen="2"] .editor-explain{
  padding:24px 22px;
}
body.immersive-signature-editor .editor-screen[data-editor-screen="2"] .editor-explain h2{
  font-size:19px;
  margin:14px 0;
}
body.immersive-signature-editor .editor-screen[data-editor-screen="2"] .editor-explain ul{
  gap:11px;
}
body.immersive-signature-editor .editor-screen[data-editor-screen="2"] .editor-explain li{
  padding-bottom:11px;
}
body.immersive-signature-editor .editor-screen[data-editor-screen="2"] .editor-explain b{
  font-size:13.5px;
}
body.immersive-signature-editor .editor-screen[data-editor-screen="2"] .editor-explain span{
  font-size:12.5px;
  line-height:1.5;
}
@media(max-width:620px){
  body.immersive-signature-editor .editor-stage-heading h2,
  body.immersive-signature-editor .editor-section-head h2{font-size:28px}
  body.immersive-signature-editor .editor-screen[data-editor-screen="2"] .editor-section-head{padding:22px 17px 18px}
  body.immersive-signature-editor .editor-screen[data-editor-screen="2"] .editor-recipient-list{padding:15px 17px 11px}
  body.immersive-signature-editor .editor-screen[data-editor-screen="2"] .editor-form-main>[data-add-recipient],
  body.immersive-signature-editor .editor-screen[data-editor-screen="2"] .editor-observers,
  body.immersive-signature-editor .editor-screen[data-editor-screen="2"] .editor-context-help{margin-left:17px;margin-right:17px}
}

/* Signature R102 — entrée simple, contact respirant et destinataires compacts. */
.product-signature.page-signature-create .signature-entry{
  width:min(1180px,100%);
  margin:12px auto 0;
  overflow:hidden;
  border:1px solid #dbe4f1;
  border-radius:26px;
  background:#fff;
  box-shadow:0 22px 58px rgba(23,48,92,.09);
}
.product-signature.page-signature-create .signature-entry-head{
  padding:34px 38px 28px;
  border-bottom:1px solid #e3e9f2;
  background:linear-gradient(135deg,#f7faff 0%,#fff 75%);
}
.signature-entry-kicker{color:#315ce8;font-size:11px;font-weight:900;letter-spacing:.13em;text-transform:uppercase}
.product-signature.page-signature-create .signature-entry-head h2{max-width:780px;margin:10px 0 8px;color:#102541;font:750 clamp(30px,3vw,45px)/1.08 var(--display);letter-spacing:-.045em}
.product-signature.page-signature-create .signature-entry-head p{max-width:790px;margin:0;color:#63748e;font-size:15px;line-height:1.6}
.product-signature.page-signature-create .signature-entry-grid{gap:18px;margin:0;padding:28px 38px 46px}
.signature-source-form{position:relative;display:block;min-width:0;height:100%}
.signature-source-form .signature-source-card{width:100%;height:100%;cursor:pointer}
.signature-entry-file{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;clip-path:inset(50%)!important;white-space:nowrap!important}
.signature-entry-status{position:absolute;top:calc(100% + 7px);right:0;left:0;margin:0;color:#74839a;font-size:11px;line-height:1.4;text-align:center}
.signature-source-form[aria-busy="true"] .signature-source-card{pointer-events:none;opacity:.7}
.product-signature.page-signature-create .signature-source-card.is-ai:before{background:#6a5bd5}
.product-signature.page-signature-create .signature-source-card.is-template:before{background:#18a27c}
.product-signature.page-signature-create .signature-source-card.is-ai>i{background:#f0edff;color:#6758ce}
.product-signature.page-signature-create .signature-source-card.is-template>i{background:#e9f8f3;color:#168d6d}
.signature-entry-promise{padding:20px 38px;display:flex;align-items:center;gap:13px;border-top:1px solid #e3e9f2;background:#f8fbff}
.signature-entry-promise>span{width:40px;height:40px;display:grid;place-items:center;flex:none;border-radius:12px;background:#e7f7f1;color:#12866e}
.signature-entry-promise strong,.signature-entry-promise small{display:block}.signature-entry-promise strong{color:#18304f;font-size:14px}.signature-entry-promise small{margin-top:4px;color:#6c7c94;font-size:12px;line-height:1.45}

.contact-profile-shell{width:min(1280px,100%);margin:0 auto 28px;overflow:hidden;border:1px solid #dbe4f1;border-radius:24px;background:#fff;box-shadow:0 22px 58px rgba(23,48,92,.09)}
.contact-profile-heading{min-height:112px;padding:24px 28px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:16px;border-bottom:1px solid #e3e9f2;background:linear-gradient(135deg,#f7faff,#fff)}
.contact-profile-avatar{width:56px;height:56px;display:grid;place-items:center;border-radius:17px;background:#315ce8;color:#fff;font-size:17px;font-weight:900;box-shadow:0 10px 24px rgba(49,92,232,.22)}
.contact-profile-heading small,.contact-profile-heading h2,.contact-profile-heading p{display:block;margin:0}.contact-profile-heading small{color:#315ce8;font-size:10px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}.contact-profile-heading h2{margin-top:5px;color:#102541;font:750 24px/1.15 var(--display);letter-spacing:-.035em}.contact-profile-heading p{margin-top:4px;color:#6c7c94;font-size:12px}.contact-profile-heading>em{padding:7px 10px;border-radius:999px;background:#e8f7f1;color:#138269;font-size:9px;font-weight:900;font-style:normal;letter-spacing:.06em}
.contact-profile-grid{padding:24px 28px;display:grid;grid-template-columns:minmax(0,1.18fr) minmax(360px,.82fr);align-items:start;gap:18px;background:#f7f9fd}
.contact-profile-card{overflow:hidden;border:1px solid #dce5f1;border-radius:18px;background:#fff;box-shadow:0 9px 25px rgba(28,53,99,.05)}
.contact-profile-card>header{min-height:74px;padding:16px 18px;display:flex;align-items:center;gap:12px;border-bottom:1px solid #e6ebf3}.contact-profile-card>header>span{width:38px;height:38px;display:grid;place-items:center;border-radius:12px;background:#edf2ff;color:#315ce8}.contact-profile-card>header small,.contact-profile-card>header h3{display:block;margin:0}.contact-profile-card>header small{color:#315ce8;font-size:9px;font-weight:900;letter-spacing:.11em}.contact-profile-card>header h3{margin-top:4px;color:#152a48;font:750 17px/1.2 var(--display)}
.contact-profile-fields{padding:18px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.contact-profile-fields .field.full{grid-column:1/-1}.contact-profile-fields .field>span,.contact-profile-linker .field>span{font-size:12px}.contact-profile-fields .field input,.contact-profile-fields .field select,.contact-profile-linker .field select{height:44px;font-size:13.5px}.contact-profile-fields .field textarea{min-height:44px;height:44px;padding-top:11px;font-size:13.5px;resize:vertical}
.contact-profile-card .contact-duplicate-box{margin:0 18px 18px}
.contact-profile-identity{min-height:430px}.contact-profile-verified{margin:18px;padding:18px;display:grid;grid-template-columns:auto minmax(0,1fr);gap:13px;border:1px solid #a9e3d2;border-radius:15px;background:#f1fbf7}.contact-profile-verified>span{width:44px;height:44px;display:grid;place-items:center;border-radius:13px;background:#dff6ee;color:#118169}.contact-profile-verified small,.contact-profile-verified h4,.contact-profile-verified p,.contact-profile-verified em{display:block;margin:0}.contact-profile-verified small{color:#118169;font-size:9px;font-weight:900;letter-spacing:.1em}.contact-profile-verified h4{margin-top:5px;color:#132945;font:750 18px/1.2 var(--display)}.contact-profile-verified p{margin-top:5px;color:#4f647e;font-size:12px;line-height:1.45}.contact-profile-verified em{margin-top:7px;color:#75859a;font-size:10px;font-style:normal}
.contact-profile-proof{margin:0 18px;padding:14px;display:flex;gap:11px;border:1px solid #dbe5f4;border-radius:13px;background:#f7faff}.contact-profile-proof>svg{flex:none;color:#315ce8}.contact-profile-proof strong,.contact-profile-proof small{display:block}.contact-profile-proof strong{color:#17304f;font-size:12px}.contact-profile-proof small{margin-top:5px;color:#657790;font-size:11px;line-height:1.5}.contact-profile-actions{padding:16px 18px 18px;display:flex;gap:9px;flex-wrap:wrap}.contact-profile-actions .btn{flex:1;justify-content:center}
.contact-profile-empty{min-height:350px;padding:30px;display:flex;align-items:center;justify-content:center;text-align:center;flex-direction:column}.contact-profile-empty>span{width:54px;height:54px;display:grid;place-items:center;border-radius:17px;background:#edf2ff;color:#315ce8}.contact-profile-empty h4{margin:16px 0 7px;color:#152a48;font:750 18px/1.2 var(--display)}.contact-profile-empty p{max-width:360px;margin:0;color:#657790;font-size:12px;line-height:1.55}.contact-profile-empty .btn{margin-top:18px}.contact-profile-linker{padding:22px}.contact-profile-linker>p{margin:0 0 16px;color:#62738d;font-size:12px;line-height:1.55}.contact-profile-linker .btn{width:100%;margin-top:14px;justify-content:center}
.contact-profile-footer{min-height:76px;padding:15px 28px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid #e2e8f1}.contact-profile-footer>span{display:flex;align-items:center;gap:8px;color:#687991;font-size:11px}.contact-profile-footer>div{display:flex;gap:9px}

body.immersive-signature-editor .editor-screen[data-editor-screen="2"] .editor-recipient-grid{grid-template-columns:repeat(4,minmax(0,1fr));padding:12px 18px 14px}
body.immersive-signature-editor .editor-screen[data-editor-screen="2"] .editor-contact-picker{grid-column:1/-1}
.editor-recipient-advanced{grid-column:1/-1;overflow:hidden;border:1px solid #dce5f1;border-radius:12px;background:#f9fbfe}
.editor-recipient-advanced>summary{min-height:42px;padding:0 13px;display:flex;align-items:center;color:#3155c9;font-size:12px;font-weight:850;list-style:none;cursor:pointer}
.editor-recipient-advanced>summary::-webkit-details-marker{display:none}
.editor-recipient-advanced>summary:after{content:'+';margin-left:auto;font-size:18px;font-weight:700}
.editor-recipient-advanced[open]>summary{border-bottom:1px solid #e0e7f1;background:#fff}
.editor-recipient-advanced[open]>summary:after{content:'−'}
.editor-recipient-advanced-grid{padding:13px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.editor-recipient-advanced-grid .editor-same-level,.editor-recipient-advanced-grid .editor-recipient-condition{grid-column:1/-1}
.editor-recipient-advanced-grid .editor-recipient-condition{margin:0}
body.immersive-signature-editor .editor-screen[data-editor-screen="2"] .editor-section-head{padding-top:20px;padding-bottom:15px}
body.immersive-signature-editor .editor-screen[data-editor-screen="2"] .editor-recipient-list{padding-top:12px}
@media(min-width:901px){
  body.immersive-signature-editor .editor-screen[data-editor-screen="2"] .editor-section-head{padding-top:10px;padding-bottom:8px}
  body.immersive-signature-editor .editor-screen[data-editor-screen="2"] .editor-section-head h2{font-size:27px;margin-top:5px;margin-bottom:4px}
  body.immersive-signature-editor .editor-screen[data-editor-screen="2"] .editor-section-head p{font-size:13.5px}
  body.immersive-signature-editor .editor-screen[data-editor-screen="2"] .editor-context-help{display:none}
  body.immersive-signature-editor .editor-screen[data-editor-screen="2"] .editor-recipient-list{padding-top:9px;padding-bottom:8px}
  body.immersive-signature-editor .editor-screen[data-editor-screen="2"] .editor-recipient-grid{gap:9px 12px;padding:10px 16px 11px}
  body.immersive-signature-editor .editor-screen[data-editor-screen="2"] .editor-recipient-grid .field input,
  body.immersive-signature-editor .editor-screen[data-editor-screen="2"] .editor-recipient-grid .field select,
  body.immersive-signature-editor .editor-screen[data-editor-screen="2"] .editor-contact-picker>input{height:42px}
  body.immersive-signature-editor .editor-screen[data-editor-screen="2"] .editor-recipient-advanced>summary{min-height:39px}
}

@media(max-width:1080px){
  body.immersive-signature-editor .editor-screen[data-editor-screen="2"] .editor-recipient-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .product-signature.page-signature-create .signature-entry-grid{grid-template-columns:1fr}
  .signature-source-form{min-height:0}
  .contact-profile-grid{grid-template-columns:1fr}.contact-profile-identity{min-height:0}
}
@media(max-width:760px){
  .product-signature.page-signature-create .signature-entry{margin-top:0;border-radius:20px}
  .product-signature.page-signature-create .signature-entry-head{padding:26px 20px 22px}
  .product-signature.page-signature-create .signature-entry-head h2{font-size:31px}
  .product-signature.page-signature-create .signature-entry-head p{font-size:14px}
  .product-signature.page-signature-create .signature-entry-grid{padding:18px}
  .signature-entry-promise{padding:18px 20px;align-items:flex-start}
  .editor-recipient-advanced-grid{grid-template-columns:1fr}
  body.immersive-signature-editor .editor-screen[data-editor-screen="2"] .editor-recipient-grid{grid-template-columns:1fr}
  .contact-profile-heading{grid-template-columns:auto minmax(0,1fr);padding:20px}.contact-profile-heading>em{grid-column:1/-1;justify-self:start}.contact-profile-grid{padding:14px}.contact-profile-fields{grid-template-columns:1fr}.contact-profile-fields .field.full{grid-column:1}.contact-profile-footer{align-items:stretch;flex-direction:column;padding:16px}.contact-profile-footer>div{display:grid;grid-template-columns:1fr}.contact-profile-footer .btn{width:100%;justify-content:center}
}

/* Signature R104 — Step 4 réagencé sans modifier le moteur de l’éditeur. */
.editor-field-item{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 30px;align-items:center;gap:7px}
.editor-field-item .editor-field-choice{min-width:0}
.editor-field-hint{position:relative;width:28px;height:28px;display:grid;place-items:center;border:1px solid #d7e1f0;border-radius:999px;background:#fff;color:#6d7f98;font-size:12px;font-weight:900;cursor:help;outline:0;transition:border-color .18s ease,color .18s ease,box-shadow .18s ease}
.editor-field-hint:hover,.editor-field-hint:focus-visible{border-color:#315ce8;color:#315ce8;box-shadow:0 0 0 3px rgba(49,92,232,.12)}
.editor-field-hint [role="tooltip"]{position:absolute;z-index:40;top:50%;left:calc(100% + 10px);width:220px;padding:10px 12px;border-radius:11px;background:#102541;color:#fff;font-size:11px;font-weight:650;line-height:1.45;opacity:0;pointer-events:none;transform:translate(4px,-50%);transition:opacity .16s ease,transform .16s ease;box-shadow:0 12px 28px rgba(16,37,65,.22)}
.editor-field-hint:hover [role="tooltip"],.editor-field-hint:focus [role="tooltip"],.editor-field-hint:focus-within [role="tooltip"]{opacity:1;transform:translate(0,-50%)}
.editor-toolbox-more{margin:7px 12px 12px;border:1px solid #dce5f1;border-radius:12px;background:#fff}
.editor-toolbox-more>summary{min-height:40px;padding:0 12px;display:flex;align-items:center;gap:8px;color:#274a88;font-size:12px;font-weight:850;list-style:none;cursor:pointer}
.editor-toolbox-more>summary::-webkit-details-marker{display:none}
.editor-toolbox-more>summary:after{content:'+';margin-left:auto;font-size:18px}
.editor-toolbox-more[open]>summary:after{content:'−'}
.editor-toolbox-more>div{padding:0 9px 9px;display:grid;gap:6px}
.editor-toolbox-more button{min-height:36px;width:100%;padding:0 10px;border:1px solid #dfe6f1;border-radius:9px;background:#f9fbfe;color:#26446f;font-size:11px;font-weight:800;text-align:left}
.editor-toolbox-more button:hover{border-color:#b8c9e6;background:#f2f6ff;color:#234fcf}
.editor-sender-toolbar{min-height:34px;padding:0 11px;display:inline-flex;align-items:center;gap:6px;border:1px solid #b8c9ef;border-radius:9px;background:#edf2ff;color:#274fcf;font-size:11px;font-weight:900;white-space:nowrap}
.editor-sender-toolbar:hover,.editor-sender-toolbar:focus-visible{border-color:#315ce8;background:#315ce8;color:#fff}
.editor-suggestion-modal[hidden]{display:none!important}
.editor-suggestion-modal{position:fixed;z-index:1100;inset:0;display:grid;place-items:center;padding:24px}
.editor-suggestion-modal .editor-field-modal-backdrop{position:absolute;inset:0;border:0;background:rgba(10,28,55,.56);backdrop-filter:blur(5px)}
.editor-suggestion-dialog{position:relative;width:min(860px,100%);max-height:min(780px,calc(100vh - 48px));overflow:hidden;display:grid;grid-template-rows:auto auto minmax(180px,1fr) auto;border:1px solid #d7e2f1;border-radius:22px;background:#fff;box-shadow:0 30px 90px rgba(9,27,54,.28)}
.editor-suggestion-dialog>header{min-height:76px;padding:17px 20px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid #e2e9f3;background:linear-gradient(135deg,#f7faff,#fff)}
.editor-suggestion-dialog>header small,.editor-suggestion-dialog>header strong{display:block}.editor-suggestion-dialog>header small{color:#315ce8;font-size:9px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}.editor-suggestion-dialog>header strong{margin-top:5px;color:#102541;font:750 21px/1.2 var(--display)}
.editor-suggestion-dialog>header button{width:36px;height:36px;border:1px solid #dce5f1;border-radius:11px;background:#fff;color:#5b6e89;font-size:22px}
.editor-suggestion-controls{min-height:58px;padding:10px 20px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #e7ecf4;background:#fbfcff}
.editor-suggestion-controls>label{display:flex;align-items:center;gap:8px;color:#445873;font-size:12px;font-weight:800}.editor-suggestion-controls>label input{width:17px;height:17px}.editor-suggestion-controls .btn{min-height:36px;padding:0 13px;font-size:11px}
.editor-suggestion-list{overflow:auto;padding:16px 20px 22px;background:#f6f8fc}
.editor-suggestion-empty{min-height:180px;display:grid;place-items:center;padding:24px;border:1px dashed #cad6e8;border-radius:15px;background:#fff;color:#657790;font-size:13px;text-align:center}
.editor-suggestion-page{overflow:hidden;margin-bottom:12px;border:1px solid #dbe4f1;border-radius:15px;background:#fff}
.editor-suggestion-page:last-child{margin-bottom:0}
.editor-suggestion-page>header{min-height:45px;padding:0 14px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e6ecf4;background:#f8faff}.editor-suggestion-page>header strong{color:#17304f;font-size:13px}.editor-suggestion-page>header span{padding:4px 8px;border-radius:999px;background:#eaf0ff;color:#3155ca;font-size:9px;font-weight:900}
.editor-suggestion-entry{min-height:58px;padding:9px 12px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:11px;border-bottom:1px solid #edf1f6}.editor-suggestion-entry:last-child{border-bottom:0}.editor-suggestion-entry>label{min-width:0;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:11px;cursor:pointer}.editor-suggestion-entry input{width:17px;height:17px}.editor-suggestion-entry strong,.editor-suggestion-entry small,.editor-suggestion-entry em{display:block}.editor-suggestion-entry strong{color:#1a304e;font-size:12px}.editor-suggestion-entry small{margin-top:3px;overflow:hidden;color:#718098;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.editor-suggestion-entry em{margin-top:4px;color:#2f55c9;font-size:9px;font-style:normal;font-weight:850}.editor-suggestion-entry button{min-height:32px;padding:0 11px;border:1px solid #cdd9eb;border-radius:9px;background:#fff;color:#2f55c9;font-size:10px;font-weight:900}.editor-suggestion-entry button:hover{border-color:#315ce8;background:#edf2ff}.editor-suggestion-entry.is-added{background:#f2fbf7}.editor-suggestion-entry.is-added strong{color:#287659}
.editor-suggestion-dialog>footer{min-height:68px;padding:12px 20px;display:flex;align-items:center;justify-content:flex-end;gap:9px;border-top:1px solid #e1e8f2;background:#fff}.editor-suggestion-dialog>footer .btn{min-height:40px}
@media(max-width:900px){
  .editor-field-hint [role="tooltip"]{right:0;left:auto;top:calc(100% + 8px);transform:translateY(-4px)}
  .editor-field-hint:hover [role="tooltip"],.editor-field-hint:focus [role="tooltip"],.editor-field-hint:focus-within [role="tooltip"]{transform:translateY(0)}
  .editor-suggestion-modal{align-items:end;padding:0}
  .editor-suggestion-dialog{width:100%;max-height:92vh;border-radius:22px 22px 0 0}
  .editor-suggestion-controls{align-items:stretch;flex-direction:column}.editor-suggestion-controls .btn{width:100%;justify-content:center}
}

/* Signature R105 — hiérarchie de la palette et fenêtres contenues. */
.editor-field-hint [role="tooltip"]{right:0;left:auto;top:calc(100% + 8px);width:min(220px,calc(100vw - 48px));transform:translateY(-4px)}
.editor-field-hint:hover [role="tooltip"],.editor-field-hint:focus [role="tooltip"],.editor-field-hint:focus-within [role="tooltip"]{transform:translateY(0)}
.editor-suggestion-dialog{height:min(780px,calc(100vh - 48px));height:min(780px,calc(100dvh - 48px));max-height:calc(100vh - 48px);max-height:calc(100dvh - 48px);grid-template-rows:auto auto auto minmax(0,1fr) auto}
.editor-suggestion-list{min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
@media(max-width:900px){
  .editor-suggestion-dialog{height:min(780px,92vh);height:min(780px,92dvh);max-height:92vh;max-height:92dvh}
}
@media(max-width:620px){
  .editor-sender-toolbar span{display:none}
  .editor-suggestion-entry{grid-template-columns:minmax(0,1fr)}.editor-suggestion-entry button{justify-self:start;margin-left:28px}
  .editor-suggestion-dialog>footer{display:grid;grid-template-columns:1fr 1fr}.editor-suggestion-dialog>footer .btn{width:100%;justify-content:center}
}

/* Attestation Identity renforcée : récupération exceptionnelle, jamais une galerie biométrique. */
.enhanced-attestation-dialog{width:min(720px,calc(100vw - 32px));max-height:min(760px,calc(100dvh - 32px));padding:0;overflow:hidden;border:0;border-radius:24px;background:#fff;color:var(--ink);box-shadow:0 30px 90px rgba(6,24,54,.3)}
.enhanced-attestation-dialog::backdrop{background:rgba(8,22,45,.58);backdrop-filter:blur(6px)}
.enhanced-attestation-shell{max-height:min(760px,calc(100dvh - 32px));display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;overflow:hidden}
.enhanced-attestation-head{position:relative;margin:0!important;padding:26px 78px 24px 26px;display:grid!important;grid-template-columns:52px minmax(0,1fr);align-items:start!important;gap:16px!important;border-bottom:1px solid var(--line)}
.enhanced-attestation-head .dialog-icon{width:52px;height:52px;border-radius:16px;background:#edf2ff;color:var(--blue)}
.enhanced-attestation-head .dialog-icon svg,.enhanced-attestation-head .dialog-close svg{width:22px;height:22px}
.enhanced-attestation-head .eyebrow{display:block;margin-bottom:6px;color:var(--blue);font-size:10px;font-weight:900;letter-spacing:.11em;text-transform:uppercase}
.enhanced-attestation-head h2{margin:0 0 6px;font-size:25px;line-height:1.12;letter-spacing:-.5px}
.enhanced-attestation-head p{max-width:520px!important;margin:0!important;color:var(--muted);font-size:13px!important;line-height:1.55}
.enhanced-attestation-head .dialog-close{position:absolute;top:22px;right:24px;width:42px;height:42px;display:grid;place-items:center;border:1px solid var(--line);border-radius:13px;background:#fff;color:#66748b;cursor:pointer}
.enhanced-attestation-head .dialog-close:hover,.enhanced-attestation-head .dialog-close:focus-visible{border-color:#adc0f3;color:var(--blue);outline:none}
.enhanced-attestation-assurances{padding:13px 26px;display:flex;align-items:center;flex-wrap:wrap;gap:9px;border-bottom:1px solid var(--line);background:#f7f9fd}
.enhanced-attestation-assurances span{padding:8px 11px;display:inline-flex;align-items:center;gap:7px;border:1px solid #dce5f7;border-radius:999px;background:#fff;color:#445572;font-size:11px;font-weight:800}
.enhanced-attestation-assurances svg{width:15px;height:15px;color:var(--blue)}
.enhanced-attestation-state{min-height:0;padding:26px;display:grid;align-content:start;gap:18px;overflow-y:auto;overscroll-behavior:contain}
.enhanced-state-message{padding:16px;display:grid;grid-template-columns:40px minmax(0,1fr);align-items:start;gap:13px;border:1px solid #dce5f7;border-radius:15px;background:#f8faff}
.enhanced-state-message>div{min-width:0}
.enhanced-state-message.is-warning{border-color:#eadca8;background:#fffaf0}
.enhanced-state-message.is-ready{border-color:#bfe6d7;background:#f3fbf8}
.enhanced-state-icon{width:40px;height:40px;display:grid;place-items:center;border-radius:12px;background:#eaf0ff;color:var(--blue)}
.enhanced-state-message.is-warning .enhanced-state-icon{background:#fff0c2;color:#966900}
.enhanced-state-message.is-ready .enhanced-state-icon{background:#ddf6ed;color:#12845e}
.enhanced-state-icon svg{width:19px;height:19px}
.enhanced-state-message strong,.enhanced-state-message p{display:block}
.enhanced-state-message strong{font:800 14px/1.35 var(--display)}
.enhanced-state-message p{margin:5px 0 0;color:var(--muted);font-size:12px;line-height:1.55}
.enhanced-attestation-dialog form{padding:0}
.enhanced-step-up{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.enhanced-step-up .field>span{font-size:11px}
.enhanced-step-up input{min-height:46px;font-size:14px}
.enhanced-step-up .btn{grid-column:1/-1}
.enhanced-step-up .btn,.enhanced-download-form .btn{width:100%;min-height:44px;justify-content:center}
.enhanced-step-up .btn svg,.enhanced-download-form .btn svg{width:18px!important;height:18px!important;flex:0 0 18px}
.enhanced-loading{min-height:230px;padding:28px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;border:1px solid #dce5f7;border-radius:16px;background:linear-gradient(145deg,#fbfcff,#f3f6fd)}
.enhanced-loader{width:46px;height:46px;margin-bottom:16px;border:4px solid #dbe4fb;border-top-color:var(--blue);border-radius:50%;animation:enhanced-spin .85s linear infinite}
.enhanced-loading strong{font:800 16px/1.35 var(--display)}
.enhanced-loading p{max-width:480px;margin:8px auto 18px;color:var(--muted);font-size:12px;line-height:1.55}
.enhanced-loading-bar{width:min(100%,420px);height:7px;overflow:hidden;border-radius:999px;background:#dfe7f8}
.enhanced-loading-bar i{width:40%;height:100%;display:block;border-radius:inherit;background:linear-gradient(90deg,#315ce8,#28b8a1);animation:enhanced-progress 1.55s ease-in-out infinite}
.enhanced-retry{margin-top:16px}
.enhanced-attestation-foot{margin:0!important;padding:15px 25px!important;display:grid!important;grid-template-columns:18px minmax(0,1fr);justify-content:initial!important;gap:10px!important;border-top:1px solid var(--line);background:#fbfcff}
.enhanced-attestation-foot svg{width:17px;height:17px;color:#6f7f98}
.enhanced-attestation-foot p{margin:0;color:var(--muted);font-size:11px;line-height:1.5}
@keyframes enhanced-spin{to{transform:rotate(360deg)}}
@keyframes enhanced-progress{0%{transform:translateX(-110%)}50%{transform:translateX(85%)}100%{transform:translateX(250%)}}
@media(max-width:620px){
  .enhanced-attestation-dialog{width:calc(100vw - 20px);max-height:calc(100dvh - 20px);border-radius:20px}
  .enhanced-attestation-shell{max-height:calc(100dvh - 20px)}
  .enhanced-attestation-head{padding:20px 62px 18px 18px;grid-template-columns:40px minmax(0,1fr)}
  .enhanced-attestation-head .dialog-icon{width:40px;height:40px}
  .enhanced-attestation-head h2{font-size:17px}
  .enhanced-attestation-head .dialog-close{top:16px;right:16px}
  .enhanced-attestation-assurances{padding:11px 18px}
  .enhanced-attestation-state{padding:18px}
  .enhanced-state-message{grid-template-columns:36px minmax(0,1fr);padding:14px;gap:11px}
  .enhanced-state-icon{width:36px;height:36px}
  .enhanced-state-message strong,.enhanced-state-message p{max-width:100%;overflow-wrap:anywhere;white-space:normal}
  .enhanced-step-up{grid-template-columns:1fr}
  .enhanced-attestation-foot{padding:14px 18px!important}
}

/* Les résultats Identity s'ouvrent depuis toute la ligne, au pointeur comme au clavier. */
.table-row-link{cursor:pointer}
.table-row-link td{transition:background .15s ease}
.table-row-link:hover td{background:#f4f7ff}
.table-row-link:focus{outline:0}
.table-row-link:focus-visible td{background:#f4f7ff;box-shadow:inset 0 2px 0 rgba(49,92,232,.45),inset 0 -2px 0 rgba(49,92,232,.45)}
.table-row-link:focus-visible td:first-child{box-shadow:inset 2px 0 0 rgba(49,92,232,.45),inset 0 2px 0 rgba(49,92,232,.45),inset 0 -2px 0 rgba(49,92,232,.45)}
.table-row-link:focus-visible td:last-child{box-shadow:inset -2px 0 0 rgba(49,92,232,.45),inset 0 2px 0 rgba(49,92,232,.45),inset 0 -2px 0 rgba(49,92,232,.45)}
.table-row-link .person-link-arrow{margin-left:12px;opacity:0;transform:translateX(-4px);transition:opacity .15s ease,transform .15s ease}
.table-row-link:hover .person-link-arrow,.table-row-link:focus-visible .person-link-arrow{opacity:.72;transform:translateX(0)}

/* Identity — centre Risques & fraude : données agrégées, lisibles et actionnables. */
.identity-risk-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,.75fr);gap:18px;margin-top:18px}
.identity-risk-methods,.identity-risk-signals,.identity-risk-reasons{overflow:hidden}
.identity-risk-method-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:19px}
.identity-risk-method-card{display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:11px;padding:15px;border:1px solid #dfe6f2;border-radius:15px;background:linear-gradient(145deg,#fff,#f8faff)}
.identity-risk-method-icon{width:40px;height:40px;display:grid;place-items:center;border-radius:12px;background:#edf2ff;color:var(--blue)}
.identity-risk-method-card div{display:grid;gap:4px;min-width:0}.identity-risk-method-card div strong{color:var(--ink);font-size:11px;line-height:1.35}.identity-risk-method-card div small{color:var(--muted);font-size:8.5px;line-height:1.45}.identity-risk-method-card>b{color:var(--ink);font:800 22px/1 var(--display)}
.identity-risk-meter{grid-column:1/-1;height:5px;overflow:hidden;border-radius:999px;background:#e8edf6}.identity-risk-meter i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--blue),#6c8bfa)}
.identity-risk-signal-list{display:grid;padding:5px 19px 18px}.identity-risk-signal-list a{min-height:58px;display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid #e8edf5;color:var(--ink-2);text-decoration:none}.identity-risk-signal-list a:last-child{border-bottom:0}.identity-risk-signal-list a:hover span,.identity-risk-signal-list a:focus-visible span{color:var(--blue)}.identity-risk-signal-list a:focus-visible{outline:2px solid rgba(49,92,232,.25);outline-offset:2px;border-radius:8px}.identity-risk-signal-list span{font-size:10px;font-weight:700;line-height:1.45}.identity-risk-signal-list strong{min-width:32px;text-align:right;color:var(--ink);font:800 19px/1 var(--display)}.identity-risk-signal-list strong.is-danger{color:#c84d5d}
.identity-risk-reasons{margin-top:18px}.identity-risk-reason-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px;padding:5px 20px 19px}.identity-risk-reason-list>div{min-height:62px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid #e8edf5}.identity-risk-reason-list span{display:grid;gap:4px}.identity-risk-reason-list strong{color:var(--ink);font-size:10.5px}.identity-risk-reason-list small{color:var(--muted);font:8px var(--mono)}.identity-risk-reason-list b{display:grid;place-items:center;min-width:30px;height:28px;padding:0 8px;border-radius:999px;background:#fff1f3;color:#b83f51;font:800 10px var(--display)}
.identity-risk-empty{display:flex;align-items:center;gap:13px;padding:22px}.identity-risk-empty>span{width:38px;height:38px;display:grid;place-items:center;border-radius:12px;background:#e9f9f3;color:#16876a}.identity-risk-empty div{display:grid;gap:4px}.identity-risk-empty strong{color:var(--ink);font-size:11px}.identity-risk-empty p{margin:0;color:var(--muted);font-size:9px}
@media(max-width:1050px){.identity-risk-layout{grid-template-columns:1fr}.identity-risk-method-grid{grid-template-columns:1fr}.identity-risk-method-card{grid-template-columns:40px minmax(0,1fr) auto}.identity-risk-reason-list{grid-template-columns:1fr}}

/* Express : la session temporaire reste identifiable et peut toujours être quittée. */
.express-session-logout{min-height:38px;padding:0 14px;display:inline-flex;align-items:center;gap:7px;border:1px solid #d6e0ee;border-radius:11px;background:#fff;color:#263d5c;font-size:9px;font-weight:850;text-decoration:none;box-shadow:0 5px 15px rgba(15,39,71,.06)}
.express-session-logout:hover,.express-session-logout:focus-visible{border-color:#315ce8;color:#315ce8;outline:none;box-shadow:0 0 0 3px rgba(49,92,232,.12)}
.express-guest-mode .topbar .express-session-logout{margin-left:auto}
@media(max-width:560px){.express-session-logout{width:38px;padding:0;justify-content:center}.express-session-logout span{display:none}}

/* Signature R111 — aides compactes et choix Identity laissé au signataire. */
body.immersive-signature-editor .editor-stage-main,
body.immersive-signature-editor .editor-form-main{position:relative}
body.immersive-signature-editor .editor-stage-heading{padding-right:62px}
body.immersive-signature-editor .editor-section-head{padding-right:78px}
body.immersive-signature-editor .editor-context-help{
  position:absolute;z-index:18;top:20px;right:22px;width:42px;margin:0;
  border:0;border-radius:13px;background:transparent;overflow:visible
}
body.immersive-signature-editor .editor-context-help>summary{
  width:42px;height:42px;padding:0;display:flex;align-items:center;justify-content:center;
  border:1px solid #cfdaeb;border-radius:13px;background:#fff;color:#526b91;
  font-size:0;box-shadow:0 8px 22px rgba(22,48,91,.08)
}
body.immersive-signature-editor .editor-context-help>summary::before{
  content:'?';font:850 16px/1 var(--display);color:#315ce8
}
body.immersive-signature-editor .editor-context-help>summary::after{display:none}
body.immersive-signature-editor .editor-context-help[open]{
  width:min(560px,calc(100% - 44px));max-height:min(520px,calc(100% - 40px));
  border:1px solid #d9e3f2;background:#fff;box-shadow:0 24px 60px rgba(18,43,82,.18);overflow:auto
}
body.immersive-signature-editor .editor-context-help[open]>summary{
  position:sticky;z-index:2;top:0;width:100%;height:auto;min-height:48px;padding:12px 14px;
  justify-content:flex-start;border:0;border-bottom:1px solid #e2e9f3;border-radius:12px 12px 0 0;
  background:#fff;color:#173260;font-size:13px;box-shadow:none
}
body.immersive-signature-editor .editor-context-help[open]>summary::before{display:none}
body.immersive-signature-editor .editor-context-help[open]>summary::after{
  content:'×';display:grid;place-items:center;width:26px;height:26px;margin-left:auto;
  border-radius:8px;background:#edf2ff;color:#315ce8;font-size:18px
}
body.immersive-signature-editor .editor-context-help[open]>div{
  padding:12px;grid-template-columns:repeat(2,minmax(0,1fr))
}
body.immersive-signature-editor .editor-screen[data-editor-screen="2"] .editor-context-help{display:block}
@media(max-width:700px){
  body.immersive-signature-editor .editor-context-help{top:14px;right:14px}
  body.immersive-signature-editor .editor-context-help[open]{width:calc(100% - 28px);max-height:calc(100% - 28px)}
  body.immersive-signature-editor .editor-context-help[open]>div{grid-template-columns:1fr}
}

/* Accès commercial fermé : aucune surface produit n'est exploitable avant activation. */
.product-option.is-disabled,.nav-button.is-disabled,.icon-btn.is-disabled{cursor:not-allowed;opacity:.42;filter:grayscale(.25);user-select:none}
.product-option.is-disabled{display:flex}.nav.is-locked .nav-button.is-disabled{display:flex}
.search.is-disabled{opacity:.52}.search.is-disabled input{cursor:not-allowed}
.access-gate{width:min(920px,100%);margin:36px auto;padding:44px;border:1px solid #dbe4f1;border-radius:24px;background:linear-gradient(145deg,#fff,#f7f9fd);box-shadow:0 24px 70px rgba(20,48,88,.11);text-align:center}
.access-gate-icon{width:68px;height:68px;margin:0 auto 18px;display:grid;place-items:center;border-radius:20px;background:#eaf0ff;color:#315ce8}
.access-gate .eyebrow{justify-content:center}.access-gate h1{max-width:720px;margin:12px auto 10px;color:var(--ink);font:850 clamp(28px,3vw,42px)/1.05 var(--display);letter-spacing:-.035em}.access-gate>p{max-width:680px;margin:0 auto;color:var(--muted);font-size:12px;line-height:1.75}
.access-gate-products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:28px 0 24px}.access-gate-products>span{min-height:92px;padding:18px;display:grid;grid-template-columns:28px 1fr;grid-template-rows:auto auto;align-items:center;text-align:left;border:1px solid #e0e7f2;border-radius:15px;background:#f6f8fc;color:#8b99ae}.access-gate-products svg{grid-row:1/3}.access-gate-products b{color:#60708a;font-size:11px}.access-gate-products small{font-size:9px}.access-gate .hero-actions{justify-content:center}
@media(max-width:700px){.access-gate{margin:18px auto;padding:28px 20px}.access-gate-products{grid-template-columns:1fr}.access-gate .hero-actions{display:grid}.access-gate .hero-actions .btn{width:100%;justify-content:center}}

/* Recharges ponctuelles Express : accessibles sans transformer l'espace en abonnement. */
.express-credit-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:14px 0 0}
.express-credit-actions a{min-height:34px;padding:7px 8px;display:grid;place-items:center;border:1px solid #cfdaf0;border-radius:10px;background:#f7f9ff;color:#244dc6;text-align:center;text-decoration:none;font-size:8px;font-weight:850}
.express-credit-actions a:hover,.express-credit-actions a:focus-visible{border-color:#315ce8;background:#edf2ff;outline:2px solid rgba(49,92,232,.14)}
@media(max-width:1500px) and (min-width:861px){.express-credit-actions{grid-column:1}}
@media(max-width:560px){.express-credit-actions{grid-template-columns:1fr}}

/* Express — explications bloquantes visibles, précises et actionnables. */
.express-feedback-dialog{--feedback-accent:#315ce8;width:min(620px,calc(100vw - 32px));max-height:calc(100vh - 32px);padding:0;border:0;border-radius:22px;background:transparent;color:var(--ink);box-shadow:0 30px 90px rgba(9,29,61,.3);overflow:hidden}
.express-feedback-dialog::backdrop{background:rgba(8,24,49,.58);backdrop-filter:blur(5px)}
.express-feedback-dialog--constraint,.express-feedback-dialog--warning{--feedback-accent:#a96808}
.express-feedback-dialog--error{--feedback-accent:#c44155}
.express-feedback-dialog--success{--feedback-accent:#13836a}
.express-feedback-card{background:#fff}
.express-feedback-card>header{display:grid;grid-template-columns:52px minmax(0,1fr) 38px;align-items:center;gap:14px;padding:24px 26px 20px;border-bottom:1px solid #e3e9f2}
.express-feedback-icon{width:52px;height:52px;display:grid;place-items:center;border-radius:15px;background:color-mix(in srgb,var(--feedback-accent) 11%,#fff);color:var(--feedback-accent)}
.express-feedback-card>header div{display:grid;gap:5px}.express-feedback-card>header small{color:var(--feedback-accent);font-size:9px;font-weight:900;letter-spacing:.12em}.express-feedback-card>header h2{margin:0;color:#10203b;font:850 23px/1.15 var(--display);letter-spacing:-.025em}
.express-feedback-close{width:38px;height:38px;display:grid;place-items:center;border:1px solid #dbe3ef;border-radius:11px;background:#fff;color:#64748b;cursor:pointer}.express-feedback-close:hover,.express-feedback-close:focus-visible{border-color:var(--feedback-accent);color:var(--feedback-accent);outline:3px solid color-mix(in srgb,var(--feedback-accent) 14%,transparent)}
.express-feedback-body{display:grid;gap:18px;padding:22px 26px}.express-feedback-body>p{margin:0;color:#425574;font-size:13px;line-height:1.65}
.express-feedback-body>section{padding:17px 18px;border:1px solid color-mix(in srgb,var(--feedback-accent) 20%,#dfe6f1);border-radius:15px;background:color-mix(in srgb,var(--feedback-accent) 5%,#fff)}
.express-feedback-body>section>strong{display:block;margin-bottom:10px;color:#172b4d;font-size:11px}.express-feedback-body ul{display:grid;gap:10px;margin:0;padding:0;list-style:none}.express-feedback-body li{display:grid;grid-template-columns:18px minmax(0,1fr);gap:8px;align-items:start;color:#425574;font-size:11px;line-height:1.5}.express-feedback-body li svg{margin-top:1px;color:var(--feedback-accent)}
.express-feedback-card>footer{display:flex;justify-content:flex-end;gap:10px;padding:17px 26px 23px;border-top:1px solid #edf1f6}.express-feedback-card>footer .btn{min-height:43px}
@media(max-width:620px){.express-feedback-dialog{width:calc(100vw - 20px);max-height:calc(100vh - 20px);border-radius:18px}.express-feedback-card>header{grid-template-columns:44px minmax(0,1fr) 36px;gap:11px;padding:19px 18px 16px}.express-feedback-icon{width:44px;height:44px;border-radius:13px}.express-feedback-card>header h2{font-size:19px}.express-feedback-body{padding:18px}.express-feedback-card>footer{display:grid;grid-template-columns:1fr;padding:15px 18px 19px}.express-feedback-card>footer .btn{width:100%;justify-content:center}.express-feedback-card>footer .btn.primary{grid-row:1}}
@media(prefers-reduced-motion:reduce){.express-feedback-dialog::backdrop{backdrop-filter:none}}

/* Vue d’ensemble R174 — pilotage compact et cohérent entre les produits. */
.page-overview .overview-hero{min-height:238px;margin-bottom:22px;padding:28px 30px;grid-template-columns:minmax(0,1fr) 258px;gap:32px}
.page-overview .overview-hero::after{right:29%}
.page-overview .overview-hero h1{font-size:clamp(28px,3.1vw,39px);line-height:1.02;letter-spacing:-1.45px}
.page-overview .overview-hero .hero-copy>p{max-width:650px;margin:14px 0 20px;font-size:12px;line-height:1.58}
.overview-pulse{position:relative;z-index:2;align-self:stretch;min-height:182px;padding:22px;display:grid;align-content:center;border:1px solid rgba(255,255,255,.15);border-radius:19px;background:rgba(255,255,255,.085);box-shadow:0 18px 44px rgba(4,17,37,.18);backdrop-filter:blur(12px)}
.overview-pulse__icon{position:absolute;right:18px;top:18px;width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:rgba(111,229,193,.13);color:#74dfbd}
.overview-pulse>small{padding-right:48px;color:#b8c8dd;font-size:9px;font-weight:850;letter-spacing:.1em;text-transform:uppercase}
.overview-pulse>strong{display:block;margin:11px 0 4px;color:#fff;font:800 34px/1 var(--display);letter-spacing:-1.25px}
.overview-pulse>p{margin:0;color:#d7e1ee;font-size:10.5px;font-weight:700}
.overview-pulse__meter{height:6px;margin-top:17px;overflow:hidden;border-radius:999px;background:rgba(255,255,255,.13)}
.overview-pulse__meter i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#53d6ae,#82e4c8)}
.overview-pulse>footer{margin-top:9px;color:#9fb1c9;font-size:8.5px;line-height:1.4}
.overview-section-head{margin:0 2px 12px;display:flex;align-items:flex-end;justify-content:space-between;gap:16px}
.overview-section-head>div{display:grid;gap:4px}.overview-section-head span{color:var(--blue);font-size:8px;font-weight:900;letter-spacing:.13em}.overview-section-head h2{margin:0;color:var(--ink);font:760 17px/1.2 var(--display);letter-spacing:-.35px}.overview-section-head>small{color:var(--muted);font-size:9px}
.page-overview .overview-stats{gap:12px;margin-bottom:22px}
.page-overview .overview-stats .stat-card{position:relative;min-height:105px;padding:16px 17px;overflow:hidden;border-radius:15px;box-shadow:0 8px 22px rgba(23,46,86,.045)}
.page-overview .overview-stats .stat-card::before{content:"";position:absolute;inset:0 auto 0 0;width:3px;background:#315ce8}
.page-overview .overview-stats .stat-card--green::before{background:#159b78}.page-overview .overview-stats .stat-card--amber::before{background:#c28722}.page-overview .overview-stats .stat-card--slate::before{background:#8493aa}
.page-overview .overview-stats .stat-top{margin:0}.page-overview .overview-stats .stat-top span{font-size:9px;font-weight:760}.page-overview .overview-stats .stat-top svg{width:29px;height:29px;padding:7px;border-radius:9px;background:#edf2ff;color:#315ce8}
.page-overview .overview-stats .stat-card--green .stat-top svg{background:#e9f8f3;color:#159b78}.page-overview .overview-stats .stat-card--amber .stat-top svg{background:#fff5e4;color:#a96c0b}.page-overview .overview-stats .stat-card--slate .stat-top svg{background:#f0f3f7;color:#607089}
.page-overview .overview-stats .stat-card>strong{margin-top:10px;font-size:25px}.page-overview .overview-stats .stat-card>small{margin-top:6px;color:var(--muted);font-size:8.5px;font-weight:650}
.quick-actions-panel{overflow:hidden}.quick-actions-list{padding:3px 0 13px}.quick-action-row{padding:4px 2px;color:inherit;text-decoration:none;border-radius:10px;transition:background .15s ease}.quick-action-row:hover{background:#f5f8ff}.quick-action-row:focus-visible{outline:2px solid rgba(49,92,232,.26);outline-offset:2px}.quick-action-row .quick-action-arrow{color:#315ce8;opacity:.55;transition:transform .15s ease,opacity .15s ease}.quick-action-row:hover .quick-action-arrow,.quick-action-row:focus-visible .quick-action-arrow{opacity:1;transform:translateX(2px)}
@media(max-width:1040px){.page-overview .overview-hero{grid-template-columns:minmax(0,1fr) 230px}.page-overview .overview-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){
  .page-overview .overview-hero{padding:24px;grid-template-columns:minmax(0,1fr);overflow:hidden}
  .page-overview .overview-hero>*{min-width:0;max-width:100%}
  .page-overview .overview-hero h1{max-width:100%;overflow-wrap:normal}
  .page-overview .overview-hero .hero-actions{display:grid;grid-template-columns:minmax(0,1fr)}
  .page-overview .overview-hero .hero-actions .btn{width:100%;min-width:0;justify-content:center;text-align:center}
  .overview-pulse{min-width:0;min-height:158px}
  .overview-section-head{align-items:flex-start;flex-direction:column;gap:3px}
  .page-overview .overview-stats{grid-template-columns:minmax(0,1fr)}
  .quick-action-row{min-height:58px}
}
@media(max-width:500px){.page-overview .overview-stats{grid-template-columns:1fr}.page-overview .overview-stats .stat-card{min-height:96px}.page-overview .overview-hero h1{font-size:28px}.overview-pulse{padding:19px}}
@media(prefers-reduced-motion:reduce){.quick-action-row,.quick-action-row .quick-action-arrow{transition:none}}
