.fh-heading,.fh-tabs,.fh-actions,.fh-sign-controls{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.fh-heading h2{margin-right:auto}.fh-tabs{margin:20px 0}.fh-tabs .active{background:#183e52;color:white}.fh-card{display:flex;justify-content:space-between;align-items:center;gap:18px;background:white;border:1px solid #dce5e9;border-radius:12px;padding:20px;margin:12px 0}.fh-card h3{margin:0 0 8px}.fh-card p{margin:8px 0}.fh-dialog{width:min(880px,94vw);max-height:90vh;overflow:auto;border:1px solid #cedce2;border-radius:14px;padding:26px;color:#183e52}.fh-dialog::backdrop{background:#102c3b88}.fh-close{float:right}.fh-form{display:grid;gap:16px;margin:20px 0}.fh-form label,.fh-sign-controls label{display:grid;gap:6px}.fh-form input,.fh-form select,.fh-form textarea{padding:10px;border:1px solid #b9cbd3;border-radius:7px}.fh-form textarea{min-height:70px}.fh-error{color:#a12b28;white-space:pre-wrap}.fh-check{display:flex!important;gap:10px;align-items:center;margin:16px 0}.fh-check input{width:auto}.fh-preview{position:relative;width:100%;margin:16px 0;background:#eff3f5}.fh-preview canvas{display:block;width:100%;height:auto;cursor:crosshair}.fh-preview img{position:absolute;pointer-events:none}.fh-pad{display:block;border:1px dashed #8da8b6;background:#fff;width:min(500px,100%);height:auto;touch-action:none;margin:10px 0}.fh-dialog li{margin:12px 0}.fh-dialog li p{white-space:pre-wrap}.fh-dialog button:disabled{opacity:.45;cursor:not-allowed}
.fh-dialog button,#fileHandoffHost button{font:inherit;border:1px solid #b9cbd3;border-radius:8px;padding:9px 14px;background:#f4f8fa;color:#183e52;cursor:pointer}.fh-dialog button:hover,#fileHandoffHost button:hover{background:#e6f0f5}.fh-dialog button.primary-action,#fileHandoffHost button.primary-action,#fileHandoffHost .fh-tabs .active{background:#183e52;color:white;border-color:#183e52}.fh-sign-controls select{padding:8px;border:1px solid #b9cbd3;border-radius:8px}.fh-dialog a{color:#1a638e}.fh-dialog h2{margin:0 0 20px}.fh-dialog ol{padding-left:24px}.fh-dialog small{color:#617d8b}
