/* Native creation links retain their destinations, permissions and keyboard behavior. */
body.pc-v2 .admin-topbar .admin-create>div{width:292px;min-width:0;max-width:calc(100vw - 24px);max-height:calc(100dvh - 112px);overflow:auto;overscroll-behavior:contain;display:grid;gap:8px;padding:14px;border:1px solid #d2ddeb;border-top:3px solid #d00083;border-radius:17px;background:linear-gradient(145deg,#fbfcff,#edf2f9);box-shadow:0 18px 45px #06102238;top:calc(100% + 10px);right:0;left:auto;z-index:200}
body.pc-v2 .admin-topbar .admin-create:not([open])>div{display:none}
body.pc-v2 .admin-topbar .admin-create>div::before{content:'CRÉATION RAPIDE';font:750 10px/1.5 Inter,system-ui,sans-serif;letter-spacing:.11em;color:#a60067;padding:0 3px 4px}
body.pc-v2 :is(.admin-create>div,#pcm-create)>a{box-sizing:border-box;display:grid;grid-template-columns:36px minmax(0,1fr) 12px;align-items:center;gap:12px;min-height:58px;margin:0;padding:10px 13px;border:1px solid #3a4d68;border-radius:12px;background:linear-gradient(125deg,#1b2d46,#0b1525);color:#fff!important;text-decoration:none;font:650 14px/1.4 Inter,system-ui,sans-serif;box-shadow:inset 0 1px 0 #ffffff1f,0 3px 7px #101b2b13;transition:background .16s,border-color .16s,transform .16s;min-width:0;overflow-wrap:anywhere}
body.pc-v2 :is(.admin-create>div,#pcm-create)>a::before{content:'';display:block;width:36px;height:36px;border:1px solid #65789366;border-radius:10px;background:var(--pc-create-icon) center/21px 21px no-repeat,#ffffff0a}
body.pc-v2 :is(.admin-create>div,#pcm-create)>a::after{content:'';display:block;width:6px;height:6px;border-top:1.6px solid #ecf3ff;border-right:1.6px solid #ecf3ff;transform:rotate(45deg);justify-self:center}
body.pc-v2 :is(.admin-create>div,#pcm-create)>a:hover{background:linear-gradient(120deg,#283d59,#182239);border-color:#d851a4;color:#fff!important;transform:translateX(2px)}
body.pc-v2 :is(.admin-create>div,#pcm-create)>a:hover::before{border-color:#e964b2;background-color:#d000832b}
body.pc-v2 :is(.admin-create>div,#pcm-create)>a:focus-visible{outline:2px solid #d00083;outline-offset:2px;border-color:#e964b2;color:#fff!important}
body.pc-v2 #pcm-create{grid-template-columns:minmax(0,1fr)!important;gap:0;box-sizing:border-box;padding:18px;background:#fbfcff;color:#101727;border:1px solid #d2ddeb;border-top:3px solid #d00083;max-height:calc(100dvh - 130px);overflow:auto;overscroll-behavior:contain}
body.pc-v2 #pcm-create>header{margin:0 0 15px;gap:14px}
body.pc-v2 #pcm-create>header h2{color:#101727;font-size:21px}
body.pc-v2 #pcm-create>a{margin-top:9px}
body.pc-v2 #pcm-create>a>span[aria-hidden]{display:none}
body.pc-v2 #pcm-create::backdrop{background:#060d18a6}
@media(prefers-reduced-motion:reduce){body.pc-v2 :is(.admin-create>div,#pcm-create)>a{transition:none}body.pc-v2 :is(.admin-create>div,#pcm-create)>a:hover{transform:none}}
body.pc-v2 :is(.admin-create>div,#pcm-create)>a[href$="/devis/nouveau"]{--pc-create-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5%203h10l4%204v14H5z%20M14%203v5h5%20M8%2012h8%20M8%2016h6%22%2F%3E%3C%2Fsvg%3E")}
body.pc-v2 :is(.admin-create>div,#pcm-create)>a[href$="/factures/nouvelle"]{--pc-create-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M6%203h12v18l-3-2-3%202-3-2-3%202z%20M9%208h6%20M9%2012h6%22%2F%3E%3C%2Fsvg%3E")}
body.pc-v2 :is(.admin-create>div,#pcm-create)>a[href$="/achats/capture"]{--pc-create-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%207h18v14H3z%20M7%207V3h10v4%20M9%2012h6%22%2F%3E%3C%2Fsvg%3E")}
body.pc-v2 :is(.admin-create>div,#pcm-create)>a[href$="/contacts/nouveau"]{--pc-create-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%2011a4%204%200%201%200%200-8%204%204%200%200%200%200%208%20M4%2021v-2a6%206%200%200%201%206-6h4a6%206%200%200%201%206%206v2%22%2F%3E%3C%2Fsvg%3E")}
body.pc-v2 :is(.admin-create>div,#pcm-create)>a[href$="/produits/nouveau"]{--pc-create-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%203h7v7H3z%20M14%203h7v7h-7z%20M3%2014h7v7H3z%20M14%2014h7v7h-7z%22%2F%3E%3C%2Fsvg%3E")}
/* Match the desktop buttons on phones, overriding the older two-column sheet. */
body.pc-v2 dialog#pcm-create.pcm-create[open]{grid-template-columns:minmax(0,1fr)!important;gap:9px!important;padding:18px!important;background:#fbfcff!important;border:1px solid #d2ddeb!important;border-top:3px solid #d00083!important;max-height:calc(100dvh - 130px)!important}
body.pc-v2 dialog#pcm-create.pcm-create[open]>header{margin:0 0 5px!important}
body.pc-v2 dialog#pcm-create.pcm-create[open] h2{color:#101727!important;font-size:21px!important}
body.pc-v2 dialog#pcm-create.pcm-create[open]>header button{background:#17263d!important;color:#fff!important;border-color:#40516b!important}
body.pc-v2 dialog#pcm-create.pcm-create[open]>a{grid-column:1/-1!important;grid-template-columns:36px minmax(0,1fr) 12px!important;gap:12px!important;min-height:58px!important;margin:0!important;padding:10px 13px!important;background:linear-gradient(125deg,#1b2d46,#0b1525)!important;border:1px solid #3a4d68!important;color:#fff!important;font-size:14px!important;line-height:1.4!important;box-shadow:inset 0 1px 0 #ffffff1f,0 3px 7px #101b2b13!important}
body.pc-v2 dialog#pcm-create.pcm-create[open]>a::before{width:36px!important;height:36px!important;mask:none!important;-webkit-mask:none!important;background:var(--pc-create-icon) center/21px 21px no-repeat,#ffffff0a!important}
body.pc-v2 dialog#pcm-create.pcm-create[open]>a:hover{background:linear-gradient(120deg,#283d59,#182239)!important;border-color:#d851a4!important;transform:none!important}
