*{box-sizing:border-box}body{margin:0;font-family:Inter,Segoe UI,Arial,sans-serif;background:#f4f7fb;color:#10213f}.shell{display:flex;min-height:100vh}.sidebar{width:255px;background:linear-gradient(180deg,#173656,#0d2742);color:#fff;padding:24px 14px;display:flex;flex-direction:column}.brand{padding:8px 12px 25px;position:relative}.alvna{font-size:34px;font-weight:800;letter-spacing:1px}.esign{font-size:24px;font-style:italic;color:#29c5f6;margin-left:125px;margin-top:-8px}.brand small{display:block;margin-top:10px;opacity:.85}.sidebar nav a{display:block;color:#dce8f6;text-decoration:none;padding:13px 14px;border-radius:8px;margin:3px 0}.sidebar nav a:hover{background:#1976d2;color:#fff}.secure{margin-top:auto;border:1px solid #41617d;border-radius:10px;padding:18px;line-height:1.7;color:#d7e5f2}main{flex:1;display:flex;flex-direction:column}.top{height:70px;background:#fff;border-bottom:1px solid #dfe7ef;display:flex;align-items:center;justify-content:space-between;padding:0 28px}.top input{width:min(570px,58vw);padding:13px 16px;border:1px solid #dbe4ef;border-radius:8px;background:#f7f9fc}.profile{text-align:right;font-weight:600}.profile small{font-weight:400;color:#667}.content{padding:22px}.hero{background:linear-gradient(125deg,#eaf5ff,#fff);border-radius:12px;padding:28px 34px;display:flex;justify-content:space-between;align-items:center;border:1px solid #d7e7f7}.hero h1{font-size:32px;margin:0 0 6px}.button{display:inline-block;background:#1675dc;color:#fff;border:none;border-radius:8px;padding:12px 18px;text-decoration:none;cursor:pointer}.button.secondary{background:#eef4fb;color:#17426f}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:18px 0}.card{background:#fff;border:1px solid #dfe8f1;border-radius:10px;padding:18px;box-shadow:0 2px 10px rgba(30,60,90,.03)}.stat b{font-size:28px;display:block}.grid{display:grid;grid-template-columns:2fr 1fr;gap:16px}.table{width:100%;border-collapse:collapse}.table th,.table td{text-align:left;padding:12px;border-bottom:1px solid #e9eef4}.badge{padding:5px 9px;border-radius:999px;background:#e8f3ff}.completed{background:#e4f7e8;color:#19783a}.pending{background:#fff2cf;color:#9b6500}.declined{background:#fde7e7;color:#a22}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}.form-group{margin-bottom:14px}.form-group label{display:block;font-weight:600;margin-bottom:6px}.form-group input,.form-group select,.form-group textarea{width:100%;padding:11px;border:1px solid #ccd9e6;border-radius:7px;background:#fff}.notice{padding:12px 15px;border-radius:8px;background:#e9f5ff;margin-bottom:16px}.error{background:#fdecec;color:#9a2222}.actions{display:flex;gap:8px;flex-wrap:wrap}.dropzone{border:2px dashed #aec4d8;border-radius:10px;padding:30px;text-align:center;background:#fbfdff}.sign-pad{border:1px solid #b9cadd;background:#fff;width:100%;height:180px;border-radius:8px}.recipient-card{padding:13px;border:1px solid #dde7ef;border-radius:8px;margin:8px 0}.muted{color:#718096}.right{text-align:right}footer{padding:18px 28px;color:#718096;font-size:13px}footer span{float:right}@media(max-width:900px){.sidebar{width:200px}.grid{grid-template-columns:1fr}.stats{grid-template-columns:1fr 1fr}.form-row{grid-template-columns:1fr}}@media(max-width:650px){.sidebar{display:none}.stats{grid-template-columns:1fr}.content{padding:12px}.top{padding:0 12px}.top input{width:65vw}}
.editor-toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:14px 0}.editor-toolbar select,.editor-toolbar input{padding:9px;border:1px solid #ccd9e6;border-radius:7px}.pdf-stage{position:relative;width:min(900px,100%);height:1080px;margin:15px auto;background:#d9e0e8;border:1px solid #bcc9d6}.pdf-stage iframe{position:absolute;inset:0;width:100%;height:100%;border:0}.field-overlay{position:absolute;inset:0;z-index:2;pointer-events:auto}.placed-field{position:absolute;border:2px solid #1976d2;background:rgba(235,246,255,.88);font-size:11px;padding:3px;cursor:move;overflow:hidden}.placed-field.selected{outline:3px solid rgba(25,118,210,.25)}.danger{color:#a22;background:none;border:0;cursor:pointer}.signing-doc{height:700px;width:100%;border:1px solid #ccd9e6;border-radius:8px}.sign-field{padding:12px;border:1px solid #dce6ef;border-radius:8px;margin:10px 0}.health-ok{color:#19783a}.health-bad{color:#a22}

.page-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;flex-wrap:wrap;margin-bottom:16px}
.filter-bar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:16px 0}
.filter-bar input{flex:1;min-width:260px;padding:11px;border:1px solid #ccd9e6;border-radius:7px}
.filter-bar select{padding:11px;border:1px solid #ccd9e6;border-radius:7px;background:#fff}
.status-strip{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}
.status-strip a{padding:7px 10px;border:1px solid #dbe5ef;border-radius:999px;text-decoration:none;color:#36536f;background:#fff;font-size:13px}
.status-strip a.active{background:#173656;color:#fff;border-color:#173656}
.table th a{color:#36536f;text-decoration:none}
.table-wrap{overflow-x:auto}
.pagination{display:flex;gap:6px;justify-content:flex-end;margin-top:15px}
.pagination a{min-width:34px;text-align:center;padding:7px 9px;border:1px solid #d9e4ef;border-radius:6px;text-decoration:none;color:#36536f}
.pagination a.active{background:#173656;color:#fff}
.detail-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:14px 0 20px}
.detail-grid>div{padding:12px;background:#f7f9fc;border:1px solid #e2e9f0;border-radius:8px}
.detail-grid small,.detail-grid b{display:block}.detail-grid b{margin-top:4px}
.timeline{position:relative}.timeline-item{display:grid;grid-template-columns:18px 1fr;gap:8px;padding:0 0 18px;position:relative}
.timeline-item:before{content:"";position:absolute;left:6px;top:12px;bottom:0;width:1px;background:#d8e2ec}
.timeline-item:last-child:before{display:none}.timeline-dot{width:13px;height:13px;margin-top:3px;border-radius:50%;background:#1976d2;border:3px solid #dcecff;z-index:1}
.timeline-meta{font-size:12px;margin-top:4px;line-height:1.45}
.danger-zone{margin-top:18px;border-top:1px solid #edf1f5;padding-top:12px}
.danger-zone summary{cursor:pointer;color:#9a2222}
.badge.draft{background:#eef1f5;color:#52606d}.badge.sent{background:#e8f3ff;color:#175c9b}.badge.viewed{background:#ece9ff;color:#553c9a}.badge.partially_signed{background:#fff2cf;color:#8b6500}.badge.voided,.badge.expired{background:#eef1f5;color:#667}
@media(max-width:900px){.detail-grid{grid-template-columns:1fr 1fr}}@media(max-width:600px){.detail-grid{grid-template-columns:1fr}}

.pdf-stage.pdfjs-stage{position:relative;width:min(930px,100%);height:auto;min-height:500px;margin:15px auto;padding:12px;overflow:auto;background:#d9e0e8;border:1px solid #bcc9d6;box-sizing:border-box}
.pdf-page-wrap{position:relative;margin:0 auto;background:#fff;box-shadow:0 2px 10px rgba(0,0,0,.12)}
.pdf-page-wrap #pdfCanvas{display:block;width:100%;height:100%}
.pdf-page-wrap .field-overlay{position:absolute;inset:0;z-index:2;pointer-events:auto}


/* V1.6.1 Mobile Field Editor and Frozen Toolbar */
.field-editor-card{
  padding:0;
  overflow:visible;
}
.field-editor-sticky{
  position:sticky;
  top:0;
  z-index:40;
  background:#fff;
  border-bottom:1px solid #dfe8f1;
  padding:16px 18px 12px;
  box-shadow:0 4px 10px rgba(30,60,90,.06);
}
.field-editor-page-head{
  margin-bottom:8px;
}
.field-editor-help{
  font-size:12px;
  line-height:1.45;
  margin-top:7px;
}
.field-editor-card .pdf-stage.pdfjs-stage{
  width:100%;
  max-width:100%;
  height:calc(100vh - 235px);
  min-height:520px;
  margin:0;
  padding:14px;
  overflow:auto;
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
  background:#d9e0e8;
  border:0;
  border-radius:0;
}
.field-editor-card .pdf-page-wrap{
  position:relative;
  margin:0 auto 24px;
  background:#fff;
  box-shadow:0 2px 12px rgba(0,0,0,.16);
}
.field-editor-card .field-overlay{
  position:absolute;
  inset:0;
  z-index:2;
  pointer-events:auto;
  touch-action:pan-y;
}
.field-editor-card .placed-field{
  display:flex;
  align-items:center;
  justify-content:center;
  min-width:34px;
  min-height:28px;
  border:2px solid #1976d2;
  background:rgba(235,246,255,.92);
  font-size:11px;
  font-weight:600;
  line-height:1.15;
  text-align:center;
  padding:3px 5px;
  cursor:grab;
  overflow:hidden;
  user-select:none;
  -webkit-user-select:none;
  touch-action:none;
}
.field-editor-card .placed-field.dragging{
  cursor:grabbing;
  opacity:.9;
  z-index:20;
  box-shadow:0 4px 12px rgba(25,118,210,.28);
}
.field-editor-card .placed-field.selected{
  outline:3px solid rgba(25,118,210,.28);
}
.field-editor-card #mainFieldActions{
  position:sticky;
  bottom:0;
  z-index:35;
  margin:0;
  padding:12px 18px;
  background:#fff;
  border-top:1px solid #dfe8f1;
  box-shadow:0 -4px 10px rgba(30,60,90,.05);
}
.field-editor-card #templateSavePanel{
  margin:18px;
}
.field-editor-card .editor-toolbar{
  margin:8px 0 0;
}

@media(max-width:900px){
  .field-editor-sticky{
    padding:12px;
  }
  .field-editor-page-head h2{
    font-size:20px;
  }
  .field-editor-page-head p{
    font-size:13px;
  }
  .field-editor-card .editor-toolbar{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px;
  }
  .field-editor-card .editor-toolbar select,
  .field-editor-card .editor-toolbar input,
  .field-editor-card .editor-toolbar button{
    width:100%;
    min-height:42px;
  }
  .field-editor-card .editor-toolbar label{
    display:flex;
    align-items:center;
    gap:6px;
  }
  .field-editor-card #pageCount,
  .field-editor-card #pdfStatus{
    align-self:center;
  }
  .field-editor-card .pdf-stage.pdfjs-stage{
    height:calc(100vh - 315px);
    min-height:430px;
    padding:10px;
  }
}

@media(max-width:650px){
  .field-editor-card{
    margin:-2px -2px 0;
    border-left:0;
    border-right:0;
    border-radius:0;
  }
  .field-editor-sticky{
    top:0;
    padding:10px;
  }
  .field-editor-page-head{
    display:block;
    margin-bottom:6px;
  }
  .field-editor-page-head .button{
    width:100%;
    margin-top:8px;
    text-align:center;
  }
  .field-editor-page-head h2{
    font-size:18px;
  }
  .field-editor-page-head p{
    display:none;
  }
  .field-editor-card .editor-toolbar{
    grid-template-columns:1fr 1fr;
    gap:6px;
  }
  .field-editor-card .editor-toolbar select,
  .field-editor-card .editor-toolbar button,
  .field-editor-card .editor-toolbar input{
    font-size:14px;
    min-height:40px;
    padding:8px;
  }
  .field-editor-help{
    font-size:11px;
  }
  .field-editor-card .pdf-stage.pdfjs-stage{
    height:calc(100vh - 300px);
    min-height:380px;
    padding:8px;
  }
  .field-editor-card #mainFieldActions{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:7px;
    padding:9px 10px;
  }
  .field-editor-card #mainFieldActions .button{
    width:100%;
    padding:10px 8px;
  }
  .field-editor-card #mainFieldActions .button:last-child{
    grid-column:1 / -1;
  }
  .field-editor-card .placed-field{
    min-width:40px;
    min-height:32px;
    font-size:10px;
  }
}

@media(max-width:430px){
  .field-editor-card .editor-toolbar{
    grid-template-columns:1fr;
  }
  .field-editor-card .editor-toolbar label{
    width:100%;
  }
  .field-editor-card #pageCount,
  .field-editor-card #pdfStatus{
    display:block;
    width:100%;
  }
  .field-editor-card .pdf-stage.pdfjs-stage{
    height:calc(100vh - 405px);
    min-height:330px;
  }
}


/* V1.6.2 Precision Field Placement */
.selected-field-panel{
  margin-top:10px;
  padding:10px 12px;
  border:1px solid #d7e3ee;
  border-radius:8px;
  background:#f8fbfd;
}
.selected-field-panel[hidden]{
  display:none !important;
}
.selected-field-title{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:8px;
}
.selected-field-controls{
  display:flex;
  align-items:end;
  gap:10px;
  flex-wrap:wrap;
}
.selected-field-controls label{
  margin:0;
}
.selected-field-controls label:first-child{
  flex:1 1 260px;
}
.selected-field-controls input[type="text"]{
  width:100%;
  min-width:220px;
}
.selected-field-required{
  display:flex;
  align-items:center;
  gap:6px;
  min-height:40px;
}
.placed-field{
  position:absolute;
}
.placed-field-caption{
  display:block;
  width:100%;
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
  pointer-events:none;
}
.field-resize-handle{
  position:absolute;
  right:-5px;
  bottom:-5px;
  width:16px;
  height:16px;
  border:2px solid #fff;
  border-radius:50%;
  background:#1976d2;
  box-shadow:0 1px 5px rgba(0,0,0,.3);
  cursor:nwse-resize;
  touch-action:none;
}
.placed-field.resizing{
  cursor:nwse-resize;
  opacity:.92;
  z-index:25;
}
#zoomLevel{
  min-width:48px;
  text-align:center;
}

@media(max-width:900px){
  .selected-field-controls{
    display:grid;
    grid-template-columns:1fr 1fr;
  }
  .selected-field-controls label:first-child{
    grid-column:1 / -1;
  }
  .selected-field-controls input[type="text"]{
    min-width:0;
  }
  .field-resize-handle{
    width:20px;
    height:20px;
    right:-7px;
    bottom:-7px;
  }
}

@media(max-width:430px){
  .selected-field-title{
    display:block;
  }
  .selected-field-title #selectedFieldSummary{
    display:block;
    margin-top:3px;
  }
  .selected-field-controls{
    grid-template-columns:1fr;
  }
  .selected-field-controls label:first-child{
    grid-column:auto;
  }
}


/* V1.6.3 Compact Mobile Field Toolbar */
.sr-only{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  padding:0!important;
  margin:-1px!important;
  overflow:hidden!important;
  clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;
  border:0!important;
}
.mobile-back-icon{display:none}

.compact-field-toolbar{
  display:flex;
  flex-direction:column;
  gap:7px;
  margin-top:8px;
}
.compact-field-toolbar .toolbar-row{
  display:flex;
  align-items:center;
  gap:6px;
  min-width:0;
}
.compact-field-toolbar .toolbar-primary select{
  min-width:0;
  height:38px;
  padding:6px 30px 6px 9px;
}
.compact-field-toolbar .toolbar-primary select:first-child{
  flex:1.15 1 0;
}
.compact-field-toolbar .toolbar-primary select:last-child{
  flex:.85 1 0;
}
.compact-field-toolbar .toolbar-actions{
  flex-wrap:wrap;
}
.icon-button{
  width:36px;
  min-width:36px;
  height:34px;
  min-height:34px;
  padding:0;
  border:1px solid #cad7e4;
  border-radius:7px;
  background:#edf4fb;
  color:#174f84;
  font-size:22px;
  line-height:1;
  font-weight:600;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.icon-button.text-icon{
  font-size:18px;
}
.page-compact{
  height:34px;
  display:inline-flex;
  align-items:center;
  gap:3px;
  margin:0;
  padding:0 6px;
  border:1px solid #cad7e4;
  border-radius:7px;
  background:#fff;
}
.page-compact input{
  width:38px!important;
  min-width:38px!important;
  height:28px!important;
  min-height:28px!important;
  padding:2px 3px!important;
  border:0!important;
  text-align:center;
  font-size:14px;
}
.page-compact input:focus{
  outline:none;
  box-shadow:none;
}
.page-compact #pageCount{
  white-space:nowrap;
  font-size:13px;
}
.zoom-compact{
  min-width:44px;
  text-align:center;
  font-size:12px;
}
.toolbar-separator{
  width:1px;
  height:22px;
  background:#d7e1ea;
  margin:0 1px;
}
.toolbar-status{
  font-size:11px;
  min-height:1em;
}
.compact-back-button{
  white-space:nowrap;
}

@media(max-width:650px){
  .field-editor-sticky{
    padding:8px 9px 7px;
  }

  .field-editor-page-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:8px;
    margin:0 0 5px;
  }
  .field-editor-page-head > div{
    min-width:0;
    flex:1;
  }
  .field-editor-page-head h2{
    font-size:17px;
    margin:0!important;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
  }
  .field-editor-page-head p{
    display:none;
  }

  .compact-back-button{
    width:36px!important;
    min-width:36px;
    height:34px;
    min-height:34px;
    padding:0!important;
    display:flex!important;
    align-items:center;
    justify-content:center;
    margin:0!important;
    border-radius:7px;
    font-size:20px;
  }
  .desktop-back-text{display:none}
  .mobile-back-icon{display:inline}

  .compact-field-toolbar{
    gap:5px;
    margin-top:0;
  }
  .compact-field-toolbar .toolbar-primary{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,.8fr);
    gap:5px;
  }
  .compact-field-toolbar .toolbar-primary select{
    width:100%!important;
    min-height:36px!important;
    height:36px!important;
    padding:5px 26px 5px 8px!important;
    font-size:13px!important;
  }

  .compact-field-toolbar .toolbar-actions{
    display:flex!important;
    flex-wrap:nowrap!important;
    gap:4px;
    overflow-x:auto;
    overflow-y:hidden;
    padding:1px 0 2px;
    scrollbar-width:none;
    -webkit-overflow-scrolling:touch;
  }
  .compact-field-toolbar .toolbar-actions::-webkit-scrollbar{
    display:none;
  }
  .compact-field-toolbar .toolbar-actions > *{
    flex:0 0 auto;
  }

  .icon-button{
    width:32px!important;
    min-width:32px!important;
    height:32px!important;
    min-height:32px!important;
    padding:0!important;
    font-size:19px!important;
    border-radius:6px;
  }
  .page-compact{
    height:32px;
    padding:0 4px;
  }
  .page-compact input{
    width:31px!important;
    min-width:31px!important;
    height:26px!important;
    font-size:13px!important;
  }
  .page-compact #pageCount{
    font-size:12px;
  }
  .zoom-compact{
    min-width:36px;
    font-size:11px;
  }
  .toolbar-separator{
    height:20px;
  }
  .toolbar-status{
    display:none;
  }

  .field-editor-help{
    margin-top:3px;
    font-size:10px;
    line-height:1.25;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }

  .selected-field-panel{
    margin-top:5px;
    padding:7px 8px;
  }
  .selected-field-title{
    margin-bottom:5px;
    font-size:12px;
  }
  .selected-field-controls{
    gap:5px;
  }
  .selected-field-controls input[type="text"]{
    min-height:34px;
    padding:5px 7px;
    font-size:13px;
  }
  .selected-field-controls .button{
    min-height:34px;
    padding:6px 8px;
    font-size:12px;
  }

  /* Give the document most of the phone screen */
  .field-editor-card .pdf-stage.pdfjs-stage{
    height:calc(100dvh - 175px);
    min-height:460px;
    padding:5px;
  }

  .field-editor-card #mainFieldActions{
    padding:6px 8px;
    gap:5px;
  }
  .field-editor-card #mainFieldActions .button{
    min-height:34px;
    padding:6px 7px;
    font-size:12px;
  }
}

@media(max-width:430px){
  .compact-field-toolbar .toolbar-primary{
    grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);
  }

  /* Keep controls on compact horizontal rows instead of stacking one per line */
  .field-editor-card .editor-toolbar{
    display:flex;
  }

  .field-editor-card .pdf-stage.pdfjs-stage{
    height:calc(100dvh - 168px);
    min-height:430px;
  }

  .selected-field-controls{
    grid-template-columns:1fr 1fr;
  }
  .selected-field-controls label:first-child{
    grid-column:1 / -1;
  }
}


/* V1.6.4 Mobile Toolbar Width Fix
   Final overrides intentionally placed last to defeat older mobile width rules. */
@media(max-width:650px){
  .field-editor-card .compact-field-toolbar .toolbar-actions{
    display:grid!important;
    grid-template-columns:
      28px
      48px
      28px
      1px
      28px
      38px
      28px
      28px
      1px
      28px
      28px!important;
    align-items:center!important;
    justify-content:start!important;
    column-gap:3px!important;
    row-gap:0!important;
    width:100%!important;
    max-width:100%!important;
    overflow:visible!important;
    padding:1px 0!important;
  }

  .field-editor-card .compact-field-toolbar .toolbar-actions .icon-button{
    width:28px!important;
    min-width:28px!important;
    max-width:28px!important;
    height:29px!important;
    min-height:29px!important;
    padding:0!important;
    margin:0!important;
    flex:none!important;
    font-size:17px!important;
    line-height:1!important;
    border-radius:5px!important;
  }

  .field-editor-card .compact-field-toolbar .toolbar-actions .text-icon{
    font-size:15px!important;
  }

  .field-editor-card .compact-field-toolbar label.page-compact{
    display:flex!important;
    width:48px!important;
    min-width:48px!important;
    max-width:48px!important;
    height:29px!important;
    min-height:29px!important;
    padding:0 3px!important;
    margin:0!important;
    flex:none!important;
    gap:1px!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
    justify-content:center!important;
  }

  .field-editor-card .compact-field-toolbar label.page-compact input#pageNo{
    width:21px!important;
    min-width:21px!important;
    max-width:21px!important;
    height:23px!important;
    min-height:23px!important;
    padding:0!important;
    margin:0!important;
    font-size:12px!important;
    line-height:23px!important;
    text-align:right!important;
    appearance:textfield!important;
    -moz-appearance:textfield!important;
  }

  .field-editor-card .compact-field-toolbar label.page-compact input#pageNo::-webkit-inner-spin-button,
  .field-editor-card .compact-field-toolbar label.page-compact input#pageNo::-webkit-outer-spin-button{
    -webkit-appearance:none!important;
    margin:0!important;
  }

  .field-editor-card .compact-field-toolbar label.page-compact #pageCount{
    display:inline!important;
    width:auto!important;
    min-width:0!important;
    max-width:23px!important;
    padding:0!important;
    margin:0!important;
    font-size:11px!important;
    line-height:1!important;
    white-space:nowrap!important;
  }

  .field-editor-card .compact-field-toolbar .zoom-compact{
    display:block!important;
    width:38px!important;
    min-width:38px!important;
    max-width:38px!important;
    margin:0!important;
    padding:0!important;
    flex:none!important;
    text-align:center!important;
    font-size:10px!important;
    line-height:29px!important;
    white-space:nowrap!important;
  }

  .field-editor-card .compact-field-toolbar .toolbar-separator{
    display:block!important;
    width:1px!important;
    min-width:1px!important;
    max-width:1px!important;
    height:19px!important;
    margin:0!important;
    padding:0!important;
    background:#d7e1ea!important;
  }

  .field-editor-card .compact-field-toolbar .toolbar-status{
    display:none!important;
  }

  /* Reduce the frozen area slightly more to maximize document visibility. */
  .field-editor-sticky{
    padding-bottom:5px!important;
  }
  .field-editor-help{
    margin-top:2px!important;
    height:13px!important;
    line-height:13px!important;
  }
  .field-editor-card .pdf-stage.pdfjs-stage{
    height:calc(100dvh - 158px)!important;
    min-height:450px!important;
  }
}

@media(max-width:390px){
  .field-editor-card .compact-field-toolbar .toolbar-actions{
    grid-template-columns:
      26px
      44px
      26px
      1px
      26px
      34px
      26px
      26px
      1px
      26px
      26px!important;
    column-gap:2px!important;
  }

  .field-editor-card .compact-field-toolbar .toolbar-actions .icon-button{
    width:26px!important;
    min-width:26px!important;
    max-width:26px!important;
    height:28px!important;
    min-height:28px!important;
    font-size:16px!important;
  }

  .field-editor-card .compact-field-toolbar label.page-compact{
    width:44px!important;
    min-width:44px!important;
    max-width:44px!important;
  }

  .field-editor-card .compact-field-toolbar .zoom-compact{
    width:34px!important;
    min-width:34px!important;
    max-width:34px!important;
    font-size:9px!important;
  }
}


/* V1.6.5 Mobile Pinch Zoom and Compact Field Actions */
.field-editor-card .pdf-stage.pdfjs-stage{
  touch-action:pan-x pan-y;
}

.compact-selected-controls{
  display:flex;
  align-items:center;
  gap:6px;
  flex-wrap:nowrap;
}

.compact-selected-controls .selected-label-control{
  flex:1 1 auto!important;
  min-width:0;
}

.compact-selected-controls .selected-label-control input{
  min-width:0!important;
  width:100%!important;
}

.icon-field-toggle,
.icon-field-action{
  flex:0 0 auto;
  width:34px;
  min-width:34px;
  height:34px;
  min-height:34px;
  padding:0!important;
  margin:0!important;
  border:1px solid #cad7e4;
  border-radius:6px;
  background:#edf4fb;
  color:#174f84;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:17px;
  font-weight:700;
  line-height:1;
  cursor:pointer;
  box-sizing:border-box;
}

.icon-field-toggle{
  position:relative;
}

.icon-field-toggle input{
  position:absolute;
  opacity:0;
  pointer-events:none;
}

.icon-field-toggle span{
  opacity:.28;
  font-size:17px;
}

.icon-field-toggle:has(input:checked){
  background:#dcecff;
  border-color:#7db2e7;
}

.icon-field-toggle:has(input:checked) span{
  opacity:1;
}

.icon-field-action.danger-icon{
  color:#a82222;
  background:#fff5f5;
  border-color:#efcaca;
}

@media(max-width:650px){
  .field-editor-card .selected-field-panel{
    margin-top:4px!important;
    padding:5px 6px!important;
  }

  .field-editor-card .selected-field-title{
    margin-bottom:4px!important;
    font-size:11px!important;
  }

  .field-editor-card .compact-selected-controls{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 30px 30px 30px!important;
    gap:4px!important;
    align-items:end!important;
  }

  .field-editor-card .compact-selected-controls .selected-label-control{
    grid-column:auto!important;
    min-width:0!important;
    font-size:10px!important;
  }

  .field-editor-card .compact-selected-controls .selected-label-control input{
    height:30px!important;
    min-height:30px!important;
    padding:4px 6px!important;
    font-size:12px!important;
  }

  .field-editor-card .icon-field-toggle,
  .field-editor-card .icon-field-action{
    width:30px!important;
    min-width:30px!important;
    height:30px!important;
    min-height:30px!important;
    font-size:15px!important;
    border-radius:5px!important;
  }

  .field-editor-card .field-editor-help{
    font-size:9px!important;
    line-height:12px!important;
    height:12px!important;
  }

  /* Reclaim additional vertical space for the PDF */
  .field-editor-card .pdf-stage.pdfjs-stage{
    height:calc(100dvh - 150px)!important;
    min-height:470px!important;
  }
}

@media(max-width:390px){
  .field-editor-card .compact-selected-controls{
    grid-template-columns:minmax(0,1fr) 28px 28px 28px!important;
    gap:3px!important;
  }

  .field-editor-card .icon-field-toggle,
  .field-editor-card .icon-field-action{
    width:28px!important;
    min-width:28px!important;
    height:28px!important;
    min-height:28px!important;
    font-size:14px!important;
  }

  .field-editor-card .pdf-stage.pdfjs-stage{
    height:calc(100dvh - 146px)!important;
  }
}


