/* AX Enterprise: e-signatures (19 Oct 2026). The approved looks of pictures 7.5 to 7.9 and 6.13. The classes of the
   set 7 and Company Documents prototypes that css/ent-core.css does not hold are here under the sg- prefix. */
.sg .h1{line-height:1.2}
.sg-spin{display:inline-block;width:16px;height:16px;border-width:2px;margin-inline-end:6px;vertical-align:-3px;flex:none}
.sg-spin.sm{width:12px;height:12px;margin-inline-end:6px;vertical-align:-1px}
.sg-red{color:var(--red)}

/* the document card (picture 7.5, s7-doc) */
.sg-doc{display:flex;align-items:center;gap:12px;width:100%;margin-top:16px;padding:14px;border-radius:18px;background:var(--row,#F4F5F4);text-align:start;color:var(--ink)}
.sg-pdf{flex:none;display:grid;place-items:center;width:40px;height:46px;border-radius:9px;background:#fff;color:var(--red);font-size:11px;font-weight:800;box-shadow:inset 0 0 0 1.5px #F0D6D3}
.sg-pdf.add{box-shadow:inset 0 0 0 1.5px rgba(19,83,51,.25)}
.sg-pdf.sm{width:36px;height:42px;border-radius:8px;font-size:10.5px}
.sg-dt{flex:1;min-width:0;display:flex;flex-direction:column;align-items:stretch;padding:0;text-align:start;color:var(--ink)}
.sg-dt b{font-size:15.5px;line-height:21px;font-weight:700;color:var(--ink);white-space:normal;overflow:hidden;text-overflow:clip;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow-wrap:anywhere}
.sg-dt small{display:flex;align-items:center;font-size:13px;line-height:18px;color:var(--sub)}
.sg-doc .sg-chg{flex:none;align-self:center;font-size:14px;padding:6px 0}
.sg-doc .chev{flex:none}

/* signers (picture 7.5) */
.sg-mh{gap:10px}
.sg-ord{display:flex;align-items:center;gap:8px;min-width:0;padding:0;font-size:13.5px;line-height:18px;font-weight:600;color:var(--sub);text-align:end}
.sg-ord .ent-sw{flex:none}
.sg-n{flex:none;width:24px;height:24px;border-radius:12px;display:grid;place-items:center;background:var(--green);color:#fff;font-size:12.5px;font-weight:800}
.sg-list .ent-mem{color:var(--ink)}
.sg-list .ent-mt b{white-space:normal;overflow:hidden;text-overflow:clip;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow-wrap:anywhere}
.sg-list .ent-mt small{white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere}
.sg-add{margin-top:10px}
.sg-add .bs{width:100%;min-width:0;padding:0 10px;font-size:15px;gap:7px}
.sg-add .bs span{min-width:0;white-space:nowrap}
.sg-add .bs svg{flex:none}
.sg-grp .row .rt .eo-rv{white-space:nowrap}
.sg-daterow{cursor:pointer}
.sg-daterow input{position:absolute;inset:0;width:100%;height:100%;opacity:0;border:0;cursor:pointer}
@media (max-width:370px){
  .sg-add .bs{font-size:14px;gap:6px;padding:0 8px}
  .sg-ord{font-size:13px}
}

/* sheets */
.sg-sh h3,.sg-sh .sh-sub{text-align:start}
.sg-sh .grp{margin-top:6px}
.sg-meadd{margin-top:0}
.sg-meadd .eo-person{width:100%;color:var(--ink)}
.sg-addme{flex:none;height:34px;line-height:34px;padding:0 14px;border-radius:17px;background:var(--green);color:#fff;font-size:14px;font-weight:700;white-space:nowrap}
.sg-link .ent-mt small{white-space:normal;overflow-wrap:anywhere}
.sg-mini-b{flex:none;display:grid;place-items:center;width:40px;height:40px;border-radius:20px;background:#fff;box-shadow:inset 0 0 0 1.5px #E1E5E1}
.sg-code{margin-top:16px;font-size:34px;line-height:42px;letter-spacing:.18em}
.sg-progsh{padding-bottom:6px}
.sg-progsh .sg-prog{margin-top:6px}

/* place the fields (picture 7.6) */
.sg-page{position:relative;margin:16px auto 0;width:100%;max-width:330px;border-radius:10px;background:#fff;box-shadow:0 6px 22px rgba(12,12,12,.10);overflow:hidden;touch-action:pan-y;user-select:none;-webkit-user-select:none}
.sg-pgimg{position:absolute;inset:0;width:100%;height:100%;display:block;pointer-events:none}
.sg-page .sg-pl{position:absolute;left:18px;right:18px;top:20px}
.sg-pl{display:flex;flex-direction:column;gap:9px}
.sg-pl i{display:block;height:6px;border-radius:3px;background:#E7EBE8}
.sg-boxes{position:absolute;inset:0}
.sg-f{position:absolute;display:flex;align-items:center;gap:6px;padding:0 10px;border-radius:9px;font-size:12.5px;line-height:16px;font-weight:700;white-space:nowrap;overflow:visible;touch-action:none;cursor:grab;min-height:22px}
.sg-f svg{flex:none}
.sg-f .sg-fl{min-width:0;overflow:hidden}
.sg-f.on{z-index:2;outline:2px solid currentColor;outline-offset:1px}
.sg-fx{position:absolute;top:-10px;inset-inline-end:-10px;display:grid;place-items:center;width:22px;height:22px;border-radius:11px;background:var(--red);box-shadow:0 1px 4px rgba(0,0,0,.18);z-index:3}
.sg-fr{position:absolute;right:-6px;bottom:-6px;width:16px;height:16px;border-radius:8px;background:#fff;box-shadow:0 0 0 2px currentColor;cursor:nwse-resize;z-index:3}
.sg-legend{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:12px}
.sg-lg{flex:1;min-width:0;display:flex;flex-wrap:wrap;justify-content:center;gap:4px 18px}
.sg-lg button{display:flex;align-items:center;gap:6px;min-width:0;padding:4px 2px;font-size:13px;line-height:18px;color:var(--sub);text-align:start}
.sg-lg button.on{color:var(--ink);font-weight:600}
.sg-lg i{flex:none;width:10px;height:10px;border-radius:50%}
.sg-pg{flex:none;display:grid;place-items:center;width:36px;height:36px;border-radius:18px;background:var(--row,#F4F5F4)}
.sg-pg[disabled]{opacity:.35}

/* who signed, and a record of every step (picture 7.7) */
.sg-seats .ent-ring b{font-size:21px;letter-spacing:-.01em}
.sg-seats .ent-st b{white-space:normal}
.sg-signer{color:var(--ink)}
.sg-prog{display:flex;align-items:center;gap:12px;margin-top:14px;padding:12px 14px;border-radius:18px;background:var(--green-soft);text-align:start}
.sg-prog .spin{flex:none}
.sg-prog span:last-child{display:flex;flex-direction:column;gap:1px;min-width:0}
.sg-prog b{font-size:15px;line-height:20px;font-weight:700;color:var(--green)}
.sg-prog small{font-size:13px;line-height:18px;color:var(--sub)}
.sg-tl{position:relative;padding:4px 0 0 4px}
html[dir=rtl] .sg-tl{padding:4px 4px 0 0}
.sg-st{position:relative;display:flex;gap:12px;padding:0 0 14px;text-align:start}
.sg-st:not(:last-child)::before{content:'';position:absolute;inset-inline-start:13px;top:28px;bottom:0;width:2px;background:#DDE3DE}
.sg-sd{flex:none;width:28px;height:28px;border-radius:14px;display:grid;place-items:center;background:var(--green-soft)}
.sg-sx{display:flex;flex-direction:column;gap:1px;padding-top:3px;min-width:0}
.sg-sx b{font-size:14.5px;line-height:20px;font-weight:600;color:var(--ink);overflow-wrap:anywhere}
.sg-sx small{font-size:12.5px;line-height:17px;color:var(--sub)}

/* signed by everyone (picture 7.9) */
.sg-done{display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px;margin-top:10px}
.sg-done .h1,.sg-done .sub{margin-inline:0;text-align:center}
button.sg-doc{border:0}
.sg-two{margin-top:14px}
.sg-two>.bs,.sg-two>.bp{margin:0;height:52px;border-radius:26px}
.sg .grp .row .s span[dir=ltr]{unicode-bidi:isolate}

/* the employee signs on the phone (picture 6.13, d_sign) */
.sg-from{display:inline-flex;align-items:center;gap:7px;max-width:100%;min-height:32px;padding:5px 12px;border-radius:16px;background:var(--green-soft);color:var(--green);font-size:13.5px;line-height:18px;font-weight:700;margin-top:4px}
.sg-from svg{flex:none}
.sg-paper{position:relative;margin-top:16px;padding:18px 18px 0;border-radius:20px;background:#fff;box-shadow:0 1px 3px rgba(12,12,12,.06),0 8px 28px rgba(12,12,12,.08),inset 0 0 0 1px #EDEFED;overflow:hidden;height:250px;text-align:start}
.sg-paper::after{content:"";position:absolute;left:0;right:0;bottom:0;height:70px;background:linear-gradient(rgba(255,255,255,0),#fff 80%);pointer-events:none}
.sg-paper h4{margin:0 0 12px;font-size:15px;line-height:20px;font-weight:800;letter-spacing:.02em;text-align:center;overflow-wrap:anywhere}
.sg-paper .pm{margin:-8px 0 12px;font-size:12px;line-height:16px;color:var(--ph);text-align:center;overflow-wrap:anywhere}
.sg-paper p{margin:0 0 9px;font-size:13.5px;line-height:20px;color:#2A2A2A;overflow-wrap:anywhere}
.sg-paper p b{font-weight:700;color:var(--ink)}
.sg-paper.img{padding:0}
.sg-pimg{display:block;width:100%;height:auto}
.sg-paper .sg-pl{margin-top:4px}
.sg-pnone{margin:30px 0 0;font-size:14px;line-height:20px;color:var(--sub);text-align:center}
.sg-full{display:flex;align-items:center;justify-content:center;gap:6px;width:100%;margin-top:10px;padding:6px 0;font-size:14.5px;font-weight:700;color:var(--green)}
.sg-mh2{margin-top:18px}
.sg-epad{position:relative;margin-top:8px;height:168px;border-radius:22px;background:#FBFBF8;box-shadow:inset 0 0 0 1.5px #DCDFD9;overflow:hidden}
.sg-epad canvas,.sg-pad canvas{position:absolute;inset:0;width:100%;height:100%;touch-action:none;z-index:1}
.sg-epad .base{position:absolute;left:22px;right:22px;bottom:40px;height:1.5px;background:#DDE1DC;pointer-events:none}
.sg-epad .cap{position:absolute;left:22px;right:22px;bottom:12px;display:flex;justify-content:space-between;gap:12px;font-size:12.5px;line-height:16px;color:var(--ph);pointer-events:none}
.sg-epad .cap span:first-child{min-width:0;overflow-wrap:anywhere}
.sg-epad .cap span:last-child{flex:none}
.sg-epad .clr,.sg-pad .clr{position:absolute;top:10px;inset-inline-end:10px;z-index:2;display:inline-flex;align-items:center;gap:5px;height:32px;padding:0 12px;border-radius:16px;background:#fff;box-shadow:0 1px 4px rgba(0,0,0,.08);font-size:13px;font-weight:700;color:var(--sub)}
.sg-ehint{position:absolute;left:22px;right:22px;top:56px;text-align:center;font-size:14px;line-height:20px;color:#A5A9A6;pointer-events:none}
.sg-pad .sg-ehint{top:40px}
.sg-ehint[hidden]{display:none}
.sg-tick{display:flex;align-items:flex-start;gap:12px;width:100%;margin-top:14px;padding:14px 16px;border-radius:20px;background:var(--row);text-align:start;color:var(--ink)}
.sg-tick .bx{flex:none;width:24px;height:24px;border-radius:7px;background:#fff;box-shadow:inset 0 0 0 2px #B9BDB9;display:grid;place-items:center}
.sg-tick .bx svg{opacity:0}
.sg-tick.on .bx{background:var(--green);box-shadow:none}
.sg-tick.on .bx svg{opacity:1}
.sg-tick span:last-child{font-size:15px;line-height:21px;color:var(--ink)}
.sg-signed{display:flex;align-items:center;gap:12px;margin-top:16px;padding:14px 16px;border-radius:20px;background:var(--green-soft);text-align:start}
.sg-signed svg{flex:none}
.sg-signed span{display:flex;flex-direction:column;gap:1px;min-width:0}
.sg-signed b{font-size:15.5px;line-height:21px;font-weight:700;color:var(--green)}
.sg-signed small{font-size:13px;line-height:18px;color:var(--sub)}

/* someone outside signs (picture 7.8) */
.sg-oh{display:flex;align-items:center;gap:12px;text-align:start}
.sg-oh .st-logo{flex:none}
.sg-oh span{min-width:0}
.sg-oh b{display:block;font-size:16px;line-height:21px;font-weight:700;color:var(--ink);overflow-wrap:anywhere}
.sg-oh small{font-size:13px;line-height:18px;color:var(--sub)}
.sg-mini{margin-top:14px;padding:16px;border-radius:16px;background:#fff;box-shadow:0 4px 16px rgba(12,12,12,.08);text-align:center}
.sg-mview{position:relative;max-height:150px;overflow:hidden;border-radius:6px}
.sg-mview::after{content:"";position:absolute;left:0;right:0;bottom:0;height:46px;background:linear-gradient(rgba(255,255,255,0),#fff 85%);pointer-events:none}
.sg-mview .sg-pl{text-align:start}
.sg-mimg{display:block;width:100%;height:auto}
.sg-mini .eo-link{margin-top:12px;display:inline-block;font-size:14.5px}
.sg-seg{margin-top:14px}
.sg-pad{position:relative;margin-top:12px;height:130px;border-radius:18px;background:#FBFCFB;box-shadow:inset 0 0 0 1.5px #D5D9D6;overflow:hidden}
.sg-pad.typed{display:flex;align-items:center;justify-content:center;padding:6px 16px 30px}
.sg-pad.typed img{max-width:100%;max-height:72px;object-fit:contain}
.sg-pad.typed img[src=""]{display:none}
.sg-padl{position:absolute;left:16px;right:16px;bottom:10px;padding-top:6px;border-top:1px solid #DDE2DE;font-size:12px;line-height:16px;color:var(--sub);text-align:start;pointer-events:none;z-index:0}
.sg-typein{margin-top:12px}
.sg-codel{margin-top:18px}
.sg-otp{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}
.sg-otp input{width:100%;min-width:0;height:52px;padding:0;border-radius:14px;border:1.5px solid #D5D9D6;background:#fff;text-align:center;font-size:22px;font-weight:800;color:var(--ink);outline:none;-moz-appearance:textfield}
.sg-otp input:focus{border-color:var(--green)}
.sg-codeh{display:flex;flex-wrap:wrap;align-items:center;gap:2px 6px}
.sg-codeh .eo-link{font-size:13px}

/* the list (sg_home) */
.sg-envs .ent-mem{color:var(--ink)}
.sg-env .ent-mt b{white-space:normal;overflow:hidden;text-overflow:clip;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow-wrap:anywhere}
.sg-env .ent-mt small{white-space:normal;overflow:hidden;text-overflow:clip;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.ent-chip.sg-chip-red{background:var(--red-soft);color:var(--red)}
.sg .row .t.wrap,.sg-sh .row .t.wrap{overflow-wrap:anywhere}

/* your e-signature (his ask, 19 Oct 2026, 13:39): at the top of E-signatures, the sheet to make it, and signing with it */
.sg-me{margin-top:16px;padding:16px;border-radius:22px;background:#fff;box-shadow:inset 0 0 0 1.5px #E3E6E2;text-align:start}
.sg-meh{display:flex;align-items:flex-start;gap:12px}
.sg-mei{flex:none;width:44px;height:44px;border-radius:14px;display:grid;place-items:center;background:var(--green-soft)}
.sg-met{display:flex;flex-direction:column;gap:2px;min-width:0}
.sg-met b{font-size:16px;line-height:22px;font-weight:700;color:var(--ink)}
.sg-met small{font-size:13.5px;line-height:19px;color:var(--sub)}
.sg-me .bp{margin-top:14px}
.sg-me.has{display:flex;align-items:center;gap:14px;width:100%;padding:12px 14px 12px 12px}
.sg-me.has .sg-met{flex:1}
.sg-meimg{flex:none;width:104px;height:56px;border-radius:14px;background:#FBFBF8;box-shadow:inset 0 0 0 1px #E6E9E5;display:grid;place-items:center;overflow:hidden}
.sg-meimg img{max-width:88%;max-height:44px;object-fit:contain}
.sg-mkseg{margin-top:4px}
.sg-mkpad{position:relative;margin-top:14px;height:190px;border-radius:22px;background:#FBFBF8;box-shadow:inset 0 0 0 1.5px #DCDFD9;overflow:hidden}
.sg-mkpad canvas{position:absolute;inset:0;width:100%;height:100%;touch-action:none;z-index:1}
.sg-mkpad .base{position:absolute;left:22px;right:22px;bottom:44px;height:1.5px;background:#DDE1DC;pointer-events:none}
.sg-mkpad .clr{position:absolute;top:10px;inset-inline-end:10px;z-index:2;display:inline-flex;align-items:center;gap:5px;height:32px;padding:0 12px;border-radius:16px;background:#fff;box-shadow:0 1px 4px rgba(0,0,0,.08);font-size:13px;font-weight:700;color:var(--sub)}
.sg-mkpad .sg-ehint{top:72px}
.sg-mkup{display:flex;flex-direction:column;align-items:center;gap:6px;width:100%;margin-top:14px;padding:22px 18px;border-radius:22px;background:#FBFBF8;box-shadow:inset 0 0 0 1.5px #DCDFD9;text-align:center}
.sg-mkui{width:52px;height:52px;border-radius:16px;display:grid;place-items:center;background:var(--green-soft);margin-bottom:4px}
.sg-mkup b{font-size:15.5px;line-height:21px;font-weight:700;color:var(--ink)}
.sg-mkup small{max-width:300px;font-size:13.5px;line-height:19px;color:var(--sub)}
.sg-mkprev{display:flex;flex-direction:column;align-items:center;gap:12px;margin-top:14px}
.sg-mkprev[hidden],.sg-mkup[hidden]{display:none}
.sg-mkimg{display:grid;place-items:center;width:100%;height:150px;border-radius:22px;background:#FBFBF8;box-shadow:inset 0 0 0 1.5px #DCDFD9;overflow:hidden}
.sg-mkimg img{max-width:86%;max-height:116px;object-fit:contain}
.sg-mkimg.big{margin-top:2px;height:170px}
.sg-epad.sg-saved img{position:absolute;left:50%;bottom:38px;transform:translateX(-50%);max-width:76%;max-height:96px;object-fit:contain;z-index:1}
.sg-keep{display:flex;align-items:center;gap:10px;margin:12px 4px 0;padding:4px 0;font-size:14px;line-height:19px;font-weight:600;color:var(--ink);text-align:start}
.sg-keep .bx{flex:none;width:22px;height:22px;border-radius:7px;background:#fff;box-shadow:inset 0 0 0 2px #B9BDB9;display:grid;place-items:center}
.sg-keep .bx svg{opacity:0}
.sg-keep.on .bx{background:var(--green);box-shadow:none}
.sg-keep.on .bx svg{opacity:1}
