/* The agreement pack (client page, terms page, rep views and the Monday tab's preview). */
.ag { padding: 24px 26px; font-size: 15px; line-height: 1.6; color: #0f172a; }
.ag--page { padding: 0; }
.ag-ref { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: #475569; font-weight: 600; }
.ag-title { font-size: 26px; margin: 6px 0 8px; }
.ag-cover__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 14px 0 20px; }
.ag-k { font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: #475569; font-weight: 700; margin-bottom: 3px; }
.ag-v { font-weight: 600; word-break: break-word; }
.ag-parties h3, .ag-terms h2, .ag-terms h3 { margin: 18px 0 8px; }
.ag-row { display: grid; border: 1px solid #e2e8f0; border-radius: 8px; overflow: hidden; margin: 0 0 8px; }
.ag-row--2 { grid-template-columns: 1fr 1fr; }
.ag-row--3 { grid-template-columns: 1fr 1fr 1fr; }
.ag-cell { padding: 10px 12px; border-right: 1px solid #e2e8f0; }
.ag-cell:last-child { border-right: 0; }
.ag-fee-sentence { margin: 10px 0 0; }
.ag-consent, .ag-signatures { margin: 18px 0; }
.ag-check input, .le-check input { margin-top: 4px; width: 18px; height: 18px; flex: 0 0 auto; }
.ag-signatures { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ag-sig__box { height: 84px; border: 1px dashed #cbd5e1; border-radius: 8px; display: flex; align-items: flex-end; padding: 6px 10px; background: #f8fafc; }
.ag-sig__box img { max-height: 70px; max-width: 100%; }
.ag-sig__pending { color: #64748b; font-style: italic; }
.ag-sig__typed { font-family: 'Sora', system-ui, sans-serif; font-weight: 600; font-size: 20px; color: #0f172a; }
.ag-sig__meta { font-size: 13px; color: #475569; margin-top: 6px; }
.ag-terms { border-top: 2px solid #e2e8f0; margin-top: 22px; padding-top: 10px; font-size: 14.5px; }
.ag-terms__meta { color: #334155; }
.ag-terms h3 { font-size: 15px; margin-top: 20px; }
.ag-terms h4 { font-size: 14.5px; margin: 12px 0 4px; }
.ag-clause { margin: 6px 0; }
.ag-d3, .ag-d4 { padding-left: 14px; }
.ag-terms ul { margin: 4px 0 8px 32px; }
.ag-muted { color: #475569; font-weight: 400; }
.ag-check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.ag-check input { margin-top: 4px; width: 18px; height: 18px; flex: 0 0 auto; }
.ag-watermark { background: #fef2f2; color: #991b1b; border: 1px dashed #fca5a5; font-weight: 700; text-align: center; padding: 8px; border-radius: 8px; margin-bottom: 14px; letter-spacing: .04em; }
.ag-sig--issuer { border-left: 3px solid #e2e8f0; padding-left: 14px; }
.ag-issued { font-size: 13px; color: #334155; margin: 6px 0 0; }
.ag-fees .ag-fee-sentence { font-size: 13.5px; }
.ag-consent { border: 1px solid #e2e8f0; border-radius: 10px; padding: 12px 14px; background: #f8fafc; }
.ag-consent .ag-k { margin-bottom: 8px; }
.ag-annex { border-top: 2px solid #e2e8f0; padding-top: 14px; margin-top: 28px; font-size: 17px; }
.ag-terms a { color: #0369a1; word-break: break-all; }
@media (max-width: 640px) {
  .ag { padding: 16px; font-size: 15px; }
  .ag--page { padding: 0; }
  .ag-row--2, .ag-row--3, .ag-cover__grid, .ag-signatures { grid-template-columns: 1fr; }
  .ag-cell { border-right: 0; border-bottom: 1px solid #e2e8f0; }
  .ag-cell:last-child { border-bottom: 0; }
  .ag-sig--issuer { border-left: 0; padding-left: 0; }
}
.ag-muted-dark { color: #475569; font-size: 13px; margin: 0; }
.ag-marketing { margin: 0; font-size: 15px; }
.ag-v { overflow-wrap: anywhere; }