/* V1.6.6 Mobile Workspace and Admin Header Polish */

/* Top application header */
.top{
  gap:18px;
}
.top-search-wrap{
  flex:1 1 auto;
  min-width:0;
}
.top #globalSearch{
  width:min(390px,42vw)!important;
  max-width:390px!important;
}
.profile{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:12px;
  white-space:nowrap;
}
.profile-copy{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  line-height:1.2;
}
.profile-name{
  font-weight:600;
}
.top-signout{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:5px;
  min-height:34px;
  padding:6px 10px;
  border:1px solid #d8e3ed;
  border-radius:7px;
  background:#f6f9fc;
  color:#17426f;
  text-decoration:none;
  font-size:12px;
  font-weight:600;
}
.top-signout:hover{
  background:#eef4fb;
}
.signout-icon{
  font-size:16px;
  line-height:1;
}

/* Keep PDF zoom visually contained in the document frame. */
.field-editor-card .pdf-stage.pdfjs-stage{
  position:relative;
  contain:layout paint;
  touch-action:pan-x pan-y;
}
.field-editor-card .pdf-page-wrap.pinch-preview{
  will-change:transform;
}

/* Compact selected field editor */
.compact-selected-controls .selected-label-control{
  flex:0 1 180px!important;
  max-width:180px!important;
}
.compact-selected-controls .selected-label-control input{
  width:150px!important;
  min-width:0!important;
}
.selected-label-text{
  font-size:11px;
  margin-right:4px;
}
.compact-selected-controls{
  justify-content:flex-start;
}
.icon-field-toggle,
.icon-field-action{
  margin-left:0!important;
}

@media(max-width:900px){
  .top #globalSearch{
    width:min(320px,40vw)!important;
  }
}

@media(max-width:650px){
  .top{
    height:54px!important;
    padding:0 9px!important;
    gap:7px!important;
  }
  .top-search-wrap{
    flex:1 1 auto;
    min-width:0;
  }
  .top #globalSearch{
    width:100%!important;
    max-width:220px!important;
    height:34px!important;
    padding:7px 9px!important;
    font-size:12px!important;
  }
  .profile{
    gap:5px!important;
  }
  .profile-copy{
    max-width:92px;
  }
  .profile-name{
    max-width:92px;
    overflow:hidden;
    text-overflow:ellipsis;
    font-size:11px;
  }
  .profile-copy small{
    max-width:92px;
    overflow:hidden;
    text-overflow:ellipsis;
    font-size:9px;
  }
  .top-signout{
    width:30px!important;
    min-width:30px!important;
    height:30px!important;
    min-height:30px!important;
    padding:0!important;
    border-radius:6px!important;
  }
  .signout-text{
    display:none!important;
  }
  .signout-icon{
    font-size:16px!important;
  }

  /* Selected field controls use very little horizontal and vertical space. */
  .field-editor-card .compact-selected-controls{
    display:flex!important;
    align-items:flex-end!important;
    gap:3px!important;
  }
  .field-editor-card .compact-selected-controls .selected-label-control{
    flex:0 1 108px!important;
    width:108px!important;
    max-width:108px!important;
    min-width:72px!important;
  }
  .field-editor-card .compact-selected-controls .selected-label-control input{
    width:100%!important;
    max-width:108px!important;
    height:28px!important;
    min-height:28px!important;
    padding:3px 5px!important;
    font-size:11px!important;
  }
  .selected-label-text{
    display:none!important;
  }
  .field-editor-card .icon-field-toggle,
  .field-editor-card .icon-field-action{
    width:28px!important;
    min-width:28px!important;
    height:28px!important;
    min-height:28px!important;
  }

  /* The PDF zoom changes only pageWrap/canvas dimensions.
     Frozen header and toolbar remain at normal UI scale. */
  .field-editor-sticky{
    transform:none!important;
    zoom:1!important;
  }
  .field-editor-card .compact-field-toolbar,
  .field-editor-card .selected-field-panel{
    transform:none!important;
    zoom:1!important;
  }

  .field-editor-card .pdf-stage.pdfjs-stage{
    height:calc(100dvh - 136px)!important;
    min-height:490px!important;
  }
}

@media(max-width:390px){
  .top #globalSearch{
    max-width:175px!important;
  }
  .profile-copy{
    max-width:72px;
  }
  .profile-name,
  .profile-copy small{
    max-width:72px;
  }
  .field-editor-card .compact-selected-controls .selected-label-control{
    flex-basis:92px!important;
    width:92px!important;
    max-width:92px!important;
  }
  .field-editor-card .pdf-stage.pdfjs-stage{
    height:calc(100dvh - 132px)!important;
  }
}


/* V1.6.7 Document Only Pinch Zoom Lock */
@media(max-width:900px){
  .field-editor-card .pdf-stage.pdfjs-stage[data-document-only-zoom="1"]{
    touch-action:none!important;
    overscroll-behavior:contain!important;
    -webkit-overflow-scrolling:auto!important;
  }

  /* Application chrome never participates in PDF scaling. */
  .top,
  .field-editor-sticky,
  .compact-field-toolbar,
  .selected-field-panel,
  #mainFieldActions{
    transform:none!important;
    scale:1!important;
    zoom:1!important;
    max-width:100vw!important;
    box-sizing:border-box!important;
  }

  .top{
    overflow:hidden!important;
  }

  .top-search-wrap{
    min-width:0!important;
    max-width:220px!important;
    overflow:hidden!important;
  }

  .top #globalSearch{
    width:100%!important;
    max-width:220px!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }

  .compact-field-toolbar,
  .compact-field-toolbar .toolbar-row{
    width:100%!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
}

@media(max-width:390px){
  .top-search-wrap{
    max-width:165px!important;
  }

  .top #globalSearch{
    max-width:165px!important;
  }
}

/* V1.7.0 tenant context */
.tenant-context-badge{display:inline-flex;align-items:center;min-height:26px;padding:4px 8px;border:1px solid #d8e3ed;border-radius:999px;background:#f6f9fc;color:#486581;font-size:10px;font-weight:700;letter-spacing:.02em;white-space:nowrap}
@media(max-width:650px){.tenant-context-badge{display:none}}

/* V1.8.2 customer subscription controls */
.customer-status-actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap;margin:0}
.customer-status-actions .button{margin:0}
.danger-link{color:#b42318;font-weight:700}

/* V1.8.3 configurable trial controls */
.trial-settings-card{margin-bottom:16px}.inline-trial-form{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.trial-custom-days{max-width:125px}.trial-edit{margin-top:7px}.trial-edit summary{cursor:pointer;font-size:12px;font-weight:700}.trial-edit-row{display:flex;gap:5px;align-items:center;flex-wrap:wrap;margin-top:7px}.trial-edit-row select,.trial-edit-row input{max-width:125px;font-size:12px;padding:6px}@media(max-width:650px){.trial-edit-row select,.trial-edit-row input{max-width:none;width:100%}}

/* V1.8.4 prepared signature request messages */
.message-template-controls{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.message-template-controls select{min-width:300px;max-width:100%}
.prepared-message-preview{margin-top:10px;padding:12px;border:1px solid #d8dde6;border-radius:8px;background:#fafbfc;white-space:pre-wrap}
.prepared-message-preview strong{display:block;margin-bottom:6px}
#preparedMessagePreviewSubject{font-weight:600;margin-bottom:7px}
#preparedMessagePreviewBody{font-size:13px;line-height:1.45}
@media(max-width:650px){.message-template-controls select,.message-template-controls .button{width:100%;min-width:0}}

/* V1.8.6 custom prepared message manager */
.message-template-admin-grid{grid-template-columns:minmax(300px,0.85fr) minmax(420px,1.15fr);align-items:start}
.message-template-row{padding:14px 0;border-bottom:1px solid #e3e7ee}
.message-template-row:last-child{border-bottom:0}
.message-template-row-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}
.message-template-subject{font-weight:600;margin-top:8px}
.message-template-body{white-space:pre-wrap;font-size:13px;line-height:1.5;margin-top:6px;max-height:125px;overflow:auto;padding:9px;background:#fafbfc;border-radius:7px}
.message-template-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:10px}
.message-template-actions form{margin:0}
.message-token-help{margin-top:18px;padding-top:14px;border-top:1px solid #e3e7ee}
.token-list{display:grid;grid-template-columns:max-content 1fr;gap:6px 10px;margin-top:8px;font-size:12px}
.check-row{display:flex;gap:8px;align-items:center;margin:10px 0}
@media(max-width:900px){.message-template-admin-grid{grid-template-columns:1fr}}

/* V1.9.1 document visibility */
.document-visibility-row{display:grid;grid-template-columns:minmax(180px,1fr) 150px 180px auto;gap:10px;align-items:center;padding:10px 0;border-bottom:1px solid #e3e7ee}
@media(max-width:800px){.document-visibility-row{grid-template-columns:1fr}.document-visibility-row select,.document-visibility-row button{width:100%}}

/* V1.9.3 legacy storage audit */
.storage-summary-grid{grid-template-columns:repeat(4,minmax(140px,1fr));margin-bottom:16px}
.storage-summary-grid .card{display:flex;flex-direction:column;gap:4px}
.storage-summary-grid strong{font-size:24px}
.table-scroll{overflow-x:auto}
@media(max-width:800px){.storage-summary-grid{grid-template-columns:repeat(2,minmax(120px,1fr))}}

/* V1.9.4 nested field editor scrolling */
.field-editor-scroll,
.pdf-scroll,
.pdf-viewer-scroll,
.document-scroll,
#pdfScroll,
#pdfViewerContainer,
.field-editor-workspace{
    overscroll-behavior-y:auto;
    -webkit-overflow-scrolling:touch;
}


/* V1.9.5 allow nested PDF scrolling to hand off to the outer page */
.field-editor-card #pdfStage.pdf-stage.pdfjs-stage{
  overscroll-behavior-y:auto !important;
  overscroll-behavior:auto !important;
}

/* V2.0 subscription usage */
.subscription-overview{grid-template-columns:repeat(4,minmax(160px,1fr));margin-bottom:16px}
.subscription-big{font-size:24px;display:block;margin:6px 0 10px}
.usage-track{height:8px;background:#e8edf3;border-radius:999px;overflow:hidden}
.usage-track span{display:block;height:100%;background:currentColor;opacity:.55}
@media(max-width:900px){.subscription-overview{grid-template-columns:repeat(2,minmax(140px,1fr))}}
@media(max-width:560px){.subscription-overview{grid-template-columns:1fr}}


/* V2.1.7 Fixed navigation and compact field editor */
@media (min-width:651px){
  .sidebar{
    position:fixed;
    top:0;
    left:0;
    bottom:0;
    height:100vh;
    overflow-y:auto;
    overscroll-behavior:contain;
    z-index:100;
  }
  main{
    margin-left:255px;
    width:calc(100% - 255px);
    min-width:0;
  }
}
@media (min-width:651px) and (max-width:900px){
  main{
    margin-left:200px;
    width:calc(100% - 200px);
  }
}
@media (max-width:650px){
  main{
    margin-left:0;
    width:100%;
  }
}

/* Give the editor the maximum practical document area on laptops. */
body.field-editor-page .top{
  height:50px;
  min-height:50px;
  padding:0 18px;
}
body.field-editor-page .top input{
  padding:8px 11px;
}
body.field-editor-page .content{
  padding:10px 12px 12px;
}
body.field-editor-page footer{
  display:none;
}
body.field-editor-page .field-editor-sticky{
  top:0;
  padding:7px 10px 6px;
}
body.field-editor-page .field-editor-page-head{
  margin:0 0 4px;
  align-items:center;
}
body.field-editor-page .field-editor-page-head h2{
  margin:0 !important;
  font-size:18px;
  line-height:1.2;
}
body.field-editor-page .field-editor-page-head p{
  display:none;
}
body.field-editor-page .field-editor-card .editor-toolbar{
  margin:3px 0 0;
  gap:5px;
}
body.field-editor-page .compact-field-toolbar .toolbar-row{
  gap:5px;
}
body.field-editor-page .compact-field-toolbar select{
  min-height:32px;
  height:32px;
  padding:4px 7px;
  font-size:13px;
}
body.field-editor-page .compact-field-toolbar .icon-button{
  width:32px;
  height:32px;
  min-width:32px;
  min-height:32px;
  padding:3px;
}
body.field-editor-page .compact-field-toolbar #pageNo{
  height:30px;
  min-height:30px;
  padding:3px 5px;
}
body.field-editor-page .field-editor-help{
  display:none;
}
body.field-editor-page .selected-field-panel{
  margin-top:5px;
  padding:6px 8px;
}
body.field-editor-page .selected-field-title{
  margin-bottom:4px;
}
body.field-editor-page .field-editor-card .pdf-stage.pdfjs-stage{
  height:calc(100vh - 142px);
  min-height:480px;
  padding:9px;
}
body.field-editor-page .field-editor-card #mainFieldActions{
  padding:7px 10px;
}
@media(max-width:1100px){
  body.field-editor-page .tenant-context-badge{
    display:none;
  }
  body.field-editor-page .field-editor-card .pdf-stage.pdfjs-stage{
    height:calc(100vh - 138px);
    min-height:430px;
  }
}
@media(max-width:900px){
  body.field-editor-page .top{
    height:46px;
    min-height:46px;
  }
  body.field-editor-page .content{
    padding:7px;
  }
  body.field-editor-page .field-editor-sticky{
    padding:6px 7px 5px;
  }
  body.field-editor-page .field-editor-page-head h2{
    font-size:16px;
  }
  body.field-editor-page .field-editor-card .editor-toolbar{
    display:flex;
    flex-wrap:wrap;
  }
  body.field-editor-page .field-editor-card .editor-toolbar select,
  body.field-editor-page .field-editor-card .editor-toolbar input,
  body.field-editor-page .field-editor-card .editor-toolbar button{
    width:auto;
    min-height:30px;
  }
  body.field-editor-page .field-editor-card .pdf-stage.pdfjs-stage{
    height:calc(100vh - 130px);
    min-height:400px;
    padding:7px;
  }
}
@media(max-width:650px){
  body.field-editor-page .top{
    height:44px;
    min-height:44px;
  }
  body.field-editor-page .top-search-wrap{
    display:none;
  }
  body.field-editor-page .content{
    padding:0;
  }
  body.field-editor-page .field-editor-card .pdf-stage.pdfjs-stage{
    height:calc(100vh - 158px);
    min-height:360px;
  }
}


/* V2.1.8 Field Editor laptop viewport hotfix */
body.field-editor-page .top{
  display:none !important;
}
body.field-editor-page .content{
  padding:0 !important;
}
body.field-editor-page .field-editor-card{
  border-radius:0;
  border-top:0;
  margin:0;
}
body.field-editor-page .field-editor-sticky{
  position:sticky;
  top:0;
  padding:4px 6px !important;
  min-height:0;
  box-shadow:0 2px 6px rgba(30,60,90,.08);
}
body.field-editor-page .field-editor-page-head{
  display:none !important;
}
body.field-editor-page .editor-toolbar,
body.field-editor-page .field-editor-card .editor-toolbar{
  display:flex !important;
  flex-wrap:nowrap !important;
  align-items:center;
  gap:4px !important;
  margin:0 !important;
  min-height:34px;
  overflow-x:auto;
  overflow-y:hidden;
  scrollbar-width:thin;
}
body.field-editor-page .compact-field-toolbar .toolbar-row{
  display:flex;
  flex-wrap:nowrap;
  align-items:center;
  gap:4px !important;
  flex:0 0 auto;
}
body.field-editor-page .compact-field-toolbar select{
  height:29px !important;
  min-height:29px !important;
  padding:2px 6px !important;
  font-size:12px !important;
  line-height:1.1;
  width:auto !important;
  max-width:180px;
}
body.field-editor-page .compact-field-toolbar .icon-button{
  width:28px !important;
  height:28px !important;
  min-width:28px !important;
  min-height:28px !important;
  padding:2px !important;
  font-size:14px;
}
body.field-editor-page .compact-field-toolbar #pageNo{
  width:46px !important;
  height:27px !important;
  min-height:27px !important;
  padding:2px 4px !important;
  font-size:12px !important;
}
body.field-editor-page .compact-field-toolbar #pageCount,
body.field-editor-page .compact-field-toolbar #zoomLevel,
body.field-editor-page .compact-field-toolbar #pdfStatus{
  font-size:11px !important;
  white-space:nowrap;
}
body.field-editor-page .toolbar-separator{
  height:20px;
}
body.field-editor-page .field-editor-help{
  display:none !important;
}
body.field-editor-page .selected-field-panel{
  margin-top:3px !important;
  padding:4px 6px !important;
  border-radius:4px;
}
body.field-editor-page .selected-field-title{
  display:none !important;
}
body.field-editor-page .selected-field-controls{
  gap:4px !important;
}
body.field-editor-page .selected-field-controls input[type="text"]{
  min-width:150px;
  height:28px;
  padding:3px 6px;
  font-size:12px;
}
body.field-editor-page .field-editor-card .pdf-stage.pdfjs-stage{
  height:calc(100vh - 82px) !important;
  min-height:360px !important;
  padding:6px !important;
}
body.field-editor-page .field-editor-card #mainFieldActions{
  padding:5px 7px !important;
  gap:5px !important;
}
body.field-editor-page .field-editor-card #mainFieldActions .button{
  padding:7px 10px !important;
  font-size:12px !important;
}
body.field-editor-page #templateSavePanel{
  margin:8px !important;
}
body.field-editor-page footer{
  display:none !important;
}
@media(max-width:900px){
  body.field-editor-page .compact-field-toolbar select{
    max-width:145px;
  }
  body.field-editor-page .field-editor-card .pdf-stage.pdfjs-stage{
    height:calc(100vh - 80px) !important;
  }
}
@media(max-width:650px){
  body.field-editor-page .field-editor-sticky{
    padding:3px 4px !important;
  }
  body.field-editor-page .field-editor-card .pdf-stage.pdfjs-stage{
    height:calc(100vh - 116px) !important;
    min-height:320px !important;
  }
}


/* V2.1.9 Selected field tools stay inside the top editor toolbar */
body.field-editor-page .field-editor-card .editor-toolbar{
  display:flex !important;
  flex-wrap:nowrap !important;
  align-items:center !important;
  gap:5px !important;
  min-height:34px !important;
  margin:0 !important;
  overflow-x:auto;
  overflow-y:hidden;
}
body.field-editor-page .selected-field-toolbar{
  display:flex !important;
  align-items:center;
  gap:4px;
  flex:0 0 auto;
  margin:0 !important;
  padding:0 0 0 4px !important;
  min-height:30px !important;
  border:0 !important;
  border-left:1px solid #d9e3ec !important;
  border-radius:0 !important;
  background:transparent !important;
}
/* Reserve exactly the same toolbar footprint when no field is selected.
   This prevents the PDF from jumping up or down on field selection. */
body.field-editor-page .selected-field-toolbar[hidden]{
  display:flex !important;
  visibility:hidden !important;
  pointer-events:none !important;
}
body.field-editor-page .selected-field-toolbar:not([hidden]){
  visibility:visible !important;
  pointer-events:auto !important;
}
body.field-editor-page .selected-field-toolbar .selected-label-control{
  display:flex;
  align-items:center;
  gap:4px;
  margin:0 !important;
  flex:none !important;
  white-space:nowrap;
}
body.field-editor-page .selected-field-toolbar .selected-label-text{
  font-size:11px;
  font-weight:600;
}
body.field-editor-page .selected-field-toolbar #selectedFieldLabel{
  width:125px !important;
  min-width:125px !important;
  height:28px !important;
  min-height:28px !important;
  padding:2px 6px !important;
  font-size:12px !important;
}
body.field-editor-page .selected-field-toolbar .selected-field-required,
body.field-editor-page .selected-field-toolbar .icon-field-toggle,
body.field-editor-page .selected-field-toolbar .icon-field-action{
  width:28px !important;
  height:28px !important;
  min-width:28px !important;
  min-height:28px !important;
  padding:2px !important;
  margin:0 !important;
  flex:none !important;
}
body.field-editor-page .selected-field-toolbar .selected-field-required{
  display:flex !important;
  align-items:center;
  justify-content:center;
}
body.field-editor-page .selected-field-toolbar input[type="checkbox"]{
  margin:0 !important;
}
@media(max-width:900px){
  body.field-editor-page .field-editor-card .editor-toolbar{
    flex-wrap:nowrap !important;
  }
  body.field-editor-page .selected-field-toolbar #selectedFieldLabel{
    width:105px !important;
    min-width:105px !important;
  }
  body.field-editor-page .selected-field-toolbar .selected-label-text{
    display:none;
  }
}


/* V2.1.12 stable document upload picker and drag drop */
.upload-dropzone{
  position:relative;
  min-height:150px;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:border-color .15s ease, background .15s ease;
}
.upload-dropzone.drag-active{
  border-color:#1976d2;
  background:#f0f7ff;
}
.upload-dropzone .native-file-input{
  position:absolute;
  width:1px;
  height:1px;
  opacity:0;
  pointer-events:none;
}
.upload-drop-content{
  text-align:center;
  width:100%;
}
.upload-drop-title{
  font-weight:700;
  font-size:16px;
  margin-bottom:6px;
}
.selected-file-name{
  margin-top:10px;
  min-height:20px;
  overflow-wrap:anywhere;
}
.selected-file-name.has-file{
  font-weight:600;
  color:#173656;
}


/* V2.1.13 standard browser file input cleanup */
.upload-dropzone .native-file-input{
  position:static !important;
  width:auto !important;
  height:auto !important;
  opacity:1 !important;
  pointer-events:auto !important;
}
.upload-dropzone input[type="file"]{
  display:block;
  width:100%;
  max-width:520px;
  margin:8px 0 12px 0;
}
.upload-dropzone{
  display:block;
  min-height:0;
}
.upload-drop-content{
  text-align:left;
}


/* V2.1.14 smaller Initial and Checkbox signing fields */
.field-editor-card .placed-field[data-type="initial"]{
  min-width:30px;
  min-height:18px;
  padding:1px 3px;
  font-size:9px;
}
.field-editor-card .placed-field[data-type="checkbox"]{
  min-width:16px;
  min-height:16px;
  padding:0;
  font-size:8px;
}
.field-editor-card .placed-field[data-type="initial"] .field-resize-handle,
.field-editor-card .placed-field[data-type="checkbox"] .field-resize-handle{
  width:12px;
  height:12px;
  right:-4px;
  bottom:-4px;
}
.field-editor-card .placed-field[data-type="checkbox"] .placed-field-caption{
  font-size:0;
}
.field-editor-card .placed-field[data-type="checkbox"] .placed-field-caption::after{
  content:"✓";
  font-size:9px;
}
@media(max-width:900px){
  .field-editor-card .placed-field[data-type="initial"] .field-resize-handle,
  .field-editor-card .placed-field[data-type="checkbox"] .field-resize-handle{
    width:14px;
    height:14px;
    right:-5px;
    bottom:-5px;
  }
}


/* V2.1.16 Contacts and envelope record usability */
.contact-picker-group{margin-bottom:10px}
.contact-save-option{display:inline-flex;align-items:center;gap:7px;margin:0 0 14px 0;font-size:13px;color:#53657a;cursor:pointer}
.contact-save-option input{width:auto}
.contact-save-option.existing-contact{opacity:.55}
.sortable-heading{text-decoration:none;color:inherit;white-space:nowrap}
.sortable-heading:hover{text-decoration:underline}
.signer-list-cell{min-width:190px;max-width:360px;white-space:normal;line-height:1.45}
.table-wrap{overflow-x:auto}


/* V2.1.18 Mobile workspace parity for customer and platform administration */
.mobile-menu-toggle,
.mobile-menu-close,
.mobile-nav-overlay{
  display:none;
}

@media(max-width:650px){
  html,body{
    max-width:100%;
    overflow-x:hidden;
  }

  body.mobile-nav-open{
    overflow:hidden;
  }

  .shell{
    display:block;
    min-height:100vh;
  }

  .sidebar{
    display:flex !important;
    position:fixed !important;
    z-index:1200;
    top:0;
    left:0;
    bottom:0;
    width:min(84vw,300px) !important;
    height:100dvh;
    padding:18px 12px !important;
    transform:translateX(-105%);
    transition:transform .2s ease;
    overflow-y:auto;
    box-shadow:12px 0 30px rgba(5,25,45,.22);
  }

  .sidebar.mobile-open{
    transform:translateX(0);
  }

  .mobile-nav-overlay{
    display:block;
    position:fixed;
    z-index:1190;
    inset:0;
    background:rgba(7,24,42,.46);
  }

  .mobile-nav-overlay[hidden]{
    display:none !important;
  }

  .mobile-menu-toggle{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    flex:0 0 42px;
    width:42px;
    height:42px;
    border:1px solid #d9e3ed;
    border-radius:8px;
    background:#fff;
    color:#173656;
    font-size:24px;
    line-height:1;
    cursor:pointer;
  }

  .mobile-menu-close{
    display:inline-flex;
    position:absolute;
    top:4px;
    right:4px;
    align-items:center;
    justify-content:center;
    width:38px;
    height:38px;
    border:0;
    border-radius:8px;
    background:rgba(255,255,255,.1);
    color:#fff;
    font-size:28px;
    line-height:1;
    cursor:pointer;
  }

  .sidebar .brand{
    padding-right:46px;
  }

  .sidebar nav a{
    min-height:46px;
    display:flex;
    align-items:center;
    font-size:15px;
  }

  main{
    width:100%;
    min-width:0;
  }

  .top{
    height:auto !important;
    min-height:62px;
    padding:8px 10px !important;
    gap:8px;
    position:sticky;
    top:0;
    z-index:800;
  }

  .top-search-wrap{
    flex:1 1 auto;
    min-width:0;
  }

  .top input,
  #globalSearch{
    width:100% !important;
    min-width:0;
    height:42px;
    font-size:16px;
  }

  .profile{
    display:flex;
    align-items:center;
    gap:6px;
    flex:0 0 auto;
  }

  .profile-copy,
  .tenant-context-badge{
    display:none !important;
  }

  .top-signout{
    min-width:42px;
    min-height:42px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:0 10px;
  }

  .top-signout .signout-text{
    display:none;
  }

  .content{
    padding:10px !important;
    width:100%;
    min-width:0;
  }

  .hero{
    padding:18px 16px;
    display:block;
  }

  .hero h1{
    font-size:25px;
    line-height:1.2;
  }

  .grid,
  .stats,
  .form-row,
  .detail-grid,
  .subscription-overview,
  .storage-summary-grid{
    grid-template-columns:1fr !important;
  }

  .card{
    padding:14px;
    border-radius:9px;
    min-width:0;
  }

  .actions{
    gap:7px;
  }

  .actions .button,
  .actions button,
  form > .button{
    min-height:44px;
  }

  .form-group input,
  .form-group select,
  .form-group textarea,
  input,
  select,
  textarea{
    font-size:16px;
    max-width:100%;
  }

  .form-group select,
  select{
    min-height:44px;
  }

  .button,
  button{
    touch-action:manipulation;
  }

  .table-wrap{
    width:100%;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
    border-radius:8px;
  }

  .table{
    min-width:720px;
  }

  .table th,
  .table td{
    padding:10px 9px;
    vertical-align:top;
  }

  .table th{
    white-space:nowrap;
  }

  .sort-inline,
  .sortable-heading{
    white-space:nowrap;
  }

  .signer-list-cell{
    min-width:180px;
    max-width:240px;
  }

  .recipient-card{
    padding:12px;
  }

  .dropzone{
    padding:18px 12px;
  }

  .upload-dropzone input[type="file"]{
    max-width:100%;
  }

  .notice{
    overflow-wrap:anywhere;
  }

  footer{
    padding:16px 12px;
  }

  footer span{
    float:none;
    display:block;
    margin-top:6px;
  }
}

@media(max-width:430px){
  .top{
    flex-wrap:wrap;
  }

  .mobile-menu-toggle{
    order:1;
  }

  .profile{
    order:2;
    margin-left:auto;
  }

  .top-search-wrap{
    order:3;
    flex:0 0 100%;
  }

  .top input,
  #globalSearch{
    width:100% !important;
  }

  .content{
    padding:8px !important;
  }

  .card{
    padding:12px;
  }

  .button,
  .actions .button,
  .actions button{
    width:100%;
    text-align:center;
  }

  .actions{
    display:grid;
    grid-template-columns:1fr;
  }
}


