.cam-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10050;
    background: rgba(0, 0, 0, 0.62);
    align-items: flex-start;
    justify-content: center;
    overflow-y: auto;
    padding: 24px 16px;
}
.cam-overlay.is-open {
    display: flex;
}
.cam-sheet {
    width: 100%;
    max-width: 720px;
    background: #fff;
    color: #111;
    border-radius: 4px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
    margin: auto;
    overflow: hidden;
}
.cam-header {
    background: #111;
    padding: 18px 28px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.cam-header img {
    height: 36px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
}
.cam-body {
    padding: 28px 36px 32px;
    font-family: Arial, Helvetica, sans-serif;
    color: #222;
    font-size: 15.5px;
    line-height: 1.65;
}
.cam-body p {
    margin: 0 0 16px;
}
.cam-body strong {
    font-weight: 700;
}
.cam-link {
    color: #1d4ed8;
    text-decoration: underline;
    font-weight: 600;
}
.cam-accept {
    margin: 22px 0 18px;
    font-weight: 600;
}
.cam-sign-wrap {
    border: 1px dashed #cfcfcf;
    border-radius: 4px;
    background: #fafafa;
    padding: 8px;
    margin-bottom: 8px;
}
.cam-sign-wrap canvas {
    display: block;
    width: 100%;
    height: 140px;
    background: #fff;
    cursor: crosshair;
    touch-action: none;
}
.cam-sign-actions {
    display: flex;
    gap: 8px;
    margin-bottom: 18px;
}
.cam-sign-actions button {
    border: 1px solid #ddd;
    background: #fff;
    color: #333;
    font-size: 13px;
    padding: 4px 10px;
    border-radius: 4px;
    cursor: pointer;
}
.cam-meta {
    font-family: Arial, Helvetica, sans-serif;
    color: #111;
}
.cam-meta .cam-name {
    font-size: 16px;
    font-weight: 700;
}
.cam-meta .cam-date {
    margin-bottom: 10px;
}
.cam-audit {
    font-weight: 700;
    font-size: 14px;
    line-height: 1.5;
}
.cam-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 22px;
}
.cam-btn {
    border: 0;
    border-radius: 6px;
    padding: 9px 16px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}
.cam-btn-cancel {
    background: #eee;
    color: #333;
}
.cam-btn-confirm {
    background: #111;
    color: #fff;
}
.cam-error {
    display: none;
    color: #b91c1c;
    font-size: 13px;
    margin-top: 6px;
}
body.nxra-page .cam-btn-confirm {
    background: #f5c842;
    color: #111;
}
body.nxra-page .cam-link {
    color: #b45309;
}