/* V2.2.0 sender and signer workflow */
.workflow-progress-card{margin-bottom:16px}
.workflow-progress-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px}
.workflow-progress-head>b{font-size:24px;color:#173656}
.workflow-progress-track{height:10px;background:#e8eef5;border-radius:999px;overflow:hidden;margin:12px 0 9px}
.workflow-progress-track span{display:block;height:100%;background:#2f7d55;border-radius:999px}
.workflow-progress-meta{display:flex;flex-wrap:wrap;gap:14px;font-size:13px;color:#53657a}
.workflow-next{margin-top:10px;padding:10px 12px;background:#f7faff;border:1px solid #dbe4ef;border-radius:8px;font-size:13px}
@media(max-width:650px){
  .workflow-progress-head{align-items:center}
  .workflow-progress-meta{display:grid;grid-template-columns:1fr 1fr;gap:7px}
}


/* V2.2.1 functional global search */
.top-search-wrap{
  position:relative;
  display:flex;
  align-items:center;
}
.top-search-wrap #globalSearch{
  padding-right:44px;
}
.global-search-button{
  position:absolute;
  right:4px;
  top:50%;
  transform:translateY(-50%);
  width:36px;
  height:36px;
  min-width:36px;
  border:0;
  border-radius:7px;
  background:transparent;
  color:#526b84;
  font-size:23px;
  line-height:1;
  cursor:pointer;
}
.global-search-button:hover{
  background:#eef4f9;
  color:#173656;
}
.global-search-page-form{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:8px;
  margin-bottom:16px;
}
.global-search-page-form input{
  min-height:46px;
  font-size:16px;
}
.search-summary{
  margin:2px 0 14px;
  color:#52657a;
}
.search-group{
  margin:0 0 20px;
}
.search-group-title{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:8px;
}
.search-group-title h2{
  margin:0;
  font-size:18px;
}
.search-group-title span{
  min-width:30px;
  text-align:center;
  padding:3px 8px;
  border-radius:999px;
  background:#edf3f8;
  color:#52657a;
  font-size:12px;
}
.search-results-list{
  display:grid;
  gap:7px;
}
.search-result-card{
  display:flex;
  align-items:center;
  gap:12px;
  padding:13px 14px;
  border:1px solid #dbe4ed;
  border-radius:9px;
  background:#fff;
  color:inherit;
  text-decoration:none;
}
.search-result-card:hover{
  border-color:#aebfd0;
  box-shadow:0 3px 12px rgba(18,52,78,.07);
}
.search-result-main{
  min-width:0;
  flex:1 1 auto;
}
.search-result-main strong{
  display:block;
  color:#173656;
  overflow-wrap:anywhere;
}
.search-result-meta{
  margin-top:3px;
  color:#60758a;
  font-size:12px;
}
.search-result-text{
  margin-top:5px;
  color:#40566b;
  font-size:13px;
  overflow-wrap:anywhere;
}
.search-result-open{
  flex:0 0 auto;
  font-size:26px;
  color:#8094a8;
}
.search-empty-state{
  text-align:center;
  padding:34px 18px;
}
@media(max-width:650px){
  .global-search-page-form{
    grid-template-columns:1fr;
  }
  .global-search-page-form .button{
    width:100%;
  }
  .global-search-button{
    display:flex;
  }
}


/* V2.2.2 forgot password confirmation UX */
.auth-confirmation-card{
  max-width:520px;
  margin:0 auto;
  text-align:center;
  padding:30px 24px;
}
.auth-confirmation-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:58px;
  height:58px;
  border-radius:50%;
  background:#eaf6ef;
  color:#2f7d55;
  font-size:31px;
  font-weight:700;
  margin-bottom:12px;
}
.auth-confirmation-card h2{
  margin:0 0 10px;
}
.auth-confirmation-card p{
  line-height:1.55;
}
.auth-confirmation-card .button{
  margin-top:10px;
  min-width:150px;
}
.login-help{
  margin-top:10px;
  display:flex;
  flex-direction:column;
  gap:3px;
  font-size:13px;
}
.login-help span{
  color:#6b7f92;
}
@media(max-width:650px){
  .auth-confirmation-card{
    padding:24px 16px;
  }
  .auth-confirmation-card .button{
    width:100%;
  }
}


/* V2.2.5 frozen global header across Platform Admin and customer workspaces */
:root{
  --alvna-global-header-height:72px;
}

main{
  min-width:0;
}

.top{
  position:sticky !important;
  top:0 !important;
  z-index:1000 !important;
  width:100%;
  box-sizing:border-box;
  background:var(--surface,#fff);
  box-shadow:0 1px 0 rgba(18,52,78,.10);
}

/* Keep page content scrolling underneath the frozen global header. */
.content{
  position:relative;
  z-index:1;
}

/* Keep sidebar below/independent of the global header stacking context. */
.sidebar{
  z-index:900;
}

/* Search dropdowns, menus, and controls inside the header must remain above page content. */
.top-search-wrap,
.profile{
  position:relative;
  z-index:1001;
}

@media(max-width:650px){
  :root{
    --alvna-global-header-height:62px;
  }

  .top{
    position:sticky !important;
    top:0 !important;
    z-index:1000 !important;
  }

  .sidebar{
    z-index:1200;
  }

  .mobile-nav-overlay{
    z-index:1190;
  }
}


/* V2.3.0 dashboard and reporting upgrade */
.dashboard-stats{
  grid-template-columns:repeat(4,minmax(150px,1fr));
}

.dashboard-health-grid{
  display:grid;
  grid-template-columns:repeat(5,minmax(140px,1fr));
  gap:14px;
  margin:16px 0 20px;
}

.compact-metric{
  display:flex;
  flex-direction:column;
  gap:7px;
  min-height:86px;
  justify-content:center;
}

.compact-metric span{
  font-size:.82rem;
  color:var(--muted,#66788a);
}

.compact-metric b{
  font-size:1.55rem;
  line-height:1;
}

.dashboard-grid-wide{
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  align-items:start;
}

.section-heading{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:8px;
}

.section-heading h2{
  margin:0;
}

.dashboard-quick-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(150px,1fr));
  gap:14px;
  margin-top:16px;
}

.action-card{
  display:flex;
  flex-direction:column;
  gap:6px;
  text-decoration:none;
  color:inherit;
  transition:transform .15s ease, box-shadow .15s ease;
}

.action-card:hover{
  transform:translateY(-1px);
  box-shadow:0 7px 18px rgba(24,54,85,.10);
}

.action-card span{
  color:var(--muted,#66788a);
  font-size:.86rem;
}

.report-range-form{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:190px;
}

.report-range-form label{
  font-size:.86rem;
  font-weight:600;
}

.report-range-form select{
  min-width:120px;
}

@media(max-width:1050px){
  .dashboard-health-grid{
    grid-template-columns:repeat(3,minmax(140px,1fr));
  }
  .dashboard-quick-grid{
    grid-template-columns:repeat(2,minmax(150px,1fr));
  }
  .dashboard-grid-wide{
    grid-template-columns:1fr;
  }
}

@media(max-width:650px){
  .dashboard-stats,
  .dashboard-health-grid,
  .dashboard-quick-grid{
    grid-template-columns:1fr 1fr;
  }

  .report-range-form{
    width:100%;
    justify-content:flex-start;
  }

  .hero{
    align-items:flex-start;
    gap:12px;
  }
}

@media(max-width:430px){
  .dashboard-stats,
  .dashboard-health-grid,
  .dashboard-quick-grid{
    grid-template-columns:1fr;
  }
}


/* V2.4.0 secure POST sign out */
.top-signout-form{
  display:flex;
  margin:0;
  padding:0;
}

.top-signout-form .top-signout{
  border:0;
  font:inherit;
  cursor:pointer;
  background:transparent;
}


/* V2.5.0 acceptance testing */
.acceptance-manual-list{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}

.acceptance-item{
  display:flex;
  align-items:flex-start;
  gap:12px;
  border:1px solid rgba(25,74,115,.14);
  border-radius:10px;
  padding:14px;
  background:var(--surface,#fff);
  cursor:pointer;
}

.acceptance-item:hover{
  border-color:rgba(25,74,115,.30);
}

.acceptance-item input{
  width:19px;
  height:19px;
  margin-top:2px;
  flex:0 0 auto;
}

.acceptance-item span{
  display:flex;
  flex-direction:column;
  gap:3px;
}

.acceptance-item small{
  color:var(--muted,#66788a);
  font-weight:600;
}

.acceptance-item em{
  color:var(--muted,#66788a);
  font-style:normal;
  line-height:1.4;
}

@media(max-width:800px){
  .acceptance-manual-list{
    grid-template-columns:1fr;
  }
}


/* V2.5.1 full Admin and Customer mobile parity hardening */
html,body{
  max-width:100%;
  overflow-x:hidden;
}

*,
*::before,
*::after{
  box-sizing:border-box;
}

main,
.content,
.card,
.hero,
.grid,
.form-row,
.table-wrap,
.table-scroll{
  min-width:0;
}

img,
svg,
canvas,
video{
  max-width:100%;
  height:auto;
}

.table-wrap,
.table-scroll{
  width:100%;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
}

.table-wrap .table,
.table-scroll table{
  min-width:680px;
}

.actions,
.editor-toolbar,
.section-heading,
.report-range-form{
  max-width:100%;
}

.actions > *,
.editor-toolbar > *{
  min-width:0;
}

input,
select,
textarea,
button{
  max-width:100%;
}

@media(max-width:900px){
  .hero{
    padding:22px 24px;
    gap:16px;
  }

  .hero h1{
    font-size:28px;
  }

  .card{
    padding:16px;
  }
}

@media(max-width:650px){
  body{
    overflow-x:hidden;
  }

  main{
    width:100%;
    min-width:0;
  }

  .content{
    width:100%;
    padding:12px;
  }

  .top{
    min-height:62px;
    height:auto;
    padding:8px 10px;
    gap:8px;
  }

  .top-search-wrap{
    flex:1 1 auto;
    min-width:0;
  }

  .top-search-wrap form,
  .top-search-form{
    width:100%;
    min-width:0;
  }

  .top input,
  .top-search-form input{
    width:100% !important;
    min-width:0;
    font-size:16px;
  }

  .profile{
    flex:0 0 auto;
  }

  .hero{
    padding:18px;
    flex-direction:column;
    align-items:stretch;
  }

  .hero h1{
    font-size:25px;
    line-height:1.16;
  }

  .hero .button,
  .hero button,
  .hero form,
  .hero select{
    width:100%;
  }

  .card{
    padding:14px;
    border-radius:9px;
  }

  .grid,
  .form-row,
  .detail-grid,
  .dashboard-grid-wide{
    grid-template-columns:1fr !important;
  }

  .actions{
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:8px;
  }

  .actions .button,
  .actions button,
  .actions a.button,
  .actions form{
    width:100%;
  }

  .actions form button{
    width:100%;
  }

  .form-group input,
  .form-group select,
  .form-group textarea,
  input[type="text"],
  input[type="email"],
  input[type="password"],
  input[type="search"],
  input[type="number"],
  input[type="date"],
  select,
  textarea{
    font-size:16px;
  }

  .table-wrap,
  .table-scroll{
    margin-left:0;
    margin-right:0;
    border-radius:8px;
  }

  .table th,
  .table td,
  .table-scroll th,
  .table-scroll td{
    padding:10px;
    vertical-align:top;
  }

  .pagination{
    justify-content:flex-start;
    overflow-x:auto;
    padding-bottom:4px;
  }

  footer{
    padding:14px 12px;
  }

  footer span{
    float:none;
    display:block;
    margin-top:6px;
  }

  .dropzone{
    padding:20px 12px;
  }

  .sign-pad{
    height:160px;
  }

  .report-range-form{
    flex-direction:column;
    align-items:stretch;
    width:100%;
  }

  .report-range-form select{
    width:100%;
  }

  .section-heading{
    align-items:flex-start;
    flex-direction:column;
  }

  .acceptance-item{
    padding:12px;
  }

  .top-signout{
    min-height:44px;
    min-width:44px;
  }
}

@media(max-width:430px){
  .content{
    padding:10px;
  }

  .hero{
    padding:15px;
  }

  .hero h1{
    font-size:23px;
  }

  .card{
    padding:12px;
  }

  .button,
  button{
    min-height:44px;
  }

  .table-wrap .table,
  .table-scroll table{
    min-width:620px;
  }
}

/* V2.5.2 Backup and Restore */
.backup-hash{
  display:inline-block;
  max-width:230px;
  overflow:hidden;
  text-overflow:ellipsis;
  vertical-align:middle;
}

.restore-details{
  position:relative;
}

.restore-details summary{
  list-style:none;
  cursor:pointer;
}

.restore-details summary::-webkit-details-marker{
  display:none;
}

.restore-form{
  min-width:330px;
  max-width:430px;
  margin-top:10px;
  padding:14px;
  border:1px solid #d9e4ef;
  border-radius:9px;
  background:#fff;
  box-shadow:0 8px 28px rgba(25,55,85,.12);
}

.restore-form input[type="text"]{
  width:100%;
  margin:7px 0 12px;
  padding:11px;
  border:1px solid #ccd9e6;
  border-radius:7px;
}

.danger-button{
  background:#a92c2c;
}

@media(max-width:650px){
  .restore-form{
    min-width:0;
    width:100%;
    box-shadow:none;
  }

  .backup-hash{
    max-width:160px;
  }
}


/* White Label Distribution V1.0 */
.sidebar{
  background:linear-gradient(180deg,var(--wl-primary,#173656),color-mix(in srgb,var(--wl-primary,#173656) 72%,#000));
}
.sidebar nav a:hover{
  background:var(--wl-accent,#29c5f6);
  color:#fff;
}
.alvna{color:inherit}
.esign{color:var(--wl-accent,#29c5f6)}
.button{background:var(--wl-accent,#1675dc)}
.platform-logo{
  display:block;
  max-width:210px;
  max-height:72px;
  width:auto;
  height:auto;
  object-fit:contain;
  margin:2px 0 12px;
}

/* V2.5.18 Professional Envelope Workspace */
.top{background:linear-gradient(180deg,#2879c7,#2169ad);border-bottom-color:#1b5f9f;color:#fff;box-shadow:0 2px 10px rgba(18,65,112,.14)}
.top .top-search-wrap input{background:rgba(255,255,255,.10);border-color:rgba(255,255,255,.16);color:#fff}
.top .top-search-wrap input::placeholder{color:rgba(255,255,255,.78)}
.top .global-search-button,.top .profile,.top .profile small,.top .profile-name,.top .tenant-context-badge,.top .top-signout{color:#fff}
.top .tenant-context-badge{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.18)}
.envelope-create-card{padding:0;overflow:hidden;border-radius:13px;box-shadow:0 6px 24px rgba(31,73,118,.07)}
.envelope-create-head{padding:20px 22px 16px;margin:0;border-bottom:1px solid #e5edf5;align-items:center}
.envelope-create-head h2{font-size:27px;color:#10213f}
.envelope-head-actions{display:flex;align-items:center;gap:20px}
.envelope-steps{display:flex;align-items:flex-start;min-width:440px;justify-content:flex-end}
.envelope-steps span{display:flex;flex-direction:column;align-items:center;gap:5px;min-width:72px;color:#61748d;font-size:12px}
.envelope-steps b{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#edf2f8;color:#29445f;font-size:13px}
.envelope-steps span.active{color:#0b67d9;font-weight:700}.envelope-steps span.active b{background:#0b6fe8;color:#fff}
.envelope-steps i{display:block;width:52px;height:1px;background:#d8e2ed;margin-top:15px}
#envelopeForm{padding:20px 22px 0}
.envelope-setup-grid{grid-template-columns:minmax(0,1.05fr) minmax(430px,.95fr);gap:22px;align-items:start}
.envelope-compose-column{min-width:0}.required-mark{color:#d83939}
.envelope-compose-placeholder{min-height:2px}
.envelope-document-picker{border:1px solid #dce7f1;border-radius:11px;padding:14px;background:#fbfdff;box-shadow:0 2px 8px rgba(31,73,118,.025)}
.document-panel-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:11px;font-size:18px;color:#10213f}
.document-panel-title .button{font-size:13px;padding:9px 12px}
.envelope-document-picker #documentSearch{margin-bottom:8px;background:#fff}
.envelope-document-picker #documentSelect{min-height:132px;border-radius:8px;padding:6px;background:#fff}
.envelope-document-picker #documentSelect option{padding:9px 10px;border-bottom:1px solid #edf2f7}
.envelope-inline-upload{margin-top:12px;padding-top:2px}
.upload-divider{display:flex;align-items:center;gap:10px;color:#71839a;font-size:11px;font-weight:700;letter-spacing:.04em;margin:7px 0 12px}.upload-divider:before,.upload-divider:after{content:"";height:1px;background:#d9e4ee;flex:1}
.envelope-inline-upload .form-row{grid-template-columns:1.35fr .85fr;gap:10px}.envelope-inline-upload .form-group{margin-bottom:8px}.envelope-inline-upload input[type=file]{min-height:44px;background:#fff}
.upload-actions{align-items:center}.upload-actions .button{padding:9px 12px}
.message-template-picker{margin-top:4px}
#envelopeForm>h3{margin-top:20px}
#envelopeForm>.actions:last-of-type{position:sticky;bottom:0;z-index:8;background:rgba(255,255,255,.96);border-top:1px solid #e6edf4;margin:22px -22px 0;padding:14px 22px;justify-content:flex-end;backdrop-filter:blur(8px)}
@media(max-width:1100px){.envelope-create-head{align-items:flex-start}.envelope-head-actions{width:100%;justify-content:space-between}.envelope-steps{min-width:380px}.envelope-setup-grid{grid-template-columns:1fr}}
@media(max-width:760px){.envelope-head-actions{display:block}.envelope-steps{min-width:0;width:100%;margin-top:12px}.envelope-steps i{width:auto;flex:1}.envelope-steps span{min-width:58px}.envelope-steps small{font-size:10px}.envelope-inline-upload .form-row{grid-template-columns:1fr}.document-panel-title{align-items:flex-start}.top{background:#2169ad}}


/* V2.5.20 Create Envelope professional layout correction */
.top{background:linear-gradient(180deg,#2368a8,#1d5b94);border-bottom-color:#174f83;box-shadow:0 2px 12px rgba(12,48,83,.18)}
.envelope-create-card{max-width:none}
.envelope-create-head{padding:22px 22px 18px}
.envelope-setup-grid{grid-template-columns:minmax(420px,.96fr) minmax(520px,1.04fr);gap:22px;padding:20px 22px 16px;align-items:start}
.envelope-compose-column{min-width:0}
.envelope-message-editor{margin-top:8px}
.message-editor-shell{position:relative;border:1px solid #ccd9e6;border-radius:8px;background:#fff;overflow:hidden}
.message-editor-toolbar{height:42px;display:flex;align-items:center;gap:14px;padding:0 12px;border-bottom:1px solid #e1e8f0;color:#304966;font-size:13px;background:#fbfcfe}
.message-editor-toolbar i{height:20px;width:1px;background:#e0e7ef}.message-editor-toolbar b,.message-editor-toolbar em,.message-editor-toolbar u{font-size:16px;color:#173656}
.message-editor-shell textarea{border:0!important;border-radius:0!important;resize:vertical;min-height:158px;padding:14px 14px 30px!important;outline:none;box-shadow:none!important}
.message-count{position:absolute;right:12px;bottom:9px;color:#6c7f96;font-size:12px;background:#fff;padding-left:6px}
.envelope-tip{display:flex;gap:16px;align-items:flex-start;background:#eef6ff;border-radius:8px;padding:13px 15px;margin:4px 0 12px;color:#335574;font-size:13px}.envelope-tip strong{color:#0b67d9;white-space:nowrap}.envelope-tip span{line-height:1.45}
.envelope-more-options{border:1px solid #dce5ef;border-radius:9px;background:#fff;margin-top:0}.envelope-more-options summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:12px;padding:13px 15px}.envelope-more-options summary::-webkit-details-marker{display:none}.envelope-more-options summary:after{content:'⌄';margin-left:auto;font-size:18px;color:#244b72}.more-options-icon{font-size:21px;color:#173656}.envelope-more-options summary small{display:block;color:#718096;font-weight:400;margin-top:3px}.more-options-body{border-top:1px solid #e6edf4;padding:14px}.compact-signing-order{max-width:280px;margin-bottom:0}
.envelope-document-picker{margin:0;padding:14px;border-radius:11px;background:#fbfdff}.document-panel-title{margin-bottom:10px}.document-panel-title strong{font-size:18px}.document-search-row{display:grid;grid-template-columns:minmax(0,1fr) 150px;gap:10px;margin-bottom:8px}.document-search-row #documentSearch{margin:0}.document-filter-label{display:flex;align-items:center;justify-content:space-between;border:1px solid #ccd9e6;border-radius:7px;background:#fff;padding:0 12px;color:#203b58;font-size:13px}.document-filter-label:after{content:'⌄';color:#5f7892}
.envelope-document-picker #documentSelect{min-height:196px;max-height:220px;margin-bottom:0}.envelope-document-picker #documentSelect option{padding:10px 12px}
.envelope-inline-upload{margin-top:10px}.upload-divider{display:flex;align-items:center;gap:12px;color:#6d8098;font-size:11px;font-weight:700;letter-spacing:.04em;margin:10px 0}.upload-divider:before,.upload-divider:after{content:'';height:1px;background:#d8e3ed;flex:1}.upload-divider span{white-space:nowrap}
.inline-upload-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(180px,.75fr);gap:12px;align-items:end}.envelope-dropzone{min-height:92px;border:1.5px dashed #b9cce0;border-radius:9px;background:#fff;display:flex;align-items:center;justify-content:center;gap:13px;padding:14px;cursor:pointer;color:#173656}.envelope-dropzone:hover{border-color:#5b95cf;background:#f8fbff}.envelope-dropzone input{display:none}.envelope-dropzone small{display:block;color:#718096;font-weight:400;margin-top:5px}.upload-cloud{display:grid;place-items:center;width:44px;height:44px;border-radius:10px;background:#edf6ff;color:#0874e8;font-size:27px}.upload-title-group{margin-bottom:0}.upload-actions{margin-top:10px}.upload-actions .button{padding:9px 13px}
@media(max-width:1180px){.envelope-setup-grid{grid-template-columns:1fr}.envelope-document-picker #documentSelect{min-height:150px}}
@media(max-width:760px){.envelope-setup-grid{padding:14px;gap:14px}.document-search-row,.inline-upload-grid{grid-template-columns:1fr}.document-filter-label{min-height:42px}.message-editor-toolbar{gap:10px;overflow:hidden}.envelope-tip{display:block}.envelope-tip strong{display:block;margin-bottom:5px}}

/* V2.5.20 compact Create Envelope workflow */
.envelope-prepared-message{margin:0 0 12px}
.envelope-prepared-message .message-template-controls{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end}
.envelope-prepared-message .message-template-controls select{min-width:0;width:100%}
.manage-messages-link{white-space:nowrap;padding:10px 14px}
.envelope-message-editor{margin:0 0 12px}
.envelope-message-editor .message-editor-shell textarea{min-height:138px}
.compact-signing-order{max-width:240px;margin:0}
.envelope-document-picker #documentSelect{min-height:0;height:auto;max-height:174px}
.envelope-document-picker #documentSelect option{padding:8px 10px}
.envelope-inline-upload{margin-top:8px}
.inline-upload-grid{grid-template-columns:minmax(0,1.45fr) minmax(180px,.75fr);gap:12px;align-items:center}
.envelope-dropzone{min-height:76px;padding:11px 13px;color:#365b7e;font-weight:500}
.envelope-dropzone strong{font-weight:600;color:#274b6d}
.envelope-dropzone u{color:#176fc1;text-decoration:none}
.envelope-dropzone small{color:#7b8fa3}
.upload-cloud{width:40px;height:40px;font-size:23px;background:#edf6ff;color:#1976d2}
.upload-actions{margin-top:8px;align-items:center}
.upload-actions .button{font-weight:500;color:#24557f;background:#edf4fb}
.envelope-tip,.envelope-more-options,.prepared-message-preview,#applyPreparedMessage{display:none!important}
@media(max-width:760px){.envelope-prepared-message .message-template-controls,.inline-upload-grid{grid-template-columns:1fr}.manage-messages-link{width:100%;text-align:center}}

/* V2.5.21 Single-page Create Envelope structural rebuild */
.envelope-create-head{display:flex;justify-content:space-between;gap:18px;align-items:center}
.single-page-badge{display:inline-flex;align-items:center;min-height:34px;padding:0 12px;border:1px solid #cfe0ef;border-radius:999px;background:#f5f9fd;color:#45647f;font-size:12px;font-weight:600;white-space:nowrap}
#envelopeForm{padding:0}
.envelope-setup-grid{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(440px,.96fr)!important;gap:18px!important;padding:18px 22px 12px!important;align-items:start!important}
.envelope-compose-column{display:flex;flex-direction:column;gap:11px;min-width:0}
.envelope-compose-column>.form-group{margin:0}
.envelope-prepared-message,.envelope-message-editor,.compact-signing-order{margin:0!important}
.envelope-message-editor .message-editor-shell textarea{min-height:150px;max-height:230px}
.compact-signing-order{max-width:260px!important}
.envelope-document-picker{height:auto!important;min-height:0!important;margin:0!important;padding:14px!important;align-self:start}
.envelope-document-picker #documentSelect{height:auto!important;min-height:78px!important;max-height:150px!important}
.inline-upload-grid{grid-template-columns:minmax(0,1.35fr) minmax(180px,.65fr)!important}
.envelope-dropzone{min-height:72px!important}
.recipients-section{margin:0 22px 14px;padding:15px 16px 13px;border:1px solid #dce6ef;border-radius:11px;background:#fbfdff}
.recipients-section-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:10px}
.recipients-section-head h3{margin:0 0 2px;font-size:18px;color:#10213f}
.recipients-section-head p{margin:0;font-size:12px}
#recipients{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.recipient-card{margin:0!important;padding:13px!important;border-radius:9px!important;background:#fff!important;box-shadow:none!important}
.recipient-card .form-group{margin-bottom:8px}
.recipient-card .form-row{gap:9px}
.recipient-card small{font-size:11px}
.recipient-card .actions{margin-top:8px;gap:7px}
.recipient-card .button{padding:7px 9px;font-size:12px}
.contact-save-option{font-size:12px}
.recipients-add-row{display:flex;justify-content:flex-start;margin-top:10px}
.envelope-final-actions{position:sticky;bottom:0;z-index:9;display:flex;justify-content:flex-end;gap:10px;margin:0!important;padding:12px 22px!important;border-top:1px solid #e3ebf3;background:rgba(255,255,255,.96);backdrop-filter:blur(8px)}
#envelopeForm>.actions:last-of-type{margin:0!important;padding:12px 22px!important}
.envelope-steps{display:none!important}
@media(max-width:1180px){.envelope-setup-grid{grid-template-columns:1fr!important}.single-page-badge{display:none}#recipients{grid-template-columns:1fr}}
@media(max-width:760px){.envelope-create-head{align-items:flex-start}.envelope-setup-grid{padding:14px!important}.recipients-section{margin:0 14px 12px;padding:12px}.recipients-section-head{align-items:flex-start;flex-direction:column}.recipients-section-head .button{width:100%}.envelope-final-actions{padding:10px 14px!important}.envelope-final-actions .button{flex:1}.inline-upload-grid{grid-template-columns:1fr!important}}
/* V2.5.23 multi-document envelope workflow */
.attached-documents{margin-top:12px;padding:12px;border:1px solid #dbe5ef;border-radius:10px;background:#f8fbff}.attached-document-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 0;border-top:1px solid #e6edf5}.attached-document-row:first-child{margin-top:8px}.attached-document-row small{color:#277a52;margin-left:8px}.attached-document-row .actions{display:flex;gap:6px;margin:0}.attached-document-row .button{padding:6px 9px}.document-panel-title{display:flex;align-items:baseline;gap:10px}.document-workflow-nav{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 12px;margin-bottom:8px;background:#f4f8fc;border:1px solid #dbe5ef;border-radius:9px}.envelope-dropzone #selectedPdfLabel,.envelope-dropzone #selectedPdfMeta{display:block}@media(max-width:760px){.attached-document-row,.document-workflow-nav{align-items:flex-start;flex-direction:column}.attached-document-row .actions{flex-wrap:wrap}}
\n\n/* V2.5.24 recipient layout and space-efficiency correction */\n.recipients-section{margin-top:0!important}\n#recipients{grid-template-columns:repeat(2,minmax(340px,1fr))!important;align-items:start!important;gap:10px 12px!important}\n.recipient-card{position:relative;padding:10px 12px!important;min-width:0}\n.recipient-sequence-label{display:inline-flex;align-items:center;min-height:24px;margin:0 0 7px;padding:3px 9px;border-radius:999px;background:#eaf3ff;color:#155ea8;font-size:12px;font-weight:700}\n.recipient-card .contact-picker-group{margin-bottom:6px!important}\n.recipient-card .contact-picker-group small{display:none}\n.recipient-card .form-group{margin-bottom:6px!important}\n.recipient-card .form-group label{margin-bottom:4px;font-size:12px}\n.recipient-card .form-group input,.recipient-card .form-group select{padding:8px 9px!important;min-height:36px}\n.recipient-card .form-row{gap:8px!important}\n.recipient-card .contact-save-option{display:block;margin:2px 0 5px;font-size:11px}\n.recipient-card .actions{margin-top:5px!important;gap:5px!important}\n.recipient-card .button{padding:6px 8px!important;font-size:11px!important}\n.recipient-card .link{font-size:11px!important}\n.recipients-add-row{margin-top:8px!important}\n.envelope-final-actions{position:static!important;justify-content:flex-start!important;width:max-content;max-width:100%;margin:0 22px 18px!important;padding:0!important;border:0!important;background:transparent!important;backdrop-filter:none!important}\n#envelopeForm>.actions:last-of-type{margin:0 22px 18px!important;padding:0!important}\n/* Prevent document growth from forcing recipient cards to equal-height rows. */\n.envelope-setup-grid{align-items:start!important}\n.envelope-document-picker,.envelope-compose-column{align-self:start!important}\n.attached-document-row{min-height:0}\n@media(min-width:1181px){\n  .recipients-section{clear:both}\n  #recipients{grid-auto-flow:row dense}\n}\n@media(max-width:1180px){#recipients{grid-template-columns:1fr!important}.envelope-final-actions,#envelopeForm>.actions:last-of-type{margin-left:14px!important;margin-right:14px!important;width:auto}}\n
/* V2.5.26 stable envelope layout rebuild: fixed order, natural vertical growth, no masonry */
.envelope-setup-grid{display:grid!important;grid-template-columns:minmax(420px,.96fr) minmax(520px,1.04fr)!important;gap:22px!important;align-items:start!important}
.envelope-compose-column,.envelope-document-picker{align-self:start!important;min-width:0}
.recipients-section{display:block!important;position:static!important;clear:both!important;margin-top:14px!important}
#recipients{display:grid!important;grid-template-columns:repeat(2,minmax(360px,1fr))!important;grid-auto-flow:row!important;gap:10px 12px!important;align-items:start!important}
.recipient-card{position:relative!important;padding:10px 12px!important;margin:0!important;min-width:0!important;height:auto!important}
.recipient-sequence-label{display:inline-flex;align-items:center;min-height:24px;margin:0 0 7px;padding:3px 9px;border-radius:999px;background:#eaf3ff;color:#155ea8;font-size:12px;font-weight:700}
.recipient-card .contact-picker-group{margin-bottom:6px!important}.recipient-card .contact-picker-group small{display:none!important}
.recipient-card .form-group{margin-bottom:6px!important}.recipient-card .form-group label{margin-bottom:4px!important;font-size:12px!important}
.recipient-card .form-group input,.recipient-card .form-group select{padding:8px 9px!important;min-height:36px!important}
.recipient-card .form-row{gap:8px!important}.recipient-card .contact-save-option{display:block;margin:2px 0 5px;font-size:11px}
.recipient-card .actions{margin-top:5px!important;gap:5px!important}.recipient-card .button{padding:6px 8px!important;font-size:11px!important}.recipient-card .link{font-size:11px!important}
.recipients-add-row{margin-top:8px!important}
.envelope-final-actions{position:static!important;display:flex!important;justify-content:flex-start!important;gap:10px!important;width:auto!important;max-width:none!important;margin:0 22px 18px!important;padding:0!important;border:0!important;background:transparent!important;backdrop-filter:none!important}
.attached-documents{height:auto!important;max-height:none!important;overflow:visible!important}
.attached-document-row{min-height:0!important}
@media(max-width:1180px){.envelope-setup-grid{grid-template-columns:1fr!important}#recipients{grid-template-columns:1fr!important}.envelope-final-actions{margin-left:14px!important;margin-right:14px!important}}


/* V2.5.27 full-width recipient workspace correction */
/* The upper two-column setup ends before Recipients. Recipients is deliberately
   outside that grid so document growth pushes it down instead of squeezing it. */
.recipients-section{
  display:block!important;
  width:auto!important;
  max-width:none!important;
  margin:6px 22px 14px!important;
  padding:15px 16px 13px!important;
  position:static!important;
  clear:both!important;
}
#recipients{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  grid-auto-flow:row!important;
  gap:10px!important;
  width:100%!important;
}
.recipient-card{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  height:auto!important;
  padding:9px 12px!important;
}
.recipient-card .form-row{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  gap:8px 12px!important;
}
.recipient-card .contact-picker-group{margin-bottom:5px!important}
.recipient-card .form-group{margin-bottom:5px!important}
.recipient-card .actions{display:flex!important;align-items:center!important;justify-content:flex-start!important;flex-wrap:wrap!important;margin-top:4px!important}
.recipient-sequence-label{margin-bottom:5px!important}
.recipients-add-row{margin-top:8px!important}
.envelope-final-actions{
  position:static!important;
  display:flex!important;
  justify-content:flex-start!important;
  align-items:center!important;
  gap:10px!important;
  margin:0 22px 18px!important;
  padding:0!important;
  width:auto!important;
  border:0!important;
  background:transparent!important;
  backdrop-filter:none!important;
}
@media(max-width:760px){
  .recipients-section{margin:6px 14px 12px!important;padding:12px!important}
  .recipient-card .form-row{grid-template-columns:1fr!important}
  .envelope-final-actions{margin:0 14px 16px!important;flex-wrap:wrap!important}
  .envelope-final-actions .button{flex:0 1 auto!important;width:auto!important}
}

/* V2.5.28 two independent envelope columns: Recipients belongs to left workflow */
.envelope-setup-grid{
  display:grid!important;
  grid-template-columns:minmax(420px,.96fr) minmax(520px,1.04fr)!important;
  gap:22px!important;
  align-items:start!important;
}
.envelope-compose-column,.envelope-document-picker{align-self:start!important;min-width:0!important}
.envelope-compose-column .recipients-section{
  display:block!important;
  width:100%!important;
  max-width:none!important;
  margin:4px 0 0!important;
  padding:14px!important;
  clear:none!important;
  position:static!important;
  box-sizing:border-box!important;
}
.envelope-compose-column #recipients{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  grid-auto-flow:row!important;
  gap:9px!important;
  width:100%!important;
}
.envelope-compose-column .recipient-card{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  height:auto!important;
  padding:9px 11px!important;
  box-sizing:border-box!important;
}
.envelope-compose-column .recipient-card .form-row{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  gap:7px 10px!important;
}
.envelope-compose-column .recipient-card .form-group{margin-bottom:4px!important}
.envelope-compose-column .recipient-card .form-group label{margin-bottom:3px!important}
.envelope-compose-column .recipient-card .form-group input,
.envelope-compose-column .recipient-card .form-group select{min-height:34px!important;padding:7px 8px!important}
.envelope-compose-column .recipient-card .contact-picker-group{margin-bottom:4px!important}
.envelope-compose-column .recipient-card .actions{margin-top:4px!important}
.envelope-compose-column .recipient-sequence-label{margin-bottom:4px!important}
.envelope-compose-column .recipients-add-row{margin-top:7px!important}
.envelope-compose-column .envelope-final-actions{
  position:static!important;
  display:flex!important;
  justify-content:flex-start!important;
  align-items:center!important;
  gap:10px!important;
  width:auto!important;
  max-width:100%!important;
  margin:10px 0 0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  backdrop-filter:none!important;
}
.attached-documents{height:auto!important;max-height:none!important;overflow:visible!important}
@media(max-width:1180px){
  .envelope-setup-grid{grid-template-columns:1fr!important}
  .envelope-compose-column .recipients-section{margin-top:4px!important}
}
@media(max-width:760px){
  .envelope-compose-column .recipient-card .form-row{grid-template-columns:1fr!important}
  .envelope-compose-column .envelope-final-actions{flex-wrap:wrap!important}
}

/* V2.5.30 true two-column recipient continuation.
   Recipient cards keep the same width. The right continuation begins only below
   the complete Documents panel; later recipients alternate between both columns. */
@media(min-width:1181px){
  .envelope-compose-column .recipient-card.recipient-expand-right{width:100%!important;position:static!important}
  .recipient-right-continuation{display:grid;grid-template-columns:1fr;gap:9px;margin-top:12px;min-width:0}
  .recipient-right-continuation:empty{display:none}
  .recipient-right-continuation .recipient-card{width:100%!important;max-width:none!important;min-width:0!important;height:auto!important;padding:9px 11px!important;box-sizing:border-box!important}
  .recipient-right-continuation .recipient-card .form-row{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:7px 10px!important}
  .recipient-right-continuation .recipient-card .form-group{margin-bottom:4px!important}
  .recipient-right-continuation .recipient-card .form-group input,.recipient-right-continuation .recipient-card .form-group select{min-height:34px!important;padding:7px 8px!important}
  .recipient-right-continuation .recipient-card .contact-picker-group{margin-bottom:4px!important}
  .recipient-right-continuation .recipient-card .actions{margin-top:4px!important}
  .recipient-right-continuation .recipient-sequence-label{margin-bottom:4px!important}
}
@media(max-width:1180px){.recipient-right-continuation{display:none!important}}

/* V2.5.31 mobile hardening — preserve V2.5.30 desktop recipient flow. */
@media(max-width:650px){
  .envelope-setup-grid{display:block!important}
  .envelope-compose-column,.envelope-document-picker{width:100%!important;min-width:0!important}
  .envelope-compose-column .recipients-section{padding:12px!important}
  .envelope-compose-column #recipients{display:grid!important;grid-template-columns:1fr!important;gap:8px!important}
  .envelope-compose-column .recipient-card{padding:10px!important}
  .envelope-compose-column .recipient-card .form-row{grid-template-columns:1fr!important;gap:6px!important}
  .envelope-compose-column .recipient-card .actions{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important}
  .envelope-compose-column .recipient-card .actions button{width:100%!important;min-height:44px!important;padding:8px 6px!important}
  .envelope-compose-column .recipients-add-row .button{width:100%!important;min-height:46px!important}
  .envelope-compose-column .envelope-final-actions{display:grid!important;grid-template-columns:1fr!important;justify-items:stretch!important;width:100%!important;margin-top:12px!important}
  .envelope-compose-column .envelope-final-actions .button,
  .envelope-compose-column .envelope-final-actions button{width:100%!important;min-height:48px!important}
  .envelope-document-picker .button,.attached-documents .button{min-height:44px}
}
@media(max-width:390px){
  .envelope-compose-column .recipient-card .actions{grid-template-columns:1fr!important}
}

/* V2.5.32 global mobile viewport containment.
   Keep application pages inside the phone viewport; intentional wide data tables
   scroll inside their own containers rather than widening the entire page. */
html,body{max-width:100%;overflow-x:hidden}
.shell,main,.content,.card,.grid,.form-row,.actions,.top,.top-search-wrap{min-width:0;max-width:100%}
img,svg,video,canvas,iframe{max-width:100%}
input,select,textarea,button{max-width:100%}
.table-wrap,.table-scroll{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
@media(max-width:650px){
  .shell{display:block!important;width:100%!important;max-width:100vw!important;overflow-x:hidden!important}
  main{width:100%!important;max-width:100vw!important;min-width:0!important;overflow-x:hidden!important}
  .content{width:100%!important;max-width:100vw!important;min-width:0!important;padding:10px!important;overflow-x:hidden!important}
  .card,.hero,.notice,.dropzone,.grid,.form-row,.actions,form,fieldset{width:100%!important;max-width:100%!important;min-width:0!important}
  .grid,.form-row{grid-template-columns:minmax(0,1fr)!important}
  .hero{display:block!important;padding:16px!important}
  .hero h1{font-size:25px!important;overflow-wrap:anywhere}
  .top{width:100%!important;max-width:100vw!important;height:auto!important;min-height:62px!important;padding:8px 10px!important;gap:7px!important}
  .top-search-wrap{flex:1 1 auto!important;min-width:0!important;width:auto!important}
  .top-search-wrap input,.top input{width:100%!important;min-width:0!important;max-width:100%!important}
  .profile{flex:0 0 auto!important;min-width:0!important}
  .profile-copy{max-width:90px!important;overflow:hidden!important}
  .profile-name{display:block!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
  .form-group input,.form-group select,.form-group textarea{min-width:0!important;max-width:100%!important}
  .filter-bar{width:100%!important;max-width:100%!important;min-width:0!important;flex-wrap:wrap!important}
  .filter-bar input,.filter-bar select{width:100%!important;min-width:0!important;max-width:100%!important}
  .actions{flex-wrap:wrap!important}
  .actions>.button,.actions>button,.actions>a{max-width:100%!important}
  pre,code{max-width:100%;overflow-wrap:anywhere;word-break:break-word}
  footer{padding:14px 10px!important;width:100%!important;max-width:100%!important}
  footer span{float:none!important;display:block!important;margin-top:5px}
}

/* V2.5.33 mobile button readability and touch sizing */
@media(max-width:650px){
  .button,
  button,
  input[type="button"],
  input[type="submit"],
  input[type="reset"]{
    font-size:16px !important;
    line-height:1.25 !important;
    min-height:48px;
    padding:12px 16px !important;
    font-weight:650;
  }
  .actions .button,
  .actions button{
    min-height:48px;
  }
  .icon-button,
  .compact-field-toolbar .icon-button{
    min-width:46px;
    min-height:46px;
    font-size:16px !important;
    padding:10px !important;
  }
  .compact-back-button,
  .global-search-button{
    font-size:16px !important;
    min-height:46px;
  }
  .trial-edit summary,
  .trial-edit-row select,
  .trial-edit-row input{
    font-size:15px !important;
  }
}
@media(max-width:430px){
  .button,
  button,
  input[type="button"],
  input[type="submit"],
  input[type="reset"]{
    font-size:17px !important;
    min-height:50px;
    padding:13px 16px !important;
  }
}

/* V2.5.35 mobile envelope workflow: documents before recipients, preserve desktop flow. */
.envelope-document-required{margin:0 0 12px!important}
@media(max-width:760px){
  .envelope-compose-column>.envelope-document-picker{
    width:100%!important;
    margin:4px 0 12px!important;
    order:initial!important;
  }
  .envelope-compose-column>.envelope-document-picker+.recipients-section{margin-top:0!important}
  .envelope-document-picker .document-panel-title strong{font-size:19px!important}
}


/* V2.5.42 mobile Field Editor persistent workflow actions.
   Keep the three completion actions reachable while the PDF is scrolled/zoomed. */
@media(max-width:760px){
  body.field-editor-page{
    padding-bottom:calc(78px + env(safe-area-inset-bottom, 0px)) !important;
  }
  body.field-editor-page #mainFieldActions{
    position:fixed !important;
    left:0 !important;
    right:0 !important;
    bottom:0 !important;
    z-index:1200 !important;
    display:grid !important;
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:7px !important;
    width:100% !important;
    max-width:100vw !important;
    margin:0 !important;
    padding:8px 10px calc(8px + env(safe-area-inset-bottom, 0px)) !important;
    background:rgba(255,255,255,.97) !important;
    border-top:1px solid #d7e1eb !important;
    box-shadow:0 -4px 16px rgba(15,38,61,.12) !important;
    backdrop-filter:blur(10px);
    -webkit-backdrop-filter:blur(10px);
  }
  body.field-editor-page #mainFieldActions .button,
  body.field-editor-page #mainFieldActions button{
    width:100% !important;
    min-width:0 !important;
    min-height:50px !important;
    margin:0 !important;
    padding:10px 7px !important;
    font-size:15px !important;
    line-height:1.15 !important;
    white-space:normal !important;
    text-align:center !important;
  }
  body.field-editor-page #templateSavePanel{
    position:relative !important;
    z-index:2;
    margin-bottom:12px !important;
  }
  body.field-editor-page .field-editor-card .pdf-stage.pdfjs-stage{
    margin-bottom:8px !important;
  }
}
@media(max-width:390px){
  body.field-editor-page #mainFieldActions{gap:5px !important;padding-left:6px !important;padding-right:6px !important}
  body.field-editor-page #mainFieldActions .button,
  body.field-editor-page #mainFieldActions button{font-size:14px !important;padding-left:4px !important;padding-right:4px !important}
}

/* V2.5.43 mobile Field Editor compact action bar + bottom precision workspace. */
@media(max-width:760px){
  body.field-editor-page{
    padding-bottom:calc(48px + env(safe-area-inset-bottom, 0px)) !important;
  }
  body.field-editor-page #mainFieldActions{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:3px !important;
    padding:4px 5px calc(4px + env(safe-area-inset-bottom, 0px)) !important;
    min-height:0 !important;
  }
  body.field-editor-page #mainFieldActions .button,
  body.field-editor-page #mainFieldActions button{
    min-height:38px !important;
    height:38px !important;
    padding:4px 3px !important;
    font-size:12px !important;
    line-height:1.05 !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:clip !important;
    border-radius:7px !important;
  }
  /* Keep the bottom of the PDF reachable above the fixed action bar at high zoom. */
  body.field-editor-page .field-editor-card #pdfStage.pdf-stage.pdfjs-stage{
    scroll-padding-bottom:58px !important;
    margin-bottom:0 !important;
  }
  body.field-editor-page .field-editor-card #pdfStage .pdf-page-wrap:last-child{
    margin-bottom:58px !important;
  }
}
@media(max-width:390px){
  body.field-editor-page #mainFieldActions{
    gap:2px !important;
    padding-left:3px !important;
    padding-right:3px !important;
  }
  body.field-editor-page #mainFieldActions .button,
  body.field-editor-page #mainFieldActions button{
    font-size:11px !important;
    padding-left:2px !important;
    padding-right:2px !important;
  }
}

/* V2.5.44 mobile Field Editor compact workspace — authoritative override.
   Cache-busted in app/header.php so mobile browsers receive this revision. */
@media (max-width:760px){
  body.field-editor-page{
    padding-bottom:calc(44px + env(safe-area-inset-bottom, 0px)) !important;
  }
  body.field-editor-page #mainFieldActions{
    position:fixed !important;
    left:0 !important;
    right:0 !important;
    bottom:0 !important;
    z-index:1200 !important;
    display:grid !important;
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:2px !important;
    width:100% !important;
    max-width:100vw !important;
    min-height:0 !important;
    margin:0 !important;
    padding:3px 4px calc(3px + env(safe-area-inset-bottom, 0px)) !important;
    background:rgba(255,255,255,.97) !important;
    border-top:1px solid #d7e1eb !important;
    box-shadow:0 -2px 8px rgba(15,38,61,.10) !important;
  }
  body.field-editor-page #mainFieldActions .button,
  body.field-editor-page #mainFieldActions button{
    box-sizing:border-box !important;
    width:100% !important;
    min-width:0 !important;
    min-height:36px !important;
    height:36px !important;
    margin:0 !important;
    padding:3px 2px !important;
    font-size:11.5px !important;
    line-height:1 !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:clip !important;
    border-radius:6px !important;
  }
  /* Preserve enough scrollable runway below the last PDF page so its bottom
     can be brought above the fixed bar even at high zoom for precise placement. */
  body.field-editor-page .field-editor-card #pdfStage.pdf-stage.pdfjs-stage{
    scroll-padding-bottom:76px !important;
    padding-bottom:0 !important;
    margin-bottom:0 !important;
    overflow:auto !important;
    -webkit-overflow-scrolling:touch;
  }
  body.field-editor-page .field-editor-card #pdfStage .pdf-page-wrap:last-child{
    margin-bottom:76px !important;
  }
}
@media (max-width:390px){
  body.field-editor-page #mainFieldActions{
    gap:1px !important;
    padding-left:2px !important;
    padding-right:2px !important;
  }
  body.field-editor-page #mainFieldActions .button,
  body.field-editor-page #mainFieldActions button{
    font-size:10.5px !important;
    padding-left:1px !important;
    padding-right:1px !important;
  }
}

/* V2.5.45 Field Editor mobile compact controls — final authoritative rules.
   Uses 980px so phones/tablets in portrait/landscape receive the same compact workspace. */
@media (max-width:980px){
  body.field-editor-page{padding-bottom:calc(39px + env(safe-area-inset-bottom,0px))!important}
  body.field-editor-page .document-workflow-nav{
    min-height:34px!important;margin:0 0 4px!important;padding:3px 6px!important;
    display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;
    gap:4px!important;border-radius:6px!important;font-size:11px!important;line-height:1.05!important;
  }
  body.field-editor-page .document-workflow-nav>strong{
    min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;font-size:11px!important;
  }
  body.field-editor-page .document-workflow-nav>span{display:flex!important;flex:0 0 auto!important;gap:3px!important;white-space:nowrap!important}
  body.field-editor-page .document-workflow-nav .button,
  body.field-editor-page .document-workflow-nav button{
    width:auto!important;min-width:0!important;min-height:28px!important;height:28px!important;
    margin:0!important;padding:2px 6px!important;font-size:10.5px!important;line-height:1!important;border-radius:5px!important;white-space:nowrap!important;
  }
  body.field-editor-page #mainFieldActions{
    position:fixed!important;left:0!important;right:0!important;bottom:0!important;z-index:1400!important;
    display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:2px!important;width:100vw!important;max-width:100vw!important;min-height:0!important;
    margin:0!important;padding:2px 3px calc(2px + env(safe-area-inset-bottom,0px))!important;
    background:#fff!important;border-top:1px solid #d7e1eb!important;box-shadow:0 -1px 5px rgba(15,38,61,.10)!important;
  }
  body.field-editor-page #mainFieldActions .button,
  body.field-editor-page #mainFieldActions button{
    box-sizing:border-box!important;width:100%!important;min-width:0!important;min-height:32px!important;height:32px!important;
    margin:0!important;padding:2px 2px!important;font-size:10.5px!important;line-height:1!important;
    white-space:nowrap!important;overflow:hidden!important;text-overflow:clip!important;border-radius:5px!important;
  }
  body.field-editor-page .field-editor-card #pdfStage.pdf-stage.pdfjs-stage{
    height:calc(100dvh - 205px)!important;min-height:360px!important;
    scroll-padding-bottom:120px!important;margin-bottom:0!important;overflow:auto!important;-webkit-overflow-scrolling:touch!important;
  }
  body.field-editor-page .field-editor-card #pdfStage .pdf-page-wrap:last-child{margin-bottom:120px!important}
}
@media (max-width:430px){
  body.field-editor-page .document-workflow-nav{font-size:10px!important}
  body.field-editor-page .document-workflow-nav>strong{font-size:10px!important}
  body.field-editor-page .document-workflow-nav .button,
  body.field-editor-page .document-workflow-nav button{font-size:9.5px!important;padding-left:4px!important;padding-right:4px!important}
  body.field-editor-page #mainFieldActions .button,
  body.field-editor-page #mainFieldActions button{font-size:9.8px!important}
}
\n\n/* V2.5.46 Mobile Field Editor readable one-line actions. */
@media (max-width:980px){
  body.field-editor-page .document-workflow-nav .button,
  body.field-editor-page .document-workflow-nav button{
    min-height:30px!important;height:30px!important;padding:3px 8px!important;
    font-size:13px!important;font-weight:700!important;line-height:1.05!important;
  }
  body.field-editor-page #mainFieldActions{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:3px!important;padding:3px 4px calc(3px + env(safe-area-inset-bottom,0px))!important;
  }
  body.field-editor-page #mainFieldActions .button,
  body.field-editor-page #mainFieldActions button{
    min-height:34px!important;height:34px!important;padding:3px 3px!important;
    font-size:12.5px!important;font-weight:700!important;line-height:1.05!important;
    white-space:nowrap!important;overflow:hidden!important;text-overflow:clip!important;
  }
  body.field-editor-page .field-editor-card #pdfStage.pdf-stage.pdfjs-stage{
    height:calc(100dvh - 211px)!important;scroll-padding-bottom:120px!important;
  }
}
@media (max-width:390px){
  body.field-editor-page .document-workflow-nav .button,
  body.field-editor-page .document-workflow-nav button{font-size:12px!important;padding-left:6px!important;padding-right:6px!important}
  body.field-editor-page #mainFieldActions .button,
  body.field-editor-page #mainFieldActions button{font-size:11.5px!important;padding-left:1px!important;padding-right:1px!important}
}
/* V2.5.49 Message to Recipients rich editor */
.message-editor-toolbar{display:flex;align-items:center;gap:5px;flex-wrap:wrap;padding:6px;border:1px solid #cfd9e3;border-bottom:0;border-radius:7px 7px 0 0;background:#f7f9fb}
.message-editor-toolbar button,.message-editor-toolbar select{min-height:34px;padding:5px 8px;margin:0;background:#fff;border:1px solid #ccd7e2;border-radius:5px;color:#173656;cursor:pointer}
.message-rich-editor{min-height:150px;max-height:280px;overflow:auto;border:1px solid #cfd9e3;border-radius:0 0 7px 7px;padding:10px 12px;background:#fff;line-height:1.5;outline:none}
.message-rich-editor:empty:before{content:attr(data-placeholder);color:#8796a5;pointer-events:none}
.message-attachment-list{display:flex;flex-wrap:wrap;gap:6px;margin-top:7px}.message-attachment-chip{display:inline-flex;align-items:center;gap:6px;padding:5px 8px;border:1px solid #d7e1eb;border-radius:6px;background:#f8fafc;font-size:12px}.message-attachment-chip span{color:#6c7c8c}
@media(max-width:760px){.message-editor-toolbar{gap:4px}.message-editor-toolbar button,.message-editor-toolbar select{min-height:40px;font-size:14px}.message-rich-editor{min-height:170px}}

/* V2.5.51 Message editor layout correction. Preserve V2.5.49 toolbar and restore body without overlap. */
.envelope-message-editor .message-editor-shell{overflow:hidden}
.envelope-message-editor .message-editor-toolbar{
  height:auto;min-height:42px;display:flex;align-items:center;gap:5px;flex-wrap:nowrap;
  padding:6px;border:0;border-bottom:1px solid #e1e8f0;border-radius:0;background:#fbfcfe;
}
.envelope-message-editor .message-editor-toolbar #messageBlockFormat{
  flex:1 1 auto;width:auto;min-width:180px;max-width:none;margin:0;
}
.envelope-message-editor .message-editor-toolbar button{flex:0 0 auto;margin:0}
.envelope-message-editor .message-rich-editor{
  display:block;box-sizing:border-box;width:100%;min-height:150px;max-height:280px;overflow:auto;
  border:0;border-radius:0;padding:12px 14px 30px;background:#fff;line-height:1.5;outline:none;white-space:normal;
}
.envelope-message-editor .message-rich-editor:empty:before{content:attr(data-placeholder);color:#8796a5;pointer-events:none}
.envelope-message-editor .message-count{z-index:2}
@media(max-width:760px){
  .envelope-message-editor .message-editor-toolbar{overflow-x:auto;overflow-y:hidden;flex-wrap:nowrap;-webkit-overflow-scrolling:touch}
  .envelope-message-editor .message-editor-toolbar #messageBlockFormat{min-width:150px}
  .envelope-message-editor .message-rich-editor{min-height:170px}
}


/* V2.5.52 Prepared Message synchronization and clean editor boundary */
.envelope-message-editor .message-editor-shell{
  position:relative!important;border:1px solid #ccd9e6!important;border-radius:8px!important;background:#fff!important;overflow:hidden!important;
}
.envelope-message-editor .message-editor-toolbar{border:0!important;border-bottom:1px solid #e1e8f0!important;border-radius:0!important;margin:0!important}
.envelope-message-editor .message-rich-editor{
  border:0!important;border-bottom:0!important;border-radius:0!important;box-shadow:none!important;margin:0!important;min-height:150px!important;
}
.envelope-message-editor .message-count{right:12px!important;bottom:9px!important;border:0!important;box-shadow:none!important;background:#fff!important}


/* V2.5.54 Envelope Template message editor */
.template-subject-toolbar-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:6px}.template-subject-toolbar-row>label{margin:0}.template-message-toolbar{display:flex;align-items:center;gap:4px;flex-wrap:nowrap}.template-message-toolbar button{min-width:32px;height:32px;padding:4px 7px;margin:0;border:1px solid #ccd7e2;border-radius:5px;background:#fff;color:#173656;cursor:pointer}.template-message-editor{box-sizing:border-box;width:100%;min-height:130px;max-height:260px;overflow:auto;border:1px solid #cfd9e3;border-radius:7px;padding:10px 12px;margin-top:8px;background:#fff;line-height:1.5;outline:none}.template-message-editor:empty:before{content:attr(data-placeholder);color:#8796a5;pointer-events:none}.template-row-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.template-row-actions form{display:inline-flex!important;margin:0}.template-row-actions .button{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:108px;height:38px;padding:7px 12px;margin:0;font:inherit;font-size:14px;font-weight:600;line-height:1;text-decoration:none}.template-row-actions .danger-button{border:1px solid #c33}.template-default-message-group{margin-top:4px}@media(max-width:760px){.template-subject-toolbar-row{align-items:flex-start;flex-direction:column}.template-message-toolbar{width:100%;overflow-x:auto;padding-bottom:2px}.template-row-actions{flex-wrap:nowrap;overflow-x:auto}.template-row-actions .button{min-width:104px}}

/* V2.5.61 shared long-list pagination */
.pagination-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:14px;padding-top:10px;border-top:1px solid #e4ebf2}
.pagination-toolbar .pagination{margin-top:0;display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.pagination-summary{font-size:13px;color:#60758a}
.pagination-size-form,.auto-pagination-size{display:flex;align-items:center;gap:7px;font-size:13px;color:#526b82}
.pagination-size-form select,.auto-pagination-size select{min-width:68px;padding:6px 8px;border:1px solid #cfdbe6;border-radius:6px;background:#fff}
.auto-pagination-controls{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.auto-pagination-controls button{min-width:34px;padding:7px 9px;border:1px solid #d9e4ef;border-radius:6px;background:#fff;color:#36536f;cursor:pointer}
.auto-pagination-controls button.active{background:#173656;color:#fff;border-color:#173656}
.auto-pagination-controls button:disabled{opacity:.45;cursor:default}
@media(max-width:650px){.pagination-toolbar{align-items:stretch}.pagination-summary{width:100%}.auto-pagination-controls,.pagination{justify-content:flex-start}.pagination-size-form,.auto-pagination-size{margin-left:0}}

/* V2.5.62 global search alignment + contextual Help Center */
.top-search-wrap{max-width:620px;flex:1;}
.top-search-wrap #globalSearch{width:100%;padding-right:42px;}
.global-search-button{right:3px;}
.context-help-button{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;border:1px solid #d8e1ea;background:#fff;color:#173656;border-radius:8px;min-height:36px;padding:0 10px;font-weight:700;cursor:pointer;box-shadow:0 1px 2px rgba(18,42,66,.05)}
.context-help-button:hover{background:#f3f7fb;border-color:#bfcddd}
.context-help-panel[hidden]{display:none!important}.context-help-panel{position:fixed;inset:0;z-index:5000}.context-help-backdrop{position:absolute;inset:0;background:rgba(15,31,48,.42)}
.context-help-drawer{position:absolute;right:0;top:0;height:100%;width:min(520px,94vw);background:#fff;box-shadow:-14px 0 38px rgba(17,38,58,.18);padding:22px;overflow:auto}
.context-help-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;border-bottom:1px solid #e3e9ef;padding-bottom:14px}.context-help-head small{color:#6a7c8e}.context-help-head h2{margin:3px 0 0;color:#173656}.context-help-close{border:0;background:#eef3f7;width:38px;height:38px;border-radius:8px;font-size:25px;cursor:pointer;color:#30485f}
.context-help-section-title{font-size:12px;text-transform:uppercase;letter-spacing:.05em;color:#6a7c8e;font-weight:800;margin:18px 0 9px}.context-help-topics{display:flex;gap:8px;flex-wrap:wrap}.help-topic{border:1px solid #d9e3ec;background:#f7fafc;border-radius:999px;padding:8px 11px;color:#173656;font-weight:700;cursor:pointer}.help-topic:hover{background:#eef5fa}
.context-help-ask{margin-top:22px;padding-top:18px;border-top:1px solid #e3e9ef}.context-help-question-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-top:8px}.context-help-question-row input{min-height:44px}.help-hint{font-size:12px;margin:7px 0 0}.context-help-answers{margin-top:16px}.help-answer{padding:14px 0;border-top:1px solid #edf1f5}.help-answer h3{margin:0 0 6px;color:#173656;font-size:16px}.help-answer p{margin:0;line-height:1.55}.help-answer-label{font-size:13px;color:#607286;margin-bottom:4px}.help-no-answer{padding:14px;background:#f7fafc;border:1px solid #dfe7ee;border-radius:8px}.help-no-answer p{margin:5px 0 0}.help-open{overflow:hidden}
@media(max-width:650px){.context-help-button span{display:none}.context-help-button{padding:0;width:36px;justify-content:center}.context-help-drawer{width:100%;padding:16px}.context-help-question-row{grid-template-columns:1fr}.top-search-wrap{min-width:0}.top-search-wrap #globalSearch{padding-right:40px}}

/* V2.5.63 unified header search + complete Help Center */
.top-search-wrap{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 42px!important;
  align-items:stretch!important;
  max-width:620px!important;
  flex:1 1 420px!important;
  gap:0!important;
}
.top .top-search-wrap #globalSearch,
.top-search-wrap #globalSearch{
  box-sizing:border-box!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  height:42px!important;
  padding:8px 12px!important;
  border-radius:8px 0 0 8px!important;
  border-right:0!important;
}
.top .global-search-button,
.global-search-button{
  position:static!important;
  right:auto!important;
  top:auto!important;
  transform:none!important;
  width:42px!important;
  min-width:42px!important;
  height:42px!important;
  margin:0!important;
  border:1px solid rgba(255,255,255,.22)!important;
  border-left:1px solid rgba(255,255,255,.14)!important;
  border-radius:0 8px 8px 0!important;
  background:rgba(255,255,255,.13)!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
}
.top .global-search-button:hover{background:rgba(255,255,255,.22)!important}
.context-help-quick{margin-top:18px;padding:13px 14px;background:#f5f9fc;border:1px solid #dce7f0;border-radius:9px}
.context-help-quick .context-help-section-title{margin:0 0 6px}.context-help-quick p{margin:0;line-height:1.5;color:#405a72}
.help-topic-list{display:grid;gap:7px}.help-topic-list .help-topic{width:100%;border-radius:8px;display:flex;align-items:center;justify-content:space-between;text-align:left;padding:10px 12px}.help-topic-list .help-topic b{font-size:20px;font-weight:500;color:#6c8297}
.context-help-answers{margin-top:14px}.help-answer{padding:14px;background:#fff;border:1px solid #e1e8ef;border-radius:8px;margin-top:8px}.help-answer h3{margin:0 0 7px}.help-answer p{white-space:normal}
@media(max-width:650px){.top-search-wrap{flex:1 1 auto!important;grid-template-columns:minmax(0,1fr) 40px!important}.top .global-search-button,.global-search-button{width:40px!important;min-width:40px!important}.context-help-drawer{padding-bottom:34px}}


/* V2.5.64 Help content visibility/rendering correction */
.context-help-panel,.context-help-drawer{color:#10213f!important;}
.context-help-drawer p,.context-help-drawer li,.context-help-drawer label,.context-help-drawer span{color:inherit;}
.context-help-drawer .muted,.context-help-drawer .help-hint{color:#607286!important;}
.context-help-drawer input{color:#10213f!important;background:#fff!important;border:1px solid #ccd9e6!important;}
.context-help-drawer input::placeholder{color:#718096!important;opacity:1;}
.context-help-topics{display:block!important;}
.context-help-panel .context-help-drawer{z-index:2;}
.context-help-panel .context-help-backdrop{z-index:1;}

/* V2.5.65 public customer subscription registration */
.register-shell{max-width:760px;margin:48px auto;padding:0 18px}.register-card{padding:30px}.register-card h2{margin-top:20px}.register-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.register-consent{display:flex;gap:10px;align-items:flex-start;margin:20px 0;line-height:1.45}.register-consent input{width:auto;margin-top:4px}.register-submit{min-width:190px}.register-signin{margin-top:18px}.register-card select{width:100%}@media(max-width:640px){.register-shell{margin:18px auto;padding:0 10px}.register-card{padding:20px 16px}.register-grid{grid-template-columns:1fr;gap:0}.register-submit{width:100%}.register-consent{gap:12px;align-items:flex-start}.register-consent input[type=checkbox]{width:24px;height:24px;min-width:24px;min-height:24px;margin-top:0}.register-consent span{padding-top:2px}}

/* V2.5.67 visible customer specific subscription configuration */
.customer-custom-config{margin-top:10px;padding:10px;border:1px solid #d9e1e8;border-radius:8px;background:#f8fafc;min-width:220px}
.customer-custom-limit-form{display:grid;gap:8px;margin-top:8px}
.customer-custom-limit-form label{display:grid;gap:4px;font-size:12px;font-weight:600}
.customer-custom-limit-form input,.customer-custom-limit-form select{width:100%;min-width:0}

/* V2.5.68 customer subscription controls */
.customer-subscription-config-card{padding:16px;border:1px solid #d9e4ee;border-radius:10px;background:#f8fbfd;margin-bottom:10px}.customer-custom-limit-form{display:grid;grid-template-columns:repeat(3,minmax(120px,1fr));gap:8px;margin-top:8px}.customer-custom-limit-form label{font-size:12px;font-weight:700}.customer-custom-limit-form input,.customer-custom-limit-form select{width:100%;margin-top:4px}.customer-custom-limit-form .button{grid-column:1/-1}@media(max-width:760px){.customer-custom-limit-form{grid-template-columns:1fr}}
\n/* V2.5.69 public pricing packages */
.pricing-register-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px}.pricing-register-card{border:1px solid #d7e0e8;border-radius:10px;padding:12px;display:flex;gap:10px;cursor:pointer}.pricing-register-card:has(input:checked){outline:2px solid #173656}.pricing-register-card span{display:flex;flex-direction:column;gap:5px}.pricing-register-card strong{font-size:1.15rem}.pricing-register-card input{margin-top:4px}

/* V2.5.73 Customer Organizations uniform smart sort headers */
#customerOrganizationsTable thead th{vertical-align:middle}
#customerOrganizationsTable .smart-sort-head{
  appearance:none;
  box-sizing:border-box;
  width:100%;
  min-width:112px;
  height:38px;
  margin:0;
  padding:0 12px;
  border:1px solid #d6e0e9;
  border-radius:8px;
  background:#f7f9fb;
  color:#173656;
  font:inherit;
  font-size:13px;
  font-weight:700;
  line-height:1;
  display:inline-flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  white-space:nowrap;
  cursor:pointer;
  transition:background .15s ease,border-color .15s ease,box-shadow .15s ease;
}
#customerOrganizationsTable .smart-sort-head:hover{background:#eef4f8;border-color:#b8c9d8}
#customerOrganizationsTable .smart-sort-head:focus-visible{outline:2px solid var(--wl-accent);outline-offset:2px}
#customerOrganizationsTable .smart-sort-head span{display:inline-flex;align-items:center;justify-content:center;width:16px;min-width:16px;font-size:14px;line-height:1;color:#58718a}
#customerOrganizationsTable .smart-sort-head.is-active{background:#eaf2f8;border-color:#9db5c9;box-shadow:inset 0 0 0 1px rgba(23,54,86,.06)}
#customerOrganizationsTable .smart-sort-head.is-active span{color:#173656}
@media(max-width:760px){#customerOrganizationsTable .smart-sort-head{min-width:104px;height:38px;padding:0 10px}}
/* V2.5.80 privileged backup controls */
.backup-action-form{display:inline-flex;gap:6px;align-items:center;margin:0}.backup-action-form input[type=password]{width:150px;min-width:120px}.restore-form input[type=password]{max-width:320px}

/* V3.0.5 compact Platform Customer workspace */
.customer-management-card{width:100%;max-width:100%;overflow:hidden}
.customer-page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:10px}
.customer-page-head h2{margin-bottom:4px}.customer-page-head p{margin:0;max-width:900px}
.customer-add-panel{flex:0 0 auto;position:relative}.customer-add-panel>summary{list-style:none;white-space:nowrap}.customer-add-panel>summary::-webkit-details-marker{display:none}
.customer-add-body{margin-top:10px;padding:12px;border:1px solid #d9e4ee;border-radius:9px;background:#f8fbfd;min-width:min(900px,calc(100vw - 340px))}
.customer-add-form{display:grid;grid-template-columns:1.4fr 1.1fr 1.35fr .8fr .7fr auto;gap:8px;align-items:end}
.customer-add-form label{font-size:12px;font-weight:700;min-width:0}.customer-add-form input,.customer-add-form select{display:block;width:100%;margin-top:4px;padding:8px;border:1px solid #ccd9e6;border-radius:7px;background:#fff}.customer-add-form .button{padding:9px 12px;white-space:nowrap}
.customer-smart-sort{margin-bottom:8px!important}.customer-smart-sort .form-group{min-width:190px!important}.customer-smart-sort select{padding:8px!important}
#customerManualResetForm{margin-bottom:8px!important}#customerManualResetForm .button{padding:8px 11px}
#customerOrganizationsTable{table-layout:fixed;width:100%;font-size:13px}#customerOrganizationsTable th,#customerOrganizationsTable td{padding:8px 7px;vertical-align:top;overflow-wrap:anywhere}
#customerOrganizationsTable th:nth-child(1){width:54px}#customerOrganizationsTable th:nth-child(2){width:18%}#customerOrganizationsTable th:nth-child(3){width:27%}#customerOrganizationsTable th:nth-child(4),#customerOrganizationsTable th:nth-child(5){width:7%}#customerOrganizationsTable th:nth-child(6){width:22%}#customerOrganizationsTable th:nth-child(7){width:13%}
#customerOrganizationsTable select{max-width:145px;padding:7px}#customerOrganizationsTable .button{padding:7px 9px;font-size:12px;border-radius:6px}#customerOrganizationsTable small{line-height:1.35}
.customer-custom-config{margin-top:6px;padding:0;border:0;background:transparent;min-width:0}.customer-custom-config>summary{cursor:pointer;color:#17426f;font-size:12px;font-weight:700;list-style-position:inside}.customer-custom-config[open]{padding:7px;border:1px solid #d9e1e8;background:#f8fafc}
.customer-custom-limit-form{grid-template-columns:repeat(3,minmax(70px,1fr))!important;gap:5px!important;margin-top:6px!important}.customer-custom-limit-form label{font-size:11px!important}.customer-custom-limit-form input,.customer-custom-limit-form select{padding:5px!important;font-size:11px}.customer-custom-limit-form .button{grid-column:1/-1;padding:6px!important}
.customer-status-actions{gap:5px!important}.customer-status-actions .link{font-size:12px}.trial-edit-row{gap:4px}
@media(max-width:1100px){.customer-add-body{min-width:0}.customer-add-form{grid-template-columns:repeat(3,minmax(0,1fr))}#customerOrganizationsTable{table-layout:auto}.table-wrap{overflow-x:auto}}
@media(max-width:760px){.customer-page-head{display:block}.customer-add-panel{margin-top:10px}.customer-add-body{width:100%}.customer-add-form{grid-template-columns:1fr}.customer-custom-limit-form{grid-template-columns:1fr!important}}

/* V3.0.6 compact unified Customer Organizations management header */
.customer-management-compact{padding:14px 16px 16px!important}
.customer-management-title{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:10px}
.customer-management-title h2{margin:0 0 3px}.customer-management-title p{margin:0;max-width:1100px}
.customer-management-toolbar{display:flex;align-items:end;gap:8px;flex-wrap:wrap;padding:9px 10px;border:1px solid #d9e4ee;border-radius:9px;background:#f8fbfd}
.customer-management-toolbar label{font-size:12px;font-weight:700;margin:0}
.customer-trial-toolbar,.customer-sort-toolbar,.customer-reset-toolbar{display:flex;align-items:center;gap:6px;margin:0}
.customer-trial-toolbar input{width:68px;padding:7px 8px}.customer-sort-toolbar select{width:180px;padding:7px 8px}
.customer-management-toolbar .button{padding:8px 10px;font-size:12px;white-space:nowrap}
.customer-management-toolbar .customer-add-panel{position:static;margin:0}.customer-management-toolbar .customer-add-panel>summary{padding:8px 12px}
.customer-management-toolbar .customer-add-body{flex-basis:100%;width:100%;min-width:0;margin:8px 0 0;padding:10px}
.customer-management-toolbar .customer-add-panel[open]{flex-basis:100%;width:100%;order:10}
.customer-management-toolbar .customer-add-panel[open]>summary{width:max-content}
.customer-management-toolbar .customer-add-form{grid-template-columns:1.25fr 1fr 1.25fr .7fr .65fr auto;gap:10px}
.customer-toolbar-help{margin:6px 2px 10px!important;font-size:11px;line-height:1.3}
.customer-management-compact .table-wrap{margin-top:0}
#customerOrganizationsTable th,#customerOrganizationsTable td{padding-top:7px;padding-bottom:7px}
@media(max-width:1200px){.customer-management-toolbar .customer-add-form{grid-template-columns:repeat(3,minmax(0,1fr))}.customer-management-toolbar .customer-add-form .button{align-self:end}.customer-reset-toolbar{margin-left:0}}
@media(max-width:800px){.customer-management-compact{padding:12px!important}.customer-management-toolbar{align-items:stretch}.customer-trial-toolbar,.customer-sort-toolbar,.customer-reset-toolbar{flex-wrap:wrap}.customer-management-toolbar .customer-add-form{grid-template-columns:1fr}.customer-sort-toolbar select{width:100%}.customer-management-toolbar .customer-add-panel{width:100%}}

/* V3.0.7 Customer Organizations control alignment and uniform actions */
.customer-management-toolbar{align-items:center;gap:10px;padding:10px 12px}
.customer-trial-toolbar,.customer-sort-toolbar,.customer-reset-toolbar{height:38px;align-items:center;gap:7px}
.customer-management-toolbar input,.customer-management-toolbar select,.customer-management-toolbar .button,.customer-management-toolbar summary.button{box-sizing:border-box;height:38px;min-height:38px;margin:0;display:inline-flex;align-items:center;justify-content:center;font-size:12px;line-height:1;padding:0 11px;border-radius:7px}
.customer-management-toolbar input{display:block}.customer-trial-toolbar input{width:64px}.customer-sort-toolbar select{width:180px;padding-right:30px}
.customer-management-toolbar .customer-add-panel{display:flex;align-items:center}.customer-management-toolbar .customer-add-panel>summary{list-style:none}.customer-management-toolbar .customer-add-panel>summary::-webkit-details-marker{display:none}
.customer-toolbar-help{margin:5px 2px 9px!important}
#customerOrganizationsTable .button,#customerOrganizationsTable button.link{box-sizing:border-box;min-height:32px;height:32px;display:inline-flex;align-items:center;justify-content:center;padding:0 10px;font-size:12px;line-height:1;border-radius:6px;white-space:nowrap}
#customerOrganizationsTable button.link{border:1px solid #d4dde7;background:#fff;color:#17426f;text-decoration:none;cursor:pointer}
#customerOrganizationsTable button.danger-link{border-color:#e0b5b5;color:#a12622;background:#fff}
#customerOrganizationsTable td:nth-child(7){vertical-align:middle}.customer-status-actions{display:flex!important;align-items:center!important;gap:6px!important;flex-wrap:wrap}
#customerOrganizationsTable td:nth-child(2) small a{display:inline-flex;align-items:center;min-height:24px;margin-right:8px;white-space:nowrap}
#customerOrganizationsTable td:nth-child(3)>form{align-items:center!important}.customer-custom-config>summary{line-height:1.35}
@media(max-width:900px){.customer-management-toolbar{align-items:flex-start}.customer-trial-toolbar,.customer-sort-toolbar,.customer-reset-toolbar{height:auto;min-height:38px}}


/* V3.0.8 Customer Organizations spacing refinement */
.sidebar .secure{margin-top:auto;display:block;width:max-content;max-width:100%;padding:5px 9px;border:1px solid #41617d;border-radius:5px;line-height:1.15;font-size:11px;white-space:nowrap;color:#d7e5f2}
.customer-management-toolbar{display:grid;grid-template-columns:max-content minmax(235px,320px) max-content max-content;align-items:center;column-gap:22px;row-gap:10px;padding:12px 14px}
.customer-trial-toolbar,.customer-sort-toolbar,.customer-reset-toolbar{height:38px;display:flex;align-items:center;gap:9px}
.customer-sort-toolbar{min-width:0}.customer-sort-toolbar select{width:100%;min-width:190px}
.customer-management-toolbar .customer-add-panel{display:flex;align-items:center}
.customer-management-toolbar .customer-add-panel[open]{grid-column:1/-1;width:100%;order:initial}
.customer-management-toolbar .customer-add-body{grid-column:1/-1}
.customer-custom-limit-form{grid-template-columns:minmax(85px,1fr) minmax(85px,1fr) minmax(100px,1fr) 38px!important;align-items:end;gap:5px!important}
.customer-custom-limit-form .customer-limit-save{grid-column:auto!important;width:38px!important;min-width:38px!important;height:32px!important;padding:0!important;align-self:end}
@media(max-width:1150px){.customer-management-toolbar{grid-template-columns:max-content minmax(220px,1fr) max-content}.customer-reset-toolbar{grid-column:auto}.customer-management-toolbar .customer-add-panel[open]{grid-column:1/-1}}
@media(max-width:800px){.customer-management-toolbar{display:flex;align-items:stretch;gap:10px}.customer-trial-toolbar,.customer-sort-toolbar,.customer-reset-toolbar{width:100%}.customer-sort-toolbar select{flex:1}.customer-management-toolbar .customer-add-panel{width:auto}.sidebar .secure{white-space:normal}}

/* V3.0.9 Customer Organizations alignment and sidebar density */
@media(min-width:901px){
  .sidebar{padding-top:14px;padding-bottom:10px}
  .sidebar .brand{padding-top:4px;padding-bottom:12px}
  .sidebar nav a{padding:8px 12px;margin:1px 0;min-height:36px;line-height:1.15}
  .sidebar .secure{margin-top:auto;padding:4px 8px;font-size:10px;line-height:1;}
}
.customer-management-toolbar{align-items:center}
.customer-management-toolbar>*{align-self:center;margin-top:0!important;margin-bottom:0!important}
.customer-trial-toolbar,.customer-sort-toolbar,.customer-reset-toolbar,.customer-management-toolbar .customer-add-panel{height:38px;min-height:38px;align-items:center}
.customer-management-toolbar .customer-add-panel>summary,.customer-reset-toolbar .button{height:38px!important;min-height:38px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;margin:0!important}
#customerOrganizationsTable th:nth-child(1),#customerOrganizationsTable td:nth-child(1),#customerOrganizationsTable th:nth-child(4),#customerOrganizationsTable td:nth-child(4),#customerOrganizationsTable th:nth-child(5),#customerOrganizationsTable td:nth-child(5){text-align:center!important}
#customerOrganizationsTable th:nth-child(1),#customerOrganizationsTable th:nth-child(4),#customerOrganizationsTable th:nth-child(5){vertical-align:middle}
#customerOrganizationsTable td:nth-child(4),#customerOrganizationsTable td:nth-child(5){vertical-align:middle!important}

/* V3.0.10 compact Edit Customer workspace */
.customer-edit-card{border:1px solid #d9e4ee!important;padding:16px 18px!important}
.customer-edit-head{margin-bottom:10px}.customer-edit-head h2{margin:0 0 2px}.customer-edit-head p{margin:0}.customer-edit-head .button{min-height:34px;height:34px;padding:0 12px;display:inline-flex;align-items:center}
.customer-edit-section{padding:10px 0;border-top:1px solid #e5edf5}.customer-edit-form .customer-edit-section:first-of-type{border-top:0;padding-top:2px}
.customer-edit-section h3{margin:0 0 8px;font-size:15px}.customer-edit-section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px;flex-wrap:wrap}.customer-edit-section-title h3{margin:0}
.customer-edit-grid{display:grid;grid-template-columns:repeat(3,minmax(180px,1fr));gap:8px 12px}.customer-edit-grid label,.customer-edit-subscription-form label{display:flex;flex-direction:column;gap:4px;font-size:12px;font-weight:700;margin:0}.customer-edit-grid input,.customer-edit-grid select,.customer-edit-subscription-form input,.customer-edit-subscription-form select{box-sizing:border-box;width:100%;height:36px;padding:6px 8px;margin:0}.customer-edit-grid small{font-weight:400;line-height:1.15}
.owner-grid{grid-template-columns:1fr 1.25fr .7fr}.customer-edit-check{margin-top:7px;font-size:12px}.customer-edit-check label{display:flex;align-items:center;gap:7px}.customer-edit-check input{margin:0}
.customer-edit-actions{display:flex;justify-content:flex-end;padding-top:4px}.customer-edit-actions .button{height:36px;min-height:36px;padding:0 14px;display:inline-flex;align-items:center}
.subscription-edit-section{margin-top:10px}.customer-edit-subscription-form{display:grid!important;grid-template-columns:minmax(120px,1fr) minmax(120px,1fr) minmax(140px,1fr) auto!important;align-items:end;gap:10px!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important}.customer-edit-subscription-form .button{height:36px;min-height:36px;margin:0;padding:0 13px}
.customer-edit-invite{display:flex;align-items:center;gap:10px;padding-top:10px;border-top:1px solid #e5edf5}.customer-edit-invite .button{height:36px;min-height:36px;padding:0 12px}.compact-notice{padding:8px 10px;margin:0}
@media(max-width:1050px){.customer-edit-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.owner-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-edit-subscription-form{grid-template-columns:repeat(2,minmax(0,1fr))!important}.customer-edit-subscription-form .button{width:max-content}}
@media(max-width:700px){.customer-edit-card{padding:12px!important}.customer-edit-grid,.owner-grid,.customer-edit-subscription-form{grid-template-columns:1fr!important}.customer-edit-actions{justify-content:stretch}.customer-edit-actions .button{width:100%;justify-content:center}.customer-edit-invite{align-items:flex-start;flex-direction:column}}


/* V3.0.11 registration pricing trial and custom plan presentation */
.pricing-register-card .pricing-trial-badge{display:inline-flex;align-self:flex-start;padding:4px 9px;border-radius:999px;background:#dff7e9;color:#15733b;font-size:12px;font-weight:750;line-height:1.2}
.custom-plan-note{margin:14px 0 16px;padding:14px 16px;border:1px solid #ead8aa;border-radius:12px;background:#fffaf0;color:#33485d}
.custom-plan-note div{display:flex;gap:8px;align-items:baseline;flex-wrap:wrap}.custom-plan-note b{color:#173656}.custom-plan-note span{font-size:13px;line-height:1.45}

/* V3.0.12 registration custom plan contact action */
.custom-plan-note{display:flex;align-items:center;justify-content:space-between;gap:18px}
.custom-plan-note>div{min-width:0}
.custom-plan-contact{flex:0 0 auto;white-space:nowrap;text-decoration:none}
@media(max-width:720px){.custom-plan-note{align-items:flex-start;flex-direction:column}.custom-plan-contact{width:100%;text-align:center}}

/* V3.0.13 registration legal review, consent, and post submission reset */
.registration-thankyou{margin:12px 0 16px;padding:13px 15px;border-color:#b9dfc7;background:#f0fbf4;color:#205b36}
.registration-legal-links{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:14px 0 8px;padding:10px 12px;border:1px solid #dbe6f0;border-radius:9px;background:#f8fbfe;font-size:13px;color:#43566a}
.legal-link,.legal-inline-link{appearance:none;border:0;background:transparent;color:#1268b3;text-decoration:underline;text-underline-offset:2px;font:inherit;font-weight:700;padding:0;cursor:pointer}
.register-consent span{line-height:1.45}.legal-inline-link{display:inline;padding:0;margin:0;vertical-align:baseline}
.legal-modal{display:none;position:fixed;inset:0;z-index:3000;background:rgba(16,34,52,.58);padding:24px;align-items:center;justify-content:center}
.legal-modal.is-open{display:flex}.legal-modal-open{overflow:hidden}
.legal-modal-card{width:min(820px,100%);max-height:min(86vh,850px);display:flex;flex-direction:column;background:#fff;border-radius:14px;box-shadow:0 22px 70px rgba(8,28,48,.35);overflow:hidden}
.legal-modal-head{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 20px;border-bottom:1px solid #dfe7ef}.legal-modal-head h2{margin:0;color:#173656;font-size:22px}
.legal-close{border:0;background:#edf3f8;color:#173656;width:36px;height:36px;border-radius:8px;font-size:26px;line-height:1;cursor:pointer}
.legal-modal-body{padding:18px 22px;overflow:auto;overscroll-behavior:contain;color:#33485d;line-height:1.55}.legal-modal-body h3{margin:18px 0 5px;color:#173656;font-size:15px}.legal-modal-body p{margin:0 0 10px}
.legal-modal-actions{display:flex;justify-content:flex-end;padding:12px 20px;border-top:1px solid #dfe7ef;background:#f8fbfe}.legal-modal-actions .button{min-width:130px}
@media(max-width:700px){.legal-modal{padding:10px}.legal-modal-card{max-height:94vh}.legal-modal-head{padding:13px 15px}.legal-modal-body{padding:15px}.legal-modal-actions{padding:10px 15px}.legal-modal-actions .button{width:100%}}

/* V3.0.22 PDF coordinate fidelity: borders and padding stay inside stored field geometry. */
.placed-field,.field-editor-card .placed-field,.doc-field{box-sizing:border-box!important}

/* V3.0.23 public registration anti automation honeypot. */
.registration-hp{position:absolute!important;left:-10000px!important;top:auto!important;width:1px!important;height:1px!important;overflow:hidden!important;opacity:0!important;pointer-events:none!important}

/* V3.0.24 customer bulk selection and pagination */
.customer-select-all-label{display:flex;flex-direction:column;align-items:center;gap:2px;font-size:11px;font-weight:600;cursor:pointer}
.customer-select-all-label input{margin:0}
.customer-reset-toolbar #customerSelectedCount{min-width:70px;text-align:center;font-weight:600}
.customer-pagination{display:flex;justify-content:flex-end;align-items:center;gap:10px;margin-top:12px;flex-wrap:wrap}
.customer-pagination .button:disabled{opacity:.45;cursor:not-allowed}
@media(max-width:760px){.customer-pagination{justify-content:center}.customer-reset-toolbar #customerSelectedCount{width:100%;text-align:left}}


/* V3.0.31 Customer Organizations workspace spacing and alignment refinement */
.pending-approval-card{margin-bottom:22px!important;padding:18px 20px!important}
.pending-approval-card .customer-management-title{align-items:flex-start;margin-bottom:16px;gap:24px}
.pending-approval-card .customer-management-title>div{min-width:0;flex:1}
.pending-approval-card .customer-management-title p{max-width:1180px;line-height:1.45;margin-top:5px}
.pending-approval-card .badge{flex:0 0 auto;margin-top:2px}
.pending-approval-table{margin:0;border:1px solid #e1e9f0;border-radius:9px;overflow-x:auto}
.pending-approval-table table{width:100%;table-layout:fixed;margin:0}
.pending-approval-table th,.pending-approval-table td{padding:12px 16px!important;vertical-align:middle!important;line-height:1.4}
.pending-approval-table th:nth-child(1){width:24%}.pending-approval-table th:nth-child(2){width:14%}.pending-approval-table th:nth-child(3){width:21%}.pending-approval-table th:nth-child(4){width:18%}.pending-approval-table th:nth-child(5){width:23%}
.pending-approval-table td small{display:inline-block;margin-top:3px}
.pending-approval-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0}
.pending-approval-actions .button{min-height:38px;height:38px;display:inline-flex;align-items:center;justify-content:center;margin:0;padding:0 14px;white-space:nowrap}
.pending-approval-note{margin:14px 0 0!important;line-height:1.45}
.customer-management-compact>.customer-management-title{margin-bottom:14px}
.customer-management-compact>.customer-management-title p{line-height:1.45;margin-top:5px}
.customer-management-toolbar{grid-template-columns:max-content minmax(310px,1fr) max-content minmax(0,max-content);column-gap:24px;row-gap:12px;padding:14px 16px;min-height:66px}
.customer-management-toolbar>*{align-self:center}
.customer-trial-toolbar,.customer-sort-toolbar,.customer-reset-toolbar{height:40px;min-height:40px;gap:10px;white-space:nowrap}
.customer-management-toolbar input,.customer-management-toolbar select,.customer-management-toolbar .button,.customer-management-toolbar summary.button{height:40px;min-height:40px}
.customer-trial-toolbar label,.customer-sort-toolbar label{display:inline-flex;align-items:center;height:40px}
.customer-trial-toolbar input{width:66px;text-align:center}.customer-sort-toolbar{display:grid;grid-template-columns:auto minmax(150px,1fr) auto 74px;gap:10px;min-width:310px}.customer-sort-toolbar select{width:100%;min-width:0}
.customer-management-toolbar .customer-add-panel{height:40px;min-height:40px}.customer-management-toolbar .customer-add-panel>summary{height:40px!important;min-height:40px!important}
.customer-reset-toolbar{justify-content:flex-end;gap:10px}.customer-reset-toolbar #customerSelectedCount{min-width:76px;padding:0 4px}
.customer-reset-toolbar .button{height:40px!important;min-height:40px!important;padding-left:12px!important;padding-right:12px!important}
.customer-toolbar-help{margin:9px 4px 14px!important;line-height:1.4}
@media(max-width:1350px){.customer-management-toolbar{grid-template-columns:max-content minmax(300px,1fr) max-content}.customer-reset-toolbar{grid-column:1/-1;justify-content:flex-start}}
@media(max-width:900px){.pending-approval-card{padding:15px!important}.pending-approval-table table{table-layout:auto;min-width:820px}.customer-management-toolbar{display:flex;align-items:stretch;padding:13px;gap:11px}.customer-trial-toolbar,.customer-sort-toolbar,.customer-reset-toolbar{width:100%;height:auto;min-height:40px;flex-wrap:wrap}.customer-sort-toolbar{display:grid;grid-template-columns:auto minmax(0,1fr);min-width:0}.customer-sort-toolbar select{width:100%}.customer-reset-toolbar{justify-content:flex-start}.customer-management-toolbar .customer-add-panel{width:auto}}
@media(max-width:600px){.pending-approval-card .customer-management-title{gap:10px}.pending-approval-table table{min-width:760px}.customer-reset-toolbar .button{flex:1 1 190px}.customer-reset-toolbar #customerSelectedCount{width:100%;text-align:left}.customer-trial-toolbar{gap:8px}}

/* V3.0.32 proportional Customer Organizations layout */
.pending-approval-card{padding:16px 18px!important;margin-bottom:18px!important}
.pending-approval-card .customer-management-title{margin-bottom:12px;gap:16px}
.pending-approval-table th,.pending-approval-table td{padding:10px 12px!important;text-align:left!important}
.pending-approval-table th:nth-child(1){width:25%}.pending-approval-table th:nth-child(2){width:14%}.pending-approval-table th:nth-child(3){width:22%}.pending-approval-table th:nth-child(4){width:18%}.pending-approval-table th:nth-child(5){width:21%}
.pending-approval-table th{vertical-align:bottom!important}.pending-approval-table td{vertical-align:middle!important}
.pending-approval-actions{display:flex;align-items:center;justify-content:flex-start;gap:8px;flex-wrap:nowrap}
.pending-approval-actions .button{white-space:nowrap;margin:0}
.pending-approval-note{margin:8px 0 0!important}
.customer-management-toolbar{display:flex;align-items:center;justify-content:flex-start;gap:14px;row-gap:10px;padding:10px 12px;min-height:0;flex-wrap:wrap}
.customer-management-toolbar>*{flex:0 0 auto;align-self:center}
.customer-trial-toolbar,.customer-sort-toolbar,.customer-reset-toolbar{height:38px;min-height:38px;gap:7px;white-space:nowrap}
.customer-management-toolbar input,.customer-management-toolbar select,.customer-management-toolbar .button,.customer-management-toolbar summary.button{height:38px;min-height:38px}
.customer-trial-toolbar input{width:62px}
.customer-sort-toolbar{display:flex;min-width:0;gap:7px}
.customer-sort-toolbar #customerSortBy{width:190px;min-width:190px;max-width:190px;padding-right:28px}
.customer-sort-toolbar #customerPageSize{width:72px;min-width:72px;max-width:72px;padding-left:10px;padding-right:26px}
.customer-management-toolbar .customer-add-panel{height:38px;min-height:38px}
.customer-management-toolbar .customer-add-panel>summary{height:38px!important;min-height:38px!important}
.customer-reset-toolbar{margin-left:0;gap:7px}
.customer-reset-toolbar #customerSelectedCount{min-width:68px}
@media(max-width:1250px){.customer-reset-toolbar{width:100%;justify-content:flex-start}}
@media(max-width:900px){.pending-approval-table table{table-layout:auto;min-width:780px}.customer-management-toolbar{align-items:flex-start}.customer-trial-toolbar,.customer-sort-toolbar,.customer-reset-toolbar{width:auto;height:auto;min-height:38px}.customer-reset-toolbar{width:100%;flex-wrap:wrap}}
@media(max-width:650px){.customer-management-toolbar{display:flex;flex-direction:column;align-items:stretch}.customer-trial-toolbar,.customer-sort-toolbar,.customer-reset-toolbar{width:100%;flex-wrap:wrap}.customer-sort-toolbar #customerSortBy{width:min(190px,100%);min-width:150px;max-width:none;flex:1}.customer-sort-toolbar #customerPageSize{width:76px;min-width:76px}.customer-management-toolbar .customer-add-panel{width:max-content;max-width:100%}.pending-approval-card{padding:13px!important}}

/* V3.0.34 Customer Organizations compact proportional layout */
@media(min-width:1101px){
  #customerOrganizationsTable th:nth-child(1){width:54px}
  #customerOrganizationsTable th:nth-child(2){width:21%}
  #customerOrganizationsTable th:nth-child(3){width:35%}
  #customerOrganizationsTable th:nth-child(4){width:5%}
  #customerOrganizationsTable th:nth-child(5){width:6%}
  #customerOrganizationsTable th:nth-child(6){width:22%}
  #customerOrganizationsTable th:nth-child(7){width:11%}
  #customerOrganizationsTable td:nth-child(4),#customerOrganizationsTable td:nth-child(5){padding-left:4px;padding-right:4px}
  #customerOrganizationsTable .customer-custom-limit-form{
    display:grid!important;
    grid-template-columns:92px 92px 120px 100px 100px 38px!important;
    align-items:end!important;
    justify-content:start!important;
    gap:6px!important;
    margin-top:6px!important;
  }
  #customerOrganizationsTable .customer-custom-limit-form label{min-width:0!important;display:grid!important;grid-template-rows:auto 32px;gap:3px!important;white-space:nowrap}
  #customerOrganizationsTable .customer-custom-limit-form input,
  #customerOrganizationsTable .customer-custom-limit-form select{box-sizing:border-box!important;width:100%!important;height:32px!important;min-height:32px!important;margin:0!important;padding:4px 7px!important}
  #customerOrganizationsTable .customer-custom-limit-form .customer-limit-save{grid-column:auto!important;width:38px!important;min-width:38px!important;height:32px!important;margin:0!important}
}
@media(max-width:1100px) and (min-width:761px){
  #customerOrganizationsTable .customer-custom-limit-form{grid-template-columns:repeat(3,minmax(110px,1fr))!important}
  #customerOrganizationsTable .customer-custom-limit-form .customer-limit-save{grid-column:auto!important}
}

/* V3.0.37 required legal review and consent */
.registration-legal-links{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:18px}.legal-review-status{font-size:12px;padding:3px 8px;border-radius:999px;background:#eef2f6;color:#687789}.legal-review-status.is-reviewed{background:#e2f5e9;color:#176b39;font-weight:700}.register-consent input:disabled+span{opacity:.62}.register-submit:disabled{opacity:.5;cursor:not-allowed}.legal-modal-body{max-height:min(62vh,620px);overflow:auto;padding-right:8px}.legal-read-confirm:disabled{opacity:.48;cursor:not-allowed}
/* V3.0.38 monthly and yearly registration options */
.annual-pool-note{display:block;margin-top:5px;color:#285f88;font-weight:650}
/* V3.0.40 tenant offline archive */
.archive-form{display:grid;grid-template-columns:minmax(150px,220px) minmax(150px,220px) auto;gap:12px;align-items:end}.archive-form label{display:grid;gap:6px}.archive-form input{width:100%}@media(max-width:700px){.archive-form{grid-template-columns:1fr}.archive-form .button{width:100%}}

/* V3.0.42 Edit Customer proportional workspace */
.customer-edit-card{max-width:none}
.customer-edit-section{padding:12px 0}
.customer-edit-grid{grid-template-columns:repeat(12,minmax(0,1fr));gap:9px 12px;align-items:start}
.customer-edit-grid>label{grid-column:span 4}
.customer-edit-grid .field-id{grid-column:span 2}
.customer-edit-grid .field-org-name{grid-column:span 5}
.customer-edit-grid .field-email{grid-column:span 5}
.customer-edit-grid .field-display-name{grid-column:span 4}
.customer-edit-grid .field-timezone{grid-column:span 3}
.owner-grid .field-owner-name{grid-column:span 4}
.owner-grid .field-owner-email{grid-column:span 5}
.owner-grid .field-owner-status{grid-column:span 3}
.customer-edit-grid input[readonly]{background:#f6f8fb;color:#506174}
.customer-edit-section-title{align-items:flex-start}
.customer-edit-actions{padding-top:8px;border-top:1px solid #eef3f7;margin-top:4px}
.customer-edit-subscription-form{display:grid!important;grid-template-columns:120px 140px 150px minmax(210px,1fr) minmax(210px,1fr) auto!important;align-items:end;gap:9px 12px!important}
.customer-edit-subscription-form .field-limit-small,.customer-edit-subscription-form .field-period,.customer-edit-subscription-form .field-capacity{min-width:0}
.customer-edit-subscription-form .field-capacity>div{display:grid!important;grid-template-columns:minmax(100px,1fr) 72px;gap:5px!important}
.customer-edit-subscription-form .button{white-space:nowrap}
@media(max-width:1180px){.customer-edit-grid .field-id{grid-column:span 3}.customer-edit-grid .field-org-name{grid-column:span 5}.customer-edit-grid .field-email{grid-column:span 6}.customer-edit-grid .field-display-name{grid-column:span 5}.customer-edit-grid .field-timezone{grid-column:span 4}.owner-grid .field-owner-name{grid-column:span 4}.owner-grid .field-owner-email{grid-column:span 5}.owner-grid .field-owner-status{grid-column:span 3}.customer-edit-subscription-form{grid-template-columns:repeat(3,minmax(0,1fr))!important}.customer-edit-subscription-form .button{width:max-content}}
@media(max-width:760px){.customer-edit-grid{grid-template-columns:1fr!important}.customer-edit-grid>label,.customer-edit-grid .field-id,.customer-edit-grid .field-org-name,.customer-edit-grid .field-email,.customer-edit-grid .field-display-name,.customer-edit-grid .field-timezone,.owner-grid .field-owner-name,.owner-grid .field-owner-email,.owner-grid .field-owner-status{grid-column:1!important}.customer-edit-subscription-form{grid-template-columns:1fr!important}.customer-edit-subscription-form .button{width:100%}.customer-edit-section-title{display:block}.customer-edit-section-title .muted{display:block;margin-top:4px}}

/* V3.0.43 Edit Customer content sized controls */
@media(min-width:761px){
  .customer-edit-form{max-width:1180px}
  .customer-edit-grid{display:flex!important;flex-wrap:wrap;gap:10px 16px;align-items:flex-start}
  .customer-edit-grid>label{display:grid;gap:5px;flex:0 0 auto;min-width:0}
  .customer-edit-grid input,.customer-edit-grid select{width:100%;box-sizing:border-box}
  .customer-edit-grid .field-id{width:170px}
  .customer-edit-grid .field-org-name{width:min(360px,100%)}
  .customer-edit-grid .field-email{width:min(330px,100%)}
  .customer-edit-grid .field-display-name{width:min(300px,100%)}
  .customer-edit-grid .field-timezone{width:230px}
  .owner-grid .field-owner-name{width:260px}
  .owner-grid .field-owner-email{width:330px}
  .owner-grid .field-owner-status{width:155px}
  .customer-edit-subscription-form{display:flex!important;flex-wrap:wrap;align-items:flex-end;gap:10px 14px!important;max-width:1180px}
  .customer-edit-subscription-form>label{display:grid;gap:5px;flex:0 0 auto}
  .customer-edit-subscription-form .field-limit-small{width:118px}
  .customer-edit-subscription-form .field-period{width:145px}
  .customer-edit-subscription-form .field-capacity{width:230px}
  .customer-edit-subscription-form .field-capacity>div{display:flex!important;gap:5px!important}
  .customer-edit-subscription-form .field-capacity input{width:150px;flex:0 0 150px}
  .customer-edit-subscription-form .field-capacity select{width:70px;flex:0 0 70px}
  .customer-edit-subscription-form .field-limit-small input{width:118px}
  .customer-edit-subscription-form .field-period select{width:145px}
  .customer-edit-subscription-form .button{flex:0 0 auto;width:auto!important}
}
@media(min-width:761px) and (max-width:980px){
  .customer-edit-grid .field-org-name{width:330px}
  .customer-edit-grid .field-email{width:300px}
  .owner-grid .field-owner-email{width:310px}
}

/* V3.0.44 Edit Customer full width compact workspace */
@media(min-width:761px){
  .customer-edit-card{width:100%;max-width:none!important;box-sizing:border-box}
  .customer-edit-form{width:100%;max-width:none!important}
  .customer-edit-grid{width:100%;display:grid!important;grid-template-columns:170px minmax(260px,1.35fr) minmax(250px,1.2fr) minmax(250px,1.2fr);gap:10px 14px;align-items:start}
  .customer-edit-grid>label{width:auto!important;min-width:0!important;display:grid;gap:5px}
  .customer-edit-grid .field-id{grid-column:auto}
  .customer-edit-grid .field-org-name{grid-column:auto}
  .customer-edit-grid .field-email{grid-column:auto}
  .customer-edit-grid .field-display-name{grid-column:span 2}
  .customer-edit-grid .field-timezone{grid-column:auto;max-width:280px}
  .owner-grid{grid-template-columns:minmax(220px,.85fr) minmax(280px,1.25fr) 165px minmax(0,1fr)!important}
  .owner-grid .field-owner-name,.owner-grid .field-owner-email,.owner-grid .field-owner-status{grid-column:auto;width:auto!important}
  .customer-edit-subscription-form{width:100%;max-width:none!important;display:grid!important;grid-template-columns:118px 132px 145px minmax(210px,1fr) minmax(210px,1fr) auto!important;gap:10px 14px!important;align-items:end}
  .customer-edit-subscription-form>label{width:auto!important;min-width:0!important}
  .customer-edit-subscription-form .field-limit-small input,.customer-edit-subscription-form .field-period select{width:100%!important}
  .customer-edit-subscription-form .field-capacity{width:auto!important}
  .customer-edit-subscription-form .field-capacity>div{display:grid!important;grid-template-columns:minmax(105px,1fr) 68px;gap:5px!important}
  .customer-edit-subscription-form .field-capacity input,.customer-edit-subscription-form .field-capacity select{width:100%!important;min-width:0;flex:none!important}
  .customer-edit-subscription-form .button{justify-self:start;white-space:nowrap}
}
@media(min-width:761px) and (max-width:1180px){
  .customer-edit-grid{grid-template-columns:160px minmax(230px,1fr) minmax(230px,1fr)}
  .customer-edit-grid .field-display-name{grid-column:auto}
  .owner-grid{grid-template-columns:minmax(210px,1fr) minmax(270px,1.25fr) 160px!important}
  .customer-edit-subscription-form{grid-template-columns:118px 132px 145px minmax(210px,1fr);}
}


/* V3.0.45 smart Edit Customer workspace and unified registration package cards */
@media(min-width:761px){
  .customer-edit-section{padding:10px 0}
  .customer-edit-grid{display:flex!important;flex-wrap:wrap!important;align-items:flex-start;gap:10px 14px;width:100%}
  .customer-edit-grid>label{display:grid;gap:4px;flex:0 0 auto;width:auto!important;min-width:0!important}
  .customer-edit-grid .field-id{width:154px!important}
  .customer-edit-grid .field-org-name{width:300px!important}
  .customer-edit-grid .field-email{width:285px!important}
  .customer-edit-grid .field-display-name{width:310px!important}
  .customer-edit-grid .field-timezone{width:220px!important}
  .owner-grid .field-owner-name{width:245px!important}
  .owner-grid .field-owner-email{width:330px!important}
  .owner-grid .field-owner-status{width:150px!important}
  .customer-edit-actions{display:flex;justify-content:flex-end;align-items:center;margin-top:8px;padding-top:8px;border-top:1px solid #eef3f7}
  .customer-edit-actions .button{width:auto!important}
  .customer-edit-check{margin-top:8px}
  .customer-edit-subscription-form{display:flex!important;flex-wrap:wrap!important;align-items:flex-end;gap:10px 12px!important;width:100%;max-width:none!important}
  .customer-edit-subscription-form>label{display:grid;gap:4px;flex:0 0 auto;width:auto!important;min-width:0!important}
  .customer-edit-subscription-form .field-limit-small{width:108px!important}
  .customer-edit-subscription-form .field-period{width:132px!important}
  .customer-edit-subscription-form .field-capacity{width:245px!important}
  .customer-edit-subscription-form .field-capacity>div{display:grid!important;grid-template-columns:165px 68px!important;gap:5px!important}
  .customer-edit-subscription-form .field-capacity input,.customer-edit-subscription-form .field-capacity select{width:100%!important;min-width:0!important}
  .customer-edit-subscription-form .button{width:auto!important;white-space:nowrap;margin-left:auto}
}
.pricing-package-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(420px,1fr));gap:14px;width:100%}
.pricing-package-card{border:1px solid #d7e0e8;border-radius:12px;padding:14px;background:#fff;min-width:0}
.pricing-package-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}.pricing-package-head h3{margin:0 0 3px}.pricing-package-head p{margin:0;color:#687789;font-size:13px}.pricing-package-choice-label{white-space:nowrap;font-size:12px;font-weight:700;color:#587087;background:#f1f5f9;border-radius:999px;padding:4px 8px}
.pricing-package-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.pricing-package-options.single-option{grid-template-columns:1fr}
.pricing-billing-option{border:1px solid #d8e1e9;border-radius:10px;padding:11px;display:flex;align-items:flex-start;gap:9px;cursor:pointer;min-width:0;background:#fbfcfe;transition:border-color .15s,box-shadow .15s,background .15s}.pricing-billing-option:hover{border-color:#91a9bf;background:#fff}.pricing-billing-option:has(input:checked){border-color:#173656;box-shadow:0 0 0 2px rgba(23,54,86,.13);background:#fff}.pricing-billing-option>input{margin-top:4px;flex:0 0 auto}.pricing-option-body{display:flex;flex-direction:column;gap:7px;min-width:0;flex:1}.pricing-option-top{display:flex;justify-content:space-between;align-items:baseline;gap:10px}.pricing-option-top strong{font-size:1.15rem;white-space:nowrap}.pricing-option-top strong small{font-size:11px;color:#687789}.pricing-option-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;border-top:1px solid #e7edf2;padding-top:8px}.pricing-option-facts small{line-height:1.35}.pricing-billing-option .pricing-trial-badge{display:inline-flex;align-self:flex-start;padding:4px 9px;border-radius:999px;background:#dff7e9;color:#15733b;font-size:12px;font-weight:750;line-height:1.2}
@media(max-width:900px){.pricing-package-grid{grid-template-columns:1fr}.pricing-package-options{grid-template-columns:1fr}}
@media(max-width:760px){.pricing-package-card{padding:11px}.pricing-package-head{display:block}.pricing-package-choice-label{display:inline-block;margin-top:7px}.pricing-option-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.pricing-option-top{align-items:flex-start}.customer-edit-actions .button{width:100%}}
\n\n/* V3.0.46 compact action flow and responsive Edit Customer alignment */\n@media(min-width:761px){\n  .customer-edit-owner-footer{display:flex;align-items:center;justify-content:flex-start;gap:16px;flex-wrap:wrap;margin-top:8px}\n  .customer-edit-owner-footer .customer-edit-check{margin:0;flex:0 1 auto}\n  .customer-edit-owner-footer .customer-edit-actions{margin:0;padding:0;border:0;justify-content:flex-start}\n  .subscription-edit-section .customer-edit-section-title{display:flex;justify-content:flex-start!important;align-items:baseline!important;gap:14px;flex-wrap:wrap}\n  .subscription-edit-section .customer-edit-section-title .muted{margin:0}\n  .customer-edit-subscription-form{justify-content:flex-start!important}\n  .customer-edit-subscription-form .button{margin-left:0!important;align-self:end}\n}\n@media(max-width:760px){\n  .customer-edit-owner-footer{display:flex;flex-direction:column;align-items:stretch;gap:10px;margin-top:8px}\n  .customer-edit-owner-footer .customer-edit-check{margin:0}\n  .customer-edit-owner-footer .customer-edit-actions{margin:0;padding-top:8px}\n  .customer-edit-owner-footer .customer-edit-actions .button{width:100%}\n  .subscription-edit-section .customer-edit-section-title{display:block}\n  .customer-edit-subscription-form{display:grid!important;grid-template-columns:1fr!important;width:100%}\n  .customer-edit-subscription-form>label,.customer-edit-subscription-form .field-limit-small,.customer-edit-subscription-form .field-period,.customer-edit-subscription-form .field-capacity{width:100%!important}\n  .customer-edit-subscription-form .field-capacity>div{display:grid!important;grid-template-columns:minmax(0,1fr) 76px!important}\n  .customer-edit-subscription-form .button{width:100%!important;margin-left:0!important}\n}\n
/* V3.0.47 structural Edit Customer flow */
.owner-control-flow,
.subscription-control-flow {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: flex-end !important;
  justify-content: flex-start !important;
  gap: 10px 12px !important;
  width: 100% !important;
  max-width: none !important;
}
.owner-control-flow > label,
.subscription-control-flow > label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 700;
}
.owner-control-flow .field-owner-name { width: 220px !important; }
.owner-control-flow .field-owner-email { width: 300px !important; }
.owner-control-flow .field-owner-status { width: 145px !important; }
.owner-control-flow input,
.owner-control-flow select { width: 100% !important; height: 36px; box-sizing: border-box; }
.owner-notify-control { flex: 0 1 auto; margin: 0 2px 8px 0 !important; }
.owner-notify-control label { white-space: nowrap; font-weight: 400; }
.owner-save-control { flex: 0 0 auto; margin-bottom: 0; }
.owner-save-control .button { height: 36px; white-space: nowrap; }
.owner-confirm-row { margin-top: 8px !important; }
.subscription-title-flow { justify-content: flex-start !important; gap: 14px !important; }
.subscription-plan-meta { margin: 0 !important; }
.subscription-control-flow .field-limit-small { width: 108px !important; }
.subscription-control-flow .field-period { width: 132px !important; }
.subscription-control-flow .field-capacity { width: 245px !important; }
.subscription-control-flow .field-capacity > div { display: grid !important; grid-template-columns: 165px 68px !important; gap: 5px !important; }
.subscription-control-flow input,
.subscription-control-flow select { height: 36px; box-sizing: border-box; }
.subscription-control-flow .field-limit-small input,
.subscription-control-flow .field-period select,
.subscription-control-flow .field-capacity input,
.subscription-control-flow .field-capacity select { width: 100% !important; min-width: 0 !important; }
.subscription-control-flow .button { flex: 0 0 auto !important; width: auto !important; height: 36px; margin: 0 !important; white-space: nowrap; }
@media (max-width: 900px) {
  .owner-notify-control { flex-basis: 100%; margin-bottom: 0 !important; }
}
@media (max-width: 760px) {
  .owner-control-flow,
  .subscription-control-flow { display: grid !important; grid-template-columns: 1fr !important; gap: 10px !important; }
  .owner-control-flow > label,
  .owner-control-flow .field-owner-name,
  .owner-control-flow .field-owner-email,
  .owner-control-flow .field-owner-status,
  .subscription-control-flow > label,
  .subscription-control-flow .field-limit-small,
  .subscription-control-flow .field-period,
  .subscription-control-flow .field-capacity { width: 100% !important; }
  .owner-notify-control { width: 100%; margin: 2px 0 0 !important; }
  .owner-notify-control label { white-space: normal; }
  .owner-save-control,
  .owner-save-control .button,
  .subscription-control-flow .button { width: 100% !important; }
  .subscription-control-flow .field-capacity > div { grid-template-columns: minmax(0,1fr) 76px !important; }
  .subscription-title-flow { display: block !important; }
  .subscription-plan-meta { display: block; margin-top: 4px !important; }
}

/* V3.0.48 clean standard Edit Customer layout */
.owner-standard-panel{display:block;width:100%;max-width:820px}
.owner-fields-row{display:grid;grid-template-columns:220px 300px 150px;gap:12px;align-items:start;width:max-content;max-width:100%}
.owner-fields-row>label{display:flex;flex-direction:column;gap:4px;margin:0;font-size:12px;font-weight:700;min-width:0}
.owner-fields-row input,.owner-fields-row select{box-sizing:border-box;width:100%!important;height:36px;margin:0;padding:6px 8px}
.owner-actions-row{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-top:10px;padding-top:10px;border-top:1px solid #eef3f7;width:max-content;max-width:100%}
.owner-notify-inline{display:inline-flex!important;align-items:center!important;gap:7px!important;margin:0!important;font-size:12px!important;font-weight:400!important;line-height:1.35;white-space:normal;cursor:pointer}
.owner-notify-inline input[type="checkbox"]{appearance:auto!important;-webkit-appearance:checkbox!important;width:14px!important;height:14px!important;min-width:14px!important;max-width:14px!important;flex:0 0 14px!important;margin:0!important;padding:0!important}
.owner-actions-row .button{width:auto!important;height:36px;white-space:nowrap;margin:0!important}
.subscription-edit-section{padding-top:10px!important}
.subscription-title-flow{display:flex!important;align-items:baseline!important;justify-content:flex-start!important;gap:12px!important;flex-wrap:wrap!important}
.subscription-control-flow{display:flex!important;align-items:flex-end!important;justify-content:flex-start!important;gap:10px!important;flex-wrap:wrap!important;width:max-content!important;max-width:100%!important}
.subscription-control-flow .button{margin:0!important;width:auto!important}
@media(max-width:760px){
 .owner-standard-panel{max-width:none}
 .owner-fields-row{display:grid!important;grid-template-columns:1fr!important;width:100%!important;gap:10px!important}
 .owner-fields-row>label{width:100%!important}
 .owner-actions-row{display:flex!important;flex-direction:column!important;align-items:stretch!important;width:100%!important;gap:10px!important}
 .owner-notify-inline{width:100%!important;align-items:flex-start!important}
 .owner-actions-row .button{width:100%!important}
 .subscription-control-flow{display:grid!important;grid-template-columns:1fr!important;width:100%!important}
 .subscription-control-flow>label,.subscription-control-flow .field-limit-small,.subscription-control-flow .field-period,.subscription-control-flow .field-capacity{width:100%!important}
 .subscription-control-flow .button{width:100%!important}
}
\n\n/* V3.0.49 Offline Archive proportional controls */
.archive-create-form{display:flex;align-items:flex-end;justify-content:flex-start;gap:12px;flex-wrap:wrap;width:100%;max-width:980px}
.archive-create-form .archive-date-field{display:flex;flex-direction:column;gap:5px;width:250px;max-width:100%;margin:0;font-weight:600}
.archive-create-form .archive-date-field input{width:100%;height:42px;box-sizing:border-box;margin:0;padding:7px 10px}
.archive-primary-action{height:42px!important;min-height:42px!important;width:auto!important;min-width:190px;display:inline-flex!important;align-items:center;justify-content:center;white-space:nowrap;margin:0!important;padding:0 18px!important}
.archive-restore-form{display:flex;align-items:center;justify-content:flex-start;gap:12px;flex-wrap:wrap;width:100%;max-width:820px}
.archive-file-field{display:block;margin:0;width:470px;max-width:100%}
.archive-file-field input[type="file"]{display:block;width:100%;height:42px;box-sizing:border-box;border:1px solid #c8d2dc;border-radius:5px;background:#fff;padding:5px 7px;font:inherit;color:inherit}
.archive-file-field input[type="file"]::file-selector-button{height:30px;margin:-1px 10px -1px -1px;padding:0 14px;border:1px solid #aebac5;border-radius:4px;background:#f5f7f9;color:#173656;font:inherit;font-weight:600;cursor:pointer}
.archive-file-field input[type="file"]::-webkit-file-upload-button{height:30px;margin:-1px 10px -1px -1px;padding:0 14px;border:1px solid #aebac5;border-radius:4px;background:#f5f7f9;color:#173656;font:inherit;font-weight:600;cursor:pointer}
@media(max-width:760px){
 .archive-create-form,.archive-restore-form{display:grid;grid-template-columns:1fr;width:100%;max-width:none;gap:10px}
 .archive-create-form .archive-date-field,.archive-file-field{width:100%;max-width:none}
 .archive-primary-action{width:100%!important;min-width:0}
}


/* V3.0.50 Offline Archive collision safe control rows */
.archive-create-form{display:grid!important;grid-template-columns:260px 260px max-content!important;align-items:end!important;justify-content:start!important;column-gap:16px!important;row-gap:10px!important;width:max-content!important;max-width:100%!important}
.archive-create-form .archive-date-field{width:260px!important;min-width:0!important;max-width:260px!important;margin:0!important}
.archive-create-form .archive-date-field input{width:260px!important;max-width:100%!important;height:42px!important;box-sizing:border-box!important}
.archive-create-form .archive-primary-action{position:static!important;float:none!important;transform:none!important;align-self:end!important;margin:0!important;height:42px!important;min-height:42px!important;width:auto!important;min-width:210px!important}
.archive-restore-form{display:grid!important;grid-template-columns:minmax(360px,520px) max-content!important;align-items:end!important;justify-content:start!important;column-gap:16px!important;row-gap:10px!important;width:max-content!important;max-width:100%!important}
.archive-restore-form .archive-file-field{width:520px!important;max-width:100%!important;min-width:0!important;margin:0!important}
.archive-restore-form .archive-primary-action{position:static!important;float:none!important;transform:none!important;margin:0!important;height:42px!important;min-height:42px!important;width:auto!important;min-width:170px!important}
@media(max-width:860px){
 .archive-create-form{grid-template-columns:minmax(210px,1fr) minmax(210px,1fr)!important;width:100%!important}
 .archive-create-form .archive-date-field,.archive-create-form .archive-date-field input{width:100%!important;max-width:none!important}
 .archive-create-form .archive-primary-action{grid-column:1 / -1!important;justify-self:start!important}
 .archive-restore-form{grid-template-columns:minmax(0,1fr) max-content!important;width:100%!important}
 .archive-restore-form .archive-file-field{width:100%!important}
}
@media(max-width:560px){
 .archive-create-form,.archive-restore-form{grid-template-columns:1fr!important;width:100%!important}
 .archive-create-form .archive-primary-action,.archive-restore-form .archive-primary-action{grid-column:auto!important;width:100%!important;justify-self:stretch!important}
}

/* V3.0.52 Offline Archive action visibility */
.archive-index-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;min-width:250px}.archive-remove-disabled{opacity:.48;cursor:not-allowed;pointer-events:none}.archive-action-note{flex-basis:100%;margin-top:2px}.archive-remove-details{display:inline-block}.archive-remove-details>summary{list-style:none;cursor:pointer}.archive-remove-details>summary::-webkit-details-marker{display:none}.archive-remove-confirm{margin-top:12px;padding:16px;border:1px solid #d7dce3;border-radius:8px;min-width:420px}.archive-remove-confirm p{margin:0 0 14px}.archive-remove-confirm form{display:flex;flex-wrap:wrap;align-items:end;gap:12px}.archive-remove-field{display:flex;align-items:center;gap:8px;margin:0;min-width:0}.archive-remove-field span{white-space:nowrap}.archive-remove-field input{width:176px;height:42px;box-sizing:border-box;margin:0}.archive-remove-submit{height:42px;min-width:148px;box-sizing:border-box;margin:0;white-space:nowrap}@media(max-width:720px){.archive-index-actions{min-width:210px}.archive-remove-confirm{min-width:0;width:100%;box-sizing:border-box;padding:14px}.archive-remove-confirm form{align-items:stretch;flex-direction:column;gap:10px}.archive-remove-field{align-items:stretch;flex-direction:column;gap:6px}.archive-remove-field input,.archive-remove-submit{width:100%;min-width:0}}
/* V3.0.55 Offline Archive local verification and archive deletion */
.archive-action-panel{margin-top:12px;padding:16px;border:1px solid #d7dce3;border-radius:8px;min-width:460px;max-width:760px}.archive-action-panel p{margin:0 0 14px}.archive-verify-details,.archive-delete-details{display:inline-block}.archive-verify-details>summary,.archive-delete-details>summary{list-style:none;cursor:pointer}.archive-verify-details>summary::-webkit-details-marker,.archive-delete-details>summary::-webkit-details-marker{display:none}.archive-local-verify-form{display:flex;flex-wrap:wrap;align-items:end;gap:12px}.archive-delete-form{display:flex;flex-wrap:wrap;align-items:end;gap:12px}.archive-delete-button{opacity:.88}.archive-delete-panel{border-color:#e1c8c8}.archive-index-actions>.button,.archive-index-actions>details>summary{min-height:42px;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center}.archive-index-actions .archive-action-note{line-height:1.4}
@media(max-width:720px){.archive-action-panel{min-width:0;width:100%;box-sizing:border-box;padding:14px}.archive-local-verify-form,.archive-delete-form{flex-direction:column;align-items:stretch;gap:10px}.archive-local-verify-form .archive-file-field,.archive-local-verify-form .archive-primary-action,.archive-delete-form .archive-remove-field,.archive-delete-form .archive-remove-submit{width:100%!important;min-width:0!important}}


/* V3.0.63 Platform Archive Management proportional UI */
.archive-page-intro{padding:22px 24px!important}.archive-page-intro h1{margin-bottom:8px}.archive-page-intro p{max-width:1180px;margin-bottom:0}
.archive-section-heading{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;margin:22px 4px 10px;padding:0 2px}.archive-section-heading>span{font-size:18px;font-weight:700;color:#173656}.archive-section-heading>small{font-size:13px;color:#68788a}
.archive-workflow-card,.archive-index-card{padding:20px 22px!important}.archive-workflow-card h2,.archive-index-card h2{margin:0 0 8px}.archive-workflow-card>.muted{max-width:1120px;margin:0 0 16px;line-height:1.5}
.archive-table-wrap{width:100%;overflow-x:auto}.archive-table{width:100%;border-collapse:separate;border-spacing:0;table-layout:auto}.archive-table th{white-space:nowrap;padding:11px 12px;text-align:left}.archive-table td{padding:12px;vertical-align:top}.archive-table th+th,.archive-table td+td{border-left:1px solid #edf1f5}.archive-table tbody tr+tr td{border-top:1px solid #edf1f5}
.admin-signing-table th:nth-child(1){width:22%}.admin-signing-table th:nth-child(2),.admin-signing-table th:nth-child(3){width:9%}.admin-signing-table th:nth-child(4),.admin-signing-table th:nth-child(5){width:10%}.admin-signing-table th:nth-child(6){width:10%}.admin-signing-table th:nth-child(7){width:30%}
.former-tenant-table th:nth-child(1){width:22%}.former-tenant-table th:nth-child(2){width:25%}.former-tenant-table th:nth-child(3){width:10%}.former-tenant-table th:nth-child(4){width:11%}.former-tenant-table th:nth-child(5){width:14%}.former-tenant-table th:nth-child(6){width:18%}.former-tenant-table td:nth-child(2){white-space:nowrap}
.tenant-archive-create-form{display:grid;grid-template-columns:minmax(360px,560px) max-content;align-items:end;justify-content:start;gap:16px;width:max-content;max-width:100%}.tenant-archive-customer-field{display:flex;flex-direction:column;gap:5px;width:560px;max-width:100%;margin:0;font-weight:600}.tenant-archive-customer-field select{width:100%;height:42px;box-sizing:border-box;margin:0;padding:7px 10px}.tenant-archive-create-form .archive-primary-action{align-self:end;min-width:230px!important}
.archive-index-actions{min-width:0!important}.archive-index-actions form{display:flex;align-items:end;gap:10px;flex-wrap:wrap;margin:0}.archive-index-actions form input[type="file"]{max-width:330px;min-height:42px;box-sizing:border-box}.archive-index-actions form input[name="confirm"]{width:150px;height:42px;box-sizing:border-box;margin:0}.archive-index-actions .button{white-space:nowrap}
@media(max-width:900px){.tenant-archive-create-form{grid-template-columns:minmax(0,1fr) max-content;width:100%}.tenant-archive-customer-field{width:100%}.archive-table{min-width:860px}}
@media(max-width:620px){.archive-page-intro,.archive-workflow-card,.archive-index-card{padding:16px!important}.archive-section-heading{display:block;margin-top:18px}.archive-section-heading>span,.archive-section-heading>small{display:block}.archive-section-heading>small{margin-top:4px}.tenant-archive-create-form{grid-template-columns:1fr;width:100%;gap:10px}.tenant-archive-create-form .archive-primary-action{width:100%!important;min-width:0!important}.archive-table{min-width:820px}}

/* V3.0.78 industrial Add Customer workspace */
.customer-management-toolbar{display:flex!important;align-items:center!important;gap:14px!important;flex-wrap:wrap!important;padding:12px 14px!important;min-height:0!important}
.customer-management-toolbar .customer-add-panel{position:static!important;height:38px;min-height:38px;flex:0 0 auto}
.customer-management-toolbar .customer-add-panel[open]{flex:1 0 100%!important;width:100%!important;height:auto!important;min-height:0!important;order:20}
.customer-management-toolbar .customer-add-panel[open]>summary{margin-bottom:10px!important}
.customer-management-toolbar .customer-add-body{width:100%!important;min-width:0!important;margin:0!important;padding:18px!important;border:1px solid #d6e2ed!important;border-radius:10px!important;background:#fff!important;box-shadow:0 1px 2px rgba(23,54,86,.04)}
.customer-add-heading{display:flex;align-items:center;justify-content:space-between;padding-bottom:13px;margin-bottom:15px;border-bottom:1px solid #e4ebf2}
.customer-add-heading strong{display:block;font-size:16px;color:#173656}.customer-add-heading span{display:block;margin-top:4px;font-size:12px;font-weight:400}
.customer-management-toolbar .customer-add-form{display:block!important}
.customer-add-primary{display:grid;grid-template-columns:minmax(220px,1.15fr) minmax(220px,1fr) minmax(280px,1.25fr);gap:16px;align-items:end}
.customer-add-secondary{display:grid;grid-template-columns:minmax(180px,240px) minmax(160px,210px) 1fr;gap:16px;align-items:end;margin-top:16px}
.customer-add-form label{display:grid!important;grid-template-rows:auto 40px;gap:6px!important;font-size:12px!important;font-weight:700!important;color:#253b53}
.customer-add-form input,.customer-add-form select{box-sizing:border-box!important;width:100%!important;height:40px!important;min-height:40px!important;margin:0!important;padding:0 11px!important;border:1px solid #cbd8e5!important;border-radius:7px!important;background:#fff!important}
.customer-add-actions{display:flex;justify-content:flex-end;align-items:end}.customer-add-actions .button{height:40px!important;min-height:40px!important;padding:0 18px!important;white-space:nowrap}
.customer-bulk-action-bar{display:flex;align-items:center;min-height:52px;margin-top:10px;padding:7px 10px;border:1px solid #d9e4ee;border-radius:9px;background:#f8fbfd}
.customer-bulk-action-bar .customer-reset-toolbar{display:flex;align-items:center;gap:8px;height:auto!important;min-height:38px!important;flex-wrap:wrap;margin:0}
.customer-bulk-action-bar .button{height:38px!important;min-height:38px!important;margin:0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important}
.customer-bulk-action-bar #customerSelectedCount{min-width:72px;padding:0 4px;font-weight:600}
@media(max-width:1050px){.customer-add-primary{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-add-primary label:last-child{grid-column:1/-1}.customer-add-secondary{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-add-actions{grid-column:1/-1}}
@media(max-width:700px){.customer-management-toolbar{align-items:stretch!important}.customer-trial-toolbar,.customer-sort-toolbar{width:100%!important;flex-wrap:wrap}.customer-management-toolbar .customer-add-panel{width:max-content;max-width:100%}.customer-management-toolbar .customer-add-panel[open]{width:100%!important}.customer-management-toolbar .customer-add-body{padding:14px!important}.customer-add-primary,.customer-add-secondary{grid-template-columns:1fr}.customer-add-primary label:last-child,.customer-add-actions{grid-column:auto}.customer-add-actions .button{width:100%}.customer-bulk-action-bar .customer-reset-toolbar{width:100%}.customer-bulk-action-bar #customerSelectedCount{width:100%}.customer-bulk-action-bar .button{flex:1 1 190px}}

/* V3.0.82 Pending Public Registrations industrial responsive layout */
.pending-approval-card{padding:16px 18px!important;margin-bottom:18px!important}
.pending-approval-card .customer-management-title{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:12px}
.pending-approval-card .customer-management-title>div{min-width:0;flex:1}.pending-approval-card .customer-management-title p{max-width:1120px;margin:4px 0 0;line-height:1.45}
.pending-approval-table{width:100%;margin:0;border:1px solid #e1e9f0;border-radius:9px;overflow:visible!important}
.pending-approval-table table{width:100%!important;min-width:0!important;table-layout:fixed!important;margin:0}
.pending-approval-table th,.pending-approval-table td{box-sizing:border-box;padding:11px 12px!important;text-align:left!important;vertical-align:middle!important;line-height:1.35;overflow-wrap:anywhere}
.pending-approval-table th:nth-child(1){width:24%!important}.pending-approval-table th:nth-child(2){width:18%!important}.pending-approval-table th:nth-child(3){width:16%!important}.pending-approval-table th:nth-child(4){width:15%!important}.pending-approval-table th:nth-child(5){width:17%!important}.pending-approval-table th:nth-child(6){width:10%!important}
.pending-approval-table td small{display:block;margin-top:4px;line-height:1.35}.pending-approval-table td:nth-child(4){white-space:normal}
.pending-approval-actions{display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:center!important;gap:7px!important;margin:0!important;min-width:0!important}
.pending-approval-actions .button{box-sizing:border-box!important;width:100%!important;min-width:0!important;height:36px!important;min-height:36px!important;margin:0!important;padding:0 9px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;white-space:nowrap!important;font-size:12px!important}
.pending-approval-note{margin:11px 0 0!important;line-height:1.4}
@media(max-width:1050px){.pending-approval-table th,.pending-approval-table td{padding:10px 9px!important}.pending-approval-actions .button{font-size:11px!important;padding:0 6px!important}}
@media(max-width:820px){
 .pending-approval-card{padding:14px!important}.pending-approval-card .customer-management-title{gap:10px}
 .pending-approval-table{border:0!important;overflow:visible!important}.pending-approval-table table,.pending-approval-table thead,.pending-approval-table tbody,.pending-approval-table tr,.pending-approval-table th,.pending-approval-table td{display:block!important;width:100%!important;min-width:0!important}
 .pending-approval-table thead{display:none!important}.pending-approval-table tbody{display:grid!important;gap:12px!important}
 .pending-approval-table tr{box-sizing:border-box;border:1px solid #dce6ef;border-radius:9px;padding:12px;background:#fff}
 .pending-approval-table td{display:grid!important;grid-template-columns:132px minmax(0,1fr)!important;gap:10px!important;padding:7px 0!important;border:0!important;align-items:start!important}
 .pending-approval-table td:before{font-size:11px;font-weight:700;color:#60748a;line-height:1.35}.pending-approval-table td:nth-child(1):before{content:'Organization'}.pending-approval-table td:nth-child(2):before{content:'Contact'}.pending-approval-table td:nth-child(3):before{content:'Package'}.pending-approval-table td:nth-child(4):before{content:'Verified'}.pending-approval-table td:nth-child(5):before{content:'Registration Stage'}.pending-approval-table td:nth-child(6):before{content:'Action'}
 .pending-approval-actions{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;flex-wrap:wrap!important}.pending-approval-actions .button{width:auto!important;min-width:120px!important}
}
@media(max-width:520px){.pending-approval-card .customer-management-title{flex-direction:column}.pending-approval-card .customer-management-title>.badge{align-self:flex-start}.pending-approval-table td{grid-template-columns:1fr!important;gap:4px!important}.pending-approval-actions{flex-direction:column!important;align-items:stretch!important}.pending-approval-actions .button{width:100%!important}.pending-approval-note{font-size:12px}}


/* V3.0.86 global action header standard for Platform Admin and Tenant Portal */
.top .profile{display:flex;align-items:center;justify-content:flex-end;gap:8px;white-space:nowrap}
.top-new-envelope,.top .context-help-button,.top .top-signout{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:6px;height:38px;min-height:38px;margin:0;padding:0 12px;border-radius:8px;font-size:13px;font-weight:700;line-height:1;text-decoration:none;white-space:nowrap}
.top-new-envelope{border:1px solid rgba(255,255,255,.42);background:#fff;color:#174f83!important;box-shadow:0 1px 2px rgba(18,42,66,.08)}
.top-new-envelope:hover{background:#f2f7fc;color:#123f6b!important}
.top-new-envelope .top-action-icon{font-size:18px;line-height:1;font-weight:500;margin-top:-1px}
.top .context-help-button{border:1px solid rgba(255,255,255,.42);background:#fff;color:#173656!important;box-shadow:0 1px 2px rgba(18,42,66,.08)}
.top .context-help-button:hover{background:#f2f7fc;border-color:rgba(255,255,255,.58)}
.top .profile-copy{min-width:104px;align-items:flex-start;text-align:left;line-height:1.15}
.top .profile-name{font-size:15px;font-weight:700}
.top .profile-copy small{font-size:12px;margin-top:2px}
.top .top-signout-form{margin:0}
.top .top-signout{border:1px solid transparent;background:transparent;color:#fff!important;padding:0 7px;box-shadow:none}
.top .top-signout:hover{background:rgba(255,255,255,.12)}
.top .signout-icon{font-size:17px;line-height:1;margin:0}
@media(max-width:900px){
  .top .profile{gap:6px}
  .top-new-envelope,.top .context-help-button,.top .top-signout{height:36px;min-height:36px;padding:0 9px}
  .top .profile-copy{min-width:0;max-width:120px}
}
@media(max-width:650px){
  .top-new-envelope,.top .context-help-button,.top .top-signout{width:38px!important;min-width:38px!important;height:38px!important;min-height:38px!important;padding:0!important;border-radius:8px!important}
  .top-new-envelope .top-action-text,.top .context-help-button span,.top .top-signout .signout-text{display:none!important}
  .top-new-envelope .top-action-icon{font-size:20px}
  .top .profile-copy{display:none!important}
  .top .profile{gap:5px!important}
  .top .signout-icon{margin:0!important}
}


/* V3.0.87 primary New Envelope action and Organization checkbox alignment */
.top-new-envelope{position:relative!important;border:1px solid #d8f2ff!important;background:#e9f8ff!important;color:#0d426c!important;box-shadow:0 2px 7px rgba(6,42,72,.20)!important;font-weight:800!important;padding:0 14px!important}
.top-new-envelope:hover,.top-new-envelope:focus{background:#fff!important;color:#092f50!important;border-color:#fff!important;box-shadow:0 3px 10px rgba(6,42,72,.28)!important;transform:translateY(-1px)}
.top-new-envelope .top-action-icon{font-size:17px!important;line-height:1!important;font-weight:700!important}
.top-new-envelope .top-action-plus{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;margin-left:-9px;margin-top:-15px;border-radius:50%;background:#173656;color:#fff;font-size:13px;font-weight:800;line-height:1;border:1px solid #e9f8ff}
.completion-copy-setting{margin-top:18px!important;margin-bottom:14px!important}
.inline-checkbox-label{display:inline-flex!important;align-items:center!important;justify-content:flex-start!important;gap:9px!important;width:auto!important;max-width:100%!important;margin:0!important;cursor:pointer;font-weight:600!important}
.inline-checkbox-label input[type="checkbox"]{flex:0 0 auto!important;width:18px!important;height:18px!important;margin:0!important;padding:0!important}
.inline-checkbox-label span{display:inline!important;line-height:1.35!important}
@media(max-width:650px){.top-new-envelope{padding:0!important}.top-new-envelope .top-action-plus{position:absolute;right:4px;top:4px;margin:0;width:14px;height:14px;font-size:11px}.top-new-envelope .top-action-icon{font-size:18px!important}}
\n\n/* V3.0.88 Global Quick Start */\n.top-quick-start{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:6px;height:38px;min-height:38px;margin:0 2px 0 4px;padding:0 14px;border:1px solid #d8f2ff;border-radius:8px;background:#e9f8ff;color:#0d426c;font-size:13px;font-weight:800;line-height:1;white-space:nowrap;cursor:pointer;box-shadow:0 2px 7px rgba(6,42,72,.20)}\n.top-quick-start:hover,.top-quick-start:focus{background:#fff;color:#092f50;border-color:#fff;box-shadow:0 3px 10px rgba(6,42,72,.28);transform:translateY(-1px)}\n.quick-start-icon{display:inline-flex;align-items:center;justify-content:center;width:19px;height:19px;border-radius:50%;background:#173656;color:#fff;font-size:13px;font-weight:800}\n.quick-start-panel[hidden]{display:none!important}.quick-start-panel{position:fixed;inset:0;z-index:10020}.quick-start-backdrop{position:absolute;inset:0;background:rgba(8,25,43,.48)}\n.quick-start-dialog{position:relative;width:min(720px,calc(100vw - 32px));max-height:calc(100vh - 40px);overflow:auto;margin:20px auto;background:#fff;color:#14283c;border-radius:12px;box-shadow:0 18px 55px rgba(0,0,0,.28);padding:22px}\n.quick-start-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding-bottom:14px;border-bottom:1px solid #dce5ed}.quick-start-head small{color:#60758a;font-weight:700}.quick-start-head h2{margin:3px 0 0;font-size:22px}.quick-start-close{width:36px;height:36px;border:1px solid #d7e0e8;border-radius:8px;background:#fff;font-size:24px;line-height:1;cursor:pointer}.quick-start-intro{margin:16px 0;color:#53697e}\n.quick-start-steps{margin:0;padding:0;list-style:none;counter-reset:qs;display:grid;gap:9px}.quick-start-steps li{counter-increment:qs;display:grid;grid-template-columns:34px minmax(0,1fr);column-gap:10px;row-gap:2px;padding:10px 12px;border:1px solid #e1e8ef;border-radius:9px;background:#f9fbfd}.quick-start-steps li:before{content:counter(qs);grid-row:1/3;display:flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:50%;background:#173656;color:#fff;font-weight:800}.quick-start-steps li b{font-size:14px}.quick-start-steps li span{font-size:13px;color:#52677b;line-height:1.4}.quick-start-actions{display:flex;justify-content:flex-end;align-items:center;gap:9px;margin-top:16px}.quick-start-create{height:38px!important}\nbody.quick-start-open{overflow:hidden}\n@media(max-width:900px){.top-quick-start{padding:0 10px}.quick-start-text{display:none}.top-quick-start{width:38px;min-width:38px;padding:0;margin-left:2px}.quick-start-icon{width:20px;height:20px}}\n@media(max-width:650px){.top-quick-start{width:38px!important;min-width:38px!important;height:38px!important;min-height:38px!important;margin:0!important}.quick-start-dialog{width:calc(100vw - 18px);max-height:calc(100vh - 18px);margin:9px auto;padding:15px}.quick-start-head h2{font-size:18px}.quick-start-actions{flex-wrap:wrap}.quick-start-actions>*{flex:1 1 auto}}\n
/* V3.0.89 frozen global header and unified primary header actions */
.top{
  position:sticky!important;
  top:0!important;
  z-index:10000!important;
  flex:0 0 auto!important;
}
.top-quick-start,.top-new-envelope{
  box-sizing:border-box!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  height:38px!important;
  min-height:38px!important;
  min-width:0!important;
  margin:0!important;
  padding:0 14px!important;
  border:1px solid #d8f2ff!important;
  border-radius:8px!important;
  background:#e9f8ff!important;
  color:#0d426c!important;
  font-size:13px!important;
  font-weight:800!important;
  line-height:1!important;
  text-decoration:none!important;
  white-space:nowrap!important;
  box-shadow:0 2px 7px rgba(6,42,72,.20)!important;
}
.top-quick-start:hover,.top-quick-start:focus,.top-new-envelope:hover,.top-new-envelope:focus{
  background:#fff!important;
  color:#092f50!important;
  border-color:#fff!important;
  box-shadow:0 3px 10px rgba(6,42,72,.28)!important;
  transform:translateY(-1px);
}
.quick-start-icon,.top-new-envelope .top-action-icon{
  flex:0 0 auto!important;
}
@media(max-width:900px){
  .top-quick-start,.top-new-envelope{height:36px!important;min-height:36px!important;padding:0 10px!important}
}
@media(max-width:650px){
  .top-quick-start,.top-new-envelope{width:38px!important;min-width:38px!important;height:38px!important;min-height:38px!important;padding:0!important;margin:0!important}
  .quick-start-text,.top-new-envelope .top-action-text{display:none!important}
}


/* V3.0.90 proportional Global Search and Quick Start spacing */
.top{gap:8px!important;}
.top-search-wrap + .top-quick-start{margin-left:0!important;}
@media(max-width:900px){.top{gap:6px!important;}}
@media(max-width:650px){.top{gap:5px!important;}}
\n\n/* V3.0.91 exact header action spacing and Mail Queue standard layout */\n:root{--top-action-space:8px;}\n.top{column-gap:var(--top-action-space)!important;}\n.top-search-wrap{margin:0!important;}\n.top-search-wrap + .top-quick-start{margin-left:0!important;}\n.top .profile{gap:var(--top-action-space)!important;}\n\n.mail-queue-card{width:100%;overflow:hidden;}\n.mail-queue-summary{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin:12px 0 14px;}\n.mail-queue-summary span{display:inline-flex;align-items:center;gap:6px;min-height:38px;}\n.mail-queue-tools{display:grid;grid-template-columns:minmax(260px,1fr) 160px 140px 96px 96px;gap:10px;align-items:center;margin:14px 0 16px;}\n.mail-queue-tools input[name=q],.mail-queue-tools select,.mail-queue-tools .button{box-sizing:border-box!important;height:40px!important;min-height:40px!important;margin:0!important;border-radius:8px!important;font-size:14px!important;}\n.mail-queue-tools input[name=q],.mail-queue-tools select{width:100%!important;padding:0 11px!important;border:1px solid #ccd9e6!important;background:#fff!important;color:#10213f!important;}\n.mail-queue-tools .button{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:100%!important;padding:0 14px!important;white-space:nowrap!important;}\n.mail-queue-table{width:100%;overflow-x:auto;}\n.mail-queue-table table{width:100%;min-width:1540px;border-collapse:collapse;table-layout:fixed;}\n.mail-queue-table th,.mail-queue-table td{box-sizing:border-box;padding:10px 9px!important;border-bottom:1px solid #e5ebf1;vertical-align:middle!important;text-align:center!important;line-height:1.35;}\n.mail-queue-table th{height:44px;white-space:nowrap;background:#f7f9fc;font-size:13px;}\n.mail-queue-table th a{display:flex;align-items:center;justify-content:center;width:100%;height:100%;text-decoration:none;color:inherit;}\n.mail-queue-table td{font-size:13px;overflow-wrap:anywhere;}\n.mail-queue-table th:nth-child(1),.mail-queue-table td:nth-child(1){width:60px;}\n.mail-queue-table th:nth-child(2),.mail-queue-table td:nth-child(2){width:275px;}\n.mail-queue-table th:nth-child(3),.mail-queue-table td:nth-child(3){width:150px;}\n.mail-queue-table th:nth-child(4),.mail-queue-table td:nth-child(4){width:205px;}\n.mail-queue-table th:nth-child(5),.mail-queue-table td:nth-child(5){width:230px;}\n.mail-queue-table th:nth-child(6),.mail-queue-table td:nth-child(6){width:90px;}\n.mail-queue-table th:nth-child(7),.mail-queue-table td:nth-child(7){width:80px;}\n.mail-queue-table th:nth-child(8),.mail-queue-table td:nth-child(8){width:145px;}\n.mail-queue-table th:nth-child(9),.mail-queue-table td:nth-child(9){width:145px;}\n.mail-queue-table th:nth-child(10),.mail-queue-table td:nth-child(10){width:230px;}\n.mail-queue-table th:nth-child(11),.mail-queue-table td:nth-child(11){width:110px;}\n.uuid-cell{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;}\n.subject-cell,.error-cell{white-space:normal;}\n.mq-action form{margin:0;display:flex;justify-content:center;}\n.mq-action .button{box-sizing:border-box;height:38px!important;min-height:38px!important;padding:0 12px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;white-space:nowrap!important;}\n.mail-queue-card>.pagination{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:16px 0;}\n@media(max-width:900px){:root{--top-action-space:6px;}.mail-queue-tools{grid-template-columns:minmax(0,1fr) 150px 130px 88px 88px;gap:8px;}}\n@media(max-width:760px){.mail-queue-tools{grid-template-columns:1fr 1fr;}.mail-queue-tools input[name=q]{grid-column:1/-1;}.mail-queue-summary{gap:12px;}.mail-queue-table table{min-width:1480px;}}\n@media(max-width:650px){:root{--top-action-space:5px;}.mail-queue-tools{grid-template-columns:1fr;}.mail-queue-tools input[name=q]{grid-column:auto;}}\n
/* V3.0.92 compact Quick Start dropdown */
.quick-start-panel{
  position:fixed;
  inset:0;
  z-index:10020;
  pointer-events:none;
}
.quick-start-panel[hidden]{display:none!important;}
.quick-start-backdrop{
  position:absolute;
  inset:0;
  background:rgba(8,25,43,.08);
  pointer-events:auto;
}
.quick-start-dialog{
  position:fixed;
  width:max-content;
  max-width:min(560px,calc(100vw - 24px));
  max-height:calc(100vh - 86px);
  overflow:auto;
  margin:0;
  padding:16px;
  background:#fff;
  color:#14283c;
  border:1px solid #d8e2ec;
  border-radius:10px;
  box-shadow:0 12px 30px rgba(8,25,43,.22);
  pointer-events:auto;
}
.quick-start-head{gap:12px;padding-bottom:10px;}
.quick-start-head h2{font-size:18px;}
.quick-start-close{width:32px;height:32px;font-size:21px;}
.quick-start-intro{margin:11px 0;color:#425b72;}
.quick-start-steps{gap:6px;}
.quick-start-steps li{grid-template-columns:30px minmax(0,1fr);column-gap:9px;padding:8px 10px;}
.quick-start-steps li:before{width:27px;height:27px;}
.quick-start-steps li b{font-size:13px;}
.quick-start-steps li span{font-size:12px;line-height:1.32;}
.quick-start-actions{gap:8px;margin-top:12px;}
body.quick-start-open{overflow:auto;}
@media(max-width:650px){
  .quick-start-dialog{width:calc(100vw - 16px);max-width:none;max-height:calc(100vh - 76px);padding:13px;}
  .quick-start-head h2{font-size:17px;}
  .quick-start-actions{flex-wrap:wrap;}
  .quick-start-actions>*{flex:1 1 auto;}
}

/* V3.0.93 anchor Quick Start directly beside Global Search */
@media(min-width:901px){
  .top-search-wrap{
    flex:0 1 620px!important;
    width:min(620px,42vw)!important;
    max-width:620px!important;
    margin:0!important;
  }
  .top-search-wrap + .top-quick-start{
    flex:0 0 auto!important;
    margin-left:0!important;
    margin-right:auto!important;
  }
}

/* V3.0.94 Mail Queue proportional control layout */
.mail-queue-summary{gap:10px!important;margin:18px 0 14px!important;}
.mail-queue-summary span{min-height:36px!important;padding:0 12px;border:1px solid #dbe4ee;border-radius:8px;background:#f7f9fc;}
.mail-queue-tools{display:flex!important;align-items:flex-end!important;gap:10px!important;flex-wrap:wrap!important;margin:0 0 18px!important;}
.mail-queue-tools input[name=q]{flex:1 1 360px!important;max-width:560px!important;width:auto!important;}
.mail-queue-tools select[name=status]{flex:0 0 165px!important;width:165px!important;}
.mail-queue-tools select[name=per]{flex:0 0 140px!important;width:140px!important;}
.mail-queue-tools .button{flex:0 0 auto!important;width:auto!important;min-width:88px!important;}
@media(max-width:760px){.mail-queue-tools{align-items:stretch!important;}.mail-queue-tools input[name=q]{flex:1 1 100%!important;max-width:none!important;}.mail-queue-tools select[name=status],.mail-queue-tools select[name=per]{flex:1 1 160px!important;width:auto!important;}.mail-queue-tools .button{flex:1 1 100px!important;}}
@media(max-width:520px){.mail-queue-tools>*{flex:1 1 100%!important;width:100%!important;max-width:none!important;}}

/* V3.0.95 Mail Queue standard control sizing */
:root{--standard-control-height:40px;--standard-control-radius:8px;}
.mail-queue-summary{align-items:center!important;gap:10px!important;}
.mail-queue-summary span{
  box-sizing:border-box!important;
  height:var(--standard-control-height)!important;
  min-height:var(--standard-control-height)!important;
  padding:0 14px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  border-radius:var(--standard-control-radius)!important;
  line-height:1!important;
  white-space:nowrap!important;
}
.mail-queue-tools{align-items:center!important;}
.mail-queue-tools input[name=q],
.mail-queue-tools select,
.mail-queue-tools .button{
  box-sizing:border-box!important;
  height:var(--standard-control-height)!important;
  min-height:var(--standard-control-height)!important;
  margin:0!important;
  border-radius:var(--standard-control-radius)!important;
  font-size:14px!important;
  line-height:1.2!important;
}
.mail-queue-tools input[name=q],.mail-queue-tools select{padding-top:0!important;padding-bottom:0!important;}
.mail-queue-tools .button{display:inline-flex!important;align-items:center!important;justify-content:center!important;padding-top:0!important;padding-bottom:0!important;}
/* V3.0.96 public commercial landing page */
.public-esign{margin:0;background:#f7faff;color:#10233f;font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif}.public-nav{min-height:76px;display:flex;align-items:center;gap:30px;padding:0 clamp(22px,5vw,76px);background:rgba(255,255,255,.94);border-bottom:1px solid #dce6f3;position:sticky;top:0;z-index:50;backdrop-filter:blur(14px)}.public-brand{display:inline-flex;align-items:baseline;gap:7px;text-decoration:none;font-size:24px;letter-spacing:-.5px}.public-brand span{font-weight:800;color:#10233f}.public-brand b{color:#1677ff;font-weight:650}.public-nav nav{display:flex;gap:25px;margin:auto}.public-nav nav a,.public-footer a{color:#415570;text-decoration:none;font-weight:600}.public-actions,.hero-actions,.final-cta>div{display:flex;align-items:center;gap:10px}.public-nav .button,.hero-actions .button,.final-cta .button{min-height:42px;padding:0 18px;display:inline-flex;align-items:center;justify-content:center}.public-hero{min-height:650px;display:grid;grid-template-columns:minmax(0,1fr) minmax(440px,.9fr);gap:clamp(38px,6vw,90px);align-items:center;padding:80px clamp(24px,6vw,90px);background:radial-gradient(circle at 82% 24%,#d9edff 0,transparent 28%),linear-gradient(135deg,#f9fcff,#edf5ff)}.public-hero-copy{max-width:720px}.eyebrow{text-transform:uppercase;letter-spacing:1.8px;font-size:12px;font-weight:800;color:#1677ff}.public-hero h1{font-size:clamp(42px,5vw,72px);line-height:1.02;letter-spacing:-2.8px;margin:16px 0 24px}.public-hero h1 em{font-style:normal;color:#1677ff}.public-hero-copy>p{font-size:19px;line-height:1.7;color:#52657e;max-width:650px}.text-link{font-weight:700;color:#245d9e;text-decoration:none;margin-left:6px}.hero-trust{display:flex;flex-wrap:wrap;gap:18px;margin-top:28px;color:#415570;font-size:14px}.esign-demo{max-width:650px}.demo-window{background:#fff;border:1px solid #d8e4f2;border-radius:22px;box-shadow:0 30px 80px rgba(25,71,125,.16);overflow:hidden}.demo-top{height:52px;background:#102b4e;color:#fff;display:flex;align-items:center;gap:7px;padding:0 18px}.demo-top span{width:8px;height:8px;border-radius:50%;background:#6e87a8}.demo-top b{margin-left:10px;font-size:13px}.demo-progress{height:62px;display:flex;align-items:center;justify-content:center;padding:0 30px;background:#f8fbff}.demo-progress i{width:26px;height:26px;border-radius:50%;background:#dce7f3;display:grid;place-items:center;font-style:normal;font-size:11px;font-weight:800}.demo-progress i.active{background:#1677ff;color:#fff}.demo-progress span{height:2px;background:#dce7f3;flex:1;max-width:70px}.demo-stage{min-height:365px;position:relative;display:grid;grid-template-columns:1fr .9fr;gap:22px;padding:28px;background:#edf4fb;overflow:hidden}.demo-doc{background:#fff;border-radius:8px;padding:28px 22px;box-shadow:0 8px 22px rgba(20,50,90,.1);transform:rotate(-1deg)}.doc-head{font-size:11px;font-weight:800;margin-bottom:30px}.demo-doc>i{display:block;height:5px;background:#dbe3ed;border-radius:9px;margin:15px 0}.signature-box{margin-top:45px;border:2px dashed #68a9ff;background:#eef6ff;color:#1677ff;padding:12px;font-size:12px;border-radius:6px}.demo-panel{display:flex;flex-direction:column;gap:11px}.demo-action{background:#fff;border:1px solid #dce6f2;border-radius:10px;padding:13px 14px;font-size:13px;opacity:.45;animation:demoStep 8s infinite}.demo-action small{display:block;color:#718299;margin-top:3px}.demo-action.recipient{animation-delay:2s}.demo-action.fields{animation-delay:4s}.demo-action.sent{animation-delay:6s}.demo-cursor{position:absolute;font-size:22px;color:#1677ff;animation:cursorMove 8s infinite;filter:drop-shadow(0 2px 2px #fff)}.demo-complete{position:absolute;inset:50% auto auto 50%;transform:translate(-50%,-50%) scale(.8);background:#fff;border-radius:16px;padding:22px 30px;box-shadow:0 20px 55px rgba(10,42,78,.24);text-align:center;opacity:0;animation:completePop 8s infinite}.demo-complete strong{display:grid;place-items:center;margin:auto auto 9px;width:42px;height:42px;border-radius:50%;background:#e3f8ee;color:#178653;font-size:22px}.demo-complete small{display:block;color:#6e7f94;margin-top:4px}.demo-caption{display:flex;justify-content:space-between;gap:14px;padding:16px 6px;color:#60738b;font-size:13px}.demo-caption b{color:#173a66}@keyframes demoStep{0%,18%{opacity:1;transform:translateX(-3px)}25%,100%{opacity:.45;transform:none}}@keyframes cursorMove{0%{left:62%;top:18%}22%{left:66%;top:35%}46%{left:42%;top:66%}70%{left:68%;top:78%}100%{left:62%;top:18%}}@keyframes completePop{0%,76%{opacity:0;transform:translate(-50%,-50%) scale(.8)}82%,95%{opacity:1;transform:translate(-50%,-50%) scale(1)}100%{opacity:0}}.public-strip{display:flex;justify-content:center;flex-wrap:wrap;gap:12px 36px;padding:22px 5vw;background:#102b4e;color:#dcecff;font-weight:700;font-size:13px}.public-section{padding:90px clamp(24px,6vw,90px);max-width:1500px;margin:auto}.section-intro{max-width:780px;margin:0 auto 48px;text-align:center}.section-intro h2,.split-section h2,.security-section h2,.final-cta h2{font-size:clamp(32px,4vw,50px);letter-spacing:-1.7px;margin:12px 0 16px}.section-intro p,.split-section p,.security-section p{font-size:17px;line-height:1.7;color:#60738b}.feature-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.feature-grid article{background:#fff;border:1px solid #dce6f2;border-radius:16px;padding:26px;box-shadow:0 8px 30px rgba(30,69,115,.05)}.feature-grid article i,.workflow-row article i{width:44px;height:44px;border-radius:12px;background:#eaf4ff;color:#1677ff;display:grid;place-items:center;font-style:normal;font-weight:800;margin-bottom:18px}.feature-grid h3,.workflow-row h3{margin:0 0 9px;font-size:18px}.feature-grid p,.workflow-row p{margin:0;color:#687b92;line-height:1.55}.workflow-section{max-width:none;background:#fff}.workflow-row{display:grid;grid-template-columns:repeat(5,1fr);gap:14px;max-width:1320px;margin:auto}.workflow-row article{position:relative;padding:24px;border-top:3px solid #d8e7f7}.workflow-row article b{position:absolute;right:18px;top:18px;color:#a3b5c9}.split-section{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:center}.check-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:28px;color:#365372;font-weight:650}.device-stack{min-height:370px;position:relative;background:linear-gradient(145deg,#e5f1ff,#f8fbff);border-radius:24px}.desktop-card{position:absolute;left:8%;top:12%;width:72%;height:270px;background:#fff;border-radius:13px;box-shadow:0 20px 45px rgba(22,61,107,.16);padding:24px}.desktop-card div,.phone-card div{height:7px;background:#dce5ef;margin:22px 0;border-radius:5px}.desktop-card span,.phone-card span{display:inline-block;background:#1677ff;color:#fff;border-radius:7px;padding:10px 14px;font-size:12px}.phone-card{position:absolute;right:5%;bottom:7%;width:145px;height:250px;background:#fff;border:7px solid #183657;border-radius:24px;box-shadow:0 20px 40px rgba(20,54,95,.2);padding:20px 13px;font-size:11px}.evidence{max-width:none;background:#f0f6fd}.feature-grid.four{max-width:1250px;margin:auto}.security-section{max-width:none;background:#102b4e;color:#fff;display:grid;grid-template-columns:.8fr 1.2fr;gap:70px}.security-section p{color:#bfd0e5}.security-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.security-grid article{background:#173a64;border:1px solid #31567e;border-radius:15px;padding:23px}.security-grid i{font-style:normal;color:#65b0ff;font-size:24px}.security-grid b,.security-grid span{display:block;margin-top:9px}.security-grid span{color:#bed0e4;line-height:1.5;font-size:14px}.usecase-row{display:flex;flex-wrap:wrap;justify-content:center;gap:12px}.usecase-row span{padding:14px 18px;border-radius:999px;background:#fff;border:1px solid #d7e3f1;font-weight:700;color:#385675}.faq{max-width:950px}.faq details{background:#fff;border:1px solid #dbe6f2;border-radius:12px;padding:19px 22px;margin:11px 0}.faq summary{font-weight:750;cursor:pointer}.faq details p{color:#60738b;line-height:1.6}.final-cta{text-align:center;padding:90px 24px;background:linear-gradient(135deg,#e8f3ff,#f8fbff)}.final-cta p{color:#60738b;font-size:17px}.final-cta>div{justify-content:center;margin-top:28px}.public-footer{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:35px;padding:55px clamp(24px,6vw,90px) 30px;background:#0b203b;color:#c6d6e8}.public-footer>div{display:flex;flex-direction:column;align-items:flex-start;gap:10px}.public-footer .public-brand span{color:#fff}.public-footer b{color:#fff}.public-footer small{grid-column:1/-1;border-top:1px solid #27425f;padding-top:24px;margin-top:12px}@media(max-width:1000px){.public-nav nav{display:none}.public-hero{grid-template-columns:1fr;padding-top:55px}.public-hero-copy{max-width:none}.esign-demo{max-width:760px;width:100%;margin:auto}.feature-grid{grid-template-columns:1fr 1fr}.workflow-row{grid-template-columns:1fr 1fr}.split-section,.security-section{grid-template-columns:1fr}.public-footer{grid-template-columns:1fr 1fr}}@media(max-width:620px){.public-nav{min-height:66px;padding:0 16px;gap:12px}.public-brand{font-size:20px}.public-actions .secondary{display:none}.public-actions{margin-left:auto}.public-hero{padding:44px 18px 54px;gap:34px}.public-hero h1{font-size:40px;letter-spacing:-1.8px}.public-hero-copy>p{font-size:16px}.hero-actions{align-items:stretch;flex-wrap:wrap}.hero-actions .button{flex:1}.hero-actions .text-link{width:100%;margin:4px 0 0}.demo-stage{min-height:300px;padding:16px;grid-template-columns:1fr .82fr;gap:10px}.demo-doc{padding:18px 13px}.demo-panel{gap:7px}.demo-action{padding:9px;font-size:11px}.demo-action small{font-size:9px}.demo-caption{flex-direction:column}.public-section{padding:62px 18px}.feature-grid,.feature-grid.four,.workflow-row,.security-grid,.check-grid{grid-template-columns:1fr}.workflow-row article{padding:20px}.split-section{gap:35px}.device-stack{min-height:310px}.public-footer{grid-template-columns:1fr 1fr;padding:45px 20px}.public-footer>div:first-child{grid-column:1/-1}}@media(prefers-reduced-motion:reduce){.demo-action,.demo-cursor,.demo-complete{animation:none}.demo-cursor{display:none}.demo-action{opacity:1}.demo-complete{display:none}}

/* V3.0.97 public navigation and footer controls */
.public-esign{scroll-padding-top:88px}
.public-nav{position:sticky;top:0;z-index:1000;box-shadow:0 8px 24px rgba(15,43,78,.08)}
.social-links{display:flex!important;flex-direction:row!important;align-items:center!important;gap:9px!important;margin-top:10px}
.social-links a{width:36px;height:36px;display:grid;place-items:center;border:1px solid #35516f;border-radius:9px;color:#e9f3ff!important;text-decoration:none;font-size:14px;font-weight:800;line-height:1;background:#132f50;transition:transform .18s ease,border-color .18s ease,background .18s ease}
.social-links a:hover,.social-links a:focus-visible{transform:translateY(-2px);border-color:#6fb4ff;background:#19416d;outline:none}
@media(max-width:620px){.public-esign{scroll-padding-top:72px}.public-nav{top:0}.social-links{margin-top:8px}}

/* V3.0.98 public header viewport freeze regression fix */
.public-esign{padding-top:76px;scroll-padding-top:92px}
.public-nav{position:fixed!important;top:0!important;left:0!important;right:0!important;width:100%!important;box-sizing:border-box!important;z-index:10000!important}
.public-esign [id]{scroll-margin-top:92px}
@media(max-width:620px){.public-esign{padding-top:66px;scroll-padding-top:80px}.public-esign [id]{scroll-margin-top:80px}.public-nav{min-height:66px!important}}


/* V3.0.99 landing use case details and full width dark sections */
.public-esign main{overflow-x:hidden}
.public-esign main>.public-strip,.public-esign main>.security-section{width:100%;max-width:none;box-sizing:border-box;margin-left:0;margin-right:0}
.usecase-row button{appearance:none;font:inherit;padding:14px 18px;border-radius:999px;background:#fff;border:1px solid #d7e3f1;font-weight:700;color:#385675;cursor:pointer;transition:transform .15s ease,border-color .15s ease,box-shadow .15s ease}
.usecase-row button:hover,.usecase-row button:focus-visible{border-color:#1677ff;box-shadow:0 8px 22px rgba(22,119,255,.12);transform:translateY(-1px);outline:none}
.usecase-dialog{width:min(720px,calc(100vw - 32px));border:0;border-radius:20px;padding:0;box-shadow:0 28px 90px rgba(10,32,59,.3);color:#10233f}
.usecase-dialog::backdrop{background:rgba(7,25,47,.62);backdrop-filter:blur(3px)}
.usecase-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;padding:28px 30px 16px;border-bottom:1px solid #e1e9f3}
.usecase-dialog-head h3{font-size:28px;margin:7px 0 0}
.usecase-close{appearance:none;border:1px solid #d5e0ec;background:#fff;color:#385675;width:40px;height:40px;border-radius:10px;font-size:26px;line-height:1;cursor:pointer}
.usecase-dialog>p{padding:22px 30px 0;margin:0;color:#5a6e87;line-height:1.65}
.usecase-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:22px 30px}
.usecase-detail-grid>div{background:#f4f8fd;border:1px solid #dce7f3;border-radius:13px;padding:18px}
.usecase-detail-grid b,.usecase-detail-grid span{display:block}.usecase-detail-grid span{margin-top:8px;color:#5d7189;line-height:1.55;font-size:14px}
.usecase-dialog-actions{display:flex;justify-content:flex-end;gap:10px;padding:0 30px 28px}.usecase-dialog-actions .button{min-height:42px;padding:0 18px;display:inline-flex;align-items:center;justify-content:center}
@media(max-width:620px){.usecase-row{align-items:stretch}.usecase-row button{width:100%;border-radius:12px;text-align:left}.usecase-dialog-head{padding:22px 20px 14px}.usecase-dialog-head h3{font-size:23px}.usecase-dialog>p{padding:18px 20px 0}.usecase-detail-grid{grid-template-columns:1fr;padding:18px 20px}.usecase-dialog-actions{padding:0 20px 22px;flex-wrap:wrap}.usecase-dialog-actions .button{flex:1}}
\n\n/* V3.0.100 landing header icon navigation and footer readability */\n.public-nav nav{gap:10px}\n.public-nav nav a{display:inline-flex;align-items:center;gap:7px;padding:9px 10px;border-radius:10px;white-space:nowrap;transition:background .16s ease,color .16s ease}\n.public-nav nav a i{width:24px;height:24px;display:grid;place-items:center;border-radius:7px;background:#edf5ff;color:#176fc8;font-style:normal;font-size:13px;font-weight:850;line-height:1}\n.public-nav nav a:hover,.public-nav nav a:focus-visible{background:#f0f6fd;color:#173e69;outline:none}\n.public-nav nav a:hover i,.public-nav nav a:focus-visible i{background:#dcecff;color:#0d5daf}\n.public-footer{color:#d4e0ed}\n.public-footer p,.public-footer small{color:#c5d3e2}\n.public-footer a{color:#cbd9e8!important;font-weight:600}\n.public-footer a:hover,.public-footer a:focus-visible{color:#f1f7ff!important;text-decoration:underline;text-underline-offset:3px;outline:none}\n.public-footer b{color:#f0f6fd}\n.public-footer .social-links a{color:#e8f2fd!important;text-decoration:none}\n@media(max-width:1180px) and (min-width:1001px){.public-nav{gap:16px;padding-left:24px;padding-right:24px}.public-nav nav{gap:4px}.public-nav nav a{padding:8px 6px;font-size:13px}.public-nav nav a i{width:22px;height:22px}.public-actions .button{padding-left:13px;padding-right:13px}}\n

/* V3.0.103 verified landing header and footer regression corrections */
.public-nav nav a{gap:0!important}
.public-nav nav a i,.public-nav nav a svg,.public-nav nav a .nav-icon{display:none!important}
.public-nav nav a::before,.public-nav nav a::after{content:none!important;display:none!important;background-image:none!important}
.public-footer{color:#e0e8f2!important}
.public-footer p{color:#d9e3ee!important}
.public-footer a{color:#dce6f1!important;opacity:1!important}
.public-footer b{color:#f2f6fb!important}
.public-footer small{color:#d3deea!important;opacity:1!important}
.public-footer a:hover,.public-footer a:focus-visible{color:#ffffff!important}
.public-footer .social-links a{color:#e6eef7!important;opacity:1!important}
